---
title: "List observation scopes"
method: GET
path: "/v1/default/banks/{bank_id}/observations/scopes"
tags: ["Memory"]
---

# List observation scopes

`GET /v1/default/banks/{bank_id}/observations/scopes`

## Request

- Base URL: `https://hindsight.vectorize.io` (the document declares no server; this is the origin it was published from)
- URL: `https://hindsight.vectorize.io/v1/default/banks/{bank_id}/observations/scopes`
- Auth: none declared
- TypeScript: <https://skmtc.dev/vectorize/apis/hindsight-http-api/docs/v1/default/banks/:bank_id/observations/scopes/get.ts> (a function with typed inputs; its response is checked against the schema)

Enumerate 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.

## Path parameters

- `bank_id` string, required

## Query parameters

- `limit` integer: Maximum number of scopes to return
- `offset` integer: Offset for pagination

## Headers

- `authorization` string, nullable

## Response `200`

Successful Response

- ObservationScopesResponse: Response model for the observation scopes enumeration endpoint.
  - `scopes` ObservationScope[], required: Distinct observation scopes, most populous first
    - `tags` string[], required: The exact tag set defining this scope (normalized order). Empty list is the global/untagged scope.
    - `count` integer, required: Number of observations that live under this scope
  - `total` integer, required: Total number of distinct scopes in the bank (ignores limit/offset)
  - `limit` integer, required: Maximum number of scopes returned in this page
  - `offset` integer, required: Offset this page started at

## Other responses

- `404`: The bank does not exist.
- `422`: Validation Error

## Changes

- **2026-10-04** `4fda98b75f63`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/vectorize/apis/hindsight-http-api/changes/v1/default/banks/:bank_id/observations/scopes/get.md)

---

[API](https://skmtc.dev/vectorize/apis/hindsight-http-api.md) - [All operations](https://skmtc.dev/vectorize/apis/hindsight-http-api/llms.txt) - [OpenAPI document](https://skmtc.dev/vectorize/apis/hindsight-http-api/revisions/45e711cd0897?raw)
