Portkey Docs home page
Search or ask...
Sign in →
Support
Get Demo
Github
Sign in →
Search...
Navigation
Threads
Delete Thread
Documentation
Integrations
Inference API
Admin API
Cookbook
Changelog
API Reference
Introduction
Authentication
Headers
Supported Providers
SDKs
API Details
Chat Completions
POST
Chat
Portkey Prompts
POST
Prompt Completions
POST
Prompt Render
Embeddings
POST
Embeddings
Images
POST
Create Image
POST
Create Image Edit
POST
Create Image Variation
Audio
POST
Create Speech
POST
Create Transcription
POST
Create Translation
Realtime
POST
Create Realtime Session
Other APIs
Gateway to Other APIs
Completions
POST
Completions
Moderations
POST
Moderations
Fine-tuning
POST
Create Fine-tuning Job
GET
List Fine-tuning Jobs
GET
Retrieve Fine-tuning Job
GET
List Fine-tuning Events
GET
List Fine-tuning Checkpoints
POST
Cancel Fine-tuning
Batch
POST
Create Batch
GET
List Batch
GET
Retrieve Batch
POST
Cancel Batch
Files
POST
Upload File
GET
List Files
GET
Retrieve File
GET
Retrieve File Content
DEL
Delete File
Assistants
Assistants
Threads
POST
Create Thread
GET
Retrieve Thread
POST
Modify Thread
DEL
Delete Thread
Messages
Runs
Run Steps
Threads
Delete Thread
DELETE
/
threads
/
{thread_id}
Send
Authorization
x-portkey-api-key
string
*
x-portkey-api-key
Required
string
x-portkey-virtual-key
string
*
x-portkey-virtual-key
Required
string
Path
thread_id
string
*
thread_id
Required
string
The ID of the thread to delete.
Authorizations
Portkey Key & Virtual Key
Portkey Key & Provider Auth & Provider Name
Portkey Key & Config
Portkey Key & Provider Auth & Provider Name & Custom Host
x-portkey-api-key
string
header
required
x-portkey-virtual-key
string
header
required
Path Parameters
thread_id
string
required
The ID of the thread to delete.
Response
200 - application/json
id
string
required
deleted
boolean
required
object
enum<string>
required
Available options:
thread.deleted
Was this page helpful?
Yes
No
Modify Thread
Create Message