cURL
curl --request POST \ --url https://api.avidoai.com/v0/tasks/schedule \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{ "taskId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "criticality": "LOW" }'
{ "taskId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "criticality": "LOW", "cron": "<string>", "jobId": "<string>", "nextRunAt": "2023-11-07T05:31:56Z", "lastRunAt": "2023-11-07T05:31:56Z" }
Your unique Avido API key
LOW
MEDIUM
HIGH
Schedule created or updated successfully
Response schema for task schedule