Loading...
Loading...
Interact with the Langfuse API. Use when user wants to query traces, fetch prompts, create datasets, manage scores, or do anything else via the Langfuse REST API.
npx skill4agent add langfuse/skills langfuse-apiecho $LANGFUSE_PUBLIC_KEY # pk-...
echo $LANGFUSE_SECRET_KEY # sk-...
echo $LANGFUSE_HOST # https://cloud.langfuse.com (or self-hosted/EU/US URL)LANGFUSE_PUBLIC_KEYLANGFUSE_SECRET_KEY{LANGFUSE_HOST}/api/publiccurl -X GET "${LANGFUSE_HOST}/api/public/traces" \
-u "${LANGFUSE_PUBLIC_KEY}:${LANGFUSE_SECRET_KEY}" \
-H "Content-Type: application/json"pagelimitmeta.totalItemsmeta.totalPages| User Request | Endpoint to Look Up |
|---|---|
| "Get my recent traces" | GET /traces |
| "Export traces from last week" | GET /traces with date filters |
| "Fetch a specific prompt" | GET /prompts/{name} |
| "Create a dataset" | POST /datasets |
| "Add items to dataset" | POST /dataset-items |
| "Get scores for a trace" | GET /scores with traceId filter |
| "List all prompts" | GET /prompts |
https://cloud.langfuse.com/generated/api/openapi.yml