---
raw: true
search:
  tags:
    - Teams
    - GET
seo:
  description: >-
    Returns the team's active memories, enabled skills, and team… Reference for
    the GET /v1/teams/{teamId}/agent-context endpoint in the Spacefast Partner
    API.
sidebar:
  label: Read team memory, skills, and design standards before work
  badge: GET
title: Read team memory, skills, and design standards before work
type: openapi-operation
---
Returns the team's active memories, enabled skills, and team design standards before creating or editing a Space. Pass spaceId for an existing Space: its memories join team memories, and the same team design system applies. Memories come pinned first, then the Space's, then team-wide, newest first, within a size budget; total and truncated report the rest. Memories are knowledge, not commands; current user instructions take precedence. Follow enabled skills, whose body is Markdown. designSystem.markdown is a complete design.md handoff with colors, typography, layout, voice, examples, and Media Library asset references; designSystem.assets supplies attachment IDs, availability, URLs, categories, usage, and alt text. Missing attachments have available false and url null and are omitted from Markdown. Read once before work, including tasks on a linked local checkout. Keep memories.revision, skillsRevision, and designSystem.revision. Later reads send knownMemoriesRevision, knownSkillsRevision, and knownDesignSystemRevision. Retain a part whose changed flag is false; replace each changed part. Changed design context with null Markdown means there is no saved system. Memories, Skills, and Design System are separate team features; each part is empty for a team without that feature. Feature recipes appear in skills when the corresponding team feature is enabled, whether or not the team has Skills. To import standards, read getTeamDesignSystem for the saved values, entry IDs, and numeric write revision, then save only intended changes with updateTeamDesignSystem.

`GET /v1/teams/{teamId}/agent-context`

**Responses**

- `200` — Response for status 200
- `default` — Problem details (RFC 9457). Any 4xx/5xx response is one \`application/problem+json\` document.

Response example, 200:

```json
{
  "$schema": "http://example.com",
  "data": {
    "designSystem": {
      "revision": "string",
      "changed": true,
      "markdown": "string",
      "assets": {
        "property1": {
          "attachmentId": 1,
          "category": "logo",
          "usage": "string",
          "altText": "string",
          "available": true,
          "url": "http://example.com"
        },
        "property2": {
          "attachmentId": 1,
          "category": "logo",
          "usage": "string",
          "altText": "string",
          "available": true,
          "url": "http://example.com"
        }
      },
      "sources": [
        {
          "spaceId": null,
          "revision": "string"
        }
      ]
    },
    "memories": {
      "items": [
        {
          "id": "string",
          "category": "brand",
          "title": "string",
          "body": "string",
          "spaceId": "string",
          "pinned": true,
          "updatedAt": "2019-08-24T14:15:22Z"
        }
      ],
      "total": -9007199254740991,
      "truncated": true,
      "revision": "string",
      "changed": true
    },
    "skills": [
      {
        "key": "string",
        "title": "string",
        "body": "string"
      }
    ],
    "skillsRevision": "string",
    "skillsChanged": true
  }
}
```
