Class GetSessionsRequest

java.lang.Object
com.langfuse.client.resources.sessions.requests.GetSessionsRequest

public final class GetSessionsRequest extends Object
  • Method Details

    • getEnvironment

      public Optional<List<String>> getEnvironment()
      Returns:
      Optional filter for sessions where the environment is one of the provided values.
    • getPage

      public Optional<Integer> getPage()
      Returns:
      Page number, starts at 1
    • getLimit

      public Optional<Integer> getLimit()
      Returns:
      Limit of items per page. If you encounter api issues due to too large page sizes, try to reduce the limit.
    • getFromTimestamp

      public Optional<OffsetDateTime> getFromTimestamp()
      Returns:
      Optional filter to only include sessions created on or after a certain datetime (ISO 8601)
    • getToTimestamp

      public Optional<OffsetDateTime> getToTimestamp()
      Returns:
      Optional filter to only include sessions created before a certain datetime (ISO 8601)
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • builder

      public static GetSessionsRequest.Builder builder()