Assistant API
Assistants are AI-driven entities with assigned roles and instructions, allowing them to process messages, use tools, and maintain context within threads for structured and interactive responses. One Assistant can be used across multiple Threads and users.
This page provides API schemas for the following methods:
https://api.apilaplas.com/assistants
https://api.apilaplas.com/assistants
https://api.apilaplas.com/assistants/{assistantId}
https://api.apilaplas.com/assistants/{assistantId}
https://api.apilaplas.com/assistants/{assistantId}
After each API schema, you'll find a short example demonstrating how to correctly call the described method in code using the OpenAI SDK.
Note that the method names in the API schema and the SDK often differ. Accordingly, when calling these methods via the REST API, you should use the names from the API schema, while for calls through the OpenAI SDK, use the names from the examples.
API Schemas
Create an Assistant
Create an Assistant with a model and instructions.
Python + OpenAI SDK Example:
Retrieve a list of Assistants along with their parameters
Python + OpenAI SDK Example:
Retrieve information about a specific Assistant by its ID
Python + OpenAI SDK Example:
Modify a specific Assistant by its ID
Python + OpenAI SDK Example:
Delete a specific Assistant by its ID
Python + OpenAI SDK Example:
Last updated