tasks
Trigger a task
Changed onTrigger a task by its identifier.
post/api/v1/tasks/{taskIdentifier}/trigger
Request
- Base URLhttps://api.trigger.dev
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"options": {
"tags": "user_123456",
"machine": "small-2x"
}
}Response
Task triggered successfully
Example response
{
"id": "run_1234"
}Changes
- breaking
added to the
/request propertyallOflist - breaking
the
/request property type changed fromarraystringto no type
- breaking
- info
added the new optional request property
/
- info