extractr docs
Management

One usage event with its request and response

GET
/manage/usage/events/{id}

The query parameters, request body and response body captured for a single call (the id is the X-Request-Id header every data response carries). Bodies over the capture limit are truncated; bytes is the original size.

Authorization

BearerAuth
AuthorizationBearer <token>

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

In: header

Path Parameters

id*string

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/manage/usage/events/evt_9f2c4b1a"
{  "id": "string",  "provider": "string",  "endpoint": "string",  "method": "string",  "status": 200,  "credits": 0,  "latencyMs": 0,  "keyPrefix": "ext_live_a1b",  "createdAt": "2019-08-24T14:15:22Z",  "errorCode": "upstream_error",  "captured": true,  "query": {    "username": "nasa"  },  "request": {    "contentType": "application/json",    "body": "string",    "bytes": 1842,    "truncated": true  },  "response": {    "contentType": "application/json",    "body": "string",    "bytes": 1842,    "truncated": true  },  "errorMessage": "string"}
{  "error": {    "code": "invalid_api_key",    "message": "The provided API key is invalid or has been revoked."  }}
{  "error": {    "code": "invalid_api_key",    "message": "The provided API key is invalid or has been revoked."  }}