POST
/
exports
Export Model
curl --request POST \
  --url https://export-service-433968519479.us-central1.run.app/exports \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "job_id": "<string>",
  "export_type": "adapter",
  "destination": [
    "gcs"
  ],
  "hf_token": "<string>",
  "hf_repo_id": "<string>"
}'
{
  "success": true,
  "message": "<string>",
  "export_id": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
job_id
string
required
export_type
enum<string>
required
Available options:
adapter,
merged,
gguf
destination
enum<string>[]
hf_token
string | null
hf_repo_id
string | null

Response

Successful Response

success
boolean
required
message
string
required
export_id
string
required