Skip to main content

Start a validated draft

POST 

/api/v1/assessments/drafts/:draft_id/start

Finalize a validated draft and spawn its workflow agent.

Only drafts in ready state can be started. The admission flag is checked before any status flip or credit spend. On success the workflow agent is spawned via the internal RPC with the assessment id as its project id.

  • Scope required: assessments:create + manager-or-above role.
  • Rate-limit tier: assessment_create (100/hour/user).
  • Code-audit hours and cost are auto-derived during validation and persisted on the draft; the request body is empty.
  • Returns 400 if the assessment is in validating/rejected/draft.

Request

Responses

Successful Response