Hugging Face

Get Hugging Face kernel

Get a Hugging Face compute kernel.

GET/v1/hugging-face/kernels/{owner}/{name}
1credit
x-api-keystringheader

API key (`sfk_...`)

Parameters
2
ownerstringrequiredpath

Owner of the repository: a user or organization name.

pattern: ^[A-Za-z0-9][A-Za-z0-9._-]{0,95}$

namestringrequiredpath

Repository name, without the owner.

pattern: ^[A-Za-z0-9][A-Za-z0-9._-]{0,95}$

Response fields
22

Endpoint-specific response payload.

datalookupStatus
string

Whether the item was found.

one of: found, not_found

The kernel when lookupStatus is `found`; otherwise null.

datakernelid
string

Kernel id, `owner/name`.

datakerneluid
stringnullable

Stable kernel id.

datakernelurl
string

Kernel page URL.

datakernelauthor
stringnullable

Owner account name.

datakernelcreatedAt
stringnullable

When the kernel was created (ISO-8601).

datakernellastModified
stringnullable

When the kernel last changed (ISO-8601), when the record carries it.

datakernellikes
integernullable

Likes.

datakerneldownloads
integernullable

Downloads.

datakerneltrendingScore
numbernullable

Trending score.

datakernelsha
stringnullable

Latest commit, when the record carries it.

Tags.

datakerneltags[]
stringoptional

Hardware driver families the kernel supports, e.g. `cuda`.

datakernelsupportedDriverFamilies[]
stringoptional
datakerneltrustedPublisher
booleannullable

Whether the publisher is trusted, when the record carries it.

Metadata describing the request and billing outcome.

metarequestId
string

Unique request identifier for tracing this API call.

min 1 chars

metacreditsCharged
integer

Credits charged for this request.

≥ 0

metaversion
string

Public API version that served the response.

one of: v1

Code example

curl "https://api.socialfetch.dev/v1/hugging-face/kernels/kernels-community/finegrained-fp8" \
  -H "x-api-key: YOUR_API_KEY"

Responses

Kernel details.