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

# GET /admin/api/providers/{id}/routing



## OpenAPI

````yaml /generated/openapi.json get /admin/api/providers/{id}/routing
openapi: 3.1.0
info:
  description: >-
    Forwarding, management, portal and OAuth APIs generated from Rust types.
    Input and output schemas preserve their respective Serde contracts.
    Streaming events and WebSocket messages are documented alongside HTTP
    payloads.
  title: GPROXY HTTP API
  version: 4.2.1
servers: []
security:
  - bearer: []
  - anthropicKey: []
  - googleKey: []
  - queryKey: []
paths:
  /admin/api/providers/{id}/routing:
    get:
      tags:
        - Management
      summary: GET /admin/api/providers/{id}/routing
      parameters:
        - in: path
          name: id
          required: true
          schema:
            type: string
        - description: Administrative scope selected by the caller.
          in: header
          name: x-gproxy-admin-scope
          required: false
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/Output_OperationRoutingDto'
                type: array
          description: Success
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Output_Envelope'
          description: Gateway error
      security:
        - consoleSession: []
        - bearer: []
        - anthropicKey: []
        - googleKey: []
components:
  schemas:
    Output_OperationRoutingDto:
      properties:
        custom:
          type: boolean
        defaultMapping:
          $ref: '#/components/schemas/Output_RoutingMappingDto'
        dialect:
          type: string
        localAvailable:
          type: boolean
        mapping:
          $ref: '#/components/schemas/Output_RoutingMappingDto'
        operation:
          type: string
        targets:
          items:
            $ref: '#/components/schemas/Output_RoutingTargetDto'
          type: array
      required:
        - operation
        - dialect
        - defaultMapping
        - mapping
        - custom
        - localAvailable
        - targets
      type: object
    Output_Envelope:
      properties:
        error:
          $ref: '#/components/schemas/Output_EnvelopeBody'
      required:
        - error
      type: object
    Output_RoutingMappingDto:
      properties:
        implementation:
          type: string
        target:
          anyOf:
            - $ref: '#/components/schemas/Output_RoutingTargetDto'
            - type: 'null'
      required:
        - implementation
        - target
      type: object
    Output_RoutingTargetDto:
      description: One exact operation/protocol key accepted by a conversion driver.
      properties:
        dialect:
          type: string
        operation:
          type: string
      required:
        - operation
        - dialect
      type: object
    Output_EnvelopeBody:
      properties:
        code:
          type: string
        message:
          type: string
      required:
        - code
        - message
      type: object
  securitySchemes:
    bearer:
      scheme: bearer
      type: http
    anthropicKey:
      in: header
      name: x-api-key
      type: apiKey
    googleKey:
      in: header
      name: x-goog-api-key
      type: apiKey
    queryKey:
      in: query
      name: key
      type: apiKey
    consoleSession:
      in: cookie
      name: gproxy_session
      type: apiKey

````

## Related topics

- [GET /admin/api/providers/{id}](https://gproxy.leenhawk.com/api-reference/management/get-adminapiproviders-1.md)
- [GET /admin/api/providers](https://gproxy.leenhawk.com/api-reference/management/get-adminapiproviders.md)
- [GET /admin/api/provider-models/{id}](https://gproxy.leenhawk.com/api-reference/management/get-adminapiprovider-models-1.md)
- [GET /admin/api/provider-models](https://gproxy.leenhawk.com/api-reference/management/get-adminapiprovider-models.md)
- [GET /admin/api/provider-rule-sets/{id}](https://gproxy.leenhawk.com/api-reference/management/get-adminapiprovider-rule-sets-1.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.