Skip to main content
POST
/
v1
/
accounts
/
{account_id}
/
intents
Submit intent
curl --request POST \
  --url https://api.anthid.com/v1/accounts/{account_id}/intents \
  --header 'Content-Type: application/json' \
  --data '
{
  "command": {
    "payload": {
      "spec": {
        "Market": {
          "quantity": 123
        }
      },
      "symbol": "<string>"
    }
  },
  "client_reference_id": "<string>"
}
'
{
  "intent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Documentation Index

Fetch the complete documentation index at: https://docs.anthid.com/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

account_id
string<uuid>
required

Trading account id that should execute the intent

Body

application/json

Intent command to append for this account. CREATE starts a new intent lineage; REPLACE and CANCEL append to the lineage referenced by payload.ref_intent_id. The top-level client_reference_id is accepted for caller correlation but is not currently persisted on action records.

command
object
required

Requested intent operation and its payload.

client_reference_id
string | null

Optional caller-provided correlation ID for downstream reconciliation.

Response

Intent accepted

intent_id
string<uuid>
required