Task
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
GET | |
POST | |
GET | |
PATCH | |
DELETE | |
POST |
List all task automations
Required API key scopes
task:readQuery parameters
- limitinteger
- offsetinteger
Response
Example request
GET /api /projects /:project_id /task_automationsExample response
Status 200
RESPONSE
Create task automations
Required API key scopes
task:writeRequest parameters
- namestring
- promptstring
- repositorystring
- github_integrationintegernull
- cron_expressionstring
- timezonestring
- template_idstringnull
- enabledboolean
Response
Example request
POST /api /projects /:project_id /task_automationsExample response
Status 201
RESPONSE
Retrieve task automations
Required API key scopes
task:readPath parameters
- idstring
Response
Example request
GET /api /projects /:project_id /task_automations /:idExample response
Status 200
RESPONSE
Update task automations
Required API key scopes
task:writePath parameters
- idstring
Request parameters
- namestring
- promptstring
- repositorystring
- github_integrationintegernull
- cron_expressionstring
- timezonestring
- template_idstringnull
- enabledboolean
Response
Example request
PATCH /api /projects /:project_id /task_automations /:idExample response
Status 200
RESPONSE
Delete task automations
Required API key scopes
task:writePath parameters
- idstring
Example request
DELETE /api /projects /:project_id /task_automations /:idExample response
Status 204 No response body
Create task automations run
Required API key scopes
task:writePath parameters
- idstring
Request parameters
- namestring
- promptstring
- repositorystring
- github_integrationintegernull
- cron_expressionstring
- timezonestring
- template_idstringnull
- enabledboolean
Response
Example request
POST /api /projects /:project_id /task_automations /:id /runExample response
Status 200
RESPONSE