Semantic search over feedback records
Embeds the search query and returns feedback record IDs with similarity scores (cosine, 0..1). Only available when embeddings are configured (EMBEDDING_PROVIDER and EMBEDDING_MODEL set). Supported providers: openai, google (Gemini Developer API / Google AI Studio), google-gemini (Gemini Enterprise Agent Platform API). When embeddings are disabled, this endpoint returns 503 Service Unavailable. Request body must include query and tenant_id (required for tenant isolation).
Query parameters
Number of results to return (default 10, max 100). Consistent with list endpoints.
Omit for the first page. For the next page, use the exact value from the previous response's next_cursor. Opaque (base64-encoded); keyset pagination.
Minimum similarity score (0..1); only results with score >= min_score are returned. Default 0.7 to reduce noise.
Request body
Example request
{
"query": "What do users think about login speed?",
"tenant_id": "org-123"
}Response
OK
Example response
{
"next_cursor": "eyJkIjowLjEsImkiOiIwMThlMTIzNC01Njc4LTlhYmMtZGVmMC0xMTExMTExMTExMTEifQ=="
}Changes
Changed in 7 of the 35 revisions of this API.31024
- ●
added the new
content_too_largeenum value to thecoderesponse property for the response status400response-property-enum-value-added
- ●
added the new
content_too_largeenum value to thecoderesponse property for the response status503response-property-enum-value-added
- ●
added the new
content_too_largeenum value to thecoderesponse property for the response statusdefaultresponse-property-enum-value-added
- ●
- ●
added the new
tenant_write_conflictenum value to thecoderesponse property for the response status400response-property-enum-value-added
- ●
added the new
tenant_write_conflictenum value to thecoderesponse property for the response status503response-property-enum-value-added
- ●
added the new
tenant_write_conflictenum value to thecoderesponse property for the response statusdefaultresponse-property-enum-value-added
- ●
- ▲
the
instanceresponse's property type/format changed fromstring/uritostring/for status400response-property-type-changed
- ▲
the
instanceresponse's property type/format changed fromstring/uritostring/for status503response-property-type-changed
- ▲
the
instanceresponse's property type/format changed fromstring/uritostring/for statusdefaultresponse-property-type-changed
- ●
removed the optional property
errorsfrom the response with the400statusresponse-optional-property-removed
- ●
removed the optional property
errorsfrom the response with the503statusresponse-optional-property-removed
- ●
removed the optional property
errorsfrom the response with thedefaultstatusresponse-optional-property-removed
- ○
added the optional property
detailsto the response with the400statusresponse-optional-property-added
- ○
added the optional property
detailsto the response with the503statusresponse-optional-property-added
- ○
added the optional property
detailsto the response with thedefaultstatusresponse-optional-property-added
- ○
added the optional property
invalid_paramsto the response with the400statusresponse-optional-property-added
- ○
added the optional property
invalid_paramsto the response with the503statusresponse-optional-property-added
- ○
added the optional property
invalid_paramsto the response with thedefaultstatusresponse-optional-property-added
- ○
the response property
statusbecame required for the status400response-property-became-required
- ○
the response property
statusbecame required for the status503response-property-became-required
- ○
the response property
statusbecame required for the statusdefaultresponse-property-became-required
- ○
the response property
titlebecame required for the status400response-property-became-required
- ○
the response property
titlebecame required for the status503response-property-became-required
- ○
the response property
titlebecame required for the statusdefaultresponse-property-became-required
- ○
added the required property
codeto the response with the400statusresponse-required-property-added
- ○
added the required property
codeto the response with the503statusresponse-required-property-added
- ○
added the required property
codeto the response with thedefaultstatusresponse-required-property-added
- ○
added the required property
request_idto the response with the400statusresponse-required-property-added
- ○
added the required property
request_idto the response with the503statusresponse-required-property-added
- ○
added the required property
request_idto the response with thedefaultstatusresponse-required-property-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
the
typeresponse's property default valueabout:blankwas removed for the status400response-property-default-value-removed
- ○
the
typeresponse's property default valueabout:blankwas removed for the status503response-property-default-value-removed
- ○
the
typeresponse's property default valueabout:blankwas removed for the statusdefaultresponse-property-default-value-removed
- ○
- ○
the response property
data/items/field_labelbecame required for the status200response-property-became-required
- ○
the response property
data/items/value_textbecame required for the status200response-property-became-required
- ○
- ●
deleted the
queryrequest parameteroffsetrequest-parameter-removed
- ●
- ○
endpoint added
endpoint-added
- ○