A bot's trade-by-trade audit
get_bot_auditOne bot's execution log as CSV, oldest first: the same file as Download trades in the app and GET /v2/bots/{id}/audit.csv. A trader or signal bot has one row per trade it decided on: copied, skipped and why, or sent and not filled. Each row has the trader's price, size and time, when the bot decided, its limit, when its order was sent and how long it worked, the order book it went into (best ask, contracts at or under the limit), its fill, fee and how the market settled. source_trade_id is the same on every copy and skip of one trader trade (paper or live, any bot), position is the bet (count distinct positions, not rows), and rivo_received_at_utc with seconds_trader_to_rivo splits a delay into the feed's and the bot's. A market bot has one row per trade. Use it to see why a live copy missed. Defaults to the last 7 days; one call counts as one trade listing.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "get_bot_audit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The bot id from list_bots, e.g. trader:<uuid>. | |
| days | No | How far back, 1 to 365 days. Default 7. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes |