Skip to main content
POST
Python (SDK)

Authorizations

Authorization
string
header
required

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

X-On-Behalf-Of
string

Optional external end-user identifier forwarded by the API gateway.

Body

application/json

Register a model in the catalog.

name
string
required
Example:

"functionary"

source
string
required

Hugging Face id or volume path

revision
string | null

Response

Successful Response

A registered model.

created_at
string<date-time>
required
deployable_runtimes
string[]
required

Managed runtime recipes that can serve this model one-click; empty means the model is not deployable via a managed runtime (preflight signal, not a create-time error)

id
string
required
name
string
required
source
string
required
revision
string | null