v0 Platform APIAPI ReferenceChats
Delete Chat
Deletes a specific chat based on the provided chatId. This operation is irreversible and permanently removes the chat and its contents.
DEL/v1/chats/{chatId}
Usage
TypeScript Example
import { v0 } from 'v0-sdk'const result = await v0.chats.delete({ chatId: '123',})console.log(result)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.