beta.rag.managed_indexes

Read chunks within a span

Returns the chunks of a source whose span falls within [start_offset, end_offset). Either bound may be omitted to leave that side open. A 200 with an empty list means the source exists but no chunk falls in the range; a 404 means the source has no chunks at all.

post/v1/rag/managed_indexes/{index_name}/read

Path parameters

index_namestring required

Request body

source_idstring required
start_offsetinteger nullable
end_offsetinteger nullable
top_kinteger
content_typestring

Response

Successful Response

Changes

Changed in 1 of the 5 revisions of this API.1