Update a routine — omit preserves; null clears schedule/budget [write]
Changed oninitial_events is a full replacement; metadata is key-patched (null deletes a key); name and target cannot be cleared. Archived routines are immutable (409).
patch/routines/{id}
Request
- Base URLhttps://api.agentsky.dev/v1
- URLhttps://api.agentsky.dev/v1/routines/{id}
- AuthHTTP bearer
Path parameters
idstring required
The routine id (rtn_…)
Request body
Response
OK
Changes
- info
added the new optional request property
// - info
added the new optional request property
// - info
added the optional property
/to the response with the status - info
the response property
became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status
- info