List Sources
Returns every source on the chatbot (excluding soft-deleted ones), newest first.Request
| Path parameter | Type | Required | Description |
|---|---|---|---|
chatbot_id | UUID | yes | The chatbot’s UUID. Must be owned by the API key’s user. |
Response
A bare JSON array (no wrapping envelope):Response Fields
| Field | Type | Description |
|---|---|---|
id | UUID | Source identifier. |
type | string | One of the source types listed below. |
title | string | Display title (filename for files, page title for URLs, user-supplied label for text). May be empty if not yet set. |
url | string | The crawled URL (for url sources) or empty for non-URL types. |
status | string | pending, crawling, processing, done, or failed. |
page_count | integer | Pages successfully indexed (URL crawls and multi-page files); 0 for single-document or pre-ingest sources. |
created_at | string | ISO 8601 timestamp. |
Source Types
| Type | Description |
|---|---|
url | Website URL (crawled) |
file | Uploaded file (PDF, DOCX, PPTX, TXT, MD, CSV) |
text | Raw text snippet |
youtube | YouTube video transcript |
google_drive | Google Drive file |
notion | Notion page |
dropbox | Dropbox file |
onedrive | OneDrive file (backend type only — not yet exposed in the dashboard’s Add Source picker) |
sharepoint | SharePoint file (backend type only — not yet exposed in the dashboard’s Add Source picker) |
zendesk | Zendesk Help Center article (backend type only — not yet exposed in the dashboard’s Add Source picker) |
gitbook | GitBook page (backend type only — not yet exposed in the dashboard’s Add Source picker) |
The “backend type only” rows above mean the type can appear in API responses on accounts where support has manually enabled the source, but you can’t add new sources of those types from the dashboard yet. See Source Management for the current UI inventory.
Error Responses
Error bodies use Django Ninja’s default{"detail": "..."} shape.
| Status | When |
|---|---|
401 | Missing, invalid, or revoked API key |
404 | No chatbot exists with that UUID, or it belongs to a different user |
429 | Per-key rate limit exceeded |
