Langfuse · Capability
langfuse — LegacyObservationsV1
langfuse — LegacyObservationsV1. 2 operations. Lead operation: LegacyObservationsV1. Self-contained Naftiko capability covering one Langfuse business surface.
What You Can Do
GET
Legacyobservationsv1getmany
— Get a list of observations.
/v1/api/public/observations
GET
Legacyobservationsv1get
— Get a observation
/v1/api/public/observations/{observationid}
MCP Tools
get-list-observations
Get a list of observations.
read-only
idempotent
get-observation
Get a observation
read-only
idempotent
Capability Spec
naftiko: 1.0.0-alpha2
info:
label: langfuse — LegacyObservationsV1
description: 'langfuse — LegacyObservationsV1. 2 operations. Lead operation: LegacyObservationsV1. Self-contained Naftiko
capability covering one Langfuse business surface.'
tags:
- Langfuse
- LegacyObservationsV1
created: '2026-05-19'
modified: '2026-05-19'
binds:
- namespace: env
keys:
LANGFUSE_API_KEY: LANGFUSE_API_KEY
capability:
consumes:
- type: http
namespace: langfuse-legacyobservationsv1
baseUri: ''
description: langfuse — LegacyObservationsV1 business capability. Self-contained, no shared references.
resources:
- name: api-public-observations
path: /api/public/observations
operations:
- name: legacyobservationsv1getmany
method: GET
description: Get a list of observations.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: page
in: query
type: integer
description: Page number, starts at 1.
- name: limit
in: query
type: integer
description: Limit of items per page. If you encounter api issues due to too large page sizes, try to reduce the
limit.
- name: name
in: query
type: string
- name: userId
in: query
type: string
- name: type
in: query
type: string
- name: traceId
in: query
type: string
- name: level
in: query
type: string
description: Optional filter for observations with a specific level (e.g. "DEBUG", "DEFAULT", "WARNING", "ERROR").
- name: parentObservationId
in: query
type: string
- name: environment
in: query
type: array
description: Optional filter for observations where the environment is one of the provided values.
- name: fromStartTime
in: query
type: string
description: Retrieve only observations with a start_time on or after this datetime (ISO 8601).
- name: toStartTime
in: query
type: string
description: Retrieve only observations with a start_time before this datetime (ISO 8601).
- name: version
in: query
type: string
description: Optional filter to only include observations with a certain version.
- name: filter
in: query
type: string
description: JSON string containing an array of filter conditions. When provided, this takes precedence over query
parameter filters (userId, name, type, level, environment,
- name: api-public-observations-observationId
path: /api/public/observations/{observationId}
operations:
- name: legacyobservationsv1get
method: GET
description: Get a observation
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: observationId
in: path
type: string
description: The unique langfuse identifier of an observation, can be an event, span or generation
required: true
authentication:
type: basic
username: '{{env.LANGFUSE_USER}}'
password: '{{env.LANGFUSE_PASS}}'
exposes:
- type: rest
namespace: langfuse-legacyobservationsv1-rest
port: 8080
description: REST adapter for langfuse — LegacyObservationsV1. One Spectral-compliant resource per consumed operation,
prefixed with /v1.
resources:
- path: /v1/api/public/observations
name: api-public-observations
description: REST surface for api-public-observations.
operations:
- method: GET
name: legacyobservationsv1getmany
description: Get a list of observations.
call: langfuse-legacyobservationsv1.legacyobservationsv1getmany
with:
page: rest.page
limit: rest.limit
name: rest.name
userId: rest.userId
type: rest.type
traceId: rest.traceId
level: rest.level
parentObservationId: rest.parentObservationId
environment: rest.environment
fromStartTime: rest.fromStartTime
toStartTime: rest.toStartTime
version: rest.version
filter: rest.filter
outputParameters:
- type: object
mapping: $.
- path: /v1/api/public/observations/{observationid}
name: api-public-observations-observationid
description: REST surface for api-public-observations-observationId.
operations:
- method: GET
name: legacyobservationsv1get
description: Get a observation
call: langfuse-legacyobservationsv1.legacyobservationsv1get
with:
observationId: rest.observationId
outputParameters:
- type: object
mapping: $.
- type: mcp
namespace: langfuse-legacyobservationsv1-mcp
port: 9090
transport: http
description: MCP adapter for langfuse — LegacyObservationsV1. One tool per consumed operation, routed inline through this
capability's consumes block.
tools:
- name: get-list-observations
description: Get a list of observations.
hints:
readOnly: true
destructive: false
idempotent: true
call: langfuse-legacyobservationsv1.legacyobservationsv1getmany
with:
page: tools.page
limit: tools.limit
name: tools.name
userId: tools.userId
type: tools.type
traceId: tools.traceId
level: tools.level
parentObservationId: tools.parentObservationId
environment: tools.environment
fromStartTime: tools.fromStartTime
toStartTime: tools.toStartTime
version: tools.version
filter: tools.filter
outputParameters:
- type: object
mapping: $.
- name: get-observation
description: Get a observation
hints:
readOnly: true
destructive: false
idempotent: true
call: langfuse-legacyobservationsv1.legacyobservationsv1get
with:
observationId: tools.observationId
outputParameters:
- type: object
mapping: $.