Credential-shaped fields in actor_context are dropped, not rejected (§2.5).
Field Type Notes agent_idstring (uuid) required — persona_idstring (uuid) | null optional — kindcron | interval | one_shot | eventrequired — labelstring | null optional max length 200 cron_expressionsstring[] optional — timezonestring optional Default "UTC". max length 60 interval_secondsinteger | null optional min 60 fire_atstring (date-time) | null optional — event_kindstring | null optional max length 60 promptstring required min length 1 input_templateobject | null optional — actor_contextActorContextoptional — output_configobject optional — expires_atstring (date-time) | null optional — max_failuresinteger optional Default 3. min 1 max 100 timeout_sinteger | null optional min 1 is_activeboolean optional Default true.
Status Description Body 201Successful Response ScheduleView422Validation Error HTTPValidationError
Only the success paths are declared
Any operation may also answer any status in the error catalogue , and
every failure body is the platform envelope — including the 422 this document types
as HTTPValidationError.
The body shows the fields the schema always carries. Which combination is legal is a service rule the schema cannot express, so read the description above before copying this.
curl -X POST https://your-deployment.example.com/schedules \
-H " Authorization: Bearer $COBRE_TOKEN " \
-H " Content-Type: application/json " \
"agent_id": "0190a2f4-0000-7000-8000-000000000000",
Field Type Notes idstring (uuid) required — agent_idstring (uuid) required — persona_idstring (uuid) | null required , nullable— kindcron | interval | one_shot | eventrequired — labelstring | null required , nullable— cron_expressionsobject[] required — timezonestring required — interval_secondsinteger | null required , nullable— event_kindstring | null required , nullable— fire_atstring (date-time) | null required , nullable— promptstring required — input_templateobject | null required , nullable— actor_contextobject required — output_configobject required — next_fire_atstring (date-time) | null required , nullable— last_fired_atstring (date-time) | null required , nullable— last_run_idstring (uuid) | null required , nullable— expires_atstring (date-time) | null required , nullable— consecutive_failuresinteger required — max_failuresinteger required — skipped_overlapinteger required — skipped_misfiresinteger required — fire_countinteger required — deactivated_atstring (date-time) | null required , nullable— deactivated_reasonstring | null required , nullable— timeout_sinteger | null required , nullable— is_activeboolean required — created_by_user_idstring (uuid) | null required , nullable— created_by_run_idstring (uuid) | null required , nullable— created_atstring (date-time) required —