Get latest intent action
Returns the latest recorded action for an intent in the resolved organization. Pass trading_account_id to require that the intent belongs to that account; omitted, the intent is looked up across every account the organization owns. Service-account callers must provide x-organization-id and have intent:read; API-key callers need organization intent read permission; user callers need an organization admin, member, or read-only role. Non-service callers can only read their principal organization, and a supplied trading account must belong to the resolved organization.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Organization id required when reading with service-account credentials
Path Parameters
Intent id to fetch
Query Parameters
Optional trading account the intent must belong to. Omitted reads across the whole organization.
Response
Latest intent action retrieved
CREATE, REPLACE, CANCEL UNSPECIFIED, BUY, SELL, SELL_SHORT UNSPECIFIED, LIMIT, MARKET, FILL_OR_KILL, LIMIT_ON_OPEN, LIMIT_ON_CLOSE, MARKET_ON_OPEN, MARKET_ON_CLOSE, STOP, STOP_LIMIT, TRAILING_STOP UNSPECIFIED, SMART, AMEX, ARCA, BATS, BATY, EDGA, EDGX, NSDQ, NYSE UNSPECIFIED, DAY, IMMEDIATE_OR_CANCEL, GOOD_TILL_CANCEL, AT_OPEN, AT_CLOSE, FILL_OR_KILL, EXT