cases

Create Task

Create a new task for a case.

post/workspaces/{workspace_id}/cases/{case_id}/tasks

Request

  • Base URL
    https://platform.tracecat.com/api
  • Auth
    • API key in cookie fastapiusersauth
    • or HTTP bearer

Path parameters

case_idstring uuid required
workspace_idstring uuid required

Request body

titlestring required
descriptionstring nullable
priority'unknown' | 'low' | 'medium' | 'high' | 'critical' | 'other'

Case priority values aligned with urgency levels.

Values: UNKNOWN (0): No priority is assigned LOW (1): Application or personal procedure is unusable, where a workaround is available or a repair is possible MEDIUM (2): Non-critical function or procedure is unusable or hard to use causing operational disruptions with no direct impact on a service's availability. A workaround is available HIGH (3): Critical functionality or network access is interrupted, degraded or unusable, having a severe impact on services availability. No acceptable alternative is possible CRITICAL (4): Interruption making a critical functionality inaccessible or a complete network interruption causing a severe impact on services availability. There is no possible alternative OTHER (99): The priority is not normalized

status'todo' | 'in_progress' | 'completed' | 'blocked'

Case task status values.

assignee_idstring uuid nullable
default_trigger_valuesobject nullable

Response

Successful Response

idstring uuid required
created_atstring date-time required
updated_atstring date-time required
case_idstring uuid required
titlestring required
descriptionstring nullable required
priority'unknown' | 'low' | 'medium' | 'high' | 'critical' | 'other' required

Case priority values aligned with urgency levels.

Values: UNKNOWN (0): No priority is assigned LOW (1): Application or personal procedure is unusable, where a workaround is available or a repair is possible MEDIUM (2): Non-critical function or procedure is unusable or hard to use causing operational disruptions with no direct impact on a service's availability. A workaround is available HIGH (3): Critical functionality or network access is interrupted, degraded or unusable, having a severe impact on services availability. No acceptable alternative is possible CRITICAL (4): Interruption making a critical functionality inaccessible or a complete network interruption causing a severe impact on services availability. There is no possible alternative OTHER (99): The priority is not normalized

status'todo' | 'in_progress' | 'completed' | 'blocked' required

Case task status values.

workflow_idstring nullable required
default_trigger_valuesobject nullable

Changes

No recorded changes to this operation across all 1 revision of this API.