Skip to Content
Xeonr Developer Docs

List My Agent Grants

POST
/xeonr.auth.api.v1.McpAgentGrantsService/ListMyAgentGrants

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

Authorization

AuthorizationBearer <token>

JWT access token obtained via OAuth2 flow or service account

In: header

Header Parameters

Connect-Protocol-Version?number

Define the version of the Connect protocol

Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

[key: string]?never

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"
    }
  ]
}