Openi DeveloperDeveloper

Export records as CSV

Streams a CSV with header record.id,dataset,external_id plus the requested fields from record data. Filtering matches GET /v1/records. Arrays are joined with ';' and nested objects can be addressed with dot paths. Body is parsed leniently — an empty body is accepted but `dataset` and `fields` must be present once parsed.

POST
/v1/records/export.csv

Authorization

ApiKeyAuth
x-api-key<token>

Tenant API key

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

fields*array<string>
filters*

Response Body

text/csv

application/json

application/json

application/json

curl -X POST "https://example.com/v1/records/export.csv" \  -H "Content-Type: application/json" \  -d '{    "fields": [      "string"    ],    "filters": {      "dataset": "string"    }  }'
"string"