workflows

Update Subscription

Patch one Subscription: rename it, change the prompt or agent pin, adjust the per-kind event config (lead time, filters), tune the per-fire policy, or flip enabled. Use when the user wants an existing event trigger changed rather than replaced; source_kind is immutable — delete and recreate to switch kinds. Only supplied fields change.

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

Request

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

Path parameters

idstring required

The subscription id to patch.

Request body

namestring
promptstring
configobject

Replacement per-kind config, validated against the subscription's existing source_kind.

agentstring

New agent pin, or null to clear it (plain Master).

enabledboolean

Response

OK

dataunknown

Changes

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