---
title: "List Gateway Endpoints"
method: GET
path: "/v1/gateway/endpoints/"
tags: ["Gateway"]
---

# List Gateway Endpoints

`GET /v1/gateway/endpoints/`

## Request

- Base URL: `https://logfire-api.pydantic.dev/api`
- URL: `https://logfire-api.pydantic.dev/api/v1/gateway/endpoints/`
- Auth: OAuth 2
  - Authorization code: `api/oauth/authorize`
  - Token URL: `/api/oauth/token` scopes: `organization:read_gateway`
- TypeScript: <https://skmtc.dev/pydantic/apis/pydantic-logfire-api/docs/v1/gateway/endpoints/get.ts> (a function with typed inputs; its response is checked against the schema)

List organization-owned Endpoints.

## Query parameters

- `limit` integer
- `cursor` string, nullable
- `slug` string, nullable

## Response `200`

Successful Response

- PublicGatewayEndpointsPage
  - `endpoints` PublicGatewayEndpointRead[], required
    - `id` string, uuid, required
    - `slug` string, required
    - `description` string, nullable, required
    - `providers` PublicGatewayEndpointProviderRead[], required
      - `provider_id` string, uuid, required
      - `priority` integer, required
      - `weight` number, required
      - `active` boolean, required
    - `created_at` string, date-time, required
  - `next_cursor` string, nullable, required

## Other responses

- `403`: The organization plan does not include Gateway provider management
- `422`: Validation Error
- `429`: Rate limit exceeded

---

[API](https://skmtc.dev/pydantic/apis/pydantic-logfire-api.md) - [All operations](https://skmtc.dev/pydantic/apis/pydantic-logfire-api/llms.txt) - [OpenAPI document](https://skmtc.dev/pydantic/apis/pydantic-logfire-api/revisions/7996e45256f4?raw)
