Class GetScoresRequest
java.lang.Object
com.langfuse.client.resources.scorev2.requests.GetScoresRequest
-
Method Details
-
getEnvironment
-
getTraceTags
-
getPage
-
getLimit
-
getUserId
-
getName
-
getFromTimestamp
- Returns:
- Optional filter to only include scores created on or after a certain datetime (ISO 8601)
-
getToTimestamp
- Returns:
- Optional filter to only include scores created before a certain datetime (ISO 8601)
-
getSource
- Returns:
- Retrieve only scores from a specific source.
-
getOperator
-
getValue
-
getScoreIds
-
getConfigId
-
getSessionId
-
getDatasetRunId
-
getTraceId
-
getObservationId
-
getQueueId
-
getDataType
- Returns:
- Retrieve only scores with a specific dataType.
-
getFields
- Returns:
- Comma-separated list of field groups to include in the response. Available field groups: 'score' (core score fields), 'trace' (trace properties: userId, tags, environment). If not specified, both 'score' and 'trace' are returned by default. Example: 'score' to exclude trace data, 'score,trace' to include both. Note: When filtering by trace properties (using userId or traceTags parameters), the 'trace' field group must be included, otherwise a 400 error will be returned.
-
getFilter
- Returns:
- A JSON stringified array of filter objects. Each object requires type, column, operator, and value. Supports filtering by score metadata using the stringObject type. Example: [{"type":"stringObject","column":"metadata","key":"user_id","operator":"=","value":"abc123"}]. Supported types: stringObject (metadata key-value filtering), string, number, datetime, stringOptions, arrayOptions. Supported operators for stringObject: =, contains, does not contain, starts with, ends with.
-
equals
-
getAdditionalProperties
-
hashCode
-
toString
-
builder
-