v1

latestOpenAPI 3.1.02026-07-175793186.0 KB
optimization

Create Run Promotion Draft

Create or load a non-mutating draft promotion artifact for an optimization run.

post/api/v1/optimization/runs/{run_id}/promotion-drafts

Path parameters

run_idstring required

Identifier of the optimization run to draft for promotion.

Identifier of the optimization run to draft for promotion.

Response

Successful Response

okboolean

Whether the draft was created or loaded.

draft_idstring required

Stable promotion draft identifier.

run_idstring required

Optimization run id.

targetstring required

Skill/module target represented by the draft.

status'draft'

Draft status.

summarystring required

Human-readable draft summary.

optimized_artifact_pathstring nullable

Optimized artifact path.

manifest_pathstring nullable

Source manifest path.

draft_pathstring required

Filesystem path to the draft artifact.

created_atstring required

ISO timestamp when the draft was created.