Tasks

Update status for multiple tasks

Changed on

Update status for multiple tasks in Comp AI. Manage compliance task lifecycle, assignments, review approvals, evidence uploads, policy links, and activity history.

patch/v1/tasks/bulk

Request

  • Base URL
    https://api.trycomp.ai
  • Auth
    API key in header X-API-Key

Request body

taskIdsstring[] required
status'todo' | 'in_progress' | 'in_review' | 'done' | 'not_relevant' | 'failed' required
reviewDatestring date-time

Optional review date to set on all tasks

notRelevantJustificationstring

Required justification when marking evidence tasks as not_relevant

Example request

{
  "taskIds": [
    "tsk_abc123",
    "tsk_def456"
  ],
  "status": "in_progress",
  "reviewDate": "2025-01-01T00:00:00.000Z",
  "notRelevantJustification": "This control is out of scope for our SOC 2 audit."
}

Response

Tasks updated successfully

updatedCountnumber

Example response

{
  "updatedCount": 2
}

Changes