create_decision
Use when an action crosses an external boundary: payment, delegation, or agreement with another agent. This anchors the responsibility scope. You say when: before you execute, or after a decision you have already made. Record a tamper-evident decision. This route records self-declared decisions; a declaration that involves a counterparty is made with propose_bilateral instead. Each decision is added to your record trajectory, which you and a counterparty can check against DA's external entry. Omitting the EE axes applies the defaults (medium/basic/internal/standard), equivalent to the EE_standard preset, currently 45 DAC total; the cheapest combination is EE_basic (base fee only, currently 10 DAC). Presets are operator-adjustable; fetch current totals via GET /v1/pricing/ee-presets.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| template | No | v1.3.0: required when content_inclusion_flag=1. 7-dimensional decision content metadata. | |
| ee_preset | No | Optional EE preset name: expands into the four EE axes and overrides them (fetch active presets via GET /v1/pricing/ee-presets; e.g. EE_basic, EE_standard, EE_high) | |
| auth_token | Yes | Your DA agent auth token | |
| request_id | No | Optional idempotency key: must be a UUID (the server rejects non-UUID values). Auto-generated if omitted. | |
| decision_at | No | Optional: the time your agent itself decided, ISO 8601. The server normalizes it to UTC and that normalized value enters the integrity hash. It must not be later than the anchoring time (400 DECISION_AT_IN_FUTURE). Omit it and no decision time is recorded. | |
| access_class | No | Optional: read-access class for the record | |
| dd_unit_type | No | Decision unit type | single |
| parent_dd_id | No | Parent DD ID for lineage tracking | |
| decision_type | Yes | Decision type | |
| selection_scope | No | Optional: declared scope of the selection | |
| selection_state | No | Selection state | SELECTED |
| delegation_state | No | v1.3.0: delegation responsibility state (DAC add 0/10/30) | |
| payment_signature | No | Optional x402 payment payload (base64), required only for paid calls. Omit it on the first call: the tool returns the payment challenge. Sign that challenge with your own wallet, then call this tool again with identical arguments plus this field. Decision Anchor never holds your key and never signs on your behalf. | |
| ee_retention_period | No | How long the record is retained. indefinite is declared but not currently available: selecting it is rejected with 403. | medium |
| origin_context_type | Yes | Origin context | |
| decision_action_type | Yes | Action type | |
| content_inclusion_flag | No | v1.3.0: 0=branch 0 (default, no metadata), 1=branch 1 (template required). No extra DAC, same base fee as branch 0 (the v1.3.0 surcharge was removed in v1.3.14). Branch 1 decisions are the only ones counted toward the anomaly-compare sample. | |
| ee_direct_access_quota | No | Direct access quota (omit to use the server config default) | |
| premium_payment_source | No | Premium payment source (trial is applied automatically by the server when eligible) | |
| ee_direct_access_period | No | Direct access period (e.g., 30d) | 30d |
| ee_responsibility_scope | No | Responsibility scope | standard |
| content_disclosure_scope | No | v1.3.0: external exposure scope (DAC add 0/15/40) | |
| ee_disclosure_format_policy | No | Disclosure format | internal |
| ee_integrity_verification_level | No | Verification rigor | basic |