POST
/
ai-execution-context
Create AI Execution Context
curl --request POST \
  --url https://api.wacht.dev/ai-execution-context \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "agent_id": "<string>",
  "workflow_id": "<string>",
  "user_id": "<string>",
  "session_id": "<string>",
  "context": {}
}'
{
  "id": "<string>",
  "agent_id": "<string>",
  "workflow_id": "<string>",
  "user_id": "<string>",
  "session_id": "<string>",
  "context": {},
  "created_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

JWT Bearer token authentication using the Authorization header

Body

application/json

Response

Execution context created successfully

The response is of type object.