List a bot's knowledge documents
Build a request to copy
This page never sends a request. Fill in the fields, then copy the request and run it from your server.
curl -X GET 'https://api.whatsable.app/v1/ai-bots/string/knowledge-files'
bearerAuthAuthorizationBearer <nfy_live_<32 characters>>An API key from Settings > API keys, sent as Authorization: Bearer <key>.
id*stringThe bot id.
1 <= length <= 64limit?integerHow many items to return, 1 to 100.
1 <= value <= 10025cursor?stringThe next_cursor of the previous page. An expired or malformed cursor answers 400 invalid_cursor.
1 <= length <= 512A page of knowledge documents, newest first.
application/json- response
object*stringdata*array<>has_more*booleanTrue when another page follows this one.
next_cursor*|Pass as cursor to read the next page. Null on the last page. Valid for 24 hours.
curl -X GET 'https://api.whatsable.app/v1/ai-bots/string/knowledge-files'{ "object": "list", "data": [ { "object": "knowledge_file", "id": "cm2v8f1a00001qz8h7k8l9m0n", "bot_id": "cm2v8b1a00001qz8h3j4k5l6m", "filename": "price-list.pdf", "mime_type": "application/pdf", "size_bytes": 182340, "status": "ready", "failure_reason": null, "extracted_length": 12873, "created_at": "2026-10-20T19:51:21Z" } ], "has_more": true, "next_cursor": "string"}Copy an AI bot into a new draft POST
Copies an AI bot under a new name, with its configuration, knowledge files and sendable files. The copy is a `draft` and is on no number.
Add a document to a bot's knowledge POST
Adds a document to the knowledge of an AI bot. Send a `multipart/form-data` body with one `file` part. The document starts as `processing`: read it again to see `ready` or `failed`. An `archived` bot takes no new documents.