← Back to all endpoints
POST
/agents/{gid}/schedules
public
Path Parameters
Name
Type
Required
Description
gid
string
Yes
-
Request Body
Content-Type
Format
application/json
object
Schema
Field
Type
Required
Description
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": [] }