POST
/v1/bots/:botId/execute-historical-query
Execute Historical Query
Execute historical queries against previously processed blocks. This endpoint runs the bot's watch rules against the historical data and returns matching transactions and patterns. Use this after processing blocks with the historical-blocks endpoint.
Endpoint Details
POST
https://api.monitor.getfailsafe.com/server
https://api.monitor.getfailsafe.com/server/v1/bots/:botId/execute-historical-query
Request Body Schema
Query execution configuration with chain ID
{
"chainId": 1
}