http
POST /projects/{project_reference}/schedulesCreate a recurring schedule that starts a task, a workflow or an agent on a cron expression, or, on REST and GraphQL only, activate a schedule declared in source (the MCP tool creates manual schedules only); returns the schedule: a new schedule is active, and a source schedule that was activated before keeps its current status. Requires project.runs.write.
Servers
JSON
1[2 {3 "url": "https://api.veryfront.com"4 }5]Authentication
JSON
1[2 {3 "bearerAuth": []4 },5 {6 "apiKeyAuth": []7 }8]JSON
1{2 "bearerAuth": {3 "type": "http",4 "scheme": "bearer",5 "bearerFormat": "JWT or API Key",6 "description": "Use a JWT bearer token or a Veryfront API key in the `Authorization` header."7 },8 "apiKeyAuth": {9 "type": "apiKey",10 "in": "header",11 "name": "X-API-Key",12 "description": "Alternative API key header for `vf_<prefix>_<secret>` tokens."13 }14}Parameters
| Name | Location | Required | Description |
|---|---|---|---|
| project_reference | path | Yes |
Parameter contracts
JSON
1[2 {3 "schema": {4 "type": "string",5 "minLength": 16 },7 "required": true,8 "name": "project_reference",9 "in": "path"10 }11]Request body
JSON
1{2 "content": {3 "application/json": {4 "schema": {5 "type": "object",6 "properties": {7 "name": {8 "type": "string",9 "minLength": 1,10 "maxLength": 255,11 "description": "Human-readable schedule name."12 },13 "target": {14 "type": "object",15 "properties": {16 "kind": {17 "type": "string",18 "enum": [19 "task",20 "workflow",21 "agent"22 ],23 "description": "Kind of scheduled target."24 },25 "id": {26 "type": "string",27 "minLength": 1,28 "maxLength": 255,29 "description": "Target identifier. For agent schedules, this is the agent ID."30 },31 "conversation_mode": {32 "type": "string",33 "enum": [34 "create_new",35 "existing",36 "none"37 ],38 "description": "Conversation behaviour for an agent target. Defaults to none. Use create_new for an agent that delegates with invoke_agent - a run with no conversation cannot be paused for delegation. Agent targets run headlessly by default; create_new or existing creates or appends a conversation message."39 },40 "conversation_id": {41 "type": [42 "string",43 "null"44 ],45 "format": "uuid",46 "description": "Existing conversation to continue. Only allowed when conversation_mode is existing, and required in that case."47 }48 },49 "required": [50 "kind",51 "id"52 ],53 "additionalProperties": false,54 "description": "Typed schedule target."55 },56 "schedule": {57 "type": "string",58 "minLength": 1,59 "maxLength": 255,60 "description": "Schedule expression, for example a cron expression."61 },62 "timezone": {63 "type": "string",64 "minLength": 1,65 "maxLength": 128,66 "description": "IANA timezone used to evaluate the schedule. Defaults to UTC."67 },68 "runtime_target_kind": {69 "type": "string",70 "enum": [71 "main_branch",72 "environment",73 "preview_branch"74 ],75 "description": "Runtime target kind for scheduled runs."76 },77 "runtime_target_environment_id": {78 "type": [79 "string",80 "null"81 ],82 "format": "uuid",83 "description": "Environment ID when runtime_target_kind is environment."84 },85 "runtime_target_branch_id": {86 "type": [87 "string",88 "null"89 ],90 "format": "uuid",91 "description": "Branch ID when runtime_target_kind is preview_branch."92 },93 "config": {94 "type": "object",95 "additionalProperties": {},96 "description": "Run configuration. For agent schedules, put the run prompt in config.prompt."97 },98 "timeout_seconds": {99 "type": "integer",100 "exclusiveMinimum": 0,101 "description": "Per-run timeout in seconds."102 },103 "backoff_limit": {104 "type": "integer",105 "minimum": 0,106 "description": "Retry backoff limit for failed scheduled runs."107 },108 "concurrency_policy": {109 "type": "string",110 "enum": [111 "Allow",112 "Forbid",113 "Replace"114 ],115 "description": "How overlapping scheduled runs are handled."116 },117 "max_runs": {118 "type": [119 "integer",120 "null"121 ],122 "exclusiveMinimum": 0,123 "description": "Optional maximum number of scheduled runs."124 },125 "definition_source": {126 "type": "string",127 "enum": [128 "manual",129 "source"130 ],131 "description": "manual (the default), or source to activate a schedule declared in source, which requires source_trigger_id, source_path and source_hash."132 },133 "source_trigger_id": {134 "type": "string",135 "minLength": 1,136 "maxLength": 255,137 "description": "Trigger id from the source definition. When a schedule with this id already exists, creating it from source can return that schedule with its current status; a paused schedule remains paused."138 },139 "source_path": {140 "type": "string",141 "minLength": 1,142 "maxLength": 1024,143 "description": "Source file path of the source schedule."144 },145 "source_hash": {146 "type": "string",147 "minLength": 1,148 "maxLength": 255,149 "description": "Source definition hash of the source schedule."150 }151 },152 "required": [153 "name",154 "target",155 "schedule"156 ],157 "additionalProperties": false158 }159 }160 }161}Responses
201
Created an active recurring project schedule for a task, workflow, or agent target.
JSON
1{2 "description": "Created an active recurring project schedule for a task, workflow, or agent target.",3 "content": {4 "application/json": {5 "schema": {6 "type": "object",7 "properties": {8 "schedule": {9 "type": "object",10 "properties": {11 "id": {12 "type": "string",13 "format": "uuid"14 },15 "project_id": {16 "type": "string",17 "format": "uuid"18 },19 "name": {20 "type": "string"21 },22 "status": {23 "type": "string",24 "enum": [25 "active",26 "paused",27 "deleting"28 ]29 },30 "target": {31 "type": "object",32 "properties": {33 "kind": {34 "type": "string",35 "enum": [36 "task",37 "workflow",38 "agent"39 ]40 },41 "id": {42 "type": "string",43 "minLength": 1,44 "maxLength": 25545 },46 "conversation_mode": {47 "type": "string",48 "enum": [49 "create_new",50 "existing",51 "none"52 ],53 "description": "Conversation behaviour for an agent target. Defaults to none. Use create_new for an agent that delegates with invoke_agent - a run with no conversation cannot be paused for delegation. Agent targets run headlessly by default; create_new or existing creates or appends a conversation message."54 },55 "conversation_id": {56 "type": [57 "string",58 "null"59 ],60 "format": "uuid",61 "description": "Existing conversation to continue. Only allowed when conversation_mode is existing, and required in that case."62 }63 },64 "required": [65 "kind",66 "id"67 ],68 "additionalProperties": false69 },70 "schedule": {71 "type": "string"72 },73 "timezone": {74 "type": "string"75 },76 "runtime_target_kind": {77 "type": "string",78 "enum": [79 "main_branch",80 "environment",81 "preview_branch"82 ]83 },84 "runtime_target_environment_id": {85 "type": [86 "string",87 "null"88 ],89 "format": "uuid"90 },91 "runtime_target_branch_id": {92 "type": [93 "string",94 "null"95 ],96 "format": "uuid"97 },98 "config": {99 "type": "object",100 "additionalProperties": {}101 },102 "timeout_seconds": {103 "type": "integer"104 },105 "backoff_limit": {106 "type": "integer"107 },108 "concurrency_policy": {109 "type": "string"110 },111 "definition_source": {112 "type": "string",113 "enum": [114 "manual",115 "source"116 ]117 },118 "source_trigger_id": {119 "type": [120 "string",121 "null"122 ]123 },124 "source_path": {125 "type": [126 "string",127 "null"128 ]129 },130 "source_hash": {131 "type": [132 "string",133 "null"134 ]135 },136 "last_scheduled_at": {137 "type": [138 "string",139 "null"140 ]141 },142 "last_successful_at": {143 "type": [144 "string",145 "null"146 ]147 },148 "health": {149 "type": [150 "object",151 "null"152 ],153 "properties": {154 "maxStalenessSeconds": {155 "type": "integer",156 "exclusiveMinimum": 0,157 "maximum": 9007199254740991158 }159 },160 "required": [161 "maxStalenessSeconds"162 ],163 "additionalProperties": false164 },165 "max_runs": {166 "type": [167 "integer",168 "null"169 ],170 "exclusiveMinimum": 0171 },172 "run_count": {173 "type": "integer",174 "minimum": 0175 },176 "completed_at": {177 "type": [178 "string",179 "null"180 ]181 },182 "paused_reason": {183 "type": [184 "string",185 "null"186 ]187 },188 "paused_at": {189 "type": [190 "string",191 "null"192 ]193 },194 "last_failure_at": {195 "type": [196 "string",197 "null"198 ]199 },200 "last_failure_code": {201 "type": [202 "string",203 "null"204 ]205 },206 "last_failure_message": {207 "type": [208 "string",209 "null"210 ]211 },212 "last_failure_run_id": {213 "type": [214 "string",215 "null"216 ],217 "format": "uuid"218 },219 "created_by": {220 "type": [221 "string",222 "null"223 ],224 "format": "uuid"225 },226 "integration_requirements": {227 "type": "array",228 "items": {229 "type": "object",230 "properties": {231 "integration": {232 "type": "string",233 "minLength": 1,234 "maxLength": 255,235 "pattern": "^[a-z0-9][a-z0-9_-]*$"236 },237 "required_scopes": {238 "type": "array",239 "items": {240 "type": "string",241 "minLength": 1,242 "maxLength": 255243 },244 "maxItems": 50,245 "default": []246 },247 "resources": {248 "type": "array",249 "items": {250 "type": "object",251 "properties": {252 "kind": {253 "type": "string",254 "minLength": 1,255 "maxLength": 64,256 "pattern": "^[a-z][a-z0-9_-]*$"257 },258 "id": {259 "type": "string",260 "minLength": 1,261 "maxLength": 512262 },263 "parent": {264 "type": "object",265 "properties": {266 "kind": {267 "type": "string",268 "minLength": 1,269 "maxLength": 64,270 "pattern": "^[a-z][a-z0-9_-]*$"271 },272 "id": {273 "type": "string",274 "minLength": 1,275 "maxLength": 512276 }277 },278 "required": [279 "kind",280 "id"281 ],282 "additionalProperties": false283 }284 },285 "required": [286 "kind",287 "id"288 ],289 "additionalProperties": false290 },291 "maxItems": 50,292 "default": []293 }294 },295 "required": [296 "integration"297 ],298 "additionalProperties": false299 },300 "maxItems": 20,301 "default": []302 },303 "created_at": {304 "type": "string"305 },306 "updated_at": {307 "type": "string"308 }309 },310 "required": [311 "id",312 "project_id",313 "name",314 "status",315 "target",316 "schedule",317 "timezone",318 "runtime_target_kind",319 "runtime_target_environment_id",320 "runtime_target_branch_id",321 "config",322 "timeout_seconds",323 "backoff_limit",324 "concurrency_policy",325 "definition_source",326 "source_trigger_id",327 "source_path",328 "source_hash",329 "last_scheduled_at",330 "last_successful_at",331 "health",332 "max_runs",333 "run_count",334 "completed_at",335 "paused_reason",336 "paused_at",337 "last_failure_at",338 "last_failure_code",339 "last_failure_message",340 "last_failure_run_id",341 "created_by",342 "created_at",343 "updated_at"344 ],345 "additionalProperties": false,346 "description": "The created schedule. New schedules are active by default."347 }348 },349 "required": [350 "schedule"351 ]352 }353 }354 }355}400
invalid_input: invalid body or parameters
JSON
1{2 "description": "invalid_input: invalid body or parameters",3 "content": {4 "application/problem+json": {5 "schema": {6 "$ref": "#/components/schemas/Problem"7 }8 }9 }10}401
unauthenticated
JSON
1{2 "description": "unauthenticated",3 "content": {4 "application/problem+json": {5 "schema": {6 "$ref": "#/components/schemas/Problem"7 }8 }9 }10}403
forbidden: a project member without project.runs.write
JSON
1{2 "description": "forbidden: a project member without project.runs.write",3 "content": {4 "application/problem+json": {5 "schema": {6 "$ref": "#/components/schemas/Problem"7 }8 }9 }10}404
not_found: project or target not found or not visible
JSON
1{2 "description": "not_found: project or target not found or not visible",3 "content": {4 "application/problem+json": {5 "schema": {6 "$ref": "#/components/schemas/Problem"7 }8 }9 }10}500
internal
JSON
1{2 "description": "internal",3 "content": {4 "application/problem+json": {5 "schema": {6 "$ref": "#/components/schemas/Problem"7 }8 }9 }10}503
internal: authentication state is temporarily unavailable and the request was not processed; retry shortly.
JSON
1{2 "description": "internal: authentication state is temporarily unavailable and the request was not processed; retry shortly.",3 "content": {4 "application/problem+json": {5 "schema": {6 "$ref": "#/components/schemas/Problem"7 }8 }9 }10}Referenced contracts
components/schemas/Problem
JSON
1{2 "type": "object",3 "properties": {4 "cause": {5 "type": "string",6 "enum": [7 "schedule_concurrency_forbidden",8 "schedule_fire_in_progress",9 "schedule_run_limit_reached"10 ],11 "description": "Schedule admission refusal."12 },13 "idempotency": {14 "type": "object",15 "properties": {16 "state": {17 "type": "string",18 "enum": [19 "in_progress",20 "payload_mismatch",21 "outcome_unknown"22 ]23 },24 "operation": {25 "type": "string",26 "minLength": 127 },28 "retryable": {29 "type": "boolean"30 },31 "retry_after_seconds": {32 "type": [33 "integer",34 "null"35 ],36 "minimum": 037 },38 "expires_at": {39 "type": [40 "string",41 "null"42 ]43 },44 "recovery": {45 "type": "object",46 "properties": {47 "available": {48 "type": "boolean"49 },50 "description": {51 "type": "string"52 },53 "resource_url": {54 "type": "string"55 }56 },57 "required": [58 "available",59 "description"60 ]61 }62 },63 "required": [64 "state",65 "operation",66 "retryable",67 "retry_after_seconds",68 "expires_at"69 ],70 "description": "Replay status, retry timing, and recovery lookup."71 },72 "type": {73 "type": "string",74 "description": "URI reference identifying the problem type",75 "example": "https://api.veryfront.com/errors/validation-failed"76 },77 "title": {78 "type": "string",79 "description": "Short human-readable summary of the problem",80 "example": "Validation Failed"81 },82 "status": {83 "type": "integer",84 "minimum": 100,85 "maximum": 599,86 "description": "HTTP status code",87 "example": 40088 },89 "code": {90 "type": "string",91 "description": "Stable machine-readable error code",92 "example": "RUN_INVALID_INPUT"93 },94 "detail": {95 "type": "string",96 "description": "Human-readable explanation specific to this occurrence",97 "example": "The 'email' field must be a valid email address"98 },99 "instance": {100 "type": "string",101 "description": "URI reference identifying the specific occurrence",102 "example": "/projects/my-project/members"103 },104 "slug": {105 "type": "string",106 "description": "Stable identifier for the problem type",107 "example": "validation-failed"108 },109 "category": {110 "type": "string",111 "enum": [112 "AUTH",113 "RESOURCE",114 "VALIDATION",115 "DATABASE",116 "SUBSCRIPTION",117 "INTEGRATION",118 "INTERNAL"119 ],120 "description": "API error category",121 "example": "VALIDATION"122 },123 "suggestion": {124 "type": "string",125 "description": "Suggested action to resolve the problem",126 "example": "Check the request body and query parameters against the API documentation."127 },128 "errors": {129 "type": "array",130 "items": {131 "type": "object",132 "properties": {133 "field": {134 "type": "string",135 "description": "Field path that caused the error",136 "example": "email"137 },138 "message": {139 "type": "string",140 "description": "Error message for this field",141 "example": "Invalid email format"142 },143 "code": {144 "type": "string",145 "description": "Error code for this field",146 "example": "INVALID_FORMAT"147 }148 },149 "required": [150 "field",151 "message"152 ]153 },154 "description": "Detailed field-level errors for validation failures"155 }156 },157 "required": [158 "type",159 "title",160 "status"161 ]162}Operation contract
JSON
1{2 "operationId": "createSchedule",3 "tags": [4 "execution/Triggers/Project schedules"5 ],6 "summary": "Create schedule",7 "description": "Create a recurring schedule that starts a task, a workflow or an agent on a cron expression, or, on REST and GraphQL only, activate a schedule declared in source (the MCP tool creates manual schedules only); returns the schedule: a new schedule is active, and a source schedule that was activated before keeps its current status. Requires project.runs.write.",8 "parameters": [9 {10 "schema": {11 "type": "string",12 "minLength": 113 },14 "required": true,15 "name": "project_reference",16 "in": "path"17 }18 ],19 "requestBody": {20 "content": {21 "application/json": {22 "schema": {23 "type": "object",24 "properties": {25 "name": {26 "type": "string",27 "minLength": 1,28 "maxLength": 255,29 "description": "Human-readable schedule name."30 },31 "target": {32 "type": "object",33 "properties": {34 "kind": {35 "type": "string",36 "enum": [37 "task",38 "workflow",39 "agent"40 ],41 "description": "Kind of scheduled target."42 },43 "id": {44 "type": "string",45 "minLength": 1,46 "maxLength": 255,47 "description": "Target identifier. For agent schedules, this is the agent ID."48 },49 "conversation_mode": {50 "type": "string",51 "enum": [52 "create_new",53 "existing",54 "none"55 ],56 "description": "Conversation behaviour for an agent target. Defaults to none. Use create_new for an agent that delegates with invoke_agent - a run with no conversation cannot be paused for delegation. Agent targets run headlessly by default; create_new or existing creates or appends a conversation message."57 },58 "conversation_id": {59 "type": [60 "string",61 "null"62 ],63 "format": "uuid",64 "description": "Existing conversation to continue. Only allowed when conversation_mode is existing, and required in that case."65 }66 },67 "required": [68 "kind",69 "id"70 ],71 "additionalProperties": false,72 "description": "Typed schedule target."73 },74 "schedule": {75 "type": "string",76 "minLength": 1,77 "maxLength": 255,78 "description": "Schedule expression, for example a cron expression."79 },80 "timezone": {81 "type": "string",82 "minLength": 1,83 "maxLength": 128,84 "description": "IANA timezone used to evaluate the schedule. Defaults to UTC."85 },86 "runtime_target_kind": {87 "type": "string",88 "enum": [89 "main_branch",90 "environment",91 "preview_branch"92 ],93 "description": "Runtime target kind for scheduled runs."94 },95 "runtime_target_environment_id": {96 "type": [97 "string",98 "null"99 ],100 "format": "uuid",101 "description": "Environment ID when runtime_target_kind is environment."102 },103 "runtime_target_branch_id": {104 "type": [105 "string",106 "null"107 ],108 "format": "uuid",109 "description": "Branch ID when runtime_target_kind is preview_branch."110 },111 "config": {112 "type": "object",113 "additionalProperties": {},114 "description": "Run configuration. For agent schedules, put the run prompt in config.prompt."115 },116 "timeout_seconds": {117 "type": "integer",118 "exclusiveMinimum": 0,119 "description": "Per-run timeout in seconds."120 },121 "backoff_limit": {122 "type": "integer",123 "minimum": 0,124 "description": "Retry backoff limit for failed scheduled runs."125 },126 "concurrency_policy": {127 "type": "string",128 "enum": [129 "Allow",130 "Forbid",131 "Replace"132 ],133 "description": "How overlapping scheduled runs are handled."134 },135 "max_runs": {136 "type": [137 "integer",138 "null"139 ],140 "exclusiveMinimum": 0,141 "description": "Optional maximum number of scheduled runs."142 },143 "definition_source": {144 "type": "string",145 "enum": [146 "manual",147 "source"148 ],149 "description": "manual (the default), or source to activate a schedule declared in source, which requires source_trigger_id, source_path and source_hash."150 },151 "source_trigger_id": {152 "type": "string",153 "minLength": 1,154 "maxLength": 255,155 "description": "Trigger id from the source definition. When a schedule with this id already exists, creating it from source can return that schedule with its current status; a paused schedule remains paused."156 },157 "source_path": {158 "type": "string",159 "minLength": 1,160 "maxLength": 1024,161 "description": "Source file path of the source schedule."162 },163 "source_hash": {164 "type": "string",165 "minLength": 1,166 "maxLength": 255,167 "description": "Source definition hash of the source schedule."168 }169 },170 "required": [171 "name",172 "target",173 "schedule"174 ],175 "additionalProperties": false176 }177 }178 }179 },180 "responses": {181 "201": {182 "description": "Created an active recurring project schedule for a task, workflow, or agent target.",183 "content": {184 "application/json": {185 "schema": {186 "type": "object",187 "properties": {188 "schedule": {189 "type": "object",190 "properties": {191 "id": {192 "type": "string",193 "format": "uuid"194 },195 "project_id": {196 "type": "string",197 "format": "uuid"198 },199 "name": {200 "type": "string"201 },202 "status": {203 "type": "string",204 "enum": [205 "active",206 "paused",207 "deleting"208 ]209 },210 "target": {211 "type": "object",212 "properties": {213 "kind": {214 "type": "string",215 "enum": [216 "task",217 "workflow",218 "agent"219 ]220 },221 "id": {222 "type": "string",223 "minLength": 1,224 "maxLength": 255225 },226 "conversation_mode": {227 "type": "string",228 "enum": [229 "create_new",230 "existing",231 "none"232 ],233 "description": "Conversation behaviour for an agent target. Defaults to none. Use create_new for an agent that delegates with invoke_agent - a run with no conversation cannot be paused for delegation. Agent targets run headlessly by default; create_new or existing creates or appends a conversation message."234 },235 "conversation_id": {236 "type": [237 "string",238 "null"239 ],240 "format": "uuid",241 "description": "Existing conversation to continue. Only allowed when conversation_mode is existing, and required in that case."242 }243 },244 "required": [245 "kind",246 "id"247 ],248 "additionalProperties": false249 },250 "schedule": {251 "type": "string"252 },253 "timezone": {254 "type": "string"255 },256 "runtime_target_kind": {257 "type": "string",258 "enum": [259 "main_branch",260 "environment",261 "preview_branch"262 ]263 },264 "runtime_target_environment_id": {265 "type": [266 "string",267 "null"268 ],269 "format": "uuid"270 },271 "runtime_target_branch_id": {272 "type": [273 "string",274 "null"275 ],276 "format": "uuid"277 },278 "config": {279 "type": "object",280 "additionalProperties": {}281 },282 "timeout_seconds": {283 "type": "integer"284 },285 "backoff_limit": {286 "type": "integer"287 },288 "concurrency_policy": {289 "type": "string"290 },291 "definition_source": {292 "type": "string",293 "enum": [294 "manual",295 "source"296 ]297 },298 "source_trigger_id": {299 "type": [300 "string",301 "null"302 ]303 },304 "source_path": {305 "type": [306 "string",307 "null"308 ]309 },310 "source_hash": {311 "type": [312 "string",313 "null"314 ]315 },316 "last_scheduled_at": {317 "type": [318 "string",319 "null"320 ]321 },322 "last_successful_at": {323 "type": [324 "string",325 "null"326 ]327 },328 "health": {329 "type": [330 "object",331 "null"332 ],333 "properties": {334 "maxStalenessSeconds": {335 "type": "integer",336 "exclusiveMinimum": 0,337 "maximum": 9007199254740991338 }339 },340 "required": [341 "maxStalenessSeconds"342 ],343 "additionalProperties": false344 },345 "max_runs": {346 "type": [347 "integer",348 "null"349 ],350 "exclusiveMinimum": 0351 },352 "run_count": {353 "type": "integer",354 "minimum": 0355 },356 "completed_at": {357 "type": [358 "string",359 "null"360 ]361 },362 "paused_reason": {363 "type": [364 "string",365 "null"366 ]367 },368 "paused_at": {369 "type": [370 "string",371 "null"372 ]373 },374 "last_failure_at": {375 "type": [376 "string",377 "null"378 ]379 },380 "last_failure_code": {381 "type": [382 "string",383 "null"384 ]385 },386 "last_failure_message": {387 "type": [388 "string",389 "null"390 ]391 },392 "last_failure_run_id": {393 "type": [394 "string",395 "null"396 ],397 "format": "uuid"398 },399 "created_by": {400 "type": [401 "string",402 "null"403 ],404 "format": "uuid"405 },406 "integration_requirements": {407 "type": "array",408 "items": {409 "type": "object",410 "properties": {411 "integration": {412 "type": "string",413 "minLength": 1,414 "maxLength": 255,415 "pattern": "^[a-z0-9][a-z0-9_-]*$"416 },417 "required_scopes": {418 "type": "array",419 "items": {420 "type": "string",421 "minLength": 1,422 "maxLength": 255423 },424 "maxItems": 50,425 "default": []426 },427 "resources": {428 "type": "array",429 "items": {430 "type": "object",431 "properties": {432 "kind": {433 "type": "string",434 "minLength": 1,435 "maxLength": 64,436 "pattern": "^[a-z][a-z0-9_-]*$"437 },438 "id": {439 "type": "string",440 "minLength": 1,441 "maxLength": 512442 },443 "parent": {444 "type": "object",445 "properties": {446 "kind": {447 "type": "string",448 "minLength": 1,449 "maxLength": 64,450 "pattern": "^[a-z][a-z0-9_-]*$"451 },452 "id": {453 "type": "string",454 "minLength": 1,455 "maxLength": 512456 }457 },458 "required": [459 "kind",460 "id"461 ],462 "additionalProperties": false463 }464 },465 "required": [466 "kind",467 "id"468 ],469 "additionalProperties": false470 },471 "maxItems": 50,472 "default": []473 }474 },475 "required": [476 "integration"477 ],478 "additionalProperties": false479 },480 "maxItems": 20,481 "default": []482 },483 "created_at": {484 "type": "string"485 },486 "updated_at": {487 "type": "string"488 }489 },490 "required": [491 "id",492 "project_id",493 "name",494 "status",495 "target",496 "schedule",497 "timezone",498 "runtime_target_kind",499 "runtime_target_environment_id",500 "runtime_target_branch_id",501 "config",502 "timeout_seconds",503 "backoff_limit",504 "concurrency_policy",505 "definition_source",506 "source_trigger_id",507 "source_path",508 "source_hash",509 "last_scheduled_at",510 "last_successful_at",511 "health",512 "max_runs",513 "run_count",514 "completed_at",515 "paused_reason",516 "paused_at",517 "last_failure_at",518 "last_failure_code",519 "last_failure_message",520 "last_failure_run_id",521 "created_by",522 "created_at",523 "updated_at"524 ],525 "additionalProperties": false,526 "description": "The created schedule. New schedules are active by default."527 }528 },529 "required": [530 "schedule"531 ]532 }533 }534 }535 },536 "400": {537 "description": "invalid_input: invalid body or parameters",538 "content": {539 "application/problem+json": {540 "schema": {541 "$ref": "#/components/schemas/Problem"542 }543 }544 }545 },546 "401": {547 "description": "unauthenticated",548 "content": {549 "application/problem+json": {550 "schema": {551 "$ref": "#/components/schemas/Problem"552 }553 }554 }555 },556 "403": {557 "description": "forbidden: a project member without project.runs.write",558 "content": {559 "application/problem+json": {560 "schema": {561 "$ref": "#/components/schemas/Problem"562 }563 }564 }565 },566 "404": {567 "description": "not_found: project or target not found or not visible",568 "content": {569 "application/problem+json": {570 "schema": {571 "$ref": "#/components/schemas/Problem"572 }573 }574 }575 },576 "500": {577 "description": "internal",578 "content": {579 "application/problem+json": {580 "schema": {581 "$ref": "#/components/schemas/Problem"582 }583 }584 }585 },586 "503": {587 "description": "internal: authentication state is temporarily unavailable and the request was not processed; retry shortly.",588 "content": {589 "application/problem+json": {590 "schema": {591 "$ref": "#/components/schemas/Problem"592 }593 }594 }595 }596 },597 "x-documentation-source-tag": "Project schedules",598 "x-canonical-documentation": {599 "domain": "execution",600 "resource": "Triggers",601 "subgroup": "Project schedules",602 "name": "Create schedule",603 "description": "Create a recurring schedule that starts a task, a workflow or an agent on a cron expression, or, on REST and GraphQL only, activate a schedule declared in source (the MCP tool creates manual schedules only); returns the schedule: a new schedule is active, and a source schedule that was activated before keeps its current status. Requires project.runs.write.",604 "operationId": "createSchedule"605 },606 "x-mint": {607 "href": "/cloud/rest/api-reference/execution-triggers-project-schedules/create-schedule"608 }609}