v46

latestOpenAPI 3.0.0MITraw.githubusercontent.com2026-08-0311978417.1 KB
Datasources

Search the data source

Search the data source identified by {dsId} in the workspace identified by {wId}.

get/api/v1/w/{wId}/spaces/{spaceId}/data_sources/{dsId}/search

Path parameters

wIdstring required

ID of the workspace

spaceIdstring required

ID of the space

dsIdstring required

ID of the data source

Query parameters

querystring required

The search query

top_knumber required

The number of results to return

full_textboolean required

Whether to return the full document content

target_document_tokensnumber

The number of tokens in the target document

timestamp_gtnumber

The timestamp to filter by

timestamp_ltnumber

The timestamp to filter by

tags_instring

The tags to filter by

tags_notstring

The tags to filter by

parents_instring

The parents to filter by

parents_notstring

The parents to filter by

Response

The documents