Skip to main content
POST
/
api
/
workforces
/
{workforce_id}
/
runs
Create Workforce Run
curl --request POST \
  --url https://api.example.com/api/workforces/{workforce_id}/runs \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "message": "<string>",
  "files": [
    "<string>"
  ],
  "execution_mode": "<string>"
}
'
{}

Authorizations

Authorization
string
header
required

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

Path Parameters

workforce_id
integer
required

Body

application/json
message
string
required
Minimum string length: 1
files
string[]
execution_mode
string | null

Response

Successful Response

The response is of type Response Create Workforce Run Api Workforces Workforce Id Runs Post · object.