---
title: "GET /api/exploration/query/{id}"
method: GET
path: "/api/exploration/query/{id}"
tags: ["/api/exploration"]
---

# GET /api/exploration/query/{id}

`GET /api/exploration/query/{id}`

## Request

- Base URL: `` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/exploration/query/{id}`
- Auth: API key in header `X-API-Key`

Stream the result of a single completed exploration query. The optional `format` query param
  is one of `api`, `json`, `csv`, `xlsx` (default `api`). When the underlying query is still
  pending or has errored, returns a 409 with status info instead of streaming.

## Path parameters

- `id` integer, required

## Query parameters

- `format` 'api' | 'csv' | 'json' | 'xlsx'

## Response `2XX`

Successful response

- unknown

## Other responses

- `4XX`: Client error response
- `5XX`: Server error response

## Changes

- **2026-11-04** `2e178f5a7934`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/metabase/apis/metabase-api/changes/api/exploration/query/:id/get.md)

---

[API](https://skmtc.dev/metabase/apis/metabase-api.md) - [All operations](https://skmtc.dev/metabase/apis/metabase-api/llms.txt) - [OpenAPI document](https://skmtc.dev/metabase/apis/metabase-api/revisions/2e178f5a7934?raw)
