Retrieve recent usage records for a specific end user. Shows individual chat request details.
WorkOS JWT token. Obtain via WorkOS AuthKit authentication flow. The token must include organization_id claim for organization-scoped endpoints.
End user ID to get history for
Maximum number of records to return
1 <= x <= 100OK
Internal usage record ID (UUID).
WorkOS organization ID that owns the usage record.
Internal end user ID associated with the usage record.
Number of prompt (input) tokens for the request.
-9007199254740991 <= x <= 9007199254740991Number of completion (output) tokens for the request.
-9007199254740991 <= x <= 9007199254740991Total tokens used (prompt plus completion).
-9007199254740991 <= x <= 9007199254740991Model identifier used to generate the response.
Reason the generation finished (stop, length, tool-calls, etc.).
Timestamp when the usage record was created.