fetch_observations
Retrieve spans, generations, and events from Langfuse with filters. Specify observation type for LLM calls or use trace ID to get all observations in a trace.
Instructions
Fetch observations (spans, generations, events) with filters.
Use observation_type='GENERATION' to get LLM calls specifically. Use trace_id to get all observations within a specific trace.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| page | No | ||
| limit | No | ||
| project | No | ||
| trace_id | No | ||
| to_timestamp | No | ||
| from_timestamp | No | ||
| observation_type | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||