Skip to main content
POST
Upload assistant thread draft attachment.

Authorizations

Authorization
string
header
required

Bearer JWT token or API Key (sk-*).

Path Parameters

id
string
required

Body

multipart/form-data

Assistant message attachment upload.

file
file
required

Image file payload sent as multipart form-data.

detail
enum<string>

Optional image processing detail hint.

Available options:
auto,
low,
high

Response

Attachment uploaded.

Last modified on September 5, 2026