---
title: "Update Subscription"
method: PATCH
path: "/api/platform/v1/subscriptions/{id}"
tags: ["workflows"]
---

# Update Subscription

`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

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.

## Path parameters

- `id` string, required: The subscription id to patch.

## Request body

- object
  - `name` string
  - `prompt` string
  - `config` object: Replacement per-kind config, validated against the subscription's existing source_kind.
  - `agent` string: New agent pin, or null to clear it (plain Master).
  - `run_config` object
    - `depth` 'quick' | 'standard' | 'deep': Investigation depth per fire. Defaults to standard (a fire is a reaction).
    - `actions_allowed` string[]: Outbound actions each fired run may invoke. Absent = ALL cataloged actions (default ON); pass a list to narrow, [] to disable.
    - `external_search` boolean: Allow market fan-outs (external_search.execute in the kit). Default false.
    - `include_divergence` boolean: Fuse the divergence map on external_search.execute (else evidence-only). Default false.
  - `enabled` boolean

## Response `200`

OK

- object
  - `data` unknown

## Other responses

- `400`: Invalid input - failed schema validation
- `401`: Authentication required
- `403`: Forbidden - missing scope or role
- `404`: Not found
- `500`: Internal server error

---

[API](https://skmtc.dev/amdahl/apis/amdahl-platform-api.md) · [All operations](https://skmtc.dev/amdahl/apis/amdahl-platform-api/llms.txt) · [OpenAPI document](https://skmtc.dev/amdahl/apis/amdahl-platform-api/revisions/d4eee33e2472?raw)
