---
title: Get Usage Activity
description: Returns chat and project activity for the active billing scope. Team owners and billing members receive team-wide activity by default; other team members receive their own activity.
docs_index: /docs/llms.txt
lastUpdated: 2026-11-21
badge: "GET"
---

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

Returns chat and project activity for the active billing scope. Team owners and billing members receive team-wide activity by default; other team members receive their own activity.

#### `GET /v2/usage/activity`

## Usage

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

const result = await v0.usage.getActivity()

console.log(result)
```

```bash
curl -X GET "https://api.v0.dev/v2/usage/activity"   -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.

### Response

- `object: 'usage_activity'` 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.
- `summary: object`
  - `activeUsers: integer` Distinct active users.
    - **Minimum:** 0
  - `activeDays: integer` Distinct active days.
    - **Minimum:** 0
  - `chatCount: integer` Distinct active chats.
    - **Minimum:** 0
  - `messageCount: integer` Assistant messages.
    - **Minimum:** 0
- `projects: object[]` Activity grouped by Vercel project or draft status.
  - `item: object`
    - `kind: 'project' | 'drafts' | 'unavailable'` Project grouping type.
    - `vercelProjectId: string | null` Vercel project identifier, when available.
    - `name: string` Project grouping display name.
    - `chatCount: integer` Distinct active chats.
      - **Minimum:** 0
    - `messageCount: integer` Assistant messages.
      - **Minimum:** 0
    - `activeDays: integer` Distinct active days.
      - **Minimum:** 0
    - `firstActivity: string` First activity timestamp.
    - `lastActivity: string` Most recent activity timestamp.
- `chats: object[]` Activity grouped by chat.
  - `item: object`
    - `kind: 'chat' | 'unavailable'` Chat availability type.
    - `chatId: string` Chat identifier.
    - `title: string` Chat title or availability label.
    - `vercelProjectId: string | null` Associated Vercel project identifier.
    - `projectName: string | null` Associated project name.
    - `messageCount: integer` Assistant messages.
      - **Minimum:** 0
    - `activeDays: integer` Distinct active days.
      - **Minimum:** 0
    - `firstActivity: string` First activity timestamp.
    - `lastActivity: string` Most recent activity timestamp.

---

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)