PydanticAI Discovery API

The discovery API from PydanticAI — 1 operation(s) for discovery.

GitHub OpenAPI

Operations 1

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

1 of 1 operations are conformant: apis.io called them with no credentials and the responses matched this contract. Checked 2026-11-12. how this works · status file

GET /specs List region-specific Logfire API specs · List available API specifications conformant #
Ask an LLM
“Which OpenAPI specs exist for the Logfire API in each region?”
“How do I get the per-region API specification URLs?”
Tell an agent
List the available Logfire API specifications.
Show me the region-specific OpenAPI specs for Logfire.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/pydantic-ai:pydantic-ai-discovery-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

pydantic-ai-discovery-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Pydantic Discovery API
  version: 1.0.0
  summary: Discovery document for Pydantic's region-partitioned APIs.
  description: Pydantic Logfire is region-partitioned.
  contact:
    name: Pydantic
    url: https://pydantic.dev
    email: hello@pydantic.dev
  license:
    name: Pydantic Terms of Service
    url: https://pydantic.dev/legal/terms-of-service
servers:
- url: https://pydantic.dev/api/v1
  description: Host Discovery — version 1
tags:
- name: Discovery
paths:
  /specs:
    get:
      summary: List available API specifications
      description: Returns a list of region-specific OpenAPI specifications for the Pydantic Logfire API. Use the `openapi_url` of each entry to fetch the full per-region specification.
      operationId: listApiSpecs
      tags:
      - Discovery
      responses:
        '200':
          description: Available region-specific API specifications.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SpecList'
        '400':
          description: Bad request — the request was malformed (for example, an invalid `Idempotency-Key` header).
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '404':
          description: The requested resource was not found.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '405':
          description: Method not allowed. This API is read-only; only `GET`, `HEAD`, and `OPTIONS` are accepted.
          headers:
            Allow:
              description: RFC 9110 §10.2.1 — methods accepted on the resource.
              schema:
                type: string
                examples:
                - GET, HEAD, OPTIONS
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '429':
          description: Too many requests — the advertised rate-limit budget has been exceeded.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        default:
          description: Error response.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
components:
  schemas:
    SpecList:
      type: object
      required:
      - specs
      properties:
        specs:
          type: array
          description: Available API specifications, one per region.
          items:
            $ref: '#/components/schemas/SpecRef'
    Problem:
      type: object
      description: Typed error response following RFC 9457 Problem Details for HTTP APIs.
      required:
      - type
      - title
      - status
      properties:
        type:
          type: string
          format: uri
          description: URI reference identifying the problem type.
          default: about:blank
          examples:
          - https://pydantic.dev/api/v1/errors/not-found
        title:
          type: string
          description: Short, human-readable summary of the problem type.
          examples:
          - Not Found
        status:
          type: integer
          description: HTTP status code mirrored in the response body.
          minimum: 100
          maximum: 599
          examples:
          - 404
        detail:
          type: string
          description: Human-readable explanation specific to this occurrence.
          examples:
          - The requested resource was not found.
        instance:
          type: string
          format: uri-reference
          description: URI reference identifying the specific occurrence of the problem.
        code:
          type: string
          description: Stable machine-readable error code.
          examples:
          - not_found
          - invalid_idempotency_key
        request_id:
          type: string
          description: Server-assigned request identifier, useful when reporting issues.
    SpecRef:
      type: object
      required:
      - region
      - name
      - openapi_url
      - base_url
      properties:
        region:
          type: string
          description: Short region identifier.
          examples:
          - us
          - eu
        name:
          type: string
          description: Human-readable name for this API.
          examples:
          - Pydantic Logfire (US)
        openapi_url:
          type: string
          format: uri
          description: URL of the OpenAPI specification for this API.
          examples:
          - https://logfire-us.pydantic.dev/api/openapi.json
        base_url:
          type: string
          format: uri
          description: Base URL at which this API is served.
          examples:
          - https://logfire-us.pydantic.dev/api
        documentation_url:
          type: string
          format: uri
          description: URL of human-readable documentation for this API.
x-provenance:
  method: harvested
  publisher: PydanticAI
  source: https://pydantic.dev/openapi.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)