Memory
List observation scopes
Changed onEnumerate the distinct scopes across a bank's observations. Each observation lives under a scope: the exact set of tags it was consolidated with. Returns every distinct scope (tag order normalized) with the number of observations in it; the empty tag list is the global/untagged scope. Use a returned scope with the graph endpoint (tags=<scope> & tags_match=exact) to filter observations to exactly that scope. Paged: total reports every distinct scope in the bank.
get/v1/default/banks/{bank_id}/observations/scopes
Request
- Base URLhttps://hindsight.vectorize.io (the document declares no server; this is the origin it was published from)
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
bank_idstring required
Query parameters
limitinteger
Maximum number of scopes to return
offsetinteger
Offset for pagination
Headers
authorizationstring nullable
Response
Successful Response
Example response
{
"limit": 100,
"offset": 0,
"scopes": [
{
"count": 12,
"tags": [
"user:alice"
]
},
{
"count": 4,
"tags": [
"user:alice",
"project:apollo"
]
},
{
"count": 2,
"tags": []
}
],
"total": 3
}Changes
- info
endpoint added
- info