Run APL query to edge deployment
Run APL 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.
This is the edge equivalent of the standard Run query endpoint. Send the request to your edge deployment's base domain at the path /v1/query/_apl. The standard /v1/datasets/_apl path isn't served on edge domains, so requests to it return a 404.
If you use an Axiom SDK, set the edge option on the client and it sends queries to this endpoint automatically. For more information, see Configure region.
/v1/query/_aplSend the token in the Authorization: Bearer API_TOKEN header. See Tokens for which token types this endpoint accepts.
Show child attributes2
Show child attributes27
curl -X POST 'https://AXIOM_DOMAIN/v1/query/_apl' \
-H 'Authorization: Bearer API_TOKEN' \
-H 'Content-Type: application/json' \
-d '{"format":"tabular","apl":"string"}'{}