chats

Get Chat Version

Retrieves detailed information about a specific version of a chat, including all files with their content and lock status.

get/chats/{chatId}/versions/{versionId}

Path parameters

chatIdstring required

The unique identifier of the chat containing the version. Provided as a path parameter.

versionIdstring required

The unique identifier of the version to retrieve. Provided as a path parameter.

Query parameters

includeDefaultFiles'true' | 'false'

When true, includes all default files (package.json, configuration files, etc.) that would be part of a ZIP download. When false or omitted, returns only the generated source files.

When true, includes all default files (package.json, configuration files, etc.) that would be part of a ZIP download. When false or omitted, returns only the generated source files.

Response

Success

idstring required

A unique identifier for the version.

object'version' required

Fixed value identifying this object as a version.

status'pending' | 'completed' | 'failed' required

The current status of the version generation process.

demoUrlstring

Optional URL for previewing the generated output.

createdAtstring date-time required

The date and time when the version was created, in ISO 8601 format.

updatedAtstring date-time

The date and time when the version was last updated, in ISO 8601 format.

screenshotUrlstring

URL to retrieve a screenshot of this version.

Changes