extractr docs
Management

Export usage events as CSV

GET
/manage/usage/export.csv

Applies the same filters as the event log. Capped at the 10,000 most recent matching rows; narrow the date range to export more.

Authorization

BearerAuth
AuthorizationBearer <token>

Clerk session token (dashboard/management routes). In local dev mode use the X-Dev-User header instead.

In: header

Query Parameters

provider?string
keyId?string
status?string
Match^(success|error|[1-5]\d{2})$
from?string
Match^\d{4}-\d{2}-\d{2}$
to?string
Match^\d{4}-\d{2}-\d{2}$

Response Body

text/csv

application/json

curl -X GET "https://example.com/manage/usage/export.csv"
"string"
{  "error": {    "code": "invalid_api_key",    "message": "The provided API key is invalid or has been revoked."  }}