xeonr.auth.api.v1.McpAgentGrantsService
Agent grants (EP-46, AUTH-293; CONTRACTS.md C13.3). A product that runs AI sessions (the starter, e.g. Trellis) mints an agent grant for one session it runs for one person: a connection record bounded by what the person holds, team policy and the catalogue's agent allowance, and scoped to the resources the session needs. The mint is an RFC 8693 exchange at the token endpoint (see C13.3); this service renews the grant's gateway token, revokes it, and shows a person their own grants. A grant's id on every wire is "ag_<id>".
postList My Agent Grants
Lists the caller's live agent grants: which product started each session, what it reaches, and when it ends. **Required scopes:** `auth:client-authorisations:read`
postRenew Agent Grant Token
Issues a fresh gateway token (at most one hour, never past the grant's expiry) for an agent grant the calling starter minted. **Required scopes:** `mcp:agent-grants`
postRevoke Agent Grant
Revokes an agent grant the calling starter minted, and the product tokens exchanged from it. **Required scopes:** `mcp:agent-grants`
postRevoke My Agent Grant
Revokes one of the caller's agent grants and the product tokens exchanged from it. **Required scopes:** `auth:client-authorisations:revoke`
Set Console Context POST
Update the caller's active team, pinned products and/or theme. **Required scopes:** `auth:console`
List My Agent Grants POST
Lists the caller's live agent grants: which product started each session, what it reaches, and when it ends. **Required scopes:** `auth:client-authorisations:read`