Find Tasks matching the provided filters.
🔒 Requires Tasks: List and Get Tasks 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
{- "data": [
- {
- "id": 123,
- "title": "Review SOC 2 controls",
- "description": "Quarterly review of all SOC 2 Type II controls",
- "status": "INCOMPLETE",
- "taskType": "GENERAL",
- "dueDate": "2020-07-06",
- "completedAt": "2025-07-01T16:45:55.246Z",
- "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z",
- "assigneeId": 456,
- "createdById": 789,
- "assignee": {
- "id": 1,
- "firstName": "Sally",
- "lastName": "Smith",
- "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z"
}, - "createdBy": {
- "id": 1,
- "firstName": "Sally",
- "lastName": "Smith",
- "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z"
}, - "controls": {
- "data": [
- [ ]
], - "totalCount": 0
}, - "risks": {
- "data": [
- [ ]
], - "totalCount": 0
}, - "policies": {
- "data": [
- [ ]
], - "totalCount": 0
}
}
], - "pagination": {
- "cursor": "string",
- "totalCount": 0
}
}Create a new Task.
🔒 Requires Tasks: Create Task permission.
| title required | string <= 255 characters Task title |
| description | string <= 768 characters Task description |
| dueDate required | string <date> Due date |
| assigneeId | number ID of the User to assign the task to |
| taskType | string Default: "GENERAL" Task type |
| controlIds | Array of numbers unique IDs of Controls to link to this Task. Can be combined with |
| riskIds | Array of numbers unique IDs of Risks to link to this Task. Can be combined with |
| policyIds | Array of numbers unique IDs of Policies to link to this Task. Can be combined with |
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
{- "title": "Review access controls",
- "description": "Quarterly review of access control policies",
- "dueDate": "2020-07-06",
- "assigneeId": 456,
- "taskType": "GENERAL",
- "controlIds": [
- 101,
- 102
], - "riskIds": [
- 201
], - "policyIds": [
- 301,
- 302
]
}{- "id": 123,
- "title": "Review SOC 2 controls",
- "description": "Quarterly review of all SOC 2 Type II controls",
- "status": "INCOMPLETE",
- "taskType": "GENERAL",
- "dueDate": "2020-07-06",
- "completedAt": "2025-07-01T16:45:55.246Z",
- "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z",
- "assigneeId": 456,
- "createdById": 789,
- "assignee": {
- "id": 1,
- "firstName": "Sally",
- "lastName": "Smith",
- "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z"
}, - "createdBy": {
- "id": 1,
- "firstName": "Sally",
- "lastName": "Smith",
- "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z"
}, - "controls": {
- "data": [
- [ ]
], - "totalCount": 0
}, - "risks": {
- "data": [
- [ ]
], - "totalCount": 0
}, - "policies": {
- "data": [
- [ ]
], - "totalCount": 0
}
}Get details for a specific Task.
🔒 Requires Tasks: List and Get Tasks 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
{- "id": 123,
- "title": "Review SOC 2 controls",
- "description": "Quarterly review of all SOC 2 Type II controls",
- "status": "INCOMPLETE",
- "taskType": "GENERAL",
- "dueDate": "2020-07-06",
- "completedAt": "2025-07-01T16:45:55.246Z",
- "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z",
- "assigneeId": 456,
- "createdById": 789,
- "assignee": {
- "id": 1,
- "firstName": "Sally",
- "lastName": "Smith",
- "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z"
}, - "createdBy": {
- "id": 1,
- "firstName": "Sally",
- "lastName": "Smith",
- "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z"
}, - "controls": {
- "data": [
- [ ]
], - "totalCount": 0
}, - "risks": {
- "data": [
- [ ]
], - "totalCount": 0
}, - "policies": {
- "data": [
- [ ]
], - "totalCount": 0
}
}Update an existing Task.
🔒 Requires Tasks: Update Task permission.
| title | string <= 255 characters Task title |
| description | string or null <= 768 characters Task description. Set to null to clear. |
| dueDate | string <date> Due date |
| assigneeId | number or null ID of the User who should complete the task. Set to null to unassign. |
| controlIds | Array of numbers unique IDs of Controls to link to this task. Associates the task with compliance controls, making it visible in control detail views and filterable by control. Replaces all existing control links. Pass |
| riskIds | Array of numbers unique IDs of Risks to link. Replaces all existing links. Pass |
| policyIds | Array of numbers unique IDs of Policies to link. Replaces all existing links. Pass |
Successful
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
{- "title": "string",
- "description": "string",
- "dueDate": "2020-07-06",
- "assigneeId": 0,
- "controlIds": [
- 0
], - "riskIds": [
- 0
], - "policyIds": [
- 0
]
}{- "id": 123,
- "title": "Review SOC 2 controls",
- "description": "Quarterly review of all SOC 2 Type II controls",
- "status": "INCOMPLETE",
- "taskType": "GENERAL",
- "dueDate": "2020-07-06",
- "completedAt": "2025-07-01T16:45:55.246Z",
- "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z",
- "assigneeId": 456,
- "createdById": 789,
- "assignee": {
- "id": 1,
- "firstName": "Sally",
- "lastName": "Smith",
- "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z"
}, - "createdBy": {
- "id": 1,
- "firstName": "Sally",
- "lastName": "Smith",
- "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z"
}, - "controls": {
- "data": [
- [ ]
], - "totalCount": 0
}, - "risks": {
- "data": [
- [ ]
], - "totalCount": 0
}, - "policies": {
- "data": [
- [ ]
], - "totalCount": 0
}
}Perform an action on a Task: complete or uncomplete.
🔒 Requires Tasks: Update Task 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": "complete"
}{- "id": 123,
- "title": "Review SOC 2 controls",
- "description": "Quarterly review of all SOC 2 Type II controls",
- "status": "INCOMPLETE",
- "taskType": "GENERAL",
- "dueDate": "2020-07-06",
- "completedAt": "2025-07-01T16:45:55.246Z",
- "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z",
- "assigneeId": 456,
- "createdById": 789,
- "assignee": {
- "id": 1,
- "firstName": "Sally",
- "lastName": "Smith",
- "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z"
}, - "createdBy": {
- "id": 1,
- "firstName": "Sally",
- "lastName": "Smith",
- "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z"
}, - "controls": {
- "data": [
- [ ]
], - "totalCount": 0
}, - "risks": {
- "data": [
- [ ]
], - "totalCount": 0
}, - "policies": {
- "data": [
- [ ]
], - "totalCount": 0
}
}