Find Chat Versions
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.
Usage
import { v0 } from 'v0-sdk'const result = await v0.chats.findVersions()console.log(result)API Signature
Request
Path Parameters
The unique identifier of the chat to retrieve versions for. Provided as a path parameter.
Query Parameters
Specifies the maximum number of version records to return in a single response. Useful for paginating results when there are many versions.
Base64 encoded cursor containing pagination data
Response
A unique identifier for the version.
Fixed value identifying this object as a version.
The current status of the version generation process.
Optional URL for previewing the generated output.
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 [Image blocked: No description] 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.
The date and time when the version was created, in ISO 8601 format.
The date and time when the version was last updated, in ISO 8601 format.