SmartMemory
GET
/memory/decisions/search

Search for active decisions related to a topic (as of as_of when set, SM-ASOF-DECISIONS-1).

Authorization

AuthorizationBearer <token>

Send Authorization: Bearer <token>. The token is either a Clerk session JWT or a SmartMemory API key (prefix sm_live_, sm_test_, or legacy sk_).

In: header

Query Parameters

topic*Topic

Search topic

limit?Limit
business_scope?|

JSON exact site qualifier

valid_at?|

Business validity datetime

as_of?|

ISO 8601 instant (SM-ASOF-DECISIONS-1). Answer as of then: the decisions held at that instant (supersession and retraction honoured), each labelled as_of_resolution. Absent = now. An unparseable value is a 400.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/memory/decisions/search?topic=string"
null
{
  "detail": {
    "code": "invalid_scoped_validity",
    "message": "string",
    "retryable": false
  }
}
{
  "detail": {
    "code": "invalid_scoped_validity",
    "message": "string",
    "retryable": false
  }
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}
{
  "detail": {
    "code": "invalid_scoped_validity",
    "message": "string",
    "retryable": false
  }
}