Submit result-selection feedback for a completed search session.
The search_session_id is obtained from the X-Search-Session-Id
response header of POST /memory/search.
Errors:
- 404: Session not found or expired (> 1 hour since search).
- 400: One or more
result_usedIDs were not in the original result set. - 409: Feedback already submitted for this session (idempotency guard).
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Request body for result-selection feedback.
Response Body
application/json
application/json
curl -X POST "https://example.com/memory/result-feedback" \ -H "Content-Type: application/json" \ -d '{ "search_session_id": "string" }'{
"status": "string",
"search_session_id": "string",
"result_used_count": 0,
"result_shown_count": 0
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}