PUT
Update Workflow Status
Send {"status": "archived"} to deactivate an agent, or {"status": "active"} to restore it. Archived agents cannot receive calls but their history and definition are preserved.

Authorizations

Authorization
string
header
required

An EESI API key (sk-eesi-...) or a Clerk session token.

Headers

authorization
string | null
X-API-Key
string | null

Path Parameters

workflow_id
integer
required

Body

application/json
status
string
required

Response

Successful Response

id
integer
required
name
string
required
status
string
required
created_at
string<date-time>
required
workflow_definition
Workflow Definition ยท object
required
current_definition_id
integer | null
required
template_context_variables
Template Context Variables ยท object | null
call_disposition_codes
CallDispositionCodes ยท object | null
total_runs
integer | null
workflow_configurations
Workflow Configurations ยท object | null
version_number
integer | null
version_status
string | null
workflow_uuid
string | null