---
title: "List a team's memories"
method: GET
path: "/v1/teams/{teamId}/memories"
tags: ["Teams"]
---

# List a team's memories

`GET /v1/teams/{teamId}/memories`

## Request

- Base URL: `https://api.spacefast.com`
- URL: `https://api.spacefast.com/v1/teams/{teamId}/memories`
- Auth: one of:
  - HTTP bearer
  - OAuth 2 (authorization code, authorization URL `https://api.spacefast.com/v1/auth/oauth2/authorize`, token URL `https://api.spacefast.com/v1/auth/oauth2/token`; client credentials, token URL `https://api.spacefast.com/v1/auth/oauth2/token`, scopes: `spaces:read`)

Returns the team's active memories, all on one page, or with `status=archived` the archived ones, most recently archived first and paged by `limit` and `cursor`: pass the previous page's `pagination.nextCursor` until `hasMore` is false. Each memory says who saved and last edited it. Pass `spaceId` to keep team-wide memories and that Space's memories only. Use this to manage memories; before starting work, read `getTeamAgentContext` instead.

## Path parameters

- `teamId` string, required

## Query parameters

- `limit` integer: Page size.
- `cursor` string: Opaque cursor from the previous page's `nextCursor`.
- `status` 'active' | 'archived': Active memories (the default), all on one page, or archived ones, paged by `limit` and `cursor`.
- `spaceId` string: Only team-wide memories and memories about this Space.

## Response `200`

Response for status 200

- object
  - `$schema` string, uri: Canonical JSON Schema URL for this response body. The server also sends it in the `Link: rel="describedby"` response header.
  - `data` object[], required: Active memories: pinned first, then the most recently updated. Archived memories: the most recently archived first.
    - `id` string, required
    - `teamId` string, required: Team the memory belongs to.
    - `spaceId` string, nullable, required: The Space the memory is about, or null for the whole team.
    - `category` 'brand' | 'voice' | 'audience' | 'design' | 'decision' | 'convention' | 'preference' | 'fact', required: What kind of knowledge the memory holds.
    - `title` string, required: Short title. Unique among the team's active memories in the same scope, ignoring case.
    - `body` string, required: One fact, decision, or preference in one to three sentences, with the reason.
    - `pinned` boolean, required: Pinned memories come first in every agent-context read.
    - `archivedAt` string, date-time, nullable, required: When the memory was archived, or null while it is active.
    - `createdBy` object, required: Who wrote the memory.
      - `type` 'person' | 'agent' | 'api_key' | 'system', required: person: a signed-in member. agent: an OAuth agent connection.
      - `userId` string, nullable, required: The person, or the person who connected the agent.
      - `connectionId` string, nullable, required: The agent connection (grant) that wrote it, for agent writes.
      - `name` string, nullable, required: Display name: the person, agent, or API key.
    - `updatedBy` object, required: Who wrote the memory.
      - `type` 'person' | 'agent' | 'api_key' | 'system', required: person: a signed-in member. agent: an OAuth agent connection.
      - `userId` string, nullable, required: The person, or the person who connected the agent.
      - `connectionId` string, nullable, required: The agent connection (grant) that wrote it, for agent writes.
      - `name` string, nullable, required: Display name: the person, agent, or API key.
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required
  - `pagination` object, required
    - `nextCursor` string, nullable, required: Opaque cursor for the next page; null when there are no more results.
    - `hasMore` boolean, required: Whether another page exists after this one.

## Other responses

- `default`: Problem details (RFC 9457). Any 4xx/5xx response is one `application/problem+json` document.

---

[API](https://skmtc.dev/spacefast/apis/spacefast-api.md) · [All operations](https://skmtc.dev/spacefast/apis/spacefast-api/llms.txt) · [OpenAPI document](https://skmtc.dev/spacefast/apis/spacefast-api/revisions/bd165bc7c983?raw)
