Availability
These endpoints require Knowledge Base to be available for the organization. When it is not, every Knowledge Base endpoint returns403 forbidden with
{ "error": "forbidden" }.
Availability is controlled by Telzino and your partner account — it cannot be
set through the API. Organization creation does not accept a Knowledge Base
field, and there is no organization update endpoint.
You can, however, check availability before you call these endpoints, so a
403 never comes as a surprise:
GET /v1/features?organization_id=… reports whether
knowledge_base is available or locked for the organization, and whether the
lock was placed on the organization itself or inherited from its reseller or
account. Use it to hide the feature rather than surfacing a failed request.
If these endpoints return 403 forbidden, enable Knowledge Base for the
organization in the Telzino Dashboard under its feature settings, or contact
Telzino support if that option is not available to you.
Workflow
- Create or list knowledge bases for an organization.
- Add sources to a knowledge base.
- For file sources, upload the file to the returned presigned URL, then enqueue ingestion.
- Assign the knowledge base to an agent — either inline with Create Agent (
ragEnabled+knowledgeBaseId), or afterwards with Update Agent. - When a source’s content changes later, refresh it — indexing does not repeat on its own.
