PydanticAI · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Pydantic Logfire OAuth API

8 actions 8 updates phrasing extends openapi/pydantic-ai-oauth-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for PydanticAI's API. It is a proposal applied on top of the contract, not a document PydanticAI publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 8

$.info
$.paths['/oauth/authorize'].get
$.paths['/oauth/authorize'].post
$.paths['/oauth/grantable-scopes'].get
$.paths['/oauth/token'].post
$.paths['/oauth/device/code'].post
$.paths['/oauth/register'].post
$.paths['/oauth/register/{client_id}'].delete

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Pydantic Logfire OAuth API
  version: 1.0.0
extends: openapi/pydantic-ai-oauth-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-21'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 7
- target: $.paths['/oauth/authorize'].get
  update:
    x-apievangelist-phrasing:
      intent: Start an OAuth authorization redirect
      effect: read
      questions:
      - How do I send a user to the Logfire consent page to authorize an app?
      - What scopes can I request when starting OAuth authorization?
      instructions:
      - text: Start OAuth authorization for client {client_id} redirecting to {redirect_uri}.
        slots:
          client_id: query.client_id
          redirect_uri: query.redirect_uri
      - text: Open the consent page for {client_id} with scopes {scope}.
        slots:
          client_id: query.client_id
          scope: query.scope
      method: generated
      generated: '2026-11-21'
- target: $.paths['/oauth/authorize'].post
  update:
    x-apievangelist-phrasing:
      intent: Submit user consent for OAuth authorization
      effect: write
      questions:
      - How do I exchange the user's consent for an authorization code?
      - Can I limit the scopes granted when a user consents?
      instructions:
      - text: Submit consent for client {client_id} on org {organization_id} with scopes {scope}.
        slots:
          client_id: requestBody.client_id
          organization_id: requestBody.organization_id
          scope: requestBody.scope
      - text: Exchange the user's consent for an authorization code for {client_id} in org {organization_id}.
        slots:
          client_id: requestBody.client_id
          organization_id: requestBody.organization_id
      method: generated
      generated: '2026-11-21'
- target: $.paths['/oauth/grantable-scopes'].get
  update:
    x-apievangelist-phrasing:
      intent: Check which scopes a user can grant
      effect: read
      questions:
      - Which scopes can the current user actually grant for an organization?
      - Can I check grantable scopes for a project before asking for consent?
      instructions:
      - text: List grantable scopes {scopes} for organization {organization_id}.
        slots:
          scopes: query.scopes
          organization_id: query.organization_id
      - text: Check which of {scopes} I can grant in org {organization_id} and project {project_id}.
        slots:
          scopes: query.scopes
          organization_id: query.organization_id
          project_id: query.project_id
      method: generated
      generated: '2026-11-21'
- target: $.paths['/oauth/token'].post
  update:
    x-apievangelist-phrasing:
      intent: Exchange an authorization code for a token
      effect: write
      questions:
      - How do I turn an authorization code into an access token?
      - Can I refresh an expired OAuth token?
      instructions:
      - text: Exchange authorization code {code} for a token using verifier {code_verifier}.
        slots:
          code: requestBody.code
          code_verifier: requestBody.code_verifier
      - text: Refresh token {refresh_token} and return a new access token.
        slots:
          refresh_token: requestBody.refresh_token
      method: generated
      generated: '2026-11-21'
- target: $.paths['/oauth/device/code'].post
  update:
    x-apievangelist-phrasing:
      intent: Request a device authorization code
      effect: write
      questions:
      - How do I get a device code so a user can authorize a device app?
      - Where does a user enter the device code to authorize?
      instructions:
      - text: Request a device code for client {client_id}.
        slots:
          client_id: requestBody.client_id
      - text: Start device flow for {client_id} with scopes {scope}.
        slots:
          client_id: requestBody.client_id
          scope: requestBody.scope
      method: generated
      generated: '2026-11-21'
- target: $.paths['/oauth/register'].post
  update:
    x-apievangelist-phrasing:
      intent: Register an OAuth client dynamically
      effect: write
      questions:
      - How do I register an OAuth client without manual setup?
      - Can I register a public client that uses PKCE?
      instructions:
      - text: Register a new OAuth client named {client_name}.
        slots:
          client_name: requestBody.client_name
      - text: Register a public client {client_name} with redirect URIs {redirect_uris}.
        slots:
          client_name: requestBody.client_name
          redirect_uris: requestBody.redirect_uris
      method: generated
      generated: '2026-11-21'
- target: $.paths['/oauth/register/{client_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Deregister an OAuth client
      effect: destructive
      questions:
      - How do I unregister an OAuth client I registered earlier?
      - What happens to tokens when a client is deregistered?
      instructions:
      - text: Deregister OAuth client {client_id}.
        slots:
          client_id: path.client_id
      - text: Unregister the client {client_id} and invalidate its tokens.
        slots:
          client_id: path.client_id
      method: generated
      generated: '2026-11-21'

Work with this as data

Every overlay 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 openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • 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 overlay
curl "https://apis.io/api/v1/overlays/pydantic-ai-oauth-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?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.