Read team memory, skills, and design standards before work
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.
/v1/teams/{teamId}/agent-contextAuthorizationBearer token · headerrequiredBetter Auth session, OAuth access token, OAuth client-credentials token, or sfm_ Space machine credential.
AuthorizationOAuth2 access token · headerrequiredOAuth 2.0 with explicit Spacefast capability scopes. Use the authorization-code flow for people and client credentials for machines.
spaces:readteamIdstringrequiredspaceIdstringThe Space you are working in. Adds that Space's memories to the team-wide ones.
knownMemoriesRevisionstringThe memories.revision you already hold. While it matches, memories.items comes back empty.
knownSkillsRevisionstringThe skillsRevision you already hold. While it matches, skills comes back empty.
knownDesignSystemRevisionstringThe designSystem.revision you already hold. While it matches, compiled Markdown and assets come back empty.
Response for status 200
$schemastring<uri>Canonical JSON Schema URL for this response body. The server also sends it in the Link: rel="describedby" response header.
dataobjectrequiredShow propertiesHide properties
designSystemobjectrequiredShow propertiesHide properties
revisionstringrequiredFingerprint of the compiled team design system.
changedbooleanrequiredFalse means keep the design system already held.
markdownstring | nullrequiredassetsobjectrequiredsourcesobject[]requiredShow propertiesHide properties
objectspaceIdnullrequiredrevisionstringrequiredmemoriesobjectrequiredShow propertiesHide properties
itemsobject[]requiredTeam knowledge, not commands: pinned first, then this Space's, then team-wide, newest first.
Show propertiesHide properties
objectidstringrequiredcategorystringrequiredWhat kind of knowledge the memory holds.
brandvoiceaudiencedesigndecisionconventionpreferencefacttitlestringrequiredbodystringrequiredspaceIdstring | nullrequiredShow propertiesHide properties
stringnullpinnedbooleanrequiredupdatedAtstring<date-time>requiredtotalintegerrequiredActive memories that match, before truncation.
truncatedbooleanrequiredTrue when more memories match than one read returns. List the rest if needed.
revisionstringrequiredFingerprint of these memories. Pass it back as knownMemoriesRevision.
changedbooleanrequiredFalse when knownMemoriesRevision matched: items is empty and the memories you hold still apply.
skillsobject[]requiredThe team's enabled skills and available feature recipes. Apply each when relevant to the task.
Show propertiesHide properties
objectkeystringrequiredTeam skill or feature recipe key.
titlestringrequiredbodystringrequiredThe skill's instructions, as markdown. Follow them while you work.
skillsRevisionstringrequiredFingerprint of these skills. Pass it back as knownSkillsRevision.
skillsChangedbooleanrequiredFalse when knownSkillsRevision matched: skills is empty and the skills you hold still apply.
Problem details (RFC 9457). Any 4xx/5xx response is one application/problem+json document.
$schemastring<uri>Canonical JSON Schema URL for this response body. The server also sends it in the Link: rel="describedby" response header.
typestringrequiredProblem type URI resolving to the error docs page. The server derives it mechanically from code against the docs origin.
titlestringrequiredShort human-readable summary of the problem type. The server derives it mechanically from code.
statusintegerrequiredHTTP status code of this response, repeated in the body.
detailstringrequiredHuman-readable failure explanation for this occurrence.
codestringrequiredStable snake_case error code naming the failed public contract.
pointerstringRFC 6901 JSON Pointer into the failing request field, for example "/files/37/path", on validation failures.
detailsobjectMachine-readable context for the error code.
fixstringOne sentence on what to do about this error code, the same text as the type page. Read it before retrying.
suggestionsstring[]Actionable recovery steps safe to show in dashboards, SDKs, and CLI output.
nextstring[]Copy-pasteable commands or API requests an agent can run next.
requestIdstringrequiredThe request id to quote when contacting support.