Skip to main content
POST
/
api
/
repos
/
{namespace}
/
{repo_name}
/
fine_tunes
/
{id}
/
checkpoints
/
{step}
/
deploy
Deploy a checkpoint from a fine-tune job
curl --request POST \
  --url https://hub.oxen.ai/api/repos/{namespace}/{repo_name}/fine_tunes/{id}/checkpoints/{step}/deploy \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "deployment_type": "normal"
}
'
{
  "deployment_id": "<string>",
  "fine_tune": {
    "base_model": "<string>",
    "created_at": "<string>",
    "id": "<string>",
    "name": "<string>",
    "status": "<string>",
    "updated_at": "<string>"
  },
  "status": "<string>",
  "status_message": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Fine-tune ID

step
integer
required

Checkpoint step number

Body

application/json

Deployment configuration

Request payload to deploy a specific checkpoint from a fine-tune job.

deployment_type
enum<string>
default:normal

Deployment type: 'fast' for faster inference instances, 'normal' for standard instances.

Available options:
fast,
normal

Response

Deployment created response

Standard wrapper for checkpoint deployment responses.

deployment_id
string

ID of the created deployment

fine_tune
FineTune · object

Fine-tune job resource

status
string

High-level status string (for example, 'success').

status_message
string

Human-readable status message (for example, 'resource_found').