Skip to main content
POST
Import a base model from Hugging Face or cloud storage

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Import a base model from Hugging Face or a cloud storage bucket.

source_type
string
required

huggingface, s3, gs, oci or abfss

source_uri
string
required

Hugging Face repo id, e.g. org/model-name, or a cloud storage URI such as s3://bucket/path

base_model_name
string
required

Name to register the imported model under

token
string | null

Access token or credential for the source. Used only to perform the import; never logged or stored.

Response

Acknowledges the import request for the base model.

Acknowledgement of a base model import request.

import_id
string
required

Identifier of the import request.

status
string
required

Import request status.

message
string
required

Human-readable outcome of the request.