Skip to main content
POST
/
v0
/
tasks
/
schedule
Create or update a task schedule
curl --request POST \
  --url https://api.avidoai.com/v0/tasks/schedule \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --header 'x-application-id: <api-key>' \
  --data '{
  "taskIds": [
    "123e4567-e89b-12d3-a456-426614174000",
    "223e4567-e89b-12d3-a456-426614174001"
  ],
  "criticality": "LOW"
}'
This response does not have an example.

Authorizations

x-api-key
string
header
required

Your unique Avido API key

x-application-id
string
header
required

Your unique Avido Application ID

Body

application/json
taskIds
string<uuid>[]
required

Array of task IDs to trigger

Minimum length: 1
Example:
[
  "123e4567-e89b-12d3-a456-426614174000",
  "223e4567-e89b-12d3-a456-426614174001"
]
criticality
enum<string>
required
Available options:
LOW,
MEDIUM,
HIGH

Response

Tasks scheduled