Skip to main content
POST
/
teams
/
{team_id}
/
runs
Create Team Run
curl --request POST \
  --url https://api.example.com/teams/{team_id}/runs \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form 'message=<string>' \
  --form stream=true \
  --form monitor=true \
  --form 'session_id=<string>' \
  --form 'user_id=<string>' \
  --form 'files=<string>' \
  --form files.0.items='@example-file'
{
  "detail": "Bad request",
  "error_code": "BAD_REQUEST"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

team_id
string
required

Body

multipart/form-data
message
string
required
stream
boolean
default:true
monitor
boolean
default:true
session_id
string | null
user_id
string | null
files
file[] | null

Response

Team run executed successfully