---
title: "Get Agent Security Scan"
method: GET
path: "/api/agents/{path}/security-scan"
tags: ["Agent Management"]
---

# Get Agent Security Scan

`GET /api/agents/{path}/security-scan`

Get security scan results for an A2A agent.

Returns the latest security scan results for the specified agent,
including threat analysis, severity levels, and detailed findings
from YARA, specification validation, and heuristic analyzers.

**Authentication:** JWT Bearer token or session cookie
**Authorization:** Requires admin privileges or access to the agent

**Path Parameters:**
- `path` (required): Agent path (e.g., /code-reviewer)

**Response:**
Returns security scan results with analysis_results and findings.

**Example:**
```bash
curl -X GET http://localhost/api/agents/code-reviewer/security-scan \
  --cookie-jar .cookies --cookie .cookies
```

## Path parameters

- `path` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/ascending-llc/apis/mcp-gateway-registry.md) · [All operations](https://skmtc.net/ascending-llc/apis/mcp-gateway-registry/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ascending-llc/mcp-gateway-registry/versions/31381943e2e7/schema)
