Skip to main content
POST
/
v1
/
assets
/
upload-url
Request Upload
curl --request POST \
  --url https://api.example.com/v1/assets/upload-url \
  --header 'Content-Type: application/json' \
  --data '
{
  "kind": "<string>",
  "name": "<string>",
  "content_type": "<string>",
  "size_bytes": 100000000
}
'
{
  "asset_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "bucket": "<string>",
  "path": "<string>",
  "upload": {}
}

Documentation Index

Fetch the complete documentation index at: https://docs.n8negri.xyz/llms.txt

Use this file to discover all available pages before exploring further.

Headers

Authorization
string | null

Body

application/json
kind
string
required
Pattern: ^(image|font|audio|video|logo)$
name
string | null
content_type
string | null
Maximum string length: 128
size_bytes
integer | null
Required range: 0 <= x <= 200000000

Response

Successful Response

asset_id
string<uuid>
required
bucket
string
required
path
string
required
upload
Upload · object
required