Resume a heartbeat
POST /v1/heartbeats/{heartbeatId}/resume · SDK resumeHeartbeat · CLI deployments heartbeat resume
Requires schedules:write.
AuthorizationBearer <token>Opaque bearer credential scoped to one service account and tenant.
heartbeatId*string^[0-7][0-9A-HJKMNP-TV-Z]{25}$x-deployments-environment?stringRequired with a platform bearer JWT, where the three tenant headers select an environment the caller can access through active organization membership. Optional with an API key; when supplied, it must match the key's tenant.
^[0-7][0-9A-HJKMNP-TV-Z]{25}$x-deployments-organization?stringRequired with a platform bearer JWT, where the three tenant headers select an environment the caller can access through active organization membership. Optional with an API key; when supplied, it must match the key's tenant.
^[0-7][0-9A-HJKMNP-TV-Z]{25}$x-deployments-project?stringRequired with a platform bearer JWT, where the three tenant headers select an environment the caller can access through active organization membership. Optional with an API key; when supplied, it must match the key's tenant.
^[0-7][0-9A-HJKMNP-TV-Z]{25}$HeartbeatResponse
application/json- response
createdAt*string^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$date-timeupdatedAt*string^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$date-timeversion*number|||environmentId*string^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$organizationId*string^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$projectId*string^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$workspaceId?string^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$activeWindow?agentDeploymentId*string^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$createdBy?id*string^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$lastRunAt?string^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$date-timenextRunAt?string^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$date-timeobject*"heartbeat""heartbeat"schedule*status*string"active""archived""disabled""paused""provisioning"threadId?string^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$curl -X POST "https://example.com/v1/heartbeats/string/resume"{ "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "version": 0, "environmentId": "string", "organizationId": "string", "projectId": "string", "workspaceId": "string", "activeWindow": { "daysOfWeek": [ 0 ], "endMinuteOfDay": 0, "startMinuteOfDay": 1439 }, "agentDeploymentId": "string", "createdBy": { "id": "string", "type": "agent" }, "id": "string", "lastRunAt": "2019-08-24T14:15:22Z", "nextRunAt": "2019-08-24T14:15:22Z", "object": "heartbeat", "schedule": { "instructions": "string", "intervalMs": 60000, "skipWhenBusy": true, "timezone": "string" }, "status": "active", "threadId": "string"}