← Back to all endpoints
POST /agents/{gid}/schedules public

Path Parameters

NameTypeRequiredDescription
gid string Yes -

Request Body

Content-TypeFormat
application/json object

Schema

FieldTypeRequiredDescription
prompt string Yes Prompt
cron any No Cron
at any No At
timezone string No Timezone

Example

{ "prompt": "<prompt>", "cron": "<cron>", "at": "<at>", "timezone": "<timezone>" }

Responses

200 Successful Response
422 Validation Error
{ "detail": [] }