Halt this key's environment
The kill switch. The agent stops acting and nothing leaves the environment: action invocations are blocked, deliveries defer, workflow steps park, and writes to memory, files, sessions, cache and Connect are refused. Publishes still queue and approvals can still be decided, so nothing in flight is lost. Applies to the environment this key is bound to – a staging key cannot halt production.
/api/v2/environment/haltAuthorizationBearer token (Anlyon API key) · headerrequiredWorkspace API key sent as Authorization: Bearer <key>.
better-auth.session_tokenAPI key · cookierequiredBrowser session used by dashboard-only operations.
X-Request-IdstringOptional caller correlation ID. Unsafe or oversized values are replaced.
application/jsonreasonstringWhy the environment is being halted recorded for the audit trail.
A single environment.
successbooleanrequiredtruedataEnvironmentrequiredShow propertiesHide properties
idstring<uuid>requiredkindstringdevelopmentstagingproductionnamestringrequiredslugstringrequiredisDefaultbooleanrequiredThe environment new keys and resources default to.
isProtectedbooleanrequiredProduction protection for destructive and promotion actions.
haltedbooleanrequiredKill switch: while true the agent cannot act and nothing leaves the environment -- action invocations are blocked, deliveries defer, workflow steps pause, and writes to memory, files, sessions, cache and Connect are refused. Publishes still queue, approvals can still be decided, and reads still answer.
haltedAtstring<date-time> | nullrequiredhaltedReasonstring | nullrequiredcreatedAtstring<date-time>requiredupdatedAtstring<date-time>requiredUnauthorized - Invalid or missing API key
successbooleanrequiredrequestIdstringrequiredCorrelation ID matching the X-Request-Id response header.
errorobjectrequiredShow propertiesHide properties
codestringmessagestringdetailsobjectAuthenticated credential lacks the required scope or workspace access.
successbooleanrequiredrequestIdstringrequiredCorrelation ID matching the X-Request-Id response header.
errorobjectrequiredShow propertiesHide properties
codestringmessagestringdetailsobjectThe request conflicts with current resource state or a concurrent decision.
successbooleanrequiredrequestIdstringrequiredCorrelation ID matching the X-Request-Id response header.
errorobjectrequiredShow propertiesHide properties
codestringmessagestringdetailsobject
