Documents
Get presigned upload URL
Creates a document record and returns a presigned URL for uploading the file. After uploading, call POST /documents/{id}/confirm to finalize. The upload URL expires in 15 minutes.
POST
Get presigned upload URL
Documentation Index
Fetch the complete documentation index at: https://docs.vocobase.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
API key in format: rg_live_xxxx. Pass as a Bearer token in the Authorization header.
Body
application/json
Document display name.
Required string length:
1 - 100Example:
"Product FAQ.pdf"
File size in bytes (max 50 MB).
Required range:
1 <= x <= 52428800Example:
1048576
MIME type of the file.
Available options:
application/pdf, application/vnd.openxmlformats-officedocument.wordprocessingml.document, text/plain, text/markdown, image/png, image/jpeg, image/gif, image/webp Example:
"application/pdf"
Get presigned upload URL