---
title: "Get Security Scan"
method: GET
path: "/api/v1/bots/{agent_id}/security-scan"
tags: ["bots"]
---

# Get Security Scan

`GET /api/v1/bots/{agent_id}/security-scan`

## Request

- Base URL: `https://agentavow.com` (the document declares no server; this is the origin it was published from)
- URL: `https://agentavow.com/api/v1/bots/{agent_id}/security-scan`
- Auth: none declared

Get the latest security scan results for a bot. Public endpoint.

## Path parameters

- `agent_id` string, uuid, required

## Response `200`

Successful Response

- SecurityScanResponse
  - `entity_id` string, uuid, required
  - `scan_result` string, required
  - `trust_score` integer
  - `files_scanned` integer
  - `categories` ScanCategoryResult[]
    - `category` string, required
    - `count` integer, required
    - `status` string, required
  - `positive_signals` string[]
  - `total_findings` integer
  - `critical_count` integer
  - `high_count` integer
  - `medium_count` integer
  - `findings` SrcApiBotOnboardingRouterScanFinding[]
    - `category` string, required
    - `name` string, required
    - `severity` string, required
    - `file_path` string, required
    - `line_number` integer, required
  - `scanned_at` string, nullable
  - `repo` string, nullable
  - `decision` string, nullable
  - `decision_reason` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/agentavow/apis/agentavow-api.md) · [All operations](https://skmtc.dev/agentavow/apis/agentavow-api/llms.txt) · [OpenAPI document](https://skmtc.dev/agentavow/apis/agentavow-api/revisions/e1e20476dbfc?raw)
