agents
Preview Agent
Dry-run a trigger over the last N days: how many emails would this agent have sent? Doubles as query validation — a broken query returns ok=False with the HogQL error rather than a count.
post/api/v1/agents/preview
Headers
authorizationstring nullable
Bearer <token>
Bearer <token>
Request body
Response
Successful Response
Changes
No recorded changes to this endpoint across all 1 revision of this API.