Update a routine — omit preserves; null clears schedule/budget [write]

Changed on

initial_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 URL
    https://api.agentsky.dev/v1
  • URL
    https://api.agentsky.dev/v1/routines/{id}
  • Auth
    HTTP bearer

Path parameters

idstring required

The routine id (rtn_…)

Request body

namestring
descriptionstring nullable
metadataobject

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