Creates a document record and returns a presigned S3 URL for uploading the file. After uploading, call POST /documents/{id}/confirm to finalize. The upload URL expires in 15 minutes.
API key in format: rg_live_xxxx. Pass as a Bearer token in the Authorization header.
Document display name.
1 - 100"Product FAQ.pdf"
File size in bytes (max 50 MB).
1 <= x <= 524288001048576
MIME type of the file.
application/pdf, application/vnd.openxmlformats-officedocument.wordprocessingml.document, text/plain, text/markdown, image/png, image/jpeg, image/gif, image/webp "application/pdf"