propose_write
settings

Change one section of the customer-service agent’s configuration. `value` holds some or all of the section’s keys as rea

Changed on

Change one section of the customer-service agent’s configuration. value holds some or all of the section’s keys as reading the configuration returns them (a key left out stays as stored; null removes a key); each key is checked by the same validation the Magistry settings page uses, and a refusal says why in the page’s words. Pass the section’s version as expected_version: a section that changed since is refused version_conflict. A change that narrows what the agent may do (a switch off, a cap down, a language removed) runs under this connection’s grant; one that lets it send more mail by itself needs a grant holding customer_send, otherwise it waits as an approval card. Raising the agent’s mode, letting it act or refund without asking (no-human operation, outbound autonomy, refund limits, allowed actions, confidence floors, remedy policy), loosening the brand-voice gate, policy grounding or answerability gate (off, or a lower floor), and any change to the scenario plan are always a person’s to approve (requires_approval). A change that changes nothing returns applied with unchanged. Requires an idempotency_key.

post/api/v1/tools/cs_config_patch

Request

  • Base URL
    https://app.magistry.io
  • Auth
    • HTTP bearer
    • or OAuth 2
      Authorization codehttps://app.magistry.io/api/oauth/authorize
      Token URLhttps://app.magistry.io/api/oauth/token
      Scopessettings:write

Headers

Idempotency-Key, string

Required, here or as idempotency_key in the body. A unique string you choose for this request; send the SAME key when retrying and the first answer is returned instead of writing twice (idempotent-replayed: true). The same key with other arguments is 409 idempotency_conflict. If the header and idempotency_key are both sent they must be equal.

Request body

object required
section, 'mode' | 'allowed_actions' | 'refund_limits' | 'tier_floors' | 'remedy_policy' | 'autonomy' | 'acknowledgment' | 'agent_behavior' | 'scenario_policy' | 'closure' | 'languages_allowed_for_send' | 'email_template' | 'sender_name' | 'signature' | 'translation' | 'brand_voice' | 'policy_grounding' | 'answerability_gate' | 'ai_disclosure' | 'max_auto_reply_age_days' | 'outbound_autonomy' | 'mail_sorter' | 'resolution_memory' | 'human_handoff' | 'default_assignee' | 'time_saved' | 'business_context' | 'house_rules' | 'business_hours' | 'tracking_scan' required
value, object required

Some or all of the section’s keys; null removes a key.

expected_version, string required

The section’s version, as last read.

reason, string

Why, shown on the card.

idempotency_key, string required

Required. A unique string you choose for this request. Send the SAME key when retrying after a timeout and Magistry returns the original outcome instead of performing the write twice. Reusing a key with different arguments is refused rather than replayed.

Response

Tool result

object required
ok, boolean required
result, unknown required

Changes

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    11 more changes in this revision