> ## Documentation Index
> Fetch the complete documentation index at: https://docs.korve.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# List Grants

> List the signed-in user's grants; admins may inspect all grants in the organization.



## OpenAPI

````yaml /openapi.json get /v1/orgs/{orgId}/agent-grants
openapi: 3.1.0
info:
  title: Korve API
  version: 0.1.0
  description: >-
    Typed control plane for deploying applications and explicitly provisioning
    their managed infrastructure.
servers:
  - url: https://api.korve.dev
security: []
paths:
  /v1/orgs/{orgId}/agent-grants:
    get:
      tags:
        - agentAuth
      summary: List Grants
      description: >-
        List the signed-in user's grants; admins may inspect all grants in the
        organization.
      operationId: agentAuth.listGrants
      parameters:
        - name: orgId
          in: path
          required: true
          schema:
            type: string
          description: The organization's id (UUID) or slug — either form is accepted.
      responses:
        '200':
          description: Revocable agent grants.
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    id:
                      type: string
                      format: uuid
                    clientId:
                      type: string
                      enum:
                        - korve-cli
                        - korve-mcp
                    audience:
                      type: string
                      enum:
                        - cli
                        - mcp
                      description: >-
                        The first-party client surface that may present the
                        resulting token.
                    role:
                      type: string
                      enum:
                        - member
                        - admin
                      description: >-
                        Maximum organization role the grant may exercise. Owner
                        grants do not exist.
                    scopes:
                      type: array
                      minItems: 1
                      maxItems: 256
                      items:
                        type: string
                        pattern: ^[A-Za-z][A-Za-z0-9]*\.[A-Za-z][A-Za-z0-9]*$
                        maxLength: 128
                      description: Exact public API operation ids the grant may call.
                    userId:
                      type: string
                    revokedAt:
                      type:
                        - string
                        - 'null'
                      format: date-time
                    lastUsedAt:
                      type:
                        - string
                        - 'null'
                      format: date-time
                    createdAt:
                      type: string
                      format: date-time
                  required:
                    - id
                    - clientId
                    - audience
                    - role
                    - scopes
                    - userId
                    - revokedAt
                    - lastUsedAt
                    - createdAt
      security:
        - session: []
components:
  securitySchemes:
    session:
      type: apiKey
      in: cookie
      name: korve.session_token

````