v54

latestOpenAPI 3.0.3raw.githubusercontent.com2026-07-094546314.6 KB
Files

Upload a file

Uploads a file to a session via multipart/form-data with a file field that accepts either binary data or a URL string to download from, and an optional path field for the file storage path.

post/v1/sessions/{sessionId}/files

Path parameters

sessionIdstring required

Response

Default Response

lastModifiedstring date-time required

Timestamp when the file was created

pathstring required

Path to the file in the storage system

sizenumber required

Size of the file in bytes