Skip to main content
POST
Python

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json

Download request for a dataslice's metadata and/or chunk text.

Two fields can ask for chunk text: export_content (the current vocabulary, shared with the destination export request) and export_chunk_text (the older bool). export_chunk_text is deprecated. Precedence, stated once and implemented in export_data_slice: chunk text is included if either asks for it, so a client that sets only the deprecated flag keeps working. New clients should send export_content alone.

datasource_id
string<uuid>
required
dataslice_id
string | null
export_file_level
boolean
default:false
export_format
enum<string> | null
Available options:
json,
csv,
jsonl
selected_tag_ids
string[] | null
export_level
enum<string> | null
Available options:
file,
chunk,
both
export_content
enum<string>
default:metadata

What a download carries: tag values, the chunk text itself, or both.

Available options:
metadata,
nodes,
both
export_chunk_text
boolean
default:false
deprecated

Deprecated — use export_content (nodes or both) instead. Chunk text is included if either this flag or export_content asks for it.

Response

Successful Response