Skip to main content
GET
https://example.com
/
api
/
indexes
/
{indexId}
/
logs
/
export
Export logs
curl --request GET \
  --url https://example.com/api/indexes/{indexId}/logs/export \
  --cookie better-auth.session_token=
"<string>"

Authorizations

better-auth.session_token
string
cookie
required

Path Parameters

indexId
string
required
Minimum string length: 1

Query Parameters

q
string
startTs
number
required
Required range: x >= 0
endTs
number
required
Required range: x >= 0
format
enum<string>
required
Available options:
json,
csv,
text
dryRun
string

Response

Gzip-compressed export stream. Content-Type reflects the requested format (application/x-ndjson for JSON, text/csv for CSV, text/plain for text).

The response is of type file.