RAGService

Upsert Document

post/api/v1/rag/document

Request

  • Base URL
    https://api.ravan.ai
  • URL
    https://api.ravan.ai/api/v1/rag/document
  • Auth
    API key in header X-Api-Key

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

Changes

No recorded changes to this operation across all 2 revisions of this API.