---
title: Find Chat Versions
description: Retrieves a list of all versions (iterations) for a specific chat, ordered by creation date (newest first). Supports cursor-based pagination and includes version status and demo URLs.
docs_index: /docs/llms.txt
lastUpdated: 2026-10-23
product: v0 API
type: reference
prerequisites:
  - /docs/api/v1/quickstart
---

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

Retrieves a list of all versions (iterations) for a specific chat, ordered by creation date (newest first). Supports cursor-based pagination and includes version status and demo URLs.

#### `GET /v1/chats/{chatId}/versions`

## Usage

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

const result = await v0.chats.findVersions()

console.log(result)
```

```bash
curl -X GET https://api.v0.dev/v1/chats/{chatId}/versions   -H "Authorization: Bearer $V0_API_KEY"   -H "Content-Type: application/json"
```

## API Signature

### Request

#### Path Parameters

- `chatId: string` The unique identifier of the chat to retrieve versions for. Provided as a path parameter.

#### Query Parameters

- `limit?: number` Specifies the maximum number of version records to return in a single response. Useful for paginating results when there are many versions.
- `cursor?: string` Base64 encoded cursor containing pagination data

### Response

- `object: 'list'`
- `data: object[]`
  - `item: object`
    - `id?: string` A unique identifier for the version.
    - `object?: 'version'` Fixed value identifying this object as a version.
    - `status?: 'pending' | 'completed' | 'failed'` The current status of the version generation process.
    - `demoUrl?: string` Optional URL for previewing the generated output.
    - `screenshotUrl?: string` An authenticated URL to retrieve a screenshot of this version. Fetching this URL requires the same Authorization: Bearer header as all other API calls — it cannot be used directly as an `<img>` `src`. To display it in a browser, proxy the request server-side and forward the Authorization header. Append `?ignoreCache=1` to bypass the one-week screenshot cache.
    - `createdAt?: string` The date and time when the version was created, in ISO 8601 format.
    - `updatedAt?: string` The date and time when the version was last updated, in ISO 8601 format.
- `pagination: object`
  - `hasMore: boolean`
  - `nextCursor?: string`
  - `nextUrl?: string`

---

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)