Skip to main content
POST
Export an aligned model to a Hugging Face repository

Authorizations

Authorization
string
header
required

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

Path Parameters

model_id
string
required

Body

application/json

Export an aligned model to a Hugging Face repository.

token
string
required

Hugging Face access token. Used only to perform the export; never logged or stored.

hf_repo
string | null

Target repository, e.g. org/model-name. Defaults to the token's own namespace plus the model id.

visibility
string
default:private

private or public

Response

Acknowledges the export request for the aligned model.

Acknowledgement of a Hugging Face export request.

export_id
string
required

Identifier of the export request. Poll status with it.

model_id
string
required

Aligned model the export was requested for.

status
string
required

Export request status: QUEUED, PROCESSING, COMPLETED or FAILED.