---
title: "Start Query History Export"
method: POST
path: "/admin/query-history/start-export"
tags: ["public"]
---

# Start Query History Export

`POST /admin/query-history/start-export`

## Request

- Base URL: `https://cloud.onyx.app/api`
- URL: `https://cloud.onyx.app/api/admin/query-history/start-export`
- Auth: HTTP bearer

## Query parameters

- `start` string, date-time, nullable
- `end` string, date-time, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-28** `76bc90bf55b6`: 1 info
  - endpoint added
- **2026-01-06** `2d941ea53eb3`: 1 breaking
  - api path removed without deprecation
- **2025-08-21** `9321c45d93b5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/onyx-dot-app/apis/onyx-api/changes/admin/query-history/start-export/post.md)

---

[API](https://skmtc.dev/onyx-dot-app/apis/onyx-api.md) - [All operations](https://skmtc.dev/onyx-dot-app/apis/onyx-api/llms.txt) - [OpenAPI document](https://skmtc.dev/onyx-dot-app/apis/onyx-api/revisions/76bc90bf55b6?raw)
