> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tracectrl.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Agent Risk Scores

> Per-agent risk scores

Returns risk scores for all agents with detected vulnerabilities.

### Query Parameters

<ParamField query="service" type="string">Filter by service name</ParamField>

### Response

Array of `AgentRisk` objects:

<ResponseField name="agent_id" type="string">Agent identifier</ResponseField>
<ResponseField name="risk_score" type="float">Agent's highest risk score</ResponseField>
<ResponseField name="severity" type="string">Critical, High, Medium, or Low</ResponseField>
<ResponseField name="path_count" type="integer">Number of attack paths involving this agent</ResponseField>
<ResponseField name="top_rule" type="string">Rule producing the highest score</ResponseField>
<ResponseField name="computed_at" type="string">ISO-8601 timestamp of last computation</ResponseField>
