discovery

Link Governed Agent Route

The one decision discovery records: which agent governs an agent. Scans never clear it; a different agent needs an explicit replace.

put/api/v1/discovery/github/agents/{agent_id}/agent

Path parameters

agent_idstring uuid required

Headers

Authorizationstring nullable
X-Request-IDstring nullable

Request body

governed_agent_idstring uuid required
replaceboolean

Response

Successful Response

idstring uuid required
repository_idstring uuid required
repository_full_namestring required
stable_idstring required
kindstring required
namestring required
frameworkstring nullable required
providerstring nullable required
modelstring nullable required
entry_filestring required
entry_lineinteger nullable required
gateway_posturestring required
ownerstring nullable required
evidencestring[] required
governed_agent_idstring uuid nullable required
first_seen_atstring date-time required
last_seen_atstring date-time required
removed_atstring date-time nullable required
open_findingsinteger required

Changes

Changed in 1 of the 13 revisions of this API.1