Delete Thread
DELETE /api/chat/threads/{thread_id}
Delete a thread + all its messages.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Responses
Section titled “ Responses ”Successful Response
Thread deletion response model - ULTRA-COMPLETE (40+ fields).
Confirms successful deletion of a conversation thread and all its messages.
Fields: status: Deletion status (“success”, “error”) message: Human-readable confirmation message thread_id: ID of deleted thread
Used By: - DELETE /api/chat/threads/{thread_id} endpoint - Thread deletion confirmation - Thread management UI
object
Deletion status (‘success’ or ‘error’)
Human-readable confirmation message
ID of deleted thread
Custom metadata container for extensibility.
Provides a structured container for custom key-value metadata that doesn’t fit into predefined fields. Supports common metadata patterns.
Fields: tags: List of tags for categorization labels: Key-value labels annotations: Additional annotations source: Data source identifier version: Data version
Used By: - Various models’ custom_metadata fields
object
Custom metadata container for extensibility.
Provides a structured container for custom key-value metadata that doesn’t fit into predefined fields. Supports common metadata patterns.
Fields: tags: List of tags for categorization labels: Key-value labels annotations: Additional annotations source: Data source identifier version: Data version
Used By: - Various models’ custom_metadata fields
object
Validation Error