Skip to main content
POST
/
uploads
Initiate a resumable upload
curl --request POST \
  --url https://app.strandai.com/api/v1/uploads \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "filename": "<string>",
  "fileSize": 123,
  "contentType": "<string>"
}
'
{
  "uploadId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "uploadUrl": "<string>",
  "gcsPath": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.strandai.com/llms.txt

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

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
filename
string
required
fileSize
integer
required
contentType
string
required

Response

Resumable upload URL

uploadId
string<uuid>
required
uploadUrl
string
required

Resumable upload URL — PUT slide bytes here

gcsPath
string
required