Skip to main content
POST
/
api
/
crews
/
run
Run preset crew
curl --request POST \
  --url https://api.example.com/api/crews/run \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "task_input": {}
}
'
{
  "correlation_id": "<string>",
  "status": "pending",
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

x-correlation-id
string | null

Body

application/json

Simple mode: run a preset crew type with a task input.

crew_type
enum<string>
required

Available preset crew types.

Available options:
ask,
classification,
data_engineering,
data_suggestion,
semantic_model
task_input
Task Input · object

Key-value inputs passed to the crew. For example, {'question': '...'}.

Response

Successful Response

Response returned after a crew run starts.

correlation_id
string
required
status
enum<string>
default:pending
Available options:
pending,
running,
completed,
failed
message
string | null