Skip to main content
GET
Count completed intents

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

account_id
string<uuid>

Trading account ID. Omitted counts the whole organization.

environment
enum<string>
required

Required. Which environment the read covers. Resolved to the organization's accounts in that environment, including disabled and deleted ones, since the ledger stores no environment of its own. Rejected with 400 when it disagrees with the account named alongside it.

Available options:
paper,
live
days
integer<int64>
required

Trailing day count. Capped at 90, and again at the window the caller's plan grants.

Response

Count retrieved

How many intents finished in a window.

Distinct intents, not actions: an order amended twice is one intent, and counting its three rows would make an active desk look three times busier than a passive one placing the same number of orders.

intent_count
integer<int64>
required
Required range: x >= 0