Uploads
Get a presigned URL to upload a file
Returns a presigned S3 URL plus the s3Key the file lands at. PUT the raw file bytes to that URL, then call the feature tool (e.g. upload-and-parse) with the s3Key instead of sending file data. Bytes never pass through the LLM.
post/v1/uploads/presign
Headers
X-Organization-Idstring
Organization ID (required for session auth, optional for API key auth)
Request body
Example request
{
"purpose": "questionnaire",
"fileName": "vendor-security-questionnaire.xlsx",
"fileType": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
}Response
Example response
{
"uploadUrl": "https://bucket.s3.us-east-1.amazonaws.com/org_x/uploads/...?X-Amz-Signature=...",
"s3Key": "org_abc/uploads/questionnaire/1735000000-questionnaire.xlsx",
"expiresIn": 900
}