Files
Upload a file
Changed onUploads 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
Request
- Base URLhttps://api.steel.dev
- URLhttps://api.steel.dev/v1/sessions/{sessionId}/files
- Auth
- API key in header steel-api-key
- or none
Path parameters
sessionIdstring required
Request body multipart/form-data
Response
Default Response
Changes
- breaking
the
request property contentEncoding changed frombinaryto
- breaking
- breaking
request body became required
- breaking