Skip to main content
POST
Create an idempotent direct-upload batch for chat attachments.

Authorizations

Authorization
string
header
required

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

Path Parameters

threadId
string
required

Body

application/json
clientDraftId
string
required
Maximum string length: 128
Example:

"draft-01hx3k4z7pq9"

files
object[]
required
Maximum array length: 30

Response

200

OK.

Last modified on September 5, 2026