/
/OpenAI API
DocsSign in
Sign in
  • APIs
  • Generators
  • Stacks
  • Projects
  • Docs
  • History
  • Schema
Checked 28m ago · Updated 10h ago
Assistants23
  • getReturns a list of assistants.
  • postCreate an assistant with a model and instructions.
  • getRetrieves an assistant.
  • postModifies an assistant.
  • deleteDelete an assistant.
  • postCreate a thread.
  • postCreate a thread and run it in one request.
  • getRetrieves a thread.
  • postModifies a thread.
  • deleteDelete a thread.
  • getReturns a list of messages for a given thread.
  • postCreate a message.
  • getRetrieve a message.
  • postModifies a message.
  • deleteDeletes a message.
  • getReturns a list of runs belonging to a thread.
  • postCreate a run.
  • getRetrieves a run.
  • postModifies a run.
  • postCancels a run that is `in_progress`.
  • getReturns a list of run steps belonging to a run.
  • getRetrieves a run step.
  • postWhen a run has the `status: "requires_action"` and `required_action.type` is `submit_tool_outputs`, this endpoint can be used to submit the outputs from the tool calls once they're all completed. All outputs must be submitted in a single request.
Audio3
Audit Logs1
Batch4
Chat1
Completions1
Embeddings1
Files5
Fine-tuning6
Images3
Invites4
Models3
Moderations1
Projects19
Realtime1
Uploads4
Usage9
Users4
Vector stores13
  • getList organization API keys
  • postCreate an organization admin API key
  • getRetrieve a single organization API key
  • deleteDelete an organization admin API key
Assistants

Delete a thread.

delete/threads/{thread_id}

Path parameters

thread_idstring required

The ID of the thread to delete.

Response

OK

idstring required
deletedboolean required
object'thread.deleted' required

Changes