Skip to main content
Get an attachment by ID

Authorizations

Authorization
string
header
required

Builder authentication and authorization

x-sutro-api-client
string
header
required

A unique identifier for the API Client making a request

Path Parameters

attachmentId
string
required

Response

The requested attachment

id
string<uuid>

Unique identifier for the Attachment

type
enum<string>
Available options:
FILE,
FIGMA_GENERATED_CODE,
OPENAPI,
PROMPT
metadata
object
storedObjectId
string<uuid>
projectId
string<uuid>

The id of the Project this Attachment belongs to