knowledge — @personaai/sdk
Generated field tables for knowledge — do not edit
Generated from
sdk/typescript/dist/typedoc.json— do not edit. Regenerate withnode platform/scripts/typedoc-resources.mjs.
knowledge
Auth: Requires
Authorization: Bearer <keyId>.<secret>(server-side). For per-user calls addx-persona-external-user-id. See .
Knowledge bases are RAG collections backed by Qdrant. Upload documents, search, and attach to agents.
Example
TypeScript
cURL
Response
KnowledgeBase
Like Skill/Agent, this mirrors the real wire shape (_id, raw domain/ownerType fields).
Source: types/knowledge.ts:11
Interface
KnowledgeDocument
One uploaded source document's chunking summary (not the chunks themselves).
Source: types/knowledge.ts:2
Interface
CreateKnowledgeBaseInput
Source: types/knowledge.ts:37
Interface
UpdateKnowledgeBaseInput
All fields optional — only what you pass is changed. Does not retroactively re-embed existing documents.
Source: types/knowledge.ts:58
Interface
DiscoverKnowledgeBasesParams
Source: types/knowledge.ts:69
Interface
UploadFileInput
Source: types/knowledge.ts:80
Interface
UploadDocumentsResult
Source: types/knowledge.ts:88
Interface
DeleteDocumentResult
Source: types/knowledge.ts:96
Interface
KnowledgeSearchResult
Source: types/knowledge.ts:102
Interface