FruxonDocs
SystemStorage

Uploads a file to storage.

Streams a single multipart file into object storage and returns an opaque `FileLink` (file ID plus content type) that can later be passed into agent inputs, attachments, or fetched via `GET StorageFileParam`. Max upload size is 50 MiB; larger requests fail at the request-size limit before reaching the handler. Concurrency-rate-limited per caller.

POST
/v1/tenants/{tenant}/storage
AuthorizationBearer <token>

JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.

In: header

Path Parameters

tenant*string

The tenant identifier

Query Parameters

temporary?boolean

When true, the file is stored as temporary and auto-expires unless a later request consumes it.

Defaultfalse

Request Body

multipart/form-data

file?string

The file to upload.

Response Body

curl -X POST "https://api.fruxon.com/v1/tenants/string/storage"
{
  "fileId": "string",
  "fileType": "string",
  "displayName": "string",
  "promptLink": "<string:string/>"
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}
Empty
Empty