Langfuse
Mock the Langfuse public API to exercise traces, observations, scores, sessions, prompts, datasets, and ingestion without writing to a real Langfuse project.
[01]
About
Emulate the core LLM-observability surface: ingest events, list and fetch traces and observations, push and read scores, manage datasets and dataset runs, look up sessions and prompts, list projects, and read daily metrics. Useful for wiring SDKs and dashboards against a Langfuse-shaped backend during development.
Endpoints
22 across 12 resource groups
Methods
GET 15 · POST 6 · DEL 1 none deprecated
OpenAPI
3.0.1 spec version
Source spec
69 KB · YAML
[02]
Endpoints
| POST |
/api/public/dataset-items
|
Create a dataset item. Mocked via Mockzilla.
|
| GET |
/api/public/dataset-items/{id}
|
Get a dataset item
|
| POST |
/api/public/dataset-run-items
|
Create a dataset run item
|
| GET |
/api/public/datasets
|
Get all datasets
|
| POST |
/api/public/datasets
|
Create a dataset
|
| GET |
/api/public/datasets/{datasetName}
|
Get a dataset and its items. Available as a Mockzilla mock endpoint.
|
| GET |
/api/public/datasets/{datasetName}/runs/{runName}
|
Get a dataset run and its items
|
| GET |
/api/public/health
|
Check health of API and database
|
| POST |
/api/public/ingestion
|
Batched ingestion for Langfuse Tracing
|
| GET |
/api/public/metrics/daily
|
Get daily metrics of the Langfuse project
|
| GET |
/api/public/observations/{observationId}
|
Get a observation. Mockzilla mock: no signup, no API key.
|
| GET |
/api/public/observations
|
Get a list of observations
|
| GET |
/api/public/projects
|
Get Project associated with API key
|
| GET |
/api/public/prompts
|
Get a prompt
|
| POST |
/api/public/prompts
|
Create a prompt
|
| POST |
/api/public/scores
|
Create a score. Served by the Mockzilla mock runtime.
|
| GET |
/api/public/scores
|
Get a list of scores
|
| GET |
/api/public/scores/{scoreId}
|
Get a score
|
| DEL |
/api/public/scores/{scoreId}
|
Delete a score
|
| GET |
/api/public/sessions/{sessionId}
|
Get a session
|
| GET |
/api/public/traces/{traceId}
|
Get a specific trace. Mocked via Mockzilla.
|
| GET |
/api/public/traces
|
Get list of traces
|