PydanticAI · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Pydantic Logfire Usage API

7 actions 7 updates phrasing extends openapi/pydantic-ai-usage-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 7

$.info
$.paths['/v1/usage/daily/'].get
$.paths['/v1/usage/monthly/'].get
$.paths['/v1/usage/projects/daily/'].get
$.paths['/v1/usage/projects/monthly/'].get
$.paths['/v1/usage/projects/{project_id}/daily/'].get
$.paths['/v1/usage/projects/{project_id}/monthly/'].get

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 Usage API
  version: 1.0.0
extends: openapi/pydantic-ai-usage-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: 6
- target: $.paths['/v1/usage/daily/'].get
  update:
    x-apievangelist-phrasing:
      intent: Get organization daily token usage
      effect: read
      questions:
      - How much token usage has my whole organization racked up each day over a date range?
      - Can I see daily usage across all projects for the last three months?
      instructions:
      - text: Show daily organization usage from {start_date} to {end_date}.
        slots:
          start_date: query.start_date
          end_date: query.end_date
      - text: Get daily token usage across every project in the org between {start_date} and {end_date}.
        slots:
          start_date: query.start_date
          end_date: query.end_date
      method: generated
      generated: '2026-11-21'
- target: $.paths['/v1/usage/monthly/'].get
  update:
    x-apievangelist-phrasing:
      intent: Get organization monthly token usage
      effect: read
      questions:
      - What is my organization's total monthly token usage since account opening?
      - Can I see a monthly usage history for the whole organization?
      instructions:
      - text: Show monthly organization usage from {start_date} to {end_date}.
        slots:
          start_date: query.start_date
          end_date: query.end_date
      - text: Get monthly token usage across all projects in the org since {start_date}.
        slots:
          start_date: query.start_date
      method: generated
      generated: '2026-11-21'
- target: $.paths['/v1/usage/projects/daily/'].get
  update:
    x-apievangelist-phrasing:
      intent: Get daily usage per project
      effect: read
      questions:
      - How much did each of my projects use every day over a period?
      - Can I page through daily usage broken down by project?
      instructions:
      - text: Show daily usage for all projects from {start_date} to {end_date}.
        slots:
          start_date: query.start_date
          end_date: query.end_date
      - text: List daily usage per project, {limit} at a time from offset {offset}, between {start_date} and {end_date}.
        slots:
          limit: query.limit
          offset: query.offset
          start_date: query.start_date
          end_date: query.end_date
      method: generated
      generated: '2026-11-21'
- target: $.paths['/v1/usage/projects/monthly/'].get
  update:
    x-apievangelist-phrasing:
      intent: Get monthly usage per project
      effect: read
      questions:
      - What is each project's monthly token usage?
      - Can I see a monthly usage breakdown for every project in the org?
      instructions:
      - text: Show monthly usage for all projects from {start_date} to {end_date}.
        slots:
          start_date: query.start_date
          end_date: query.end_date
      - text: Get one row per project and month between {start_date} and {end_date}.
        slots:
          start_date: query.start_date
          end_date: query.end_date
      method: generated
      generated: '2026-11-21'
- target: $.paths['/v1/usage/projects/{project_id}/daily/'].get
  update:
    x-apievangelist-phrasing:
      intent: Get one project's daily usage
      effect: read
      questions:
      - How much did a single project use each day?
      - Can I see daily usage for one project over a date range?
      instructions:
      - text: Show daily usage for project {project_id} from {start_date} to {end_date}.
        slots:
          project_id: path.project_id
          start_date: query.start_date
          end_date: query.end_date
      - text: Get daily token usage of project {project_id} between {start_date} and {end_date}.
        slots:
          project_id: path.project_id
          start_date: query.start_date
          end_date: query.end_date
      method: generated
      generated: '2026-11-21'
- target: $.paths['/v1/usage/projects/{project_id}/monthly/'].get
  update:
    x-apievangelist-phrasing:
      intent: Get one project's monthly usage
      effect: read
      questions:
      - What is a single project's monthly token usage?
      - Can I see monthly usage for one project since account opening?
      instructions:
      - text: Show monthly usage for project {project_id} from {start_date} to {end_date}.
        slots:
          project_id: path.project_id
          start_date: query.start_date
          end_date: query.end_date
      - text: Get monthly token usage of project {project_id} between {start_date} and {end_date}.
        slots:
          project_id: path.project_id
          start_date: query.start_date
          end_date: query.end_date
      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-usage-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.