Query
Submit an async query
Validates the input identically to /v1/query. On success persists the query as a background job and returns a job_id immediately. The query is processed asynchronously; poll /v1/query/status to retrieve the result. Successful results are retained for 8 hours after completion. Authorization: Bearer token (same as other endpoints).
post/query/async
Request
- Base URL: https://api.reportingninja.com/v1
- URL: https://api.reportingninja.com/v1/query/async
- Auth: HTTP bearer
Request body
Response
The answer of the call, or a business error envelope. This endpoint reports its own errors with HTTP 200 and status=error: read envelope.status before reading data.
Example response
{
"data": {
"job_id": "1234567890"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.