Skip to content

Get Finetune Status

GET
/v1/finetune/{job_id}
curl --request GET \
--url https://api.qualia.dev/v1/finetune/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \
--header 'X-API-Key: <X-API-Key>'

Get the status of a finetune job from the pipeline API.

job_id
required
string format: uuid

Job status retrieved successfully

Media type application/json
FinetuneStatusResponse

Detailed status of a finetune job.

object
job_id
required

Unique job identifier

string format: uuid
audience
string
default: internal
Allowed values: internal public
pipeline_name

The name of the pipeline template the job runs

string | null
project_id

Project associated with the training run

string | null format: uuid
current_op
required

Current op name (the op_type, or a terminal pseudo-state)

string
status
required

Overall job status: queued, scheduled, running, completed, failed, cancelled

string
metadata
FinetunePublicMetadata

Fixed public projection of durable pipeline inputs.

Storage locations, read capabilities, internal principals, compute overrides, and the raw run snapshot are deliberately not representable.

object
job_desc
string | null
<= 1024 characters
vla_type
string
nullable
Allowed values: act pi05 smolvla sarm
job_type
string
nullable
Allowed values: vla reward vla_w_reward
model_name
string | null
<= 193 characters
dataset_version_id
string | null format: uuid
base_model
object
hub_id
required
string
>= 3 characters <= 193 characters
revision
required
string
/^[0-9a-f]{40}$/
reward_model
object
hub_id
required
string
>= 3 characters <= 193 characters
revision
required
string
/^[0-9a-f]{40}$/
use_rabc
boolean
training_hours
number | null
> 0 <= 168
batch_size
integer | null
>= 1 <= 512
instance_type
string | null
<= 128 characters
region
string | null
<= 128 characters
created_at
string | null format: date-time
ops

Op history in chronological order

Array<object>
Op

One pipeline op as rendered in the execution timeline (1:1 with op_runs); name is the op_type, label its template display name. Two nodes may run the same op_type; op_run_id identifies each instance.

object
name
required

Op name (the op_type)

string
op_run_id

Identity of this op instance

string | null
node_id

Template node for this instance

string | null
label

Human display label from the op’s template

string | null
started_message

Template copy for the started event (clients reuse it for live SSE lines so fetch and stream read identically)

string | null
completed_message

Template copy for the completed event

string | null
status
required

Op status: pending, queued, in_progress, completed, failed

string
started_at

When the op started

string | null format: date-time
completed_at

When the op completed

string | null format: date-time
events

Events in this phase

Array<object>
OpEvent

A single event within a phase.

object
status
required

Event status: started, completed, failed

string | null
message

Event message

string | null
error

Error details if failed

string | null
timestamp
required

Event timestamp

string format: date-time
retry_attempt

Retry attempt number

integer
0
data

Additional event data

object
key
additional properties
any
error

Error message if phase failed

string | null
failure_cause

Who caused this op’s failure: user (something you set or authored) or platform (ours). None when it did not fail.

string
nullable
Allowed values: user platform
failure_subject

What of yours caused it, when user

string | null
maps

Progress of each map node: the run’s per-item fan-outs. A map is one row in ops; its items are paged separately.

Array<object>
MapProgress

A map node’s progress: the op (op_type map) it runs as, and its items by status. Its items are paged from GET /v1/runs/{job_id}/maps/{op_run_id}/items.

object
op_run_id
required

The map’s own op run (its row in ops)

string format: uuid
node_id
required

The map node in the template

string
counts
required
MapItemCounts

How a map’s items ended so far, by the status of their latest attempt.

object
total
integer
0
pending
integer
0
running
integer
0
completed
integer
0
failed
integer
0
cancelled
integer
0
skipped
integer
0
kind

A map (one body per item) or a nested pipeline (one body)

string
default: map
Allowed values: map pipeline
telemetry

Training telemetry points (loss, gradient norm, learning rate, …) recorded so far, oldest first. Replayed from persisted events so a page load reconstructs the full series without the live SSE stream.

Array<object>
object
key
additional properties
any
failure_cause

Who caused a failed job. user: something you set or authored (the dataset version, a parameter, a field of your pipeline, or your pipeline’s wiring) made it fail; its usage is charged, up to the reservation. platform: anything else, including a failure with no recorded cause; its credits are refunded in full. None when the job did not fail.

string
nullable
Allowed values: user platform
failure_subject

What of yours caused a user failure: dataset_version:<id>, parameter:<name>, config:<node>.<port> or pipeline_template:<id>

string | null
failure_reason

Why it failed, for a user failure

string | null
billing_mode

Billed per run (its bound held at start) or by its credit nodes

string
default: legacy
Allowed values: legacy run
settlement_pending

An ended run billed per run whose settlement is still to land

boolean
credits

The job’s credit settlement, once it has ended and settled

object
reserved
required

Credits reserved when the job started

integer
charged
required

Credits charged

integer
refunded
required

Credits returned to your balance

integer
reason

Why the job was charged or refunded

string | null
Example
{
"audience": "internal",
"metadata": {
"vla_type": "act",
"job_type": "vla",
"use_rabc": false
},
"ops": [
{
"events": [
{
"retry_attempt": 0
}
],
"failure_cause": "user"
}
],
"maps": [
{
"counts": {
"total": 0,
"pending": 0,
"running": 0,
"completed": 0,
"failed": 0,
"cancelled": 0,
"skipped": 0
},
"kind": "map"
}
],
"failure_cause": "user",
"billing_mode": "legacy",
"settlement_pending": false
}

Invalid or missing API key

Media type application/json
ErrorResponse

Standard error response.

object
detail
required

Error message describing what went wrong

string
Example generated
{
"detail": "example"
}

Finetune job not found

Media type application/json
ErrorResponse

Standard error response.

object
detail
required

Error message describing what went wrong

string
Example generated
{
"detail": "example"
}

Validation error