Automations
Get a project's automations
GET
/
project
/
{projectId}
/
automations
Error
A valid request URL is required to generate request examples{
"automations": [
{
"id": "<string>",
"name": "<string>",
"allowAdminTools": true,
"confirmBeforeExecute": true,
"enabled": true,
"mode": "agent",
"prompt": "<string>",
"runsAs": {
"kind": "user",
"isAdmin": true,
"userId": "<string>"
},
"script": "<string>",
"trigger": {
"source": "schedule",
"authors": [
"<string>"
],
"branch": true,
"branchId": "<string>",
"branchIds": [
"<string>"
],
"cronExpression": "0 9 * * 1-5",
"paths": [
"<string>"
],
"timeZone": "America/Los_Angeles",
"types": [
"<string>"
]
}
}
]
}⌘I
Error
A valid request URL is required to generate request examples{
"automations": [
{
"id": "<string>",
"name": "<string>",
"allowAdminTools": true,
"confirmBeforeExecute": true,
"enabled": true,
"mode": "agent",
"prompt": "<string>",
"runsAs": {
"kind": "user",
"isAdmin": true,
"userId": "<string>"
},
"script": "<string>",
"trigger": {
"source": "schedule",
"authors": [
"<string>"
],
"branch": true,
"branchId": "<string>",
"branchIds": [
"<string>"
],
"cronExpression": "0 9 * * 1-5",
"paths": [
"<string>"
],
"timeZone": "America/Los_Angeles",
"types": [
"<string>"
]
}
}
]
}