List 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
JWT access token obtained via OAuth2 flow or service account
In: header
Header Parameters
Define the version of the Connect protocol
Define the timeout, in ms
Request Body
application/json
Response Body
application/json
application/json
curl -X POST "https://auth.xeonr.io/xeonr.auth.api.v1.McpAgentGrantsService/ListMyAgentGrants" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{
"grants": [
{
"grantId": "string",
"starter": "string",
"starterName": "string",
"sessionRef": "string",
"title": "string",
"products": [
{
"key": "string",
"name": "string",
"audience": "string",
"toolsets": [
"string"
],
"scopes": [
"string"
],
"teams": [
{
"urn": "string",
"slug": "string",
"name": "string"
}
],
"description": "string",
"toolsetTeams": [
{
"toolset": "string",
"teams": [
"string"
]
}
],
"resources": [
{
"type": "string",
"identifier": "string",
"actions": [
"string"
]
}
]
}
],
"createdAt": "2023-01-15T01:30:15.01Z",
"expiresAt": "2023-01-15T01:30:15.01Z",
"lastUsedAt": "2023-01-15T01:30:15.01Z"
}
]
}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>".
Renew Agent Grant Token POST
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`