Class GetObservationsRequest.Builder
java.lang.Object
com.langfuse.client.resources.observations.requests.GetObservationsRequest.Builder
- Enclosing class:
GetObservationsRequest
-
Method Summary
Modifier and TypeMethodDescriptionadditionalProperties(Map<String, Object> additionalProperties) additionalProperty(String key, Object value) build()environment(String environment) environment(List<String> environment) environment(Optional<List<String>> environment) Optional filter for observations where the environment is one of the provided values.from(GetObservationsRequest other) fromStartTime(OffsetDateTime fromStartTime) fromStartTime(Optional<OffsetDateTime> fromStartTime) Retrieve only observations with a start_time on or after this datetime (ISO 8601).level(ObservationLevel level) level(Optional<ObservationLevel> level) Optional filter for observations with a specific level (e.g.Limit of items per page.Page number, starts at 1.parentObservationId(String parentObservationId) parentObservationId(Optional<String> parentObservationId) toStartTime(OffsetDateTime toStartTime) toStartTime(Optional<OffsetDateTime> toStartTime) Retrieve only observations with a start_time before this datetime (ISO 8601).Optional filter to only include observations with a certain version.
-
Method Details
-
from
-
environment
Optional filter for observations where the environment is one of the provided values.
-
environment
-
environment
-
page
Page number, starts at 1.
-
page
-
limit
Limit of items per page. If you encounter api issues due to too large page sizes, try to reduce the limit.
-
limit
-
name
-
name
-
userId
-
userId
-
type
-
type
-
traceId
-
traceId
-
level
Optional filter for observations with a specific level (e.g. "DEBUG", "DEFAULT", "WARNING", "ERROR").
-
level
-
parentObservationId
-
parentObservationId
-
fromStartTime
Retrieve only observations with a start_time on or after this datetime (ISO 8601).
-
fromStartTime
-
toStartTime
Retrieve only observations with a start_time before this datetime (ISO 8601).
-
toStartTime
-
version
Optional filter to only include observations with a certain version.
-
version
-
filter
-
filter
-
build
-
additionalProperty
-
additionalProperties
-