SAW tracks analyst tasks in a persistent store alongside incidents. Tasks are created automatically by the MitigationAgent when a triage run produces actionable findings, but you can also create them manually, list them with filters, and mark them complete through theDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/samkit511/SAW---Security-Analyst-Workspace/llms.txt
Use this file to discover all available pages before exploring further.
/tasks endpoints. Every endpoint requires a valid x-api-key header.
Task lifecycle
A task moves through two states:OPEN (the default on creation) and COMPLETED (set when you call the complete endpoint). The MitigationAgent sets source_agent to identify agent-generated tasks; manually created tasks set source_agent to TaskAPI.
Create a task
Task fields
| Field | Type | Description |
|---|---|---|
id | string | Unique task identifier (prefixed task_) |
incident_id | string | null | Incident this task belongs to, if any |
title | string | Short task title |
description | string | Full task description |
status | string | OPEN or COMPLETED |
priority | string | LOW, MEDIUM, or HIGH |
owner | string | Analyst or team assigned to the task |
source_agent | string | Agent or system that created the task |
created_at | float | Unix timestamp of creation |
updated_at | float | Unix timestamp of last update |
completed_at | float | null | Unix timestamp when completed, or null |
List tasks
Retrieve all tasks, optionally filtered by incident or status.- All tasks
- Filter by incident
- Filter by status
- Combine filters
tasks array:
updated_at descending, with a maximum of 50 tasks returned per call.
Complete a task
Mark a task as done by POST-ing to/tasks/{task_id}/complete. No request body is needed.
status set to COMPLETED and completed_at populated:
All
/tasks endpoints require the x-api-key header. Requests without a valid key return HTTP 401. The default development key is demo; set the ASA_API_KEY environment variable to override it in production.