1. Introduction
Go to https://app.allium.so/explorer/api
2. Generate API keys and run asynchronously
Allium Explorer exposes the following endpoints through a REST API to fetch and poll your query run.- POST /api/v1/explorer/queries/{query_id}/run-async: Execute the query asynchronously. This creates a query run ID for you to poll the status and results from
- GET /api/v1/explorer/query-runs/{run_id}/status: Get the status of a query run as an enumeration of created | queued | running | success | failed | canceled
- GET /api/v1/explorer/query-runs/{run_id}/results: Get the results of a query run with status success.
- Create a query run, and get the run_id
- Poll the query run status using the run_id in a while loop
- When the query run status is success , get the results
