---
title: "List query exports"
method: GET
path: "/api/v1/analytics/query/export"
tags: ["Query"]
---

# List query exports

`GET /api/v1/analytics/query/export`

Get a list of recent query exports and their status. Possible statuses are `success`, `failed`, `running` and `pending`. If status is success, then we also show the download link.

## Response `200`

Query execution response

- object
  - `data` object[], nullable, required — Details of the query execution
    - `id` string, uuid, required — Query execution ID
    - `status` string, required — Query execution status
    - `query` string, required — SQL query
    - `url` string, required — URL to download the result
    - `error` string, required — Error message
    - `exportFormat` string — Export format of the result
    - `createdAt` string, date-time, required — Creation time
    - `updatedAt` string, date-time, required — Last update time

## Other responses

- `400` — Error response with message
- `401` — Unable to authenticate the client
- `403` — Unable to authorize the client
- `404` — Resource was not found or not enough access privileges
- `415` — Resource representation send in the request is not supported.

---

[API](https://skmtc.net/xentral/apis/xentral-api.md) · [All operations](https://skmtc.net/xentral/apis/xentral-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/xentral/xentral-api/revisions/8a27ba392442/schema)
