Langfuse JS/TS SDKs
    Preparing search index...

    Interface PublicApiErrorDetails

    Optional structured context attached to an unstable-evals error.

    The populated fields depend on the error code:

    • request parsing failures populate issues
    • filter validation failures populate field, column, invalidValues, and allowedValues
    • variable mapping failures populate field, variable, or variables
    • JSONPath validation failures populate field, variable, and value
    • evaluator preflight failures populate evaluatorName, provider, and model
    • rate limiting populates retryAfterSeconds, limit, remaining, and resetAt
    interface PublicApiErrorDetails {
        allowedValues?: string[];
        column?: string;
        evaluatorName?: string;
        field?: string;
        invalidValues?: string[];
        issues?: unstable.PublicApiValidationIssue[];
        limit?: number;
        model?: null | string;
        provider?: null | string;
        remaining?: number;
        resetAt?: string;
        retryAfterSeconds?: number;
        value?: string;
        variable?: string;
        variables?: string[];
    }
    Index

    Properties

    allowedValues?: string[]

    Allowed values for the failing filter column.

    column?: string

    Filter column that failed validation.

    evaluatorName?: string

    Evaluator name used during preflight validation.

    field?: string

    Path-like reference to the failing field, for example mapping[1].jsonPath.

    invalidValues?: string[]

    Unsupported values supplied by the caller.

    Validation issues for malformed request bodies or query parameters.

    limit?: number

    Numeric limit associated with the failure, for example the active evaluation-rule cap or the current rate-limit window.

    model?: null | string

    Model resolved during evaluator preflight, if any.

    provider?: null | string

    Provider resolved during evaluator preflight, if any.

    remaining?: number

    Remaining requests in the current rate-limit window.

    resetAt?: string

    ISO-8601 timestamp when the current rate-limit window resets.

    retryAfterSeconds?: number

    Suggested retry delay for rate-limited requests.

    value?: string

    Raw invalid value supplied by the caller.

    variable?: string

    Evaluator variable involved in the failure.

    variables?: string[]

    Multiple evaluator variables involved in the failure, for example missing mappings.