v1

latestOpenAPI 3.1.02026-07-172539330.6 KB
Agents

Get attribution report for an agent

Self-scope by default. Requester must match target agent (x-agent-name or username), unless admin uses ?privileged=1.

get/api/agents/{id}/attribution

Path parameters

idstring required

Query parameters

hoursinteger

Time window in hours, integer range 1..720. Defaults to 24.

sectionstring
Example:identity,audit

Comma-separated subset of identity,audit,mutations,cost. Defaults to all.

privileged'1'

Set to 1 for admin override of self-scope checks.

Headers

x-agent-namestring

Attribution identity header used for self-scope authorization.

Response

Attribution report