Create a presigned upload URL
Create a presigned S3 PUT URL for one file. Upload the raw bytes to the returned url with an HTTP PUT and no Authorization header; the body must be exactly the declared size. Then trigger POST /v1/files/index to make the file searchable via /v1/search with scope.indexes [“workspace”].
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Optional client session identifier.
Body
Filename to upload. Sanitized server-side; the response echoes the stored name.
1 - 512Exact file size in bytes. The presigned URL binds this length, so the PUT body must match it.
x >= 0Optional MIME type recorded on the object.
255Response
Presigned upload URL.
Seconds until the presigned URL expires.
Per-file upload size limit in bytes.
Sanitized filename the upload will be stored and listed under.
Presigned S3 PUT URL. Upload the raw file bytes to this URL with an HTTP PUT (no Authorization header); the body must be exactly the declared size.
A URL to the JSON Schema for this object.
"https://alpha.api.trycaesar.com/FilePresignResponse.json"