v1

latestOpenAPI 3.1.02026-07-177545150.1 KB
Agent Management

Rescan Agent

Trigger a manual security scan for an A2A agent.

Initiates a new security scan for the specified agent and returns the results. This endpoint is useful for re-scanning agents after updates or for on-demand security assessments.

Authentication: JWT Bearer token or session cookie Authorization: Requires admin privileges

Path Parameters:

  • path (required): Agent path (e.g., /code-reviewer)

Response: Returns the newly generated security scan results.

Example:

curl -X POST http://localhost/api/agents/code-reviewer/rescan \
  --cookie-jar .cookies --cookie .cookies
post/api/agents/{path}/rescan

Path parameters

pathstring required

Response

Successful Response

{"stackTrail":"paths:/api/agents/{path}/rescan:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}