Lists individual consumption records, newest first: one per billed model request or platform operation, with tokens and the consumption charged in tokens
curl -X GET 'https://app.memorylake.ai/openapi/memorylake/admin/v1/usage/records' \ -H 'Authorization: Bearer sk_xxxxxx'
Lists individual consumption records, newest first: one per billed model request or platform operation, with tokens and the consumption charged in tokens. Consumption is attributed to members — to tell applications apart, give each its own virtual member. Records are near real-time; Get Usage reads aggregates refreshed every few minutes, so the two can briefly disagree. With log:read_all the list covers the team; a caller holding only log:read_self sees their own records, and filtering by another member’s principal_id is refused. The window defaults to the last 7 days and may span at most 92 days. Unlike other lists this one returns no total — page with continuation_token until it is absent. Rate limit: 20 requests per minute per key by default, counted separately from all other operations. When paging through many records, use the largest page_size (100).
Permission required:log:read_all (whole team) or log:read_self (your own only)
When you filter by another member’s principal_id: log:read_all