Replay a query from its replay token
query_replayReturn the response a replay token was minted for, exactly as first returned, beside its immutable manifest, and re-verify it. The query is re-executed at the manifest's as-of date and the recomputation's hash compared with the recorded one: replay_mode is 'recomputed_verified' with matches_original_result true when they match, 'recomputed_format_changed' when the same filings and values come back in a response whose bytes differ, and 'recomputed_diverged' when the underlying data has changed since; in both of those matches_original_result is false and recomputed_result carries what the query returns now. When the query can no longer be re-executed, replay_mode is 'stored_manifest' and the original result is still returned. A replay token is shareable: anyone whose plan covers the query's company can replay it. The manifest returned is your organization's own when it executed the query, and otherwise the token's first manifest.
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": {
"replay_token": "<replay_token>"
},
"name": "query_replay"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| replay_token | Yes | Stable replay token returned by POST /v1/query/execute. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| response | Yes | ||
| request_id | No | ||
| source_status | Yes |