ReferencesInternal Ledger
Raw access events across all keys, paged
Return one page of access-event rows in ``[start, end)`` across all keys. Pages are capped at ``access_events_service.PAGE_LIMIT`` as a runaway-query backstop, not a date-range restriction. Stable ordering and paging use ``(event_ts, id)``.
Authorization
InternalBearerAuth AuthorizationBearer <token>
Shared bearer token gating /internal/access-events/*. Issued only to known callers (staff tooling, the in-house ledger->Zuora cron, and api-management); rotated annually.
In: header
Query Parameters
start*string
Inclusive lower bound on event_ts (UTC).
Format
date-timeend*string
Exclusive upper bound on event_ts (UTC).
Format
date-timecursor?Cursor|Cursor
Opaque cursor from the prior response's next_cursor; omit for the first page.
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://api.whitepages.com/internal/access-events/dump?start=2019-08-24T14%3A15%3A22Z&end=2019-08-24T14%3A15%3A22Z"{
"events": [
{
"id": 0,
"event_ts": "2019-08-24T14:15:22Z",
"trace_id": "string",
"api_key_id": "string",
"http_method": "string",
"route": "string",
"status_code": 0,
"duration_ms": 0,
"billable": true
}
],
"next_cursor": "string"
}{
"message": "Forbidden"
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}{
"error": {
"code": 400,
"message": "Short error message",
"long_message": "The request was malformed",
"meta": {
"field": "email",
"validation_error": "Invalid email format"
}
},
"wp_trace_id": "550e8400-e29b-41d4-a716-446655440000"
}