Create an execution context for AI agent operations
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"
}
JWT Bearer token authentication using the Authorization header
Execution context created successfully
The response is of type object
.
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"
}