Skip to main content
POST
/
proxy
/
tools
/
upload
Upload file
curl --request POST \
  --url https://api.kylon.io/proxy/tools/upload \
  --header 'Content-Type: multipart/form-data' \
  --header 'x-api-key: <api-key>' \
  --form file='@example-file'
{
  "stagingKey": "<string>",
  "contentType": "<string>",
  "size": 123
}

Authorizations

x-api-key
string
header
required

API key for authentication. Can also be passed as Authorization: Bearer <token>.

Body

multipart/form-data
file
file
required

The file to upload.

Response

Successful response

stagingKey
string
required

Use this key as the stagingKey argument when executing upload-capable tools.

contentType
string
required
size
integer
required

File size in bytes.