Get a repository
Reads a single repository after the org+role access check (org owner/admin of the repository’s org only).
Authorizations
Gateway auth: send Authorization: Bearer <mka1-api-key>. For multi-user server-side integrations, you can also send X-On-Behalf-Of: <external-user-id>.
Headers
Optional external end-user identifier forwarded by the API gateway.
Path Parameters
The organization URL slug.
The repository name (URL label).
^[A-Za-z0-9][A-Za-z0-9._-]{0,99}$Response
The repository.
The user id of whoever created the repository, through any plane
(the API, git push, the HF client, the OCI registry). It is the
same id the platform session and mk-authentication's members
directory use, so a name is one directory lookup away. null
for a repository that records no user id; never an empty string.
"usr_01j9z8w3k6m2q4r7t9v1x3y5z7"
"Fine-tuned weights for the acme assistant."
Opaque, stable repository id (the canonical key; not a user label).
"rqz4h6k2m5n7p9r3t5v7w9x2"
The repository's kind, or null for a legacy repository created
before kinds existed and not yet typed through PATCH. An untyped
repository is served by every plane.
repo, model, dataset, image "model"
The repository name (URL label).
"my-model"
The organization URL slug the repository belongs to.
"acme"