Managing Assistants & Threads
Overview
Threads and Messages represent a conversation session between an Assistant and a user. There is no limit to the number of Messages you can store in a Thread. When the size of the Messages exceeds the model's context window, the Thread will smartly truncate messages before fully dropping the least important ones.
API Reference
DELETE/assistants/{assistantId}
Path parameters
assistantId*string
Response
Request
POST/assistants
Body
name*string
description*string
model*enum
mistralai/Mistral-7B-Instruct-v0.1mistralai/Mistral-7B-Instruct-v0.2mistralai/Mixtral-8x7B-Instruct-v0.1
instructionsstring
metadataobject
Response
Request
GET/assistants
Query parameters
Response
Request
GET/assistants/{assistantId}
Path parameters
assistantId*string
Response
Request
POST/assistants/{assistantId}
Path parameters
assistantId*string
Body
name*string
description*string
model*enum
mistralai/Mistral-7B-Instruct-v0.1mistralai/Mistral-7B-Instruct-v0.2mistralai/Mixtral-8x7B-Instruct-v0.1
instructionsstring
metadataobject
Response
Request
Last updated