v1

latestOpenAPI 3.0.12026-07-2691137122.3 KB
RAGService

Upsert Document

post/api/v1/rag/document

Request body

org_idstring required

Organization ID

kb_idstring required

Knowledge Base ID

doc_idstring required

Document ID

textstring

Document text content

urlstring

URL to crawl

urlsstring[]

Multiple URLs to crawl

max_pagesinteger

Max pages to crawl

max_depthinteger

Max crawl depth

metadataobject

Document metadata

Response

Successful response

successboolean
messagestring