Uploads let you request a pre-signed S3 URL to upload a file for a given purpose (e.g. Evidence), then reference the resulting object key when creating the associated resource.
Generate a pre-signed S3 URL to upload a file for the given purpose. PUT the file directly to presignedUrl with a Content-Type header matching the contentType sent in this request (or the auto-derived type if omitted), then use the returned objectKey per the semantics of that purpose.
🔒 Requires Evidence Library: Create Evidence permission.
Created
Malformed data and/or validation errors
Invalid Authorization
You are not allowed to perform this action
You must accept the Drata terms and conditions to use the API
Internal server error
{- "purpose": "evidence",
- "workspaceId": 11,
- "fileName": "My Security Training.pdf",
- "contentType": "application/pdf"
}{- "objectKey": "account-id/evidence-library/11/62545abd-5469-4a19-abc2-55df8809b225/file.pdf",
- "expiresAt": "2026-07-08T15:04:05.000Z"
}