/
OM
omnistack-sh
/
OpenAI API
Search skmtc…
⌘K
Docs
Sign in
Sign in
APIs
Generators
Stacks
Projects
Docs
History
Schema
Sources
Checked 47s ago · Updated 2y ago
View markdown
omnistack-sh
OpenAI API
delete
Delete an assistant.
v2
latest
OpenAPI 3.0.0
MIT
raw.githubusercontent.com
2024-10-17
94
217
620.9 KB
Assistants
23
get
Returns a list of assistants.
post
Create an assistant with a model and instructions.
get
Retrieves an assistant.
post
Modifies an assistant.
delete
Delete an assistant.
post
Create a thread.
get
Retrieves a thread.
post
Modifies a thread.
delete
Delete a thread.
get
Returns a list of messages for a given thread.
post
Create a message.
get
Retrieve a message.
post
Modifies a message.
delete
Deletes a message.
post
Create a thread and run it in one request.
get
Returns a list of runs belonging to a thread.
post
Create a run.
get
Retrieves a run.
post
Modifies a run.
post
When 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.
post
Cancels a run that is `in_progress`.
get
Returns a list of run steps belonging to a run.
get
Retrieves a run step.
Audio
3
Audit Logs
1
Batch
4
Chat
1
Completions
1
Embeddings
1
Files
5
Fine-tuning
6
Images
3
Invites
4
Models
3
Moderations
1
Projects
17
Uploads
4
Users
4
Vector Stores
13
Assistants
Delete an assistant.
delete
/assistants/{assistant_id}
Path parameters
assistant_id
string
required
The ID of the assistant to delete.
Response
OK
DeleteAssistantResponse
required
id
string
required
deleted
boolean
required
object
'assistant.deleted'
required