Skip to content

Public API for creating Gateway Api Keys #1996

@parmsib

Description

@parmsib

Description

I am evaluating Logfire and Pydantic AI Gateway for my organization, and have run into what would be a blocker for us.

There seems to be no documented public API for creating Pydantic AI Gateway Api Keys.

Having such an endpoint would be useful for us for dynamically adding and removing budgets (as this can be configured and tracked per API key) based on events in a separate system.

Inspecting outgoing requests when managing Gateway API keys in the UI reveals the endpoint
POST https://logfire-eu.pydantic.dev/ui-api/organizations/:org/gateway/projects/:project/api-keys/
I can't find any documentation for this endpoint or related ones anyway.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions