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

Get extracted file text

GET
/hubs/{hubId}/files/{hubFileId}/text

Returns the extracted text of a file. Returns an empty string until extraction is ready. Typically available after status is Completed.

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.

hubFileId*string

File identifier.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/hubs/string/files/string/text"

{  "hubFileId": "file_01234567-89ab-cdef-0123-456789abcdef",  "text": "Chapter 1\n\nIntroduction...\n"}

Get file summary GET

Previous Page

List files in a knowledge hub GET

Next Page