Learn how to use Axiom querying API to create and get query objects.
Use Axiom querying API to create and get query objects.
The only expected header is Authorization: Bearer
which is your token to authenticate the request. For more information, see Tokens.
Axiom maintains the axiom-js to provide official Node.js bindings for the Axiom API.
Install using npm install
:
If you use the Axiom CLI, run eval $(axiom config export -f)
to configure your environment variables.
Otherwise, create an API token and export it as AXIOM_TOKEN
.
Create and use a client like this:
In the above example we’re querying a dataset containing contemporary flight data obtained from an ADSB antenna. Results may look similar to this:
Further examples can be found in the axiom-js repo.
This section provides a guide on how to leverage the power of APL through curl commands. By combining the flexibility of curl with the querying capabilities of APL, users can seamlessly fetch and analyze their data right from the terminal.
Whether you’re looking to fetch specific data points, aggregate metrics over time, or filter datasets based on certain criteria, the examples provided here will serve as a foundation to build upon. As you become more familiar with APL’s syntax and curl’s options, you’ll find that the possibilities are vast and the insights you can derive are profound.
POST api.axiom.co/v1/datasets/\{id\}/query
Response code 200 and the response body:
Learn how to use Axiom querying API to create and get query objects.
Use Axiom querying API to create and get query objects.
The only expected header is Authorization: Bearer
which is your token to authenticate the request. For more information, see Tokens.
Axiom maintains the axiom-js to provide official Node.js bindings for the Axiom API.
Install using npm install
:
If you use the Axiom CLI, run eval $(axiom config export -f)
to configure your environment variables.
Otherwise, create an API token and export it as AXIOM_TOKEN
.
Create and use a client like this:
In the above example we’re querying a dataset containing contemporary flight data obtained from an ADSB antenna. Results may look similar to this:
Further examples can be found in the axiom-js repo.
This section provides a guide on how to leverage the power of APL through curl commands. By combining the flexibility of curl with the querying capabilities of APL, users can seamlessly fetch and analyze their data right from the terminal.
Whether you’re looking to fetch specific data points, aggregate metrics over time, or filter datasets based on certain criteria, the examples provided here will serve as a foundation to build upon. As you become more familiar with APL’s syntax and curl’s options, you’ll find that the possibilities are vast and the insights you can derive are profound.
POST api.axiom.co/v1/datasets/\{id\}/query
Response code 200 and the response body: