Assistants
interface Assistants
Deprecated
OpenAI retired the Assistants API on August 26, 2026. Use Responses and Conversations.
Build assistants that can call models and use tools to perform tasks.
Inheritors
Functions
Link copied to clipboard
Retrieves an assistant.
abstract suspend fun assistant(request: AssistantRequest, requestOptions: RequestOptions? = null): Assistant
Create an assistant with a model and instructions.
abstract suspend fun assistant(id: AssistantId, request: AssistantRequest, requestOptions: RequestOptions? = null): Assistant
Update an assistant.
Link copied to clipboard
abstract suspend fun assistants(limit: Int? = null, order: SortOrder? = null, after: AssistantId? = null, before: AssistantId? = null, requestOptions: RequestOptions? = null): List<Assistant>
Returns a list of assistants.
Link copied to clipboard
Delete an assistant.