Hugging Face Kernel API
One compute kernel with its driver support, download counts and publisher trust.
GET /v1/hugging-face/kernels/{owner}/{name}1 credit Failed requests are free
About this endpoint
GET /v1/hugging-face/kernels/{owner}/{name} returns kernel with id, uid, url, author, createdAt, lastModified, likes, downloads, trendingScore, sha, tags, supportedDriverFamilies and trustedPublisher.
lookupStatus is found or not_found. This is the detail view of one kernel; the search endpoint pages the full list and the accounts likes endpoint can show kernels a user liked.
Hugging Face Kernel API FAQ
What does supportedDriverFamilies mean?
The hardware driver families the kernel declares support for, for example cuda.
What if the kernel does not exist?
lookupStatus is not_found and kernel is null. HTTP 200 only means the request finished.
Does trustedPublisher mean the author is verified?
It is the platform's trust flag for the publisher. It can be null when the platform does not say.
How much does a kernel lookup cost?
Pricing is documented on the operation in the API registry (shown on this page). Confirm on every response with meta.creditsCharged: that field is the billing source of truth.
Other Hugging Face endpoints
- Search modelsGET /v1/hugging-face/models
- Get modelGET /v1/hugging-face/models/{owner}/{name}
- Search datasetsGET /v1/hugging-face/datasets
- Get datasetGET /v1/hugging-face/datasets/{owner}/{name}
- Search SpacesGET /v1/hugging-face/spaces
- Get SpaceGET /v1/hugging-face/spaces/{owner}/{name}
- READMEGET /v1/hugging-face/repos/{repoType}/{owner}/{name}/readme
- FilesGET /v1/hugging-face/repos/{repoType}/{owner}/{name}/files