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

# List Policies

> Every saved policy, newest first. `default` always exists.



## OpenAPI

````yaml GET /router/policies
openapi: 3.0.1
info:
  title: Electron Hub API
  description: >-
    Unified API platform integrating 200+ AI models for chat, image generation,
    speech-to-text, embeddings, and more.
  version: 1.0.0
  contact:
    name: Electron Hub Support
    email: support@electronhub.ai
    url: https://discord.com/invite/electronhub
  license:
    name: MIT
servers:
  - url: https://api.electronhub.ai/v1
    description: Production API v1
security:
  - bearerAuth: []
paths:
  /router/policies:
    get:
      tags:
        - Router
      summary: List policies
      description: Every saved policy, newest first. `default` always exists.
      operationId: listRouterPolicies
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  items:
                    type: array
                    items:
                      type: object
              example:
                items:
                  - policyId: default
                    name: My routing policy
                    mode: auto
                    version: 0
                    updatedAt: null
                  - policyId: imported
                    name: Work
                    mode: auto
                    version: 1
                    updatedAt: '2026-11-08T07:34:14.941183Z'
                  - policyId: work
                    name: Work
                    mode: auto
                    version: 4
                    updatedAt: '2026-11-08T07:34:14.937184Z'
        '403':
          description: Proxy keys cannot manage Router settings
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  message: Only master keys can manage Router settings.
                  type: error
                  param: null
                  code: 403
components:
  schemas:
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - message
            - type
          properties:
            message:
              type: string
            type:
              type: string
            code:
              type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Enter your API key (starts with 'ek-')

````

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