Evidence items hold one or more artifacts, the files, URLs, or ticket references that demonstrate a control is operating.
Use the evidence-files endpoint to pre-upload a file, then reference the returned fileKey when creating or updating an Evidence item.
List evidence items with pagination, filtering, and optional expand.
🔒 Requires Evidence Library: List Evidence permission.
Successful
Invalid Authorization
You are not allowed to perform this action
Not Found
You must accept the Drata terms and conditions to use the API
Internal server error
{- "data": [
- {
- "id": 1,
- "name": "Security Policy Document",
- "description": "This document outlines our security policies and procedures.",
- "implementationGuidance": "Follow the company security training guidelines and ensure all employees complete the training within 30 days of onboarding.",
- "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z",
- "renewalDate": "2020-07-06",
- "renewalScheduleType": "ONE_YEAR",
- "status": "READY",
- "safeBaseSyncStatus": "COMPLETE",
- "owners": {
- "data": [
- {
- "id": 1,
- "firstName": "Sally",
- "lastName": "Smith",
- "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z"
}
], - "totalCount": 15
}, - "artifacts": {
- "data": [
- {
- "id": 1,
- "artifactName": "Q4-2024-Security-Audit.pdf",
- "extension": "pdf",
- "artifactVersion": 1,
- "artifactSafeBasesyncStatus": "COMPLETE",
- "artifactType": "S3_FILE",
- "filedAt": "2025-07-01T16:45:55.246Z",
- "archivedAt": "2025-07-01T16:45:55.246Z",
- "createdAt": "2025-07-01T16:45:55.246Z"
}
], - "totalCount": 15
}, - "controls": {
- "data": [
- {
- "id": 1,
- "code": "AC-1",
- "name": "Access Control",
- "description": "Drata has implemented tools to monitor Drata's databases and notify appropriate personnel of any events or incidents based on\n predetermined criteria. Incidents are escalated per policy.",
- "isReady": true,
- "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z"
}
], - "totalCount": 15
}
}
], - "pagination": {
- "cursor": "string"
}
}Create a new Evidence item with one or more artifacts. File artifacts must be pre-uploaded via the evidence-files endpoint and referenced by fileKey.
🔒 Requires Evidence Library: Create Evidence permission.
Created
Malformed data and/or validation errors
Invalid Authorization
You are not allowed to perform this action
Not Found
You must accept the Drata terms and conditions to use the API
Internal server error
{- "name": "Security Training",
- "description": "Security Training completed evidence",
- "implementationGuidance": "Example of architectural diagram www.drata/arch-diagram-example.com",
- "stepsToReproduce": "Steps to reproduce the issue or evidence collection process",
- "artifacts": [
- {
- "type": "S3_FILE",
- "artifactName": "Security Policy v2.pdf",
- "fileKey": "123/evidence-library/62545abd-5469-4a19-abc2-55df8809b225/policy.pdf",
- "filedAt": "2020-07-06"
}, - {
- "type": "URL",
- "artifactName": "External Documentation",
- "filedAt": "2020-07-06"
}
], - "ownerId": 1,
- "controlIds": [
- 1,
- 2,
- 3
], - "renewalDate": "2020-07-06",
- "renewalScheduleType": "ONE_YEAR"
}{- "id": 1,
- "name": "Security Policy Document",
- "description": "This document outlines our security policies and procedures.",
- "implementationGuidance": "Follow the company security training guidelines and ensure all employees complete the training within 30 days of onboarding.",
- "evidenceTemplateCode": "REQ-12",
- "renewalDate": "2020-07-06",
- "renewalScheduleType": "ONE_YEAR",
- "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z",
- "artifactsRequested": 3,
- "artifactsCreated": 2,
- "controls": [
- {
- "id": 1,
- "code": "AC-1",
- "name": "Access Control",
- "description": "Drata has implemented tools to monitor Drata's databases and notify appropriate personnel of any events or incidents based on\n predetermined criteria. Incidents are escalated per policy.",
- "isReady": true,
- "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z"
}
], - "linkedWorkspaces": [
- {
- "id": 1,
- "name": "Drata"
}
], - "artifacts": [
- {
- "id": 1,
- "source": "document.pdf",
- "artifactName": "document.pdf",
- "type": "S3_FILE",
- "artifactVersion": 1,
- "filedAt": "2020-07-06",
- "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z",
- "metadata": {
- "originalFileName": "security-policy.pdf",
- "mimeType": "application/pdf",
- "extension": "pdf"
}, - "ticketUrl": "string"
}
]
}Pre-upload a file to be used as an evidence artifact. Provide the binary as either a multipart file or a Base64-encoded base64File; exactly one is required. Returns a fileKey that can be referenced in the create/update Evidence endpoints.
🔒 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
{- "fileKey": "account-id/evidence-library/uuid/file.pdf",
- "originalFilename": "My Security Training (v2).pdf",
- "mimeType": "application/pdf",
- "fileSize": 1024
}Get a specific evidence item by ID with optional expand.
🔒 Requires Evidence Library: List Evidence permission.
Successful
Invalid Authorization
You are not allowed to perform this action
Not Found
You must accept the Drata terms and conditions to use the API
Internal server error
{- "id": 1,
- "name": "Security Policy Document",
- "description": "This document outlines our security policies and procedures.",
- "implementationGuidance": "Follow the company security training guidelines and ensure all employees complete the training within 30 days of onboarding.",
- "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z",
- "renewalDate": "2020-07-06",
- "renewalScheduleType": "ONE_YEAR",
- "status": "READY",
- "safeBaseSyncStatus": "COMPLETE",
- "owners": {
- "data": [
- {
- "id": 1,
- "firstName": "Sally",
- "lastName": "Smith",
- "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z"
}
], - "totalCount": 15
}, - "artifacts": {
- "data": [
- {
- "id": 1,
- "artifactName": "Q4-2024-Security-Audit.pdf",
- "extension": "pdf",
- "artifactVersion": 1,
- "artifactSafeBasesyncStatus": "COMPLETE",
- "artifactType": "S3_FILE",
- "filedAt": "2025-07-01T16:45:55.246Z",
- "archivedAt": "2025-07-01T16:45:55.246Z",
- "createdAt": "2025-07-01T16:45:55.246Z"
}
], - "totalCount": 15
}, - "controls": {
- "data": [
- {
- "id": 1,
- "code": "AC-1",
- "name": "Access Control",
- "description": "Drata has implemented tools to monitor Drata's databases and notify appropriate personnel of any events or incidents based on\n predetermined criteria. Incidents are escalated per policy.",
- "isReady": true,
- "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z"
}
], - "totalCount": 15
}
}Update an existing Evidence item. Supports multi-artifact operations: add new artifacts, archive artifacts (past), restore artifacts (current), and replace artifacts.
🔒 Requires Evidence Library: Update Evidence permission.
Successful
Malformed data and/or validation errors
Invalid Authorization
You are not allowed to perform this action
Not Found
You must accept the Drata terms and conditions to use the API
Internal server error
{- "name": "Updated Security Training",
- "description": "Security Training completed evidence",
- "implementationGuidance": "Example of architectural diagram www.drata/arch-diagram-example.com",
- "stepsToReproduce": "Steps to reproduce the issue or evidence collection process",
- "renewalDate": "2020-07-06",
- "renewalScheduleType": "ONE_YEAR",
- "ownerId": 789,
- "controlIds": [
- 101,
- 102
], - "newArtifacts": [
- {
- "artifactType": "URL",
- "filedAt": "2020-07-06",
- "artifactName": "Policy Document"
}
], - "pastArtifacts": [
- 1,
- 2
], - "currentArtifacts": [
- 3
], - "replaceArtifacts": [
- {
- "existingArtifactId": 1,
- "artifactType": "URL",
- "filedAt": "2020-07-06",
- "artifactName": "Updated Policy Document"
}
]
}{- "id": 1,
- "name": "Security Policy Document",
- "description": "This document outlines our security policies and procedures.",
- "implementationGuidance": "Follow the company security training guidelines and ensure all employees complete the training within 30 days of onboarding.",
- "evidenceTemplateCode": "REQ-12",
- "renewalDate": "2020-07-06",
- "renewalScheduleType": "ONE_YEAR",
- "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z",
- "artifactsRequested": 3,
- "artifactsCreated": 2,
- "controls": [
- {
- "id": 1,
- "code": "AC-1",
- "name": "Access Control",
- "description": "Drata has implemented tools to monitor Drata's databases and notify appropriate personnel of any events or incidents based on\n predetermined criteria. Incidents are escalated per policy.",
- "isReady": true,
- "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z"
}
], - "linkedWorkspaces": [
- {
- "id": 1,
- "name": "Drata"
}
], - "artifacts": [
- {
- "id": 1,
- "source": "document.pdf",
- "artifactName": "document.pdf",
- "type": "S3_FILE",
- "artifactVersion": 1,
- "filedAt": "2020-07-06",
- "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z",
- "metadata": {
- "originalFileName": "security-policy.pdf",
- "mimeType": "application/pdf",
- "extension": "pdf"
}, - "ticketUrl": "string"
}
]
}Permanently delete an Evidence item and all of its artifacts. To delete a single artifact and leave the Evidence item in place, use the delete artifact endpoint.
🔒 Requires Evidence Library: Delete Evidence permission.
No Content
Invalid Authorization
You are not allowed to perform this action
Not Found
You must accept the Drata terms and conditions to use the API
Internal server error
{- "statusCode": 0,
- "message": "string",
- "code": 0,
- "debugInfo": {
- "name": "string",
- "message": "string",
- "stack": "string"
}
}List the artifacts of a single evidence item. Returns one entry per artifact, not one per artifact version, so each id is stable across replacements and is the ID accepted by the other artifact endpoints.
🔒 Requires Evidence Library: List Evidence permission.
Successful
Invalid Authorization
You are not allowed to perform this action
Not Found
You must accept the Drata terms and conditions to use the API
Internal server error
{- "data": [
- {
- "id": 1,
- "artifactName": "Q4-2024-Security-Audit.pdf",
- "extension": "pdf",
- "artifactVersion": 1,
- "artifactSafeBasesyncStatus": "COMPLETE",
- "artifactType": "S3_FILE",
- "filedAt": "2025-07-01T16:45:55.246Z",
- "archivedAt": "2025-07-01T16:45:55.246Z",
- "createdAt": "2025-07-01T16:45:55.246Z"
}
], - "pagination": {
- "cursor": "string"
}
}Partially update an existing artifact's artifactName and/or filedAt in place on its current version. To replace the artifact's actual source (file/URL/ticket), use replaceArtifacts on the update Evidence endpoint instead.
🔒 Requires Evidence Library: Update Evidence permission.
Successful
Malformed data and/or validation errors
Invalid Authorization
You are not allowed to perform this action
Not Found
You must accept the Drata terms and conditions to use the API
Internal server error
{- "artifactName": "Q4 Security Review",
- "filedAt": "2020-07-06"
}{- "id": 1,
- "artifactName": "Q4-2024-Security-Audit.pdf",
- "extension": "pdf",
- "artifactVersion": 1,
- "artifactSafeBasesyncStatus": "COMPLETE",
- "artifactType": "S3_FILE",
- "filedAt": "2025-07-01T16:45:55.246Z",
- "archivedAt": "2025-07-01T16:45:55.246Z",
- "createdAt": "2025-07-01T16:45:55.246Z"
}Permanently delete a single artifact from an evidence item, including its full version history. To move an artifact to past artifacts instead, pass its ID in pastArtifacts on the update Evidence endpoint.
🔒 Requires Evidence Library: Delete Evidence permission.
No Content
Malformed data and/or validation errors
Invalid Authorization
You are not allowed to perform this action
Not Found
You must accept the Drata terms and conditions to use the API
Internal server error
{- "name": "string",
- "statusCode": 0,
- "message": "string",
- "code": 0,
- "debugInfo": {
- "name": "string",
- "message": "string",
- "stack": "string"
}
}Archive an artifact (move it to past artifacts) or restore it (move it back to current artifacts). Both are reversible and leave the version history intact.
🔒 Requires Evidence Library: Update Evidence permission.
Successful
Malformed data and/or validation errors
Invalid Authorization
You are not allowed to perform this action
Not Found
You must accept the Drata terms and conditions to use the API
Internal server error
{- "action": "archive"
}{- "id": 1,
- "artifactName": "Q4-2024-Security-Audit.pdf",
- "extension": "pdf",
- "artifactVersion": 1,
- "artifactSafeBasesyncStatus": "COMPLETE",
- "artifactType": "S3_FILE",
- "filedAt": "2025-07-01T16:45:55.246Z",
- "archivedAt": "2025-07-01T16:45:55.246Z",
- "createdAt": "2025-07-01T16:45:55.246Z"
}