Add To Knowledge Base

Add an owned document to the user’s knowledge base, shared with the website. All accounts can add unlimited documents; website subscription tiers do not impose a knowledge-base file-count limit. API retrievals are billed separately.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
document_idstringRequired
ID of the document to add to the knowledge base.

Response

This endpoint returns an object.
successboolean
True if the document was successfully added.
messagestringOptional

Optional message describing the outcome (e.g., already exists).

Errors

401
Authentication Error
429
Rate Limit Error