---
title: "Get kernel"
method: GET
path: "/api/kernels/{namespace}/{repo}"
tags: ["kernels"]
---

# Get kernel

`GET /api/kernels/{namespace}/{repo}`

## Path parameters

- `namespace` string, required
- `repo` string, required

## Response `200`

Kernel overview information

- object
  - `_id` string, required
  - `author` string, required
  - `downloads` number, required
  - `id` string, required
  - `isLikedByUser` boolean, required
  - `lastModified` string, date-time, required
  - `likes` number, required
  - `private` boolean, required
  - `repoType` 'kernel', required
  - `sha` string, required
  - `gated` union, required
    - unknown
    - 'auto' | 'manual'
  - `resourceGroup` object
    - `id` string, required
    - `name` string, required
    - `numUsers` number
  - `authorData` union
    - object
      - `_id` string, required
      - `avatarUrl` string, required
      - `fullname` string, required
      - `name` string, required
      - `isHf` boolean, required
      - `isHfAdmin` boolean, required
      - `isMod` boolean, required
      - `followerCount` number
      - `type` 'org', required
      - `plan` 'team' | 'enterprise' | 'plus' | 'academia'
      - `isUserFollowing` boolean
    - object
      - `_id` string, required
      - `avatarUrl` string, required
      - `fullname` string, required
      - `name` string, required
      - `isHf` boolean, required
      - `isHfAdmin` boolean, required
      - `isMod` boolean, required
      - `followerCount` number
      - `type` 'user', required
      - `isPro` boolean, required
      - `isUserFollowing` boolean
      - `primaryOrg` object
        - `avatarUrl` string, required
        - `fullname` string, required
        - `name` string, required
        - `type` 'org', required
        - `isHf` boolean, required
        - `isFollowing` boolean
        - `plan` 'team' | 'enterprise' | 'plus' | 'academia'
        - `details` string
        - `hasPrivateMembersList` boolean
        - `userRole` 'admin' | 'write' | 'contributor' | 'read' | 'no_access'
        - `numUsers` number
  - `files` string[]
  - `supportedDriverFamilies` string[]
  - `trustedPublisher` boolean

## Changes

> 47 revisions in range; 3 could not be searched.

- **2026-08-13** `99cb19038135` — 5 warning, 1 info
  - added the new `admin` enum value to the `authorData/anyOf[subschema #2]/primaryOrg/userRole` response property for the response status `200`
  - added the new `contributor` enum value to the `authorData/anyOf[subschema #2]/primaryOrg/userRole` response property for the response status `200`
  - added the new `no_access` enum value to the `authorData/anyOf[subschema #2]/primaryOrg/userRole` response property for the response status `200`
  - added the new `read` enum value to the `authorData/anyOf[subschema #2]/primaryOrg/userRole` response property for the response status `200`
  - …2 more

[Change history](https://skmtc.dev/huggingface/apis/hub-api-endpoints/changes/api/kernels/:namespace/:repo/get.md)

---

[API](https://skmtc.dev/huggingface/apis/hub-api-endpoints.md) · [All operations](https://skmtc.dev/huggingface/apis/hub-api-endpoints/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/huggingface/hub-api-endpoints/revisions/e1c551f50478/schema)
