langfuse-client-base 0.15.0

Auto-generated Langfuse API client from OpenAPI specification
Documentation
# EvaluationRuleFilter

## Enum Variants

| Name | Description |
|---- | -----|
| ArrayOptionsEvaluationRuleFilter1 | One filter condition used to decide whether a live-ingested observation should be evaluated.  All filters must be satisfied for the rule to run. Experiment scope is expressed with filters rather than a separate target field: - `isExperimentItemRootSpan = true` limits execution to experiment item roots. - `datasetId` limits execution to experiments for the selected datasets. Use dataset IDs from `GET /api/public/v2/datasets`.  Pick the filter `type` first, as it determines the required fields and value shape. Use `key` only for object filters such as `metadata`.  Operator quick reference by filter `type`: - `string`: `\"=\"`, `contains`, `does not contain`, `starts with`, `ends with` - `number`: `\"=\"`, `\">\"`, `\"<\"`, `\">=\"`, `\"<=\"` - `datetime`: `\"=\"`, `\">\"`, `\"<\"`, `\">=\"`, `\"<=\"` - `stringOptions`: `any of`, `none of` - `arrayOptions`: `any of`, `none of`, `all of` - `stringObject`: `\"=\"`, `contains`, `does not contain`, `starts with`, `ends with`, `is set`, `is not set` (use `is set` / `is not set` for key presence; an empty value for `contains`, `starts with`, or `ends with` is treated as `is set`) - `boolean`: `\"=\"`, `\"<>\"` - `null`: `is null`, `is not null`  Supported columns. Each column accepts exactly one filter `type`; sending a column with a different `type` is rejected with `400`. - `type`: `stringOptions`, values `SPAN`, `EVENT`, `GENERATION`, `AGENT`, `TOOL`, `CHAIN`, `RETRIEVER`, `EVALUATOR`, `EMBEDDING`, `GUARDRAIL` - `name`: `stringOptions` - `environment`: `stringOptions` - `level`: `stringOptions`, values `DEBUG`, `DEFAULT`, `WARNING`, `ERROR` - `version`: `string` - `traceName`: `stringOptions` - `userId`: `string` - `sessionId`: `string` - `tags`: `arrayOptions` - `metadata`: `stringObject`, requires `key` - `isRootObservation`: `boolean`; true when the observation has no parent or is explicitly marked as an application root - `parentObservationId`: `null` - `experimentId`: `stringOptions` - `isExperimentItemRootSpan`: `boolean` - `calledToolNames`: `arrayOptions` - `toolCalls`: `number`, the number of tool calls on the observation - `datasetId`: `stringOptions`. Use dataset `id` values from `GET /api/public/v2/datasets`, not dataset names. |
| BooleanEvaluationRuleFilter1 | One filter condition used to decide whether a live-ingested observation should be evaluated.  All filters must be satisfied for the rule to run. Experiment scope is expressed with filters rather than a separate target field: - `isExperimentItemRootSpan = true` limits execution to experiment item roots. - `datasetId` limits execution to experiments for the selected datasets. Use dataset IDs from `GET /api/public/v2/datasets`.  Pick the filter `type` first, as it determines the required fields and value shape. Use `key` only for object filters such as `metadata`.  Operator quick reference by filter `type`: - `string`: `\"=\"`, `contains`, `does not contain`, `starts with`, `ends with` - `number`: `\"=\"`, `\">\"`, `\"<\"`, `\">=\"`, `\"<=\"` - `datetime`: `\"=\"`, `\">\"`, `\"<\"`, `\">=\"`, `\"<=\"` - `stringOptions`: `any of`, `none of` - `arrayOptions`: `any of`, `none of`, `all of` - `stringObject`: `\"=\"`, `contains`, `does not contain`, `starts with`, `ends with`, `is set`, `is not set` (use `is set` / `is not set` for key presence; an empty value for `contains`, `starts with`, or `ends with` is treated as `is set`) - `boolean`: `\"=\"`, `\"<>\"` - `null`: `is null`, `is not null`  Supported columns. Each column accepts exactly one filter `type`; sending a column with a different `type` is rejected with `400`. - `type`: `stringOptions`, values `SPAN`, `EVENT`, `GENERATION`, `AGENT`, `TOOL`, `CHAIN`, `RETRIEVER`, `EVALUATOR`, `EMBEDDING`, `GUARDRAIL` - `name`: `stringOptions` - `environment`: `stringOptions` - `level`: `stringOptions`, values `DEBUG`, `DEFAULT`, `WARNING`, `ERROR` - `version`: `string` - `traceName`: `stringOptions` - `userId`: `string` - `sessionId`: `string` - `tags`: `arrayOptions` - `metadata`: `stringObject`, requires `key` - `isRootObservation`: `boolean`; true when the observation has no parent or is explicitly marked as an application root - `parentObservationId`: `null` - `experimentId`: `stringOptions` - `isExperimentItemRootSpan`: `boolean` - `calledToolNames`: `arrayOptions` - `toolCalls`: `number`, the number of tool calls on the observation - `datasetId`: `stringOptions`. Use dataset `id` values from `GET /api/public/v2/datasets`, not dataset names. |
| CategoryOptionsEvaluationRuleFilter1 | One filter condition used to decide whether a live-ingested observation should be evaluated.  All filters must be satisfied for the rule to run. Experiment scope is expressed with filters rather than a separate target field: - `isExperimentItemRootSpan = true` limits execution to experiment item roots. - `datasetId` limits execution to experiments for the selected datasets. Use dataset IDs from `GET /api/public/v2/datasets`.  Pick the filter `type` first, as it determines the required fields and value shape. Use `key` only for object filters such as `metadata`.  Operator quick reference by filter `type`: - `string`: `\"=\"`, `contains`, `does not contain`, `starts with`, `ends with` - `number`: `\"=\"`, `\">\"`, `\"<\"`, `\">=\"`, `\"<=\"` - `datetime`: `\"=\"`, `\">\"`, `\"<\"`, `\">=\"`, `\"<=\"` - `stringOptions`: `any of`, `none of` - `arrayOptions`: `any of`, `none of`, `all of` - `stringObject`: `\"=\"`, `contains`, `does not contain`, `starts with`, `ends with`, `is set`, `is not set` (use `is set` / `is not set` for key presence; an empty value for `contains`, `starts with`, or `ends with` is treated as `is set`) - `boolean`: `\"=\"`, `\"<>\"` - `null`: `is null`, `is not null`  Supported columns. Each column accepts exactly one filter `type`; sending a column with a different `type` is rejected with `400`. - `type`: `stringOptions`, values `SPAN`, `EVENT`, `GENERATION`, `AGENT`, `TOOL`, `CHAIN`, `RETRIEVER`, `EVALUATOR`, `EMBEDDING`, `GUARDRAIL` - `name`: `stringOptions` - `environment`: `stringOptions` - `level`: `stringOptions`, values `DEBUG`, `DEFAULT`, `WARNING`, `ERROR` - `version`: `string` - `traceName`: `stringOptions` - `userId`: `string` - `sessionId`: `string` - `tags`: `arrayOptions` - `metadata`: `stringObject`, requires `key` - `isRootObservation`: `boolean`; true when the observation has no parent or is explicitly marked as an application root - `parentObservationId`: `null` - `experimentId`: `stringOptions` - `isExperimentItemRootSpan`: `boolean` - `calledToolNames`: `arrayOptions` - `toolCalls`: `number`, the number of tool calls on the observation - `datasetId`: `stringOptions`. Use dataset `id` values from `GET /api/public/v2/datasets`, not dataset names. |
| DateTimeEvaluationRuleFilter1 | One filter condition used to decide whether a live-ingested observation should be evaluated.  All filters must be satisfied for the rule to run. Experiment scope is expressed with filters rather than a separate target field: - `isExperimentItemRootSpan = true` limits execution to experiment item roots. - `datasetId` limits execution to experiments for the selected datasets. Use dataset IDs from `GET /api/public/v2/datasets`.  Pick the filter `type` first, as it determines the required fields and value shape. Use `key` only for object filters such as `metadata`.  Operator quick reference by filter `type`: - `string`: `\"=\"`, `contains`, `does not contain`, `starts with`, `ends with` - `number`: `\"=\"`, `\">\"`, `\"<\"`, `\">=\"`, `\"<=\"` - `datetime`: `\"=\"`, `\">\"`, `\"<\"`, `\">=\"`, `\"<=\"` - `stringOptions`: `any of`, `none of` - `arrayOptions`: `any of`, `none of`, `all of` - `stringObject`: `\"=\"`, `contains`, `does not contain`, `starts with`, `ends with`, `is set`, `is not set` (use `is set` / `is not set` for key presence; an empty value for `contains`, `starts with`, or `ends with` is treated as `is set`) - `boolean`: `\"=\"`, `\"<>\"` - `null`: `is null`, `is not null`  Supported columns. Each column accepts exactly one filter `type`; sending a column with a different `type` is rejected with `400`. - `type`: `stringOptions`, values `SPAN`, `EVENT`, `GENERATION`, `AGENT`, `TOOL`, `CHAIN`, `RETRIEVER`, `EVALUATOR`, `EMBEDDING`, `GUARDRAIL` - `name`: `stringOptions` - `environment`: `stringOptions` - `level`: `stringOptions`, values `DEBUG`, `DEFAULT`, `WARNING`, `ERROR` - `version`: `string` - `traceName`: `stringOptions` - `userId`: `string` - `sessionId`: `string` - `tags`: `arrayOptions` - `metadata`: `stringObject`, requires `key` - `isRootObservation`: `boolean`; true when the observation has no parent or is explicitly marked as an application root - `parentObservationId`: `null` - `experimentId`: `stringOptions` - `isExperimentItemRootSpan`: `boolean` - `calledToolNames`: `arrayOptions` - `toolCalls`: `number`, the number of tool calls on the observation - `datasetId`: `stringOptions`. Use dataset `id` values from `GET /api/public/v2/datasets`, not dataset names. |
| NullEvaluationRuleFilter1 | One filter condition used to decide whether a live-ingested observation should be evaluated.  All filters must be satisfied for the rule to run. Experiment scope is expressed with filters rather than a separate target field: - `isExperimentItemRootSpan = true` limits execution to experiment item roots. - `datasetId` limits execution to experiments for the selected datasets. Use dataset IDs from `GET /api/public/v2/datasets`.  Pick the filter `type` first, as it determines the required fields and value shape. Use `key` only for object filters such as `metadata`.  Operator quick reference by filter `type`: - `string`: `\"=\"`, `contains`, `does not contain`, `starts with`, `ends with` - `number`: `\"=\"`, `\">\"`, `\"<\"`, `\">=\"`, `\"<=\"` - `datetime`: `\"=\"`, `\">\"`, `\"<\"`, `\">=\"`, `\"<=\"` - `stringOptions`: `any of`, `none of` - `arrayOptions`: `any of`, `none of`, `all of` - `stringObject`: `\"=\"`, `contains`, `does not contain`, `starts with`, `ends with`, `is set`, `is not set` (use `is set` / `is not set` for key presence; an empty value for `contains`, `starts with`, or `ends with` is treated as `is set`) - `boolean`: `\"=\"`, `\"<>\"` - `null`: `is null`, `is not null`  Supported columns. Each column accepts exactly one filter `type`; sending a column with a different `type` is rejected with `400`. - `type`: `stringOptions`, values `SPAN`, `EVENT`, `GENERATION`, `AGENT`, `TOOL`, `CHAIN`, `RETRIEVER`, `EVALUATOR`, `EMBEDDING`, `GUARDRAIL` - `name`: `stringOptions` - `environment`: `stringOptions` - `level`: `stringOptions`, values `DEBUG`, `DEFAULT`, `WARNING`, `ERROR` - `version`: `string` - `traceName`: `stringOptions` - `userId`: `string` - `sessionId`: `string` - `tags`: `arrayOptions` - `metadata`: `stringObject`, requires `key` - `isRootObservation`: `boolean`; true when the observation has no parent or is explicitly marked as an application root - `parentObservationId`: `null` - `experimentId`: `stringOptions` - `isExperimentItemRootSpan`: `boolean` - `calledToolNames`: `arrayOptions` - `toolCalls`: `number`, the number of tool calls on the observation - `datasetId`: `stringOptions`. Use dataset `id` values from `GET /api/public/v2/datasets`, not dataset names. |
| NumberEvaluationRuleFilter1 | One filter condition used to decide whether a live-ingested observation should be evaluated.  All filters must be satisfied for the rule to run. Experiment scope is expressed with filters rather than a separate target field: - `isExperimentItemRootSpan = true` limits execution to experiment item roots. - `datasetId` limits execution to experiments for the selected datasets. Use dataset IDs from `GET /api/public/v2/datasets`.  Pick the filter `type` first, as it determines the required fields and value shape. Use `key` only for object filters such as `metadata`.  Operator quick reference by filter `type`: - `string`: `\"=\"`, `contains`, `does not contain`, `starts with`, `ends with` - `number`: `\"=\"`, `\">\"`, `\"<\"`, `\">=\"`, `\"<=\"` - `datetime`: `\"=\"`, `\">\"`, `\"<\"`, `\">=\"`, `\"<=\"` - `stringOptions`: `any of`, `none of` - `arrayOptions`: `any of`, `none of`, `all of` - `stringObject`: `\"=\"`, `contains`, `does not contain`, `starts with`, `ends with`, `is set`, `is not set` (use `is set` / `is not set` for key presence; an empty value for `contains`, `starts with`, or `ends with` is treated as `is set`) - `boolean`: `\"=\"`, `\"<>\"` - `null`: `is null`, `is not null`  Supported columns. Each column accepts exactly one filter `type`; sending a column with a different `type` is rejected with `400`. - `type`: `stringOptions`, values `SPAN`, `EVENT`, `GENERATION`, `AGENT`, `TOOL`, `CHAIN`, `RETRIEVER`, `EVALUATOR`, `EMBEDDING`, `GUARDRAIL` - `name`: `stringOptions` - `environment`: `stringOptions` - `level`: `stringOptions`, values `DEBUG`, `DEFAULT`, `WARNING`, `ERROR` - `version`: `string` - `traceName`: `stringOptions` - `userId`: `string` - `sessionId`: `string` - `tags`: `arrayOptions` - `metadata`: `stringObject`, requires `key` - `isRootObservation`: `boolean`; true when the observation has no parent or is explicitly marked as an application root - `parentObservationId`: `null` - `experimentId`: `stringOptions` - `isExperimentItemRootSpan`: `boolean` - `calledToolNames`: `arrayOptions` - `toolCalls`: `number`, the number of tool calls on the observation - `datasetId`: `stringOptions`. Use dataset `id` values from `GET /api/public/v2/datasets`, not dataset names. |
| NumberObjectEvaluationRuleFilter1 | One filter condition used to decide whether a live-ingested observation should be evaluated.  All filters must be satisfied for the rule to run. Experiment scope is expressed with filters rather than a separate target field: - `isExperimentItemRootSpan = true` limits execution to experiment item roots. - `datasetId` limits execution to experiments for the selected datasets. Use dataset IDs from `GET /api/public/v2/datasets`.  Pick the filter `type` first, as it determines the required fields and value shape. Use `key` only for object filters such as `metadata`.  Operator quick reference by filter `type`: - `string`: `\"=\"`, `contains`, `does not contain`, `starts with`, `ends with` - `number`: `\"=\"`, `\">\"`, `\"<\"`, `\">=\"`, `\"<=\"` - `datetime`: `\"=\"`, `\">\"`, `\"<\"`, `\">=\"`, `\"<=\"` - `stringOptions`: `any of`, `none of` - `arrayOptions`: `any of`, `none of`, `all of` - `stringObject`: `\"=\"`, `contains`, `does not contain`, `starts with`, `ends with`, `is set`, `is not set` (use `is set` / `is not set` for key presence; an empty value for `contains`, `starts with`, or `ends with` is treated as `is set`) - `boolean`: `\"=\"`, `\"<>\"` - `null`: `is null`, `is not null`  Supported columns. Each column accepts exactly one filter `type`; sending a column with a different `type` is rejected with `400`. - `type`: `stringOptions`, values `SPAN`, `EVENT`, `GENERATION`, `AGENT`, `TOOL`, `CHAIN`, `RETRIEVER`, `EVALUATOR`, `EMBEDDING`, `GUARDRAIL` - `name`: `stringOptions` - `environment`: `stringOptions` - `level`: `stringOptions`, values `DEBUG`, `DEFAULT`, `WARNING`, `ERROR` - `version`: `string` - `traceName`: `stringOptions` - `userId`: `string` - `sessionId`: `string` - `tags`: `arrayOptions` - `metadata`: `stringObject`, requires `key` - `isRootObservation`: `boolean`; true when the observation has no parent or is explicitly marked as an application root - `parentObservationId`: `null` - `experimentId`: `stringOptions` - `isExperimentItemRootSpan`: `boolean` - `calledToolNames`: `arrayOptions` - `toolCalls`: `number`, the number of tool calls on the observation - `datasetId`: `stringOptions`. Use dataset `id` values from `GET /api/public/v2/datasets`, not dataset names. |
| StringEvaluationRuleFilter1 | One filter condition used to decide whether a live-ingested observation should be evaluated.  All filters must be satisfied for the rule to run. Experiment scope is expressed with filters rather than a separate target field: - `isExperimentItemRootSpan = true` limits execution to experiment item roots. - `datasetId` limits execution to experiments for the selected datasets. Use dataset IDs from `GET /api/public/v2/datasets`.  Pick the filter `type` first, as it determines the required fields and value shape. Use `key` only for object filters such as `metadata`.  Operator quick reference by filter `type`: - `string`: `\"=\"`, `contains`, `does not contain`, `starts with`, `ends with` - `number`: `\"=\"`, `\">\"`, `\"<\"`, `\">=\"`, `\"<=\"` - `datetime`: `\"=\"`, `\">\"`, `\"<\"`, `\">=\"`, `\"<=\"` - `stringOptions`: `any of`, `none of` - `arrayOptions`: `any of`, `none of`, `all of` - `stringObject`: `\"=\"`, `contains`, `does not contain`, `starts with`, `ends with`, `is set`, `is not set` (use `is set` / `is not set` for key presence; an empty value for `contains`, `starts with`, or `ends with` is treated as `is set`) - `boolean`: `\"=\"`, `\"<>\"` - `null`: `is null`, `is not null`  Supported columns. Each column accepts exactly one filter `type`; sending a column with a different `type` is rejected with `400`. - `type`: `stringOptions`, values `SPAN`, `EVENT`, `GENERATION`, `AGENT`, `TOOL`, `CHAIN`, `RETRIEVER`, `EVALUATOR`, `EMBEDDING`, `GUARDRAIL` - `name`: `stringOptions` - `environment`: `stringOptions` - `level`: `stringOptions`, values `DEBUG`, `DEFAULT`, `WARNING`, `ERROR` - `version`: `string` - `traceName`: `stringOptions` - `userId`: `string` - `sessionId`: `string` - `tags`: `arrayOptions` - `metadata`: `stringObject`, requires `key` - `isRootObservation`: `boolean`; true when the observation has no parent or is explicitly marked as an application root - `parentObservationId`: `null` - `experimentId`: `stringOptions` - `isExperimentItemRootSpan`: `boolean` - `calledToolNames`: `arrayOptions` - `toolCalls`: `number`, the number of tool calls on the observation - `datasetId`: `stringOptions`. Use dataset `id` values from `GET /api/public/v2/datasets`, not dataset names. |
| StringObjectEvaluationRuleFilter1 | One filter condition used to decide whether a live-ingested observation should be evaluated.  All filters must be satisfied for the rule to run. Experiment scope is expressed with filters rather than a separate target field: - `isExperimentItemRootSpan = true` limits execution to experiment item roots. - `datasetId` limits execution to experiments for the selected datasets. Use dataset IDs from `GET /api/public/v2/datasets`.  Pick the filter `type` first, as it determines the required fields and value shape. Use `key` only for object filters such as `metadata`.  Operator quick reference by filter `type`: - `string`: `\"=\"`, `contains`, `does not contain`, `starts with`, `ends with` - `number`: `\"=\"`, `\">\"`, `\"<\"`, `\">=\"`, `\"<=\"` - `datetime`: `\"=\"`, `\">\"`, `\"<\"`, `\">=\"`, `\"<=\"` - `stringOptions`: `any of`, `none of` - `arrayOptions`: `any of`, `none of`, `all of` - `stringObject`: `\"=\"`, `contains`, `does not contain`, `starts with`, `ends with`, `is set`, `is not set` (use `is set` / `is not set` for key presence; an empty value for `contains`, `starts with`, or `ends with` is treated as `is set`) - `boolean`: `\"=\"`, `\"<>\"` - `null`: `is null`, `is not null`  Supported columns. Each column accepts exactly one filter `type`; sending a column with a different `type` is rejected with `400`. - `type`: `stringOptions`, values `SPAN`, `EVENT`, `GENERATION`, `AGENT`, `TOOL`, `CHAIN`, `RETRIEVER`, `EVALUATOR`, `EMBEDDING`, `GUARDRAIL` - `name`: `stringOptions` - `environment`: `stringOptions` - `level`: `stringOptions`, values `DEBUG`, `DEFAULT`, `WARNING`, `ERROR` - `version`: `string` - `traceName`: `stringOptions` - `userId`: `string` - `sessionId`: `string` - `tags`: `arrayOptions` - `metadata`: `stringObject`, requires `key` - `isRootObservation`: `boolean`; true when the observation has no parent or is explicitly marked as an application root - `parentObservationId`: `null` - `experimentId`: `stringOptions` - `isExperimentItemRootSpan`: `boolean` - `calledToolNames`: `arrayOptions` - `toolCalls`: `number`, the number of tool calls on the observation - `datasetId`: `stringOptions`. Use dataset `id` values from `GET /api/public/v2/datasets`, not dataset names. |
| StringOptionsEvaluationRuleFilter1 | One filter condition used to decide whether a live-ingested observation should be evaluated.  All filters must be satisfied for the rule to run. Experiment scope is expressed with filters rather than a separate target field: - `isExperimentItemRootSpan = true` limits execution to experiment item roots. - `datasetId` limits execution to experiments for the selected datasets. Use dataset IDs from `GET /api/public/v2/datasets`.  Pick the filter `type` first, as it determines the required fields and value shape. Use `key` only for object filters such as `metadata`.  Operator quick reference by filter `type`: - `string`: `\"=\"`, `contains`, `does not contain`, `starts with`, `ends with` - `number`: `\"=\"`, `\">\"`, `\"<\"`, `\">=\"`, `\"<=\"` - `datetime`: `\"=\"`, `\">\"`, `\"<\"`, `\">=\"`, `\"<=\"` - `stringOptions`: `any of`, `none of` - `arrayOptions`: `any of`, `none of`, `all of` - `stringObject`: `\"=\"`, `contains`, `does not contain`, `starts with`, `ends with`, `is set`, `is not set` (use `is set` / `is not set` for key presence; an empty value for `contains`, `starts with`, or `ends with` is treated as `is set`) - `boolean`: `\"=\"`, `\"<>\"` - `null`: `is null`, `is not null`  Supported columns. Each column accepts exactly one filter `type`; sending a column with a different `type` is rejected with `400`. - `type`: `stringOptions`, values `SPAN`, `EVENT`, `GENERATION`, `AGENT`, `TOOL`, `CHAIN`, `RETRIEVER`, `EVALUATOR`, `EMBEDDING`, `GUARDRAIL` - `name`: `stringOptions` - `environment`: `stringOptions` - `level`: `stringOptions`, values `DEBUG`, `DEFAULT`, `WARNING`, `ERROR` - `version`: `string` - `traceName`: `stringOptions` - `userId`: `string` - `sessionId`: `string` - `tags`: `arrayOptions` - `metadata`: `stringObject`, requires `key` - `isRootObservation`: `boolean`; true when the observation has no parent or is explicitly marked as an application root - `parentObservationId`: `null` - `experimentId`: `stringOptions` - `isExperimentItemRootSpan`: `boolean` - `calledToolNames`: `arrayOptions` - `toolCalls`: `number`, the number of tool calls on the observation - `datasetId`: `stringOptions`. Use dataset `id` values from `GET /api/public/v2/datasets`, not dataset names. |

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)