Langfuse
LLM observability: traces, evaluations, prompts and costs
Managed auth
Authentication
Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.
API key
Your users enter
- Public key (pk-lf-…)Required
- Secret key (sk-lf-…)SecretRequired
- RegionOptionalIdentifier3 choices
Where to find them
- In Langfuse, open the project → “Settings” → “API Keys” and click “Create new API keys”.
- Copy the public key and the secret key (shown only once) and choose the region here.
Tools (1)
Langfuse API request
LANGFUSE_SEND_REQUESTAuthenticated call to the Langfuse API (https://{server}/api/public). Any endpoint of the API is allowed. Examples: GET /traces?limit=20, GET /traces/{id}, GET /observations?traceId=…, GET /scores?limit=20, GET /v2/prompts, GET /metrics/daily?fromTimestamp=…, POST /scores {"traceId": "…", "name": "quality", "value": 1}.
Required scopes
No scopes required
Input
Langfuse API request input Name Type Description methodstringHTTP methodOne of: GET,POST,PUT,PATCH,DELETEDefault:"GET"pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link) queryobjectQuery string parameters bodyunknownJSON body formobjectBody as application/x-www-form-urlencoded instead of JSON body_base64stringBinary body, base64 (at most 960000 characters) content_typestringContent-Type of body_base64 headersobjectExtra headers such as Accept. Authentication is added automatically.

