latestOpenAPI 3.1.02026-08-223391355.6 KB
aa8d44585147
billing-usage
Get workspace credit history
Plan: Enterprise
Returns the workspace's credit grant, expiry, adjustment, and conversion history, ordered by occurred_at descending with entry ID as the cursor tie-breaker.
get/v1/workspaces/{workspace_id}/billing/credit-history
Path parameters
workspace_idstring required
Workspace ID
Workspace ID
Query parameters
event_typestring[] nullable
Filter to one or more event types. Repeat to include multiple; omit for all.
Filter to one or more event types. Repeat to include multiple; omit for all.
limitinteger
Maximum number of items to return
Maximum number of items to return
cursorstring
Opaque pagination cursor returned by the previous page
Opaque pagination cursor returned by the previous page
Response
OK