List credit spends
list_credit_usageRetrieve and page through credit spend records, newest first, filtered by action, product, or customer to audit usage.
Instructions
List credit spends.
Newest first; pass next_cursor back as cursor for the next page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many objects to return, 1–100. Default 10. | |
| action | No | Your label for what the credits paid for (`chat`, `image.hd`, `api/search`). Shows in your dashboard by action. | |
| cursor | No | `next_cursor` from the previous page. | |
| product | No | A product id, `prod_…`. | |
| customer | No | A customer id, `cus_…`. |