Findings

Findings are issues discovered by agents during test runs, discoveries, and test plans. Each finding includes severity, evidence linking back to specific agent trace steps, and triage status.

GET /api/v1/findings

List findings

Parameters

ParameterTypeInRequiredDescription
project_iduuidqueryNoFilter by project ID
severitystringqueryNoFilter by severity (critical, high, medium, low)
statusstringqueryNoFilter by status (open, retest, false_positive, resolved). Default: open+retest
sourcestringqueryNoFilter by source (product, agent, prompt, etc.)
limitintegerqueryNoNumber of results to return (max 100) (default: 20)

Status Codes

CodeDescription
200OK
401Unauthorized

Response Body

{
  "findings": [{
  "finding": {
    "id": "019e5f8e-14d4-7654-b3cc-44cb8be3493b",
    "tenant_id": "550e8400-e29b-41d4-a716-446655440000",
    "project_id": "660e8400-e29b-41d4-a716-446655440000",
    "type": "functional",
    "severity": "high",
    "title": "Login form accepts empty password",
    "description": "The login form submits without validation when the password field is empty.",
    "url": "https://example.com/login",
    "status": "open",
    "first_seen_at": "2025-01-15T10:30:00Z",
    "last_seen_at": "2025-01-15T10:30:00Z"
  },
  "evidence": [
    {
      "agent_id": "880e8400-e29b-41d4-a716-446655440000",
      "agent_name": "Discovery: example.com",
      "trace_step_index": 5,
      "observed_at": "2025-01-15T10:30:00Z"
    }
  ]
}]
}
GET /api/v1/findings
cURL
Response
GET /api/v1/findings/{id}

Get finding by ID

Returns a finding with its evidence chain (agent trace step links).

Parameters

ParameterTypeInRequiredDescription
iduuidpathYesFinding ID

Status Codes

CodeDescription
200OK
400Invalid UUID
401Unauthorized
404Finding not found

Response Body

{
  "finding": {
    "id": "019e5f8e-14d4-7654-b3cc-44cb8be3493b",
    "tenant_id": "550e8400-e29b-41d4-a716-446655440000",
    "project_id": "660e8400-e29b-41d4-a716-446655440000",
    "type": "functional",
    "severity": "high",
    "title": "Login form accepts empty password",
    "description": "The login form submits without validation when the password field is empty.",
    "url": "https://example.com/login",
    "status": "open",
    "first_seen_at": "2025-01-15T10:30:00Z",
    "last_seen_at": "2025-01-15T10:30:00Z"
  },
  "evidence": [
    {
      "agent_id": "880e8400-e29b-41d4-a716-446655440000",
      "agent_name": "Discovery: example.com",
      "trace_step_index": 5,
      "observed_at": "2025-01-15T10:30:00Z"
    }
  ]
}
GET /api/v1/findings/{id}
cURL
Response