Configuration
Feature flags, defaults, and limits that govern the Agents API.
Limits and defaults
| Setting | Value | Effect |
|---|---|---|
| Feature flag | ai_chat | Module switch per account; 403 with "feature":"ai_chat" when off |
Agents list per_page | default 50, max 100 | |
Messages list per_page | default 30, max 100 | |
| Message length | 20,000 characters | 422 beyond it |
| File size | 20 MB (max:20480 KB) | 422 beyond it |
| File extensions | txt, md, markdown, csv, json, log, text, pdf, doc, docx, rtf | 422 otherwise |
| Text extraction cap | 200,000 characters | Longer documents are truncated for indexing |
| Chat title | max 255 characters, default New chat | |
| Billing | prepaid tokens | 402 when the balance is exhausted; check GET /usage |