Search for active decisions related to a topic (as of as_of when set, SM-ASOF-DECISIONS-1).
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
Search topic
JSON exact site qualifier
Business validity datetime
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
}
}Search Code
Search code entities by name with optional type and repo filters.
Search During Range
Search matching versions by version timestamp. For item creation windows use POST /memory/search with since/until. Without a version tracker current rows are marked range_applied=false and a WARNING is logged.