L
Langfuse Public API
Details
- URL
-
https://cloud.langfuse.com/api/public - Spec
- https://cloud.langfuse.com/generated/api/openapi.yml
- Docs
- https://langfuse.com/docs/api-and-data-platform/features/public-api
Authentication
In the Langfuse UI, open your project's settings and create or copy the API keys under Project settings → API Keys. Langfuse issues a public key and a secret key, used together as HTTP Basic Auth username/password or exported for the CLI as LANGFUSE_PUBLIC_KEY and LANGFUSE_SECRET_KEY. See Public API and CLI.
Authorization: Basic <credential> Create an organization-scoped API key in Organization Settings in the Langfuse UI. On self-hosted enterprise deployments, organization-scoped keys can also be created via the Instance Management API. Use the public key as the HTTP Basic Auth username and the secret key as the password. See SCIM & Organization-Key Scoped API Routes.