---
title: "Download a team's design-system asset"
method: GET
path: "/v1/teams/{teamId}/design-system/assets/{attachmentId}"
tags: ["Teams"]
---

# Download a team's design-system asset

`GET /v1/teams/{teamId}/design-system/assets/{attachmentId}`

## Request

- Base URL: `https://api.spacefast.com`
- URL: `https://api.spacefast.com/v1/teams/{teamId}/design-system/assets/{attachmentId}`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `__Host-better-auth.session_token`
  - 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 original Media Library bytes after checking team ownership and read access. Use the asset URL from getTeamDesignSystem or getTeamAgentContext with an authenticated API request or session cookie. Responses are private and must not be cached.

## Path parameters

- `teamId` string, required
- `attachmentId` integer, required

## Response `200`

Attachment bytes

## 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)
