Pause Control Generation
pause_control_generationHalt a model's background control generation to stop mistaken builds or prep for deletion. Keeps staged work, starts no new steps, and prevents billing.
Instructions
Pause a model's background control generation. Mutating.
Use when the user asks to stop a build — for example one started by
mistake — or before deleting a model whose controls are still being
built. A running build stops at its next step (status pausing,
then paused); a queued or waiting one is paused at once. Everything
already done is kept in the build's staging copy; nothing is published,
nothing new is started or billed, and nothing resumes it except
resume_control_generation. A paused build still holds the model: to
drop it instead, call discard_control_build once it shows paused.
Pausing is idempotent.
Returns one of:
{paused: true, model_id, status, status_detail}—statusispausing(still stopping) orpaused.{paused: false, http_status: 409, code: "not_running", status}— there is no generation to pause; readstatus.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_id | Yes | ID of the threat model whose control generation to pause. | |
| server_version | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||