workflows

Update Routine

Patch an existing Routine: rename it, change its prompt or cadence, re-pin the agent, adjust per-fire config, or enable/disable it. Use when tuning a standing scheduled ask without recreating it. Only the supplied fields change; a cadence change is re-validated first and takes effect on the next scheduler tick.

patch/api/platform/v1/routines/{id}

Request

  • Base URL: https://docs.amdahl.ai
  • URL: https://docs.amdahl.ai/api/platform/v1/routines/{id}
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Path parameters

idstring required

The routine id.

Request body

namestring

New human label.

promptstring

New Chat input for future fires.

cronstring

New cron expression (validated before storing).

timezonestring

New IANA timezone.

agentstring nullable

LEGACY single-agent pin, or null to clear back to the plain Master. Prefer config.agents; passing both rejects.

enabledboolean

Enable or disable firing.

Response

OK

dataunknown

Changes

No recorded changes to this operation across all 1 revision of this API.