> ## Documentation Index
> Fetch the complete documentation index at: https://docs.allium.so/llms.txt
> Use this file to discover all available pages before exploring further.

# Overview

> Execute saved queries programmatically and retrieve results via API.

The **Explorer API** provides an API-friendly way to run queries programmatically and retrieve data from the Allium App in bulk.

Execute saved queries on demand, schedule automated data pulls, and retrieve results in a structured format—all via REST endpoints.

## Creating Queries

You have two options for creating queries:

1. **Via the Allium App** - Create and save queries through the UI ([Learn more](https://docs.allium.so/app/run-queries/basic-query.md))
2. **Via the API** - Create queries programmatically using the [Create Query](https://docs.allium.so/api/explorer/create-query.md) endpoint

Both methods generate a **query ID** that you'll use in subsequent API requests.

## Programmatic Workflow

For production use, run a query yourself and track the `run_id` it returns rather than reading the latest scheduled run. See [Programmatic query workflow](https://docs.allium.so/api/explorer/query-workflow.md) for the run → poll → fetch pattern.

## Available Endpoints

### Query Management

> [card] [Create Query](https://docs.allium.so/api/explorer/create-query.md)
>
> Create a new saved query programmatically

> [card] [Update Query](https://docs.allium.so/api/explorer/update-query.md)
>
> Modify an existing saved query

> [card] [Execute Query](https://docs.allium.so/api/explorer/run-query.md)
>
> Create a new query run for a saved query

### Query Run Management

> [card] [Get Latest Run](https://docs.allium.so/api/explorer/fetch-latest-query-run.md)
>
> Retrieve the latest query run information

> [card] [Check Run Status](https://docs.allium.so/api/explorer/fetch-query-run-status.md)
>
> Retrieve the status of a query run

> [card] [Get Results](https://docs.allium.so/api/explorer/fetch-query-run-results.md)
>
> Retrieve the results of a query run

> [card] [Cancel Run](https://docs.allium.so/api/explorer/cancel-query-run.md)
>
> Cancel a running query

### Compute Profile Management

> [card] [List Profiles](https://docs.allium.so/api/explorer/list-compute-profiles.md)
>
> List compute profiles and their queue depth

> [card] [Create Profile](https://docs.allium.so/api/explorer/create-compute-profile.md)
>
> Create a new compute profile

> [card] [Resize Profile](https://docs.allium.so/api/explorer/resize-compute-profile.md)
>
> Change a profile's size

> [card] [Delete Profile](https://docs.allium.so/api/explorer/delete-compute-profile.md)
>
> Delete a compute profile
