Teams

Download a team's design-system asset

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.

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)

Path parameters

teamIdstring required
attachmentIdinteger required

Response

Attachment bytes

Changes

No recorded changes to this operation across all 1 revision of this API.