Update a task
Changed onUpdate a task in Comp AI. Manage compliance task lifecycle, assignments, review approvals, evidence uploads, policy links, and activity history.
Request
- Base URLhttps://api.trycomp.ai
- AuthAPI key in header X-API-Key
Path parameters
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"
}Changes
- breaking
removed the enum value
adminof the request property - breaking
removed the enum value
govof the request property - breaking
removed the enum value
hrof the request property - breaking
removed the enum value
itof the request property - breaking
removed the enum value
itsmof the request property - breaking
removed the enum value
noneof the request property - breaking
removed the enum value
qmsof the request property - warning
the
request property's maxLength was set to64
- breaking
- breaking
request property
was restricted to a list of enum values - info
added the new
adminenum value to the request property - info
added the new
govenum value to the request property - info
added the new
hrenum value to the request property - info
added the new
itenum value to the request property - info
added the new
itsmenum value to the request property - info
added the new
noneenum value to the request property - info
added the new
qmsenum value to the request property
- breaking