PydanticAI Projects API

The Projects API from PydanticAI — 16 operation(s) for projects.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).
Business capability
Observability Management BC-4220.20

Operations 29

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/ List projects · List Projects #
Ask an LLM
“Which projects do I have access to?”
“Can I see all my projects in one list?”
Tell an agent
List my projects.
Show every project I own.
POST /v1/projects/ Create a project · Create Project #
Ask an LLM
“How do I create a new project?”
“Can I set a project's visibility when creating it?”
Tell an agent
Create a project called {project_name}.
Create project {project_name} with visibility {visibility}.
GET /v1/projects/{project_id}/ Get a project's details · Get Project Info #
Ask an LLM
“What are the details of one project?”
“Can I look up a project by its ID?”
Tell an agent
Get project {project_id}.
Show me the details of project {project_id}.
PUT /v1/projects/{project_id}/ Update a project · Update Project #
Ask an LLM
“Can I rename a project?”
“How do I change a project's description or visibility?”
Tell an agent
Rename project {project_id} to {project_name}.
Set the visibility of project {project_id} to {visibility}.
DELETE /v1/projects/{project_id}/ Delete a project · Delete Project #
Ask an LLM
“How do I delete a project?”
“Can I remove a project I no longer use?”
Tell an agent destructive · confirm first
Delete project {project_id}.
Remove the project {project_id} from my account.
GET /v1/projects/{project_id}/dashboards/ List a project's dashboards · List Dashboards #
Ask an LLM
“Which dashboards exist in a project?”
“Can I see all the dashboards of one project?”
Tell an agent
List the dashboards in project {project_id}.
Show every dashboard for project {project_id}.
POST /v1/projects/{project_id}/dashboards/ Create a dashboard · Create Dashboard #
Ask an LLM
“How do I add a new dashboard to a project?”
“Can I give a dashboard a slug and definition when creating it?”
Tell an agent
Create a dashboard named {name} with slug {slug} and definition {definition} in project {project_id}.
Add dashboard {name} to project {project_id} using definition {definition} and slug {slug}.
GET /v1/projects/{project_id}/dashboards/{dashboard_id}/ Get a dashboard · Get Dashboard #
Ask an LLM
“What is the definition of one dashboard?”
“Can I fetch a single dashboard by its ID?”
Tell an agent
Get dashboard {dashboard_id} in project {project_id}.
Show the definition of dashboard {dashboard_id} for project {project_id}.
PUT /v1/projects/{project_id}/dashboards/{dashboard_id}/ Update a dashboard · Update Dashboard #
Ask an LLM
“Can I change a dashboard's definition?”
“How do I rename a dashboard?”
Tell an agent
Rename dashboard {dashboard_id} in project {project_id} to {name}.
Update the definition of dashboard {dashboard_id} in project {project_id} to {definition}.
DELETE /v1/projects/{project_id}/dashboards/{dashboard_id}/ Delete a dashboard · Delete Dashboard #
Ask an LLM
“How do I delete a dashboard?”
“Can I remove a dashboard from a project?”
Tell an agent destructive · confirm first
Delete dashboard {dashboard_id} from project {project_id}.
Remove dashboard {dashboard_id} in project {project_id}.
GET /v1/projects/{project_id}/alerts/ List a project's alerts · List Alerts #
Ask an LLM
“Which alerts are set up in a project?”
“Can I see all the alerts for one project?”
Tell an agent
List the alerts in project {project_id}.
Show every alert configured for project {project_id}.
POST /v1/projects/{project_id}/alerts/ Create an alert · Create Alert #
Ask an LLM
“How do I create an alert that watches a query?”
“Can I choose how often an alert runs and where it notifies?”
Tell an agent
Create an alert named {name} in project {project_id} that runs {frequency} and notifies on {notify_when} for query {query}.
Add alert {name} to project {project_id} with watermark {watermark} and time window {time_window}.
GET /v1/projects/{project_id}/alerts/{alert_id}/ Get an alert · Get Alert #
Ask an LLM
“What query and frequency does one alert use?”
“Can I fetch a single alert by its ID?”
Tell an agent
Get alert {alert_id} in project {project_id}.
Show the query and frequency of alert {alert_id} for project {project_id}.
PUT /v1/projects/{project_id}/alerts/{alert_id}/ Update an alert · Update Alert #
Ask an LLM
“Can I change an alert's query or frequency?”
“How do I pause an alert without deleting it?”
Tell an agent
Change the query of alert {alert_id} in project {project_id} to {query}.
Set alert {alert_id} in project {project_id} to active {active}.
DELETE /v1/projects/{project_id}/alerts/{alert_id}/ Delete an alert · Delete Alert #
Ask an LLM
“How do I delete an alert?”
“Can I stop an alert by removing it?”
Tell an agent destructive · confirm first
Delete alert {alert_id} from project {project_id}.
Remove the alert {alert_id} in project {project_id}.
POST /v1/projects/{project_id}/write-tokens/ Create a write token · Create Write Token #
Ask an LLM
“How do I create a write token for a project?”
“Can I set an expiry date on a new write token?”
Tell an agent
Create a write token for project {project_id}.
Create a write token for project {project_id} that expires at {expires_at}.
GET /v1/projects/{project_id}/write-tokens/ List a project's write tokens · List Write Tokens #
Ask an LLM
“Which write tokens exist for a project?”
“Can I see all the write tokens a project has?”
Tell an agent
List the write tokens for project {project_id}.
Show every write token in project {project_id}.
POST /v1/projects/{project_id}/write-tokens/{token_id}/rotate/ Rotate a write token · Rotate Write Token #
Ask an LLM
“How do I rotate a write token so the old one stops working?”
“Can I get a fresh write token atomically?”
Tell an agent destructive · confirm first
Rotate write token {token_id} in project {project_id}.
Rotate token {token_id} for project {project_id} and return the new token.
PATCH /v1/projects/{project_id}/write-tokens/{token_id}/expire/ Expire a write token immediately · Expire Write Token #
Ask an LLM
“How do I force a write token to expire right now?”
“Can I revoke a write token without deleting it?”
Tell an agent destructive · confirm first
Expire write token {token_id} in project {project_id} now.
Force token {token_id} of project {project_id} to expire immediately.
DELETE /v1/projects/{project_id}/write-tokens/{token_id}/ Revoke a write token · Revoke Write Token #
Ask an LLM
“How do I revoke a write token?”
“Can I remove a write token from a project?”
Tell an agent destructive · confirm first
Revoke write token {token_id} in project {project_id}.
Remove write token {token_id} from project {project_id}.
POST /v1/projects/{project_id}/read-tokens/ Create a read token for a project · Create Read Token #
Ask an LLM
“How do I issue a new read token for a project?”
“Can I set an expiry date when creating a read token?”
Tell an agent
Create a read token for project {project_id}.
Issue a new read token for project {project_id} that expires at {expires_at}.
GET /v1/projects/{project_id}/read-tokens/ List a project's read tokens · List Read Tokens #
Ask an LLM
“Which read tokens exist for my Logfire project?”
“Can I see every read token issued for a project?”
Tell an agent
List read tokens for project {project_id}.
Show all read access tokens in project {project_id}.
POST /v1/projects/{project_id}/read-tokens/{token_id}/rotate/ Rotate a read token · Rotate Read Token #
Ask an LLM
“How do I replace a compromised read token with a new one?”
“Is there an atomic way to expire an old read token and issue a new one?”
Tell an agent destructive · confirm first
Rotate read token {token_id} in project {project_id}.
Replace read token {token_id} in project {project_id} with a new one.
PATCH /v1/projects/{project_id}/read-tokens/{token_id}/expire/ Expire a read token immediately · Expire Read Token #
Ask an LLM
“Can I force a read token to expire right away?”
“Does expiring a read token reset its expiry to now?”
Tell an agent destructive · confirm first
Expire read token {token_id} in project {project_id}.
Force read token {token_id} to expire now for {project_id}.
DELETE /v1/projects/{project_id}/read-tokens/{token_id}/ Revoke a read token · Revoke Read Token #
Ask an LLM
“How do I permanently revoke a read token?”
“Can I delete a read token from a project?”
Tell an agent destructive · confirm first
Revoke read token {token_id} in project {project_id}.
Delete read token {token_id} from project {project_id}.
GET /v1/projects/{project_id}/variables/ Get a project's variable configuration · Get Variables Config #
Ask an LLM
“What variables are configured for my project?”
“Can I fetch the full variables config for a project?”
Tell an agent
Get the variables configuration for project {project_id}.
Show every variable definition in 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 in a project?”
“Can I set a JSON schema and rollout config when creating a variable?”
Tell an agent
Create variable {name} in project {project_id} with schema {json_schema} and rollout {rollout}.
Add a new variable {name} to project {project_id} described as {description}, schema {json_schema}, rollout {rollout}.
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 in my project?”
“Can I look up a variable by name and see its latest version?”
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 unchanged 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-projects-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-projects-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Pydantic Logfire Projects 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 (101 KB total) ---
# Full source: https://artifacts.apis.io/pydantic-ai/openapi/pydantic-ai-projects-api-openapi.yml