Run batch query to edge deployment
Run batch query to edge deployment.
Use this endpoint to query data from a specific edge deployment. The data you query must be stored in the edge deployment where you query it. For more information, see Query data and Edge deployments.
The base domain for this endpoint is the base domain of the edge deployment where you want to query data.
| Edge deployment | Base domain for ingest and query |
|---|---|
US East 1 (AWS) |
us-east-1.aws.edge.axiom.co |
EU Central 1 (AWS) |
eu-central-1.aws.edge.axiom.co |
This endpoint only supports API tokens. Personal access tokens (PATs) aren't supported. For more information, see Tokens.
POST
/v1/query/batchFeatures
Send the token in the Authorization: Bearer API_TOKEN header. See Tokens for which token types this endpoint accepts.
Request body: application/json.
Input4
Sent from your browser straight to the API — never to Docsbook, never stored.
(query) Maximum number of concurrent queries to execute
(query) Whether to bypass cache for all queries in the batch
(query) Contains the source of the APL query (for example console, dashboard, etc.)
(query) Contains the id of the source, for example dashboard_id
Responses
200SSE stream of query results. Each event carries a
kind field ("apl" or "mpl") indicating how the data payload for that queryId should be interpreted.defaultError
Example input
curl -X POST 'https://AXIOM_DOMAIN/v1/query/batch' \
-H 'Authorization: Bearer API_TOKEN' \
-H 'Content-Type: application/json' \
-d '{}'Example output