SmartMemory
POST
/memory/read-around

Return a contract-shaped centered conversation window for a recall hit.

Errors: 400 budget_too_smallchar_budget too small to fit the centered chunk. 404 not_founditem_id not accessible under the caller's scope.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Request body for POST /memory/read-around — mirrors contract request section.

Response Body

application/json

application/json

curl -X POST "https://example.com/memory/read-around" \  -H "Content-Type: application/json" \  -d '{    "item_id": "string"  }'
{}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}