Skip to main content

Assistants API

The Assistants API allows you to interact with AI assistants that can process messages, maintain conversation history, and provide specialized capabilities.

Capabilities

  • Message Processing: Send messages and receive AI responses
  • Chat History: Maintain and retrieve conversation history
  • Specializations: Use different assistant configurations for different use cases
  • Custom Models: Override LLM provider and model per request
  • Tagging: Organize conversations with tags

Key Concepts

Assistant Specialization

Assistant Specializations define how an assistant behaves, what tools it can use, and how it processes messages.

Chat History

Conversations are stored and can be continued by providing a chatUid:

Endpoints Summary


Example: Send a Message

Response

Example: Custom Model

Override the default LLM for a specific request:

Example: List Chat Histories


Supported Providers

When sending messages, you can specify custom providers and models: Note: The provider must be configured in your account settings before use.

Access Configuration

Control visibility and external API access:
  • externalAccess: true - Makes the assistant available via the public API
  • visibilityByRole - Controls which user roles can see/use the assistant

See Also