---
title: List Usage Events
description: Lists individual credit usage events. Each event includes the credits charged and, when available, associated token counts.
docs_index: /docs/llms.txt
lastUpdated: 2026-11-21
badge: "GET"
---

> For an index of all documentation, see [/docs/llms.txt](/docs/llms.txt).

Lists individual credit usage events. Each event includes the credits charged and, when available, associated token counts.

#### `GET /v2/usage/events`

## Usage

```typescript
import { v0 } from 'v0'

const result = await v0.usage.listEvents()

console.log(result)
```

```bash
curl -X GET "https://api.v0.dev/v2/usage/events"   -H "Authorization: Bearer $V0_API_KEY"   -H "Content-Type: application/json"
```

## API Signature

### Request

#### Query Parameters

- `start?: string` Inclusive ISO 8601 start timestamp. Defaults to seven days ago.
- `end?: string` Exclusive ISO 8601 end timestamp. Defaults to the current time.
- `userId?: string` Filter usage by user. Team owners and billing members may select any team member; other callers may select only themselves.
- `chatId?: string` Filter usage by chat identifier.
- `messageId?: string` Filter usage by message identifier.
- `limit?: integer` Maximum billing records considered per credit source (1-100, default 50). Related records may be combined into one event.
  - **Minimum:** 1
  - **Maximum:** 100
- `cursor?: string` Opaque cursor returned by the previous page. It preserves the prior range and filters, so other query parameters may be omitted on subsequent pages.

### Response

- `object: 'list'` Object type identifier.
- `range: object` Time range covered by the response.
  - `start: string` Inclusive ISO 8601 start timestamp.
  - `end: string` Exclusive ISO 8601 end timestamp.
- `scope: object` Authorized billing scope used for this response.
  - `id: string` Billing scope identifier.
  - `type: 'team' | 'personal'` Billing scope type.
  - `isTeamWide: boolean` Whether the response includes usage for the entire team.
  - `userId?: string` User attribution applied to the response, when filtered.
- `data: object[]` Usage events in this page.
  - `item: object`
    - `id: string` Billing event identifier.
    - `object: 'usage_event'` Object type identifier.
    - `type: string` Kind of product usage represented by the event.
    - `createdAt: string` Timestamp of the usage event.
    - `userId?: string` Attributed user identifier.
    - `user?: object` Attributed user details. Omitted when the user cannot be resolved.
      - `id: string` User identifier.
      - `email: string` User email address.
      - `name?: string` User display name, when set.
    - `chatId?: string` Related chat identifier.
    - `messageId?: string` Related message identifier.
    - `model?: string` Model associated with the event.
    - `sources: ('plan' | 'on-demand')[]` Credit sources used by the event.
    - `waived: boolean` Whether credits fully waived this event.
    - `costBreakdownStatus?: 'estimated' | 'unavailable'` Whether the cost components are estimated or unavailable. When unavailable, creditsCost components are zero placeholders for compatibility and must be ignored; total and charged remain authoritative.
    - `tokens: object | null` Persisted token counts, or null for image generation and when the source message is unavailable.
      - `input: number` Input amount excluding cached input.
      - `output: number` Output amount.
      - `cacheRead: number` Cache-read input amount.
      - `cacheWrite: number` Cache-write input amount.
      - `total: number` Total amount across all categories.
    - `creditsCost: object`
      - `input: number` Input amount excluding cached input.
      - `output: number` Output amount.
      - `cacheRead: number` Cache-read input amount.
      - `cacheWrite: number` Cache-write input amount.
      - `total: number` Total recorded cost, including costs without an available breakdown.
      - `charged: number` Credits charged after a full waiver.
- `pagination: object` Pagination state for this response.
  - `hasMore: boolean` Whether another page is available.
  - `cursor: string | null` Cursor for the next page, or null at the end.

---

For a semantic overview of all documentation, see [/docs/sitemap.md](/docs/sitemap.md)

For an index of all available documentation, see [/docs/llms.txt](/docs/llms.txt)

For agent-facing discovery, including API and MCP surfaces, see [/docs/agents.md](/docs/agents.md)