Skip to main content
GET
/
v1
/
accounts
/
{account_id}
/
intents
/
{intent_id}
Get latest intent action
curl --request GET \
  --url https://api.anthid.com/v1/accounts/{account_id}/intents/{intent_id}
{
  "account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "created_at": "2023-11-07T05:31:56Z",
  "intent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "organization_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "quantity": 123,
  "seq": 123,
  "symbol": "<string>",
  "client_reference_id": "<string>",
  "limit_price": {
    "integer": 123,
    "precision": 1
  }
}

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.

Headers

x-organization-id
string<uuid> | null

Organization id required when reading with service-account credentials

Path Parameters

account_id
string<uuid>
required

Trading account id that owns the intent

intent_id
string<uuid>
required

Intent id to fetch

Response

Latest intent action retrieved

account_id
string<uuid>
required
action_type
enum<string>
required
Available options:
CREATE,
REPLACE,
CANCEL
created_at
string<date-time>
required
intent_id
string<uuid>
required
order_side
enum<string>
required
Available options:
UNSPECIFIED,
BUY,
SELL,
SELL_SHORT
order_type
enum<string>
required
Available options:
UNSPECIFIED,
LIMIT,
MARKET
organization_id
string<uuid>
required
quantity
integer<int64>
required
route_strategy
enum<string>
required
Available options:
SMART,
ARCA,
EDGA,
EDGX,
IEX,
MEMX,
XASE,
XBOS,
XCIS,
XNMS,
XNYS
seq
integer<int64>
required
symbol
string
required
client_reference_id
string | null
limit_price
object

for the WHY I had to do this, it's binary floating point math and the inability to represent prices exactly with floats. rust_decimal is too heavy when we just need a fixed point number. Also, this can be optimized heavily for cpu cache lines, which is a distant plan

time_in_force
null | enum<string>
Available options:
UNSPECIFIED,
DAY,
IMMEDIATE_OR_CANCEL,
GOOD_TILL_CANCEL,
AT_OPEN,
FILL_OR_KILL,
EXT