Resume Metronome run
POST
/v1/metronomes/{metronomeId}/runs/{runId}/resumeRequeue a paused workflow run from verified checkpoints using the same input and immutable version. In-doubt manual side effects require an explicit operator override.
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
| Name | Location | Type | Required | Description |
|---|---|---|---|---|
| metronomeId | path | string | Yes | Metronome workflow ID |
| runId | path | string | Yes | — |
Query parameters
None.
Body schema
Content type: application/json · Optional
| Field | Type | Required | Description |
|---|---|---|---|
| confirmInDoubtReplay | boolean | No | Explicitly authorizes replay of the reported in-doubt manual side effect. The override is audited. |
What the API returns
Each response code below includes the documented payload shape for the ACP API.
200Metronome run resumed and processedapplication/json
| Field | Type | Required | Description |
|---|---|---|---|
| data | object | No | — |
| data.id | string | No | Unique identifier. |
| data.metronomeId | string | No | — |
| data.userId | string | No | User ID. |
| data.organizationId | string | No | — |
| data.createdByUserId | string | No | — |
| data.triggerType | string | No | — |
| data.versionId | string | No | — |
| data.triggerEventId | string | No | — |
| data.idempotencyKey | string | No | — |
| data.status | queued | running | waiting_approval | paused | completed | failed | cancelled | No | Current lifecycle status. |
| data.input | object | No | — |
| data.output | object | No | — |
| data.error | string | No | — |
| data.startedAt | string | No | ISO 8601 timestamp. |
| data.queuedAt | string | No | — |
| data.nextAttemptAt | string | No | — |
| data.lockedAt | string | No | — |
| data.lockedBy | string | No | — |
| data.attemptCount | integer | No | — |
| data.maxAttempts | integer | No | — |
| data.timeoutMs | integer | No | — |
| data.attachedProjectId | string | No | — |
| data.attachedTicketId | string | No | — |
| data.completedAt | string | No | ISO 8601 timestamp. |
| data.createdAt | string | No | ISO 8601 timestamp. |
| data.updatedAt | string | No | ISO 8601 timestamp. |
404Metronome or run not found
None.
409Recovery is unavailable or requires explicit reviewapplication/json
| Field | Type | Required | Description |
|---|---|---|---|
| error | string | No | — |
| code | METRONOME_RECOVERY_UNAVAILABLE | METRONOME_RECOVERY_REVIEW_REQUIRED | No | — |
| message | string | No | Message text. |
| recovery | object | No | — |
| recovery.schemaVersion | computer_agents_metronome_recovery_decision_v1 | Yes | — |
| recovery.action | resume | pause | fail | Yes | — |
| recovery.reasonCode | string | Yes | — |
| recovery.message | string | Yes | Message text. |
| recovery.inDoubtStepId | string | No | — |
| recovery.inDoubtNodeId | string | No | — |
| recovery.inDoubtPolicy | replay_safe | idempotent | manual | No | — |
| recovery.completedCheckpointCount | integer | Yes | — |