Search Chunks

Search for content chunks for RAG.

post/rag/chunks/search

Request

  • Base URL: https://voyant.io (the document declares no server; this is the origin it was published from)
  • URL: https://voyant.io/rag/chunks/search
  • Auth: HTTP bearer

Request body

querystring required

Search query

domainstring nullable

Filter by domain

content_type'blog_post' | 'product_description' | 'about_page' | 'landing_page' | 'article' | 'news' | 'press_release' | 'documentation' | 'faq' | 'solutions_page' | 'case_study' | 'pricing_page' | 'product_page' | 'integration_page' | 'other'

Types of content that can be extracted.

top_kinteger

Number of chunks to retrieve

Response

Successful Response

idstring required

Unique identifier for the chunk

content_idstring required

ID of the parent content

chunk_indexinteger required

Index of this chunk in the content

textstring required

Chunk text

start_charinteger required

Start position in the original content

end_charinteger required

End position in the original content

metadataobject

Chunk metadata

similaritynumber nullable

Similarity score (if this is a search result)

Changes

No recorded changes to this operation across all 1 revision of this API.