Adding a source
Ingestion is asynchronous: after you add a source it moves throughpending → indexed.
Poll the source until it’s indexed before relying on it. You can preview what the agent would
retrieve for a question to sanity-check coverage.
Knowledge gaps
When callers ask things your knowledge doesn’t cover, those questions surface as knowledge gaps so you can close them — the loop that makes the agent better over time.In the API
| Action | Endpoint |
|---|---|
| Add a source | POST /agents/{id}/knowledge/sources |
| Check ingest status | GET /agents/{id}/knowledge/sources/{id} |
| Preview retrieval | POST /agents/{id}/knowledge/preview |
| Review gaps | GET /agents/{id}/knowledge-gaps |