Queue a planned fine-tuning job

POST/v1/fine-tuning/jobs/{jobId}/queue

Idempotently transitions a provisioned planned optimization job to queued and creates its execution dispatch. This is the explicit handoff used after upstream Test and Evaluation gates pass.

How to call this endpoint

Every ACP API request uses bearer authentication. The examples here show the actual request path, auth header, and body shape that the platform expects.

Path, query, and header parameters

These parameters control which ACP object the endpoint acts on and how the request is processed.

Path parameters
NameLocationTypeRequiredDescription
jobIdpathstringYes—
Query parameters
None.

Body schema

Content type: application/json · Optional

FieldTypeRequiredDescription
sourcestringNo—
queueWhenCapacityUnavailablebooleanNoPersist this execution in Batches when runtime capacity is unavailable. Defaults to true on local appliances and false on cloud deployments.

What the API returns

Each response code below includes the documented payload shape for the ACP API.

200Job was already queued or executingapplication/json
FieldTypeRequiredDescription
jobobjectYes—
job.schemaVersionintegerNo—
job.kindagent_optimizationNo—
job.idstringYesUnique identifier.
job.namestringNoHuman-readable name.
job.agentIdstringYesAgent ID.
job.targetAgentIdstringNo—
job.environmentIdstringNoComputer ID.
job.computerIdstringNo—
job.evaluationSetIdsstring[]Yes—
job.instructionsstringNo—
job.statusplanned | queued | running | verifying | completed | failed | cancelledYesCurrent lifecycle status.
job.phasestringNo—
job.threadIdstringNoThread ID.
job.createdAgentVersionIdstringNo—
job.beforeScorenumberNo—
job.afterScorenumberNo—
job.improvementScorenumberNo—
job.costUsdnumberNo—
job.costCtnumberNo—
job.costTokensnumberNo—
job.evaluationRunsobject[]No—
job.metadataobjectNoFree-form metadata object.
job.createdAtstringNoISO 8601 timestamp.
job.updatedAtstringNoISO 8601 timestamp.
job.completedAtstringNoISO 8601 timestamp.
queuedtrueYes—
alreadyQueuedbooleanNo—
202Planned job was queued or durably deferred to Batchesapplication/json
FieldTypeRequiredDescription
jobobjectYes—
job.schemaVersionintegerNo—
job.kindagent_optimizationNo—
job.idstringYesUnique identifier.
job.namestringNoHuman-readable name.
job.agentIdstringYesAgent ID.
job.targetAgentIdstringNo—
job.environmentIdstringNoComputer ID.
job.computerIdstringNo—
job.evaluationSetIdsstring[]Yes—
job.instructionsstringNo—
job.statusplanned | queued | running | verifying | completed | failed | cancelledYesCurrent lifecycle status.
job.phasestringNo—
job.threadIdstringNoThread ID.
job.createdAgentVersionIdstringNo—
job.beforeScorenumberNo—
job.afterScorenumberNo—
job.improvementScorenumberNo—
job.costUsdnumberNo—
job.costCtnumberNo—
job.costTokensnumberNo—
job.evaluationRunsobject[]No—
job.metadataobjectNoFree-form metadata object.
job.createdAtstringNoISO 8601 timestamp.
job.updatedAtstringNoISO 8601 timestamp.
job.completedAtstringNoISO 8601 timestamp.
queuedtrueYes—
alreadyQueuedbooleanNo—
409Job is not in a queueable state
None.
Queue a planned fine-tuning job
Loading...
Response 200
Loading...
See the ACP quickstart and SDK flow