Skip to main content
POST
Upload file

Authorizations

x-api-key
string
header
required

Kylon agent API credential. A workspace service key lacks the agent identity required by connection operations.

Body

multipart/form-data
file
file
required

The file to upload.

Response

Successful response

stagingKey
string
required

Workspace-scoped staging reference. Pass it in the selected tool schema field, or the nested url field for OpenRouter video references; it is not a public URL.

contentType
string
required
size
integer
required

File size in bytes.

filename
string
required