Skip to main content
POST
Run Scheduled Task Now
Trigger a scheduled task right away without waiting for its next cron match. Useful for testing a task or running it on demand. The run is executed asynchronously. Find it with List Tasks filtered by agent_id. A paused task (enabled: false) cannot be run this way. The call returns {"detail": "job not found"}. Resume it with Update Scheduled Task first.
If the agent’s status is INACTIVE, this call still answers {"status": "running"}, but nothing runs and no task appears. The response only confirms that the fire was queued. Check the agent’s status with Get Agent first; set it to ACTIVE with Update Agent before you run the task.

Example Request

Example Response

Authorizations

x-api-key
string
header
required

API Key for authentication

Path Parameters

agent_id
string
required
task_id
string
required

Response

Successful Response