Triggers
Triggers.pause
POST
/v1/triggers/{id}/pausex-api-key<token>
Workspace API key. Read from the x-api-key header by src/auth/api-key.ts. A key that is present and does not authenticate is final — no other scheme is consulted.
In: header
Path Parameters
id*string
Match
^(?:trg)_[A-Za-z0-9_-]+$Header Parameters
idempotency-key?string
anthropic-beta?string
Accepted for Anthropic SDK compatibility and ignored. No value of this header changes request handling. Typed as a free-form string rather than an enum because this service recognises no specific beta value.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/v1/triggers/string/pause"{ "id": "string", "type": "trigger", "name": "string", "agent": { "type": "agent", "id": "string", "version": 1 }, "session_mode": "SESSION_PER_EVENT", "source": { "type": "cron", "schedule": "string", "timezone": "string", "payload": "string" }, "session": { "environment_id": "string", "title_template": "string", "metadata": { "property1": "string", "property2": "string" }, "vault_ids": [ "string" ] }, "replicas": 1, "status": "active", "next_fire_at": "2019-08-24T14:15:22Z", "last_fired_at": "2019-08-24T14:15:22Z", "error": "string", "archived_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z"}