Website

NABU

What is Nabu?

API REFERENCE

Introduction to the Nabu API
Initiate a file upload POSTDelete a file DELETEDownload a file GETGet file metadata GETGet file summary GETGet extracted file text GETList files in a knowledge hub GET
Files

List files in a knowledge hub

GET
/hubs/{hubId}/files

Returns a paginated list of files in the knowledge hub, ordered by file name. Pass cursor from the previous response to fetch the next page.

Authorization

bearerAuth
AuthorizationBearer <token>

Nabu API key from Organization settings → API keys. Keys are prefixed with key_.

In: header

Path Parameters

hubId*string

Knowledge hub identifier. Must be allowed for the API key.

Query Parameters

limit?integer

Maximum number of files to return.

Range0 < value <= 100
Default10
cursor?string

Opaque pagination cursor from a previous response. Pass URL-encoded if it contains special characters.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/hubs/string/files"
{  "data": [    {      "hubFileId": "file_01234567-89ab-cdef-0123-456789abcdef",      "fileName": "handbook.pdf",      "fileType": "application/pdf",      "fileSize": 1048576,      "status": "Completed"    },    {      "hubFileId": "file_89abcdef-0123-4567-89ab-cdef01234567",      "fileName": "pricing.csv",      "fileType": "text/csv",      "fileSize": 4096,      "status": "Pending"    }  ],  "cursor": "fileName#pricing.csv"}

Get extracted file text GET

Previous Page