PydanticAI Variables API

The Variables API from PydanticAI — 2 operation(s) for variables.

GitHub OpenAPI
Business capability
Feature Flag Management BC-4210.50

Operations 4

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

GET /v1/projects/{project_id}/variables/ Get a project's variables configuration · Get Variables Config #
Ask an LLM
“What does my project's variables configuration look like for remote variable providers?”
“Can I see the full variables config for a project?”
Tell an agent
Get the variables configuration for project {project_id}.
Show the full variables config of project {project_id}.
POST /v1/projects/{project_id}/variables/ Create a variable definition · Create Variable #
Ask an LLM
“How do I define a new variable with a JSON schema and rollout?”
“Can I create a variable with labels and aliases?”
Tell an agent
Create variable {name} in project {project_id} with schema {json_schema} and rollout {rollout}.
Add variable {name} to project {project_id} described as {description}, schema {json_schema}, rollout {rollout}, overrides {overrides}.
GET /v1/projects/{project_id}/variables/{name}/ Get a variable definition by name · Get Variable By Name #
Ask an LLM
“What is the current definition of a variable by its name?”
“Can I look up one variable by name in a project?”
Tell an agent
Get variable {name} in project {project_id}.
Show the current definition of variable {name} in project {project_id}.
PUT /v1/projects/{project_id}/variables/{name}/ Update a variable definition · Update Variable #
Ask an LLM
“How do I change an existing variable's schema or rollout?”
“Will fields I leave out be changed when updating a variable?”
Tell an agent
Update variable {name} in project {project_id} with schema {json_schema} and rollout {rollout}.
Change the description of variable {name} in project {project_id} to {description}.

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-variables-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-variables-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Pydantic Logfire Variables API
  summary: Public API to access Logfire resources
  description: 'To be able to use the Logfire API, you need to either create an

    OAuth App or a

    Personal Access Token.'
  termsOfService: https://pydantic.dev/legal/terms-of-service
  version: 0.1.0
servers:
- url: https://logfire-us.pydantic.dev/api
  description: Pydantic Logfire API (US)
- url: https://logfire-eu.pydantic.dev/api
  description: Pydantic Logfire API (EU)
tags:


# --- truncated at 32 KB (32 KB total) ---
# Full source: https://artifacts.apis.io/pydantic-ai/openapi/pydantic-ai-variables-api-openapi.yml