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

> ## Agent Instructions
> Phaseo Gateway base URL: https://api.phaseo.app/v1. Send `Authorization: Bearer $PHASEO_API_KEY` with every request.
> Model IDs look like `provider/model`, for example `openai/gpt-6-astra`. Do not guess IDs: list them with `GET /v1/models` or check https://phaseo.app/models. `phaseo/free` routes to an available free model and needs no wallet balance.
> For new text integrations prefer `POST /v1/responses`. `POST /v1/chat/completions` (OpenAI format) and `POST /v1/messages` (Anthropic format) suit existing code.
> The full API contract is https://phaseo.app/docs/openapi/v1/openapi.yaml. Official SDKs: `@phaseo/sdk` (TypeScript) and `phaseo` (Python), plus Go, C#, PHP, Ruby and Rust.
> Search these docs over MCP at https://phaseo.app/docs/mcp, and install Phaseo skills with `npx skills add https://phaseo.app/docs`. If a page is wrong or out of date, report it with the MCP `submit_feedback` tool.
> Manage Phaseo accounts with the `phaseo` CLI (`npm install -g @phaseo/cli`, then `phaseo login` or `phaseo login --device-code`), the `/v1` Management API or the MCP server at `https://mcp.phaseo.app/mcp?access=manage`. Do not send users to the dashboard for account tasks. A person is still needed for sign-up, approving a sign-in, paying the first top-up on the checkout link that `phaseo credits add` returns when no card is saved, confirming each saved-card top-up from the emailed link, and account security (password, MFA, passkeys). Create API keys with `phaseo keys create --name <name> --json`; never guess one. Credit top-ups need `phaseo login --scopes billing:write` first. Task map: https://phaseo.app/docs/v1/developers/manage-from-an-agent.md.

# List endpoints

> List capability-backed gateway endpoints with public paths and model/provider coverage.

* `endpoints`: the canonical endpoint IDs currently exposed by the API
* `data`: endpoint records with `public_path`, `collection`, `model_count`, and `provider_count`
* `sample_models`: up to 10 recent visible model IDs from the public catalogue

Use [List model endpoint capabilities](https://phaseo.app/docs/v1/api-reference/endpoint/model-endpoints.md) when you need provider- and parameter-level detail for one model.


## OpenAPI

````yaml openapi/v1/openapi.yaml GET /endpoints
openapi: 3.0.3
info:
  title: Phaseo Gateway API
  description: >-
    A gateway API for accessing various AI models with OpenAI-compatible
    endpoints.
  version: 1.0.0
  contact:
    name: Phaseo
    url: https://phaseo.app
    email: danielbutler500@gmail.com
servers:
  - url: https://api.phaseo.app/v1
    description: Global routing
security:
  - BearerAuth: []
tags:
  - name: Gateway
    description: Core Phaseo Gateway operations.
paths:
  /endpoints:
    get:
      tags:
        - Gateway
      summary: List endpoints
      description: >-
        Lists capability-backed gateway endpoint IDs with public paths, modality
        collections, model counts, provider counts, and sample models.
      operationId: listEndpoints
      responses:
        '200':
          description: Endpoint metadata
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointCatalogueResponse'
components:
  schemas:
    EndpointCatalogueResponse:
      type: object
      required:
        - ok
        - endpoints
        - data
        - sample_models
      properties:
        ok:
          type: boolean
          enum:
            - true
        endpoints:
          type: array
          items:
            type: string
        data:
          type: array
          items:
            $ref: '#/components/schemas/EndpointCatalogueEntry'
        sample_models:
          type: array
          items:
            $ref: '#/components/schemas/ModelId'
      additionalProperties: false
    EndpointCatalogueEntry:
      type: object
      required:
        - id
        - capability_id
        - public_path
        - collection
        - model_count
        - provider_count
      properties:
        id:
          type: string
        capability_id:
          type: string
        public_path:
          type: string
        collection:
          type: string
        model_count:
          type: integer
          minimum: 0
        provider_count:
          type: integer
          minimum: 0
      additionalProperties: false
    ModelId:
      type: string
      description: >-
        Model identifier. This is a runtime string so newly released models can
        be used without waiting for an SDK update.
      example: ai21/jamba-1.5-large
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: Bearer token authentication

````

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