Skip to content

Export log query results as CSV using the exact same filters as `GET /logs/query` (start_time, end_time, level, source, env, host, search, metadata_search, tags, excluded). `limit`/`offset` are ignored: the export returns the whole filtered set up to the cap, and refuses with a 400 when the set is larger.

GET
/logs/export
curl --request GET \
--url https://api.siteqwality.com/logs/export \
--header 'Authorization: Bearer <token>'
start_time
string

RFC3339 lower bound

end_time
string

RFC3339 upper bound

level
string

Comma-separated levels

source
string

Comma-separated sources

env
string

Comma-separated environments

host
string

Comma-separated hosts

search
string

Full-text search

metadata_search
string

Metadata search

tags
string

Tag filters

excluded
string

Exclusion filters

CSV file (text/csv attachment)

Media type text/plain
string

More than 10,000 rows match the filters

Missing or invalid authentication

Internal server error