GET
Ask an agent why it made one trade

Authorizations

Authorization
string
header
required

The authorization field takes the session bearer returned by sign-in, or an API key where the route allows keys. Paste the token itself into the authorization field.

Path Parameters

accountId
string
required
Minimum string length: 1
deploymentId
string
required
Required string length: 1 - 64
tradeId
string
required

The fill's trade id, as account.fills carries it.

Required string length: 1 - 128

Response

Success

version
string
required
Allowed value: "agent-fill-decision/v1"
deploymentId
string
required
Pattern: ^agt_[0-9a-f]{32}$
marketId
string
required
Minimum string length: 1
fill
object
required
basis
enum<string>
required
Available options:
strategy_signal,
skill_exit,
owner_close,
venue_order,
not_linked,
decision_mismatch,
decision_malformed
explanation
string
required

One plain sentence built from the recorded decision, the same every time.

Minimum string length: 1
decision
object | null
required

The recorded decision behind the order; null when no agent decision sent it.