Skip to main content
GET
/
ai
/
execution-contexts
List execution contexts
curl --request GET \
  --url https://api.wacht.dev/ai/execution-contexts \
  --header 'Authorization: <api-key>'
{
  "data": [
    {
      "id": "1234567890123456789",
      "created_at": "2024-01-15T10:30:00Z",
      "updated_at": "2024-01-15T10:30:00Z",
      "deployment_id": "9876543210987654321",
      "title": "Customer Support Session",
      "system_instructions": "You are a helpful customer support agent...",
      "context_group": "support-tier-1",
      "last_activity_at": "2024-01-15T11:30:00Z",
      "completed_at": "2024-01-15T12:00:00Z",
      "execution_state": {},
      "status": "idle",
      "source": "web",
      "external_context_id": "ext-123",
      "external_resource_metadata": {}
    }
  ],
  "has_more": true,
  "limit": 123,
  "offset": 123
}

Authorizations

Authorization
string
header
required

API key authentication (format: Bearer {api_key})

Query Parameters

limit
integer
default:50

Number of items to return

Required range: 1 <= x <= 100
offset
integer
default:0

Number of items to skip

Required range: x >= 0
status
enum<string>

Filter by execution context status

Available options:
idle,
running,
waiting_for_input,
interrupted,
completed,
failed
context_group
string

Filter by context group

Response

200 - application/json

List of execution contexts

data
object[]

Array of items

has_more
boolean

Whether there are more items

limit
integer | null

Number of items returned per page

offset
integer | null

Number of items skipped