# Query Runs 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. ## Endpoints ### Create a Query Run - [POST /v2/data/reporting/query_runs](https://docs.stripe.com/api/v2/data/reporting/query-runs/create.md) ### Retrieve a Query Run - [GET /v2/data/reporting/query_runs/:id](https://docs.stripe.com/api/v2/data/reporting/query-runs/retrieve.md)