Class GetSessionsRequest.Builder
java.lang.Object
com.langfuse.client.resources.sessions.requests.GetSessionsRequest.Builder
- Enclosing class:
GetSessionsRequest
-
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 sessions where the environment is one of the provided values.from(GetSessionsRequest other) fromTimestamp(OffsetDateTime fromTimestamp) fromTimestamp(Optional<OffsetDateTime> fromTimestamp) Optional filter to only include sessions created on or after a certain datetime (ISO 8601)Limit of items per page.Page number, starts at 1toTimestamp(OffsetDateTime toTimestamp) toTimestamp(Optional<OffsetDateTime> toTimestamp) Optional filter to only include sessions created before a certain datetime (ISO 8601)
-
Method Details
-
from
-
environment
Optional filter for sessions 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
-
fromTimestamp
Optional filter to only include sessions created on or after a certain datetime (ISO 8601)
-
fromTimestamp
-
toTimestamp
Optional filter to only include sessions created before a certain datetime (ISO 8601)
-
toTimestamp
-
build
-
additionalProperty
-
additionalProperties
-