Export a data index (deprecated)

Deprecated. Use POST /data/{index_name}/export for paged JSON, GET /data/{index_name}/export.csv for CSV, or GET /data/{index_name}/export.ndjson for NDJSON.


This endpoint returns Deprecation: true and Sunset: Mon, 28 Sep 2026 00:00:00 GMT response headers, and stops working after the sunset date.

Path Params
string
required

The name of the data index to export.

Query Params
integer
Defaults to 1000

The number of documents returned per page, capped by the per-index limit.

string

The next_cursor value from the previous response. Omit for the first page.

string
enum

When set, the full result set is streamed in the requested format instead of returning a JSON page.

Allowed:
string

A comma-separated list of the fields (columns) to return. All fields are returned when omitted. For CSV exports this also sets the header row.

string

The sort field and direction, as field:direction. A _doc:asc tiebreaker is always appended so that paging is stable.

string

A JSON-encoded OpenSearch query DSL object used to filter the exported documents.

Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json