> ## 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

> List AI gateways in one project environment.



## OpenAPI

````yaml /openapi.json get /v1/orgs/{orgId}/projects/{projectId}/ai-gateways
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}/projects/{projectId}/ai-gateways:
    get:
      tags:
        - aiGateways
      summary: List
      description: List AI gateways in one project environment.
      operationId: aiGateways.list
      parameters:
        - name: orgId
          in: path
          required: true
          schema:
            type: string
          description: The organization's id (UUID) or slug — either form is accepted.
        - name: projectId
          in: path
          required: true
          schema:
            type: string
          description: The project's id (UUID) or slug — either form is accepted.
        - name: environment
          in: query
          required: false
          schema:
            type: string
            pattern: ^[a-z][a-z0-9-]{0,38}$
          description: >-
            Environment slug to scope this operation to. Defaults to
            "production". An environment that does not exist on the project
            answers 404. Gateways are isolated to the addressed environment.
      responses:
        '200':
          description: AI gateways with batched current-month usage.
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    id:
                      type: string
                    name:
                      type: string
                    environment:
                      type: string
                    allowedModels:
                      type: array
                      items:
                        type: string
                        enum:
                          - korve/fast
                          - korve/balanced
                          - korve/reasoning
                    monthlyBudgetUsd:
                      type: number
                    timeoutMs:
                      type: integer
                    maxRetries:
                      type: integer
                    redactPrompts:
                      type: boolean
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                    usage:
                      type: object
                      properties:
                        month:
                          type: string
                          format: date-time
                        requests:
                          type: integer
                          minimum: 0
                        inputTokens:
                          type: integer
                          minimum: 0
                        outputTokens:
                          type: integer
                          minimum: 0
                        spentUsd:
                          type: number
                          minimum: 0
                        budgetUsd:
                          type: number
                          minimum: 0
                        remainingUsd:
                          type: number
                          minimum: 0
                      required:
                        - month
                        - requests
                        - inputTokens
                        - outputTokens
                        - spentUsd
                        - budgetUsd
                        - remainingUsd
                      additionalProperties: false
                  required:
                    - id
                    - name
                    - environment
                    - allowedModels
                    - monthlyBudgetUsd
                    - timeoutMs
                    - maxRetries
                    - redactPrompts
                    - createdAt
                    - updatedAt
                    - usage
                  additionalProperties: false
      security:
        - apiKey: []
        - session: []
components:
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      bearerFormat: korve_api_key
    session:
      type: apiKey
      in: cookie
      name: korve.session_token

````