Tasks
Update a task
Update a task in Comp AI. Manage compliance task lifecycle, assignments, review approvals, evidence uploads, policy links, and activity history.
patch/v1/tasks/{taskId}
Path parameters
taskIdstring required
Example:tsk_abc123def456
Unique task identifier
Request body
Example request
{
"title": "Review access controls",
"description": "Review and update access control policies",
"status": "in_progress",
"assigneeId": "mem_abc123",
"approverId": "mem_abc123",
"frequency": "monthly",
"integrationScheduleFrequency": "daily",
"department": "it",
"reviewDate": "2025-01-01T00:00:00.000Z",
"notRelevantJustification": "This control is out of scope for our SOC 2 audit."
}Response
Task updated successfully
Example response
{
"id": "tsk_abc123def456",
"title": "Implement user authentication",
"description": "Add OAuth 2.0 authentication to the platform",
"status": "in_progress",
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T10:30:00Z",
"integrationScheduleFrequency": "daily"
}