# Query Runs

## Endpoints

### Create a Query Run

- [POST /v2/data/reporting/query_runs](https://docs.stripe.com/api/v2/data/reporting/query-runs/create.md?api-version=2026-04-22.preview)

### Retrieve a Query Run

- [GET /v2/data/reporting/query_runs/:id](https://docs.stripe.com/api/v2/data/reporting/query-runs/retrieve.md?api-version=2026-04-22.preview)

The `QueryRun` object represents an ad-hoc SQL execution. Once created, Stripe processes the query. When the query has finished running, the object provides a reference to the results.
