{ * message: "Filter column \"datasetId\" contains dataset id(s) that do not exist in this project: dataset-prod", * code: LangfuseAPI.unstable.PublicApiErrorCode.InvalidFilterValue, * details: { * field: "filter[0].value", * column: "datasetId", * invalidValues: ["dataset-prod"] * } * }
Example
{ * message: "No valid LLM model found for evaluator \"answer-correctness\". No default model or custom model configured for project project_123", * code: LangfuseAPI.unstable.PublicApiErrorCode.EvaluatorPreflightFailed, * details: { * evaluatorName: "answer-correctness", * provider: undefined, * model: undefined * } * }
{ * message: "Mapping for variable \"customer_tier\" has an invalid jsonPath \"$[\". JSONPath expressions must use balanced quotes, brackets, and parentheses.", * code: LangfuseAPI.unstable.PublicApiErrorCode.InvalidJsonPath, * details: { * field: "mapping[0].jsonPath", * variable: "customer_tier", * value: "$[" * } * }
Example
{ * message: "An evaluation rule named \"answer-quality-live\" already exists in this project. Use PATCH /api/public/unstable/evaluation-rules/erule_123 to update it instead of creating a duplicate.", * code: LangfuseAPI.unstable.PublicApiErrorCode.NameConflict, * details: { * field: "name" * } * }
Example
{ * message: "This project already has the maximum number of active evaluation rules (50). Disable an existing active evaluation rule before enabling another one.", * code: LangfuseAPI.unstable.PublicApiErrorCode.Conflict, * details: { * limit: 50 * } * }
Standard error envelope for the unstable evaluators API.
Response handling guidance:
codefor precise branching in SDKs, CLIs, or agents.detailsfor field-level validation context such as invalid filter values, malformed JSONPath expressions, or missing variable mappings.codeanddetails.Example
Example
Example
Example
Example
Example
Example
Example