Create a scheduled agent (disabled by default)
Changed onRequires name/prompt/cron. workspaceId is optional/nullable (a deprecated container anchor), not required. Invalid cron → INVALID_CRON / CRON_TOO_FREQUENT.
Request
- Base URLhttps://origami.chat/api/v2
- URLhttps://origami.chat/api/v2/scheduled-agents
- AuthHTTP bearer
Headers
Transport-level replay protection: any v2 POST may send it (1-255 printable ASCII characters; UUIDs recommended). The first response for a key is recorded and replayed verbatim for retries with the same key + method/path/body for 24 hours; replayed responses carry the Idempotency-Replay: true response header. Reusing a key with a different request, or retrying while the original is still in flight, returns 409 IDEMPOTENCY_ERROR. 5xx responses are never recorded (the retry re-executes).
Request body
Response
The created scheduled agent.
Changes
- breaking
added required request body
- breaking
the response property
became nullable for the status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
response property
workspaceIddeprecated - info
added the required property
to the response with the status
- breaking