Skip to main content
GET
Read an owned or same-account scoped receipt and bounded group detail
Examples use illustrative identities and UTC times; the documentation cannot submit requests.

Authorization and query

The owning integration namespace can read its receipt with any valid key. Alternatively, a key with read can inspect a known receipt UUID from the same account when its link/instrument policy permits that receipt. This enables an API controller to inspect a TradingView receipt without acquiring that TradingView namespace’s mutation identity or list access. Send exactly one id, no other query keys and no request body.

Single-command response: HTTP 200

The synthetic example records a durably armed close (terminal_request_kind:1, positive sequence 2). It does not certify completed closure. A canceled pending lifecycle can instead record kind 2; a receipt without newly correlated terminal evidence omits those two optional fields.

Receipt fields

See the state table. Receipt GET success means the read succeeded; it does not turn rejected, expired or operator_required into a successful trade.

TradingView group response: HTTP 200

The following is an alternative response when requesting the synthetic group UUID 77777777-7777-4777-8777-777777777777. One target was handed off and one was rejected. All IDs and outcomes are illustrative.
partial is a resolved group summary with mixed child outcomes. For a group with unresolved children, the summary instead reflects operator_required, then dispatching, then accepted in priority order. A zero-target group is execution_observed with target_count:0, all counts zero and no required targets array. The target set was frozen at admission. Retrying a group does not add later positions or execute finished children again. A successful child handoff still needs position-level completion checks. A null parent error_code does not conceal the rejected child’s code; inspect every child.

Unresolved execution example

A receipt read can return HTTP 200 with:
Stop dependent mutations and reconcile the existing lifecycle. The available evidence does not justify a fresh command that repeats or compensates for the unresolved one.

Read errors

Malformed or missing id produces HTTP 400:
A receipt absent from the authorized result, including one no longer retained, returns HTTP 404:
Do not infer that a historical command never executed from a later 404. Resolved receipt retention is finite; retain your own audit evidence. Use namespace history when recovering a lost response without a known receipt UUID, or retry the exact saved command while its receipt remains retained.

Authorizations

Authorization
string
header
required

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

Query Parameters

id
string<uuid>
required

Response

Success

Durable command receipt, never a fill/completion assertion. Terminal request fields correlate a durable termination owner handoff. Terminal arm writes kind/sequence while retaining dispatching; owner return or startup canonical evidence advances handed_off. Group parent position_id is null. Precedence is operator_required, dispatching, accepted, then homogeneous resolved state or partial. Zero-target parent is execution_observed. Counts and child states do not prove exposure is flat.

id
string<uuid>
required
client_command_id
string
required
action
string
required
state
enum<string>
required
Available options:
accepted,
dispatching,
handed_off,
execution_observed,
rejected,
expired,
operator_required,
partial
position_id
string<uuid> | null
required
error_code
string | null
required

Safe error reason, when available. A reason on operator_required does not prove absence of side effects or authorize replay; state remains authoritative for uncertainty.

created_at
integer<int64>
required
updated_at
integer<int64>
required
source
string

Source label on receipt reads, including group targets. API and TradingView derive from the integration kind; MCP uses the immutable OAuth-verified client name, such as ChatGPT or Claude. Initial command acknowledgments may omit this read metadata.

Maximum string length: 80
terminal_request_kind
enum<integer>
required if terminal_request_seq is set
Available options:
1,
2
terminal_request_seq
integer<int64>
required if terminal_request_kind is set
Required range: x >= 1
group_id
string<uuid>

Parent group on a child termination receipt.

group
object
required if targets is set

Counts sum to the immutable target_count. Zero targets records an observed empty selection, not market flatness.

targets
object[]

Group detail only: at most 64 frozen ordinary termination receipts. Targets cannot contain nested groups or target arrays. Omitted on list responses and zero-target groups.

Maximum array length: 64