How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

PydanticAI Variables API

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

PydanticAI Variables API is one of 17 APIs that PydanticAI publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 1 JSON Schema definition.

Tagged areas include Variables. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, a getting-started guide, pricing, and 1 JSON Schema.

This API exposes 4 operations across 2 paths, and defines 31 schemas. It is described by OpenAPI 3.2.0, at version 0.1.0.

Requests are made against 2 base URLs: https://logfire-us.pydantic.dev/api, https://logfire-eu.pydantic.dev/api.

4 operations 2 paths 31 schemas 2 GET1 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
0.1.0
Base URL
https://pydantic.dev
Authentication
OAuth 2.0
Terms of Service
Resource Areas
1

Authentication & Security 1

PydanticAI Variables API declares 1 security scheme for authenticating requests. It supports OAuth 2.0 (OAuth2AuthorizationCodeBearer) using the authorizationCode flow, exposing 38 scopes.

Paths & Operations 4

Across 2 paths, the API surfaces 4 operations — 2 GET, 1 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Variables 4
GET
/v1/projects/{project_id}/variables/
Get Variables Config
get_variables_config_v1_projects__project_id__variables__get 1 param → 200429422
POST
/v1/projects/{project_id}/variables/
Create Variable
create_variable_v1_projects__project_id__variables__post 1 param body → 201429422
GET
/v1/projects/{project_id}/variables/{name}/
Get Variable By Name
get_variable_by_name_v1_projects__project_id__variables__name___get 2 params → 200429422
PUT
/v1/projects/{project_id}/variables/{name}/
Update Variable
update_variable_v1_projects__project_id__variables__name___put 2 params body → 200429422

Schemas 31

The contract defines 31 schemas that model the data the API accepts and returns. The most detailed are VariableDefinitionRead (22 properties), VariableConfig (14 properties), LabelRead (11 properties), VariableDefinitionUpdateRequest (11 properties). Each schema is shown below with its type and property counts.

ValueEquals
object
Condition that matches when an attribute equals a specific value.
3 properties 2 required
LabelRead
object
A label as read from the database.
11 properties 11 required
ConditionData
object
Condition for targeting, stored as JSONB. Different condition types have different fields, so all are optional. The 'kind' field determines which other fields…
5 properties
VariableDefinitionRead
object
Variable definition with current labels and latest version assembled.
22 properties 22 required
JSONBData
HTTPExceptionError
object
1 property 1 required
LabelRef
object
A label pointing via reference to another label, 'latest', or 'codedefault'.
2 properties 1 required
LabelRefLabelData
object
Label data pointing to another label.
2 properties 2 required
VariableDefinitionUpdateRequest
object
Request model for updating a variable definition. Should be the same as VariableDefinitionCreateRequest, just with total=False.
11 properties
ValueMatchesRegex
object
Condition that matches when an attribute value matches a regex pattern.
3 properties 2 required
RolloutData
object
Rollout configuration stored as JSONB.
2 properties 1 required
Rollout
object
Configuration for label selection with weighted probabilities.
1 property 1 required
LatestVersion
object
The latest version of a variable, always carrying its serialized value.
2 properties 2 required
LabeledValue
object
A label pointing to a version with an inline serialized value.
2 properties 2 required
VariableConfig
object
Configuration for a single managed variable including labels and rollout rules.
14 properties 4 required
ValueDoesNotEqual
object
Condition that matches when an attribute does not equal a specific value.
3 properties 2 required
OverrideData
object
Override configuration stored as JSONB.
4 properties 2 required
LatestLabelData
object
Label data pointing to the latest version.
1 property 1 required
ValidationError
object
5 properties 3 required
KeyIsPresent
object
Condition that matches when an attribute key is present.
2 properties 1 required
VersionLabelData
object
Label data pointing to a version by serialized value.
3 properties 2 required
VariableDefinitionCreateRequest
object
Request model for creating a variable definition.
11 properties 5 required
VersionRead
object
A version as read from the database.
8 properties 8 required
HTTPValidationError
object
1 property
KeyIsNotPresent
object
Condition that matches when an attribute key is not present.
2 properties 1 required
ValueDoesNotMatchRegex
object
Condition that matches when an attribute value does not match a regex pattern.
3 properties 2 required
ValueIsNotIn
object
Condition that matches when an attribute value is not in a set of values.
3 properties 2 required
VariablesConfig
object
Container for all managed variable configurations.
1 property 1 required
RolloutOverride
object
An override of the default rollout when specific conditions are met.
2 properties 2 required
ValueIsIn
object
Condition that matches when an attribute value is in a set of values.
3 properties 2 required
CodeDefaultLabelData
object
Label data indicating to use the code default value.
1 property 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

pydantic-ai-variables-api-openapi.yml Raw ↑

Other APIs PydanticAI publishes across the network.

PydanticAI Alerts API
PydanticAI API Keys API
PydanticAI Audit Logs API
PydanticAI Billing API
PydanticAI Channels API
PydanticAI Dashboards API
PydanticAI discovery API
PydanticAI Group Mappings API
PydanticAI Instance API
PydanticAI Invitations API
PydanticAI Members API
PydanticAI OAuth API
Where this information came from

This is an independent, third-party profile of PydanticAI Variables API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.