/
/OpenAI API
DocsSign in
Sign in
  • APIs
  • Generators
  • Stacks
  • Projects
  • Docs
  • History
  • Schema
Checked 16m ago · Updated 2y 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.
  • 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.
  • postCreate a thread and run it in one request.
  • getReturns a list of runs belonging to a thread.
  • postCreate a run.
  • getRetrieves a run.
  • postModifies a run.
  • 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.
  • postCancels a run that is `in_progress`.
  • getReturns a list of run steps belonging to a run.
  • getRetrieves a run step.
Audio3
Audit Logs1
Batch4
Chat1
Completions1
Embeddings1
Files5
Fine-tuning6
Images3
Invites4
Models3
Moderations1
Projects17
Uploads4
Users4
Vector Stores13
    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