Assistant API Overview
The Informer Assistant API provides endpoints for creating and managing AI assistants with custom skills, knowledge, and integrations. All routes are prefixed with /api.
Features
- CRUD Operations - Create, read, update, and delete assistants
- Skills Management - Add and configure assistant capabilities
- Secrets - Manage API keys and credentials for integrations
- Dataset Knowledge - Associate datasets for assistant context
- References & Files - Attach files and reference documents
- Image Generation - Generate icons and images
- Draft Workflow - Edit assistants safely without affecting production
- Comments - Collaborate on assistant development
- Sharing - Control access with team-based permissions
- Tokens - Generate access tokens for assistant APIs
Assistant Types
| Field | Description |
|---|---|
| Custom | User-created assistants with specific instructions and skills |
| Dispatcher | Special assistants that route to other assistants |
| Shared | Team-shared assistants vs personal assistants |
Authentication
All Assistant API endpoints require:
- Valid session or API token
- AI entitlement verification (
ai.verifypre-block) - Write permission for modification operations
Common Permission Patterns
| Operation | Permission Required |
|---|---|
| Create | assistants:create |
| Read | AI seat (read access implicit) |
| Update | assistant:write |
| Delete | assistant:delete |
| Share | assistant:share |
Draft Workflow
Assistants support a draft mode for safe editing:
- Create Draft -
POST /api/assistants/{id}/_edit - Modify Draft - Changes only affect draft version
- Commit Draft -
POST /api/assistants/{id}/draft/_committo publish - Discard Draft -
DELETE /api/assistants/{id}/draftto abandon changes
Skills
Skills define what an assistant can do:
- Query Datasets - Search and analyze data
- Web Search - Access external information
- Code Execution - Run Python or other code
- File Analysis - Process uploaded documents
- Custom Skills - User-defined capabilities
Dataset Knowledge
Associate datasets to provide domain-specific context:
- Full Dataset - All records and fields
- Subset - Filtered records
- Schema Only - Field definitions without data
- Sampled - Representative data sample
Error Responses
Standard HTTP status codes:
200- Success201- Created400- Bad request (validation error)403- Forbidden (insufficient permissions)404- Resource not found500- Internal server error
Next Steps
Explore the specific endpoint categories: