v0 Platform API/API Reference/Chats
Delete Chat
Deletes a specific chat based on the provided chatId. This operation is irreversible and permanently removes the chat and its contents.
DELETE/v1/chats/{chatId}
Usage
TypeScript Example
API Signature
Request
Path Parameters
chatId: string
The unique identifier of the chat to delete. This must be passed as a path parameter in the URL.
Response
id: string
object: 'chat'
deleted: 'true'
Initialize Chat
Initializes a new chat from source content such as files, repositories, registries, or zip archives. Enables context-rich conversations based on code or assets.
Get Chat
Retrieves the full details of a specific chat using its `chatId`. Includes messages, metadata, and associated configuration.