Using
Streams all documents of a domain as NDJSON without full buffering. A legacy document that still carries a top-level `_key`/`_version`/`_content` field exports lossy, same as before — no migration reshapes existing data.
applies to v0.5.1GET
/store-api/json/{domain}/export
const url = 'https://example.com/store-api/json/example/export';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/store-api/json/example/export \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”domain
required
string
JSON domain
Responses
Section titled “Responses”NDJSON stream of all documents
Media typeapplication/x-ndjson
Domain not found
Media typetext/plain
string
Domain is being deleted
Media typetext/plain
string
JSON engine disabled
Media typetext/plain
string