chatformdocs
API referenceV1

Read a ready export's contents

The export's text, a slice at a time, under the same API key, for a caller that cannot fetch `download_url` (an agent sandbox that only reaches allow-listed hosts, say). Read from `offset` 0 and pass `next_offset` back until it is null; the slices join into the exact file.

GET
/v1/exports/{id}/content

Authorization

AuthorizationBearer <token>

A server-side secret key. Never send one from a browser — a request carrying an Origin header is refused for this reason.

In: header

Path Parameters

id*string

Query Parameters

offset?integer
Range0 <= value <= 9007199254740991
Default0
max_bytes?integer
Range1000 <= value <= 200000
Default200000

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/exports/string/content"
{  "id": "string",  "object": "export_content",  "format": "csv",  "offset": 0,  "next_offset": 0,  "total_bytes": 0,  "content": "string"}