Arize Phoenix TS
    Preparing search index...
    interface components {
        headers: never;
        parameters: never;
        pathItems: never;
        requestBodies: never;
        responses: never;
        schemas: {
            AnnotateSessionsRequestBody: {
                data: {
                    annotator_kind: "LLM" | "CODE" | "HUMAN";
                    identifier?: string;
                    metadata?: { [key: string]: unknown } | null;
                    name: string;
                    result?:
                        | {
                            explanation?: string
                            | null;
                            label?: string | null;
                            score?: number | null;
                        }
                        | null;
                    session_id: string;
                }[];
            };
            AnnotateSessionsResponseBody: { data: { id: string }[] };
            AnnotateSpanDocumentsRequestBody: {
                data: {
                    annotator_kind: "LLM" | "CODE" | "HUMAN";
                    document_position: number;
                    identifier?: string;
                    metadata?: { [key: string]: unknown } | null;
                    name: string;
                    result?:
                        | {
                            explanation?: string
                            | null;
                            label?: string | null;
                            score?: number | null;
                        }
                        | null;
                    span_id: string;
                }[];
            };
            AnnotateSpanDocumentsResponseBody: { data: { id: string }[] };
            AnnotateSpansRequestBody: {
                data: {
                    annotator_kind: "LLM" | "CODE" | "HUMAN";
                    identifier?: string;
                    metadata?: { [key: string]: unknown } | null;
                    name: string;
                    result?:
                        | {
                            explanation?: string
                            | null;
                            label?: string | null;
                            score?: number | null;
                        }
                        | null;
                    span_id: string;
                }[];
            };
            AnnotateSpansResponseBody: { data: { id: string }[] };
            AnnotateTracesRequestBody: {
                data: {
                    annotator_kind: "LLM" | "CODE" | "HUMAN";
                    identifier?: string;
                    metadata?: { [key: string]: unknown } | null;
                    name: string;
                    result?:
                        | {
                            explanation?: string
                            | null;
                            label?: string | null;
                            score?: number | null;
                        }
                        | null;
                    trace_id: string;
                }[];
            };
            AnnotateTracesResponseBody: { data: { id: string }[] };
            AnnotationResult: {
                explanation?: string | null;
                label?: string | null;
                score?: number | null;
            };
            CategoricalAnnotationConfig: {
                description?: string
                | null;
                id: string;
                name: string;
                optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                type: "CATEGORICAL";
                values: { label: string; score?: number | null }[];
            };
            CategoricalAnnotationConfigData: {
                description?: string
                | null;
                name: string;
                optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                type: "CATEGORICAL";
                values: { label: string; score?: number | null }[];
            };
            CategoricalAnnotationValue: { label: string; score?: number
            | null };
            ContinuousAnnotationConfig: {
                description?: string | null;
                id: string;
                lower_bound?: number | null;
                name: string;
                optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                type: "CONTINUOUS";
                upper_bound?: number | null;
            };
            ContinuousAnnotationConfigData: {
                description?: string
                | null;
                lower_bound?: number | null;
                name: string;
                optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                type: "CONTINUOUS";
                upper_bound?: number | null;
            };
            CreateAnnotationConfigData: | {
                description?: string
                | null;
                name: string;
                optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                type: "CATEGORICAL";
                values: { label: string; score?: number | null }[];
            }
            | {
                description?: string
                | null;
                lower_bound?: number | null;
                name: string;
                optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                type: "CONTINUOUS";
                upper_bound?: number | null;
            }
            | { description?: string
            | null; name: string; type: "FREEFORM" };
            CreateAnnotationConfigResponseBody: {
                data:
                    | {
                        description?: string
                        | null;
                        id: string;
                        name: string;
                        optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                        type: "CATEGORICAL";
                        values: { label: string; score?: number | null }[];
                    }
                    | {
                        description?: string
                        | null;
                        id: string;
                        lower_bound?: number | null;
                        name: string;
                        optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                        type: "CONTINUOUS";
                        upper_bound?: number | null;
                    }
                    | {
                        description?: string
                        | null;
                        id: string;
                        name: string;
                        type: "FREEFORM";
                    };
            };
            CreateExperimentRequestBody: {
                description?: string
                | null;
                metadata?: { [key: string]: unknown } | null;
                name?: string | null;
                repetitions?: number;
                splits?: string[] | null;
                version_id?: string | null;
            };
            CreateExperimentResponseBody: {
                data: {
                    created_at: string;
                    dataset_id: string;
                    dataset_version_id: string;
                    example_count: number;
                    failed_run_count: number;
                    id: string;
                    metadata: { [key: string]: unknown };
                    missing_run_count: number;
                    project_name: string | null;
                    repetitions: number;
                    successful_run_count: number;
                    updated_at: string;
                };
            };
            CreateExperimentRunRequestBody: {
                dataset_example_id: string;
                end_time: string;
                error?: string
                | null;
                output: unknown;
                repetition_number: number;
                start_time: string;
                trace_id?: string | null;
            };
            CreateExperimentRunResponseBody: { data: { id: string } };
            CreateExperimentRunResponseBodyData: { id: string };
            CreateProjectRequestBody: { description?: string | null; name: string };
            CreateProjectResponseBody: {
                data: { description?: string | null; id: string; name: string };
            };
            CreatePromptRequestBody: {
                prompt: {
                    description?: string
                    | null;
                    metadata?: { [key: string]: unknown } | null;
                    name: string;
                    source_prompt_id?: string | null;
                };
                version: {
                    description?: string
                    | null;
                    invocation_parameters:
                        | {
                            anthropic: {
                                max_tokens: number;
                                stop_sequences?: string[];
                                temperature?: number;
                                thinking?: | { type: "disabled" }
                                | { budget_tokens: number; type: "enabled" };
                                top_p?: number;
                            };
                            type: "anthropic";
                        }
                        | {
                            aws: { max_tokens?: number; temperature?: number; top_p?: number };
                            type: "aws";
                        }
                        | {
                            azure_openai: {
                                frequency_penalty?: number;
                                max_completion_tokens?: number;
                                max_tokens?: number;
                                presence_penalty?: number;
                                reasoning_effort?: | "none"
                                | "minimal"
                                | "low"
                                | "medium"
                                | "high"
                                | "xhigh";
                                seed?: number;
                                temperature?: number;
                                top_p?: number;
                            };
                            type: "azure_openai";
                        }
                        | {
                            deepseek: {
                                frequency_penalty?: number;
                                max_completion_tokens?: number;
                                max_tokens?: number;
                                presence_penalty?: number;
                                reasoning_effort?: | "none"
                                | "minimal"
                                | "low"
                                | "medium"
                                | "high"
                                | "xhigh";
                                seed?: number;
                                temperature?: number;
                                top_p?: number;
                            };
                            type: "deepseek";
                        }
                        | {
                            google: {
                                frequency_penalty?: number;
                                max_output_tokens?: number;
                                presence_penalty?: number;
                                stop_sequences?: string[];
                                temperature?: number;
                                top_k?: number;
                                top_p?: number;
                            };
                            type: "google";
                        }
                        | {
                            ollama: {
                                frequency_penalty?: number;
                                max_completion_tokens?: number;
                                max_tokens?: number;
                                presence_penalty?: number;
                                reasoning_effort?: | "none"
                                | "minimal"
                                | "low"
                                | "medium"
                                | "high"
                                | "xhigh";
                                seed?: number;
                                temperature?: number;
                                top_p?: number;
                            };
                            type: "ollama";
                        }
                        | {
                            openai: {
                                frequency_penalty?: number;
                                max_completion_tokens?: number;
                                max_tokens?: number;
                                presence_penalty?: number;
                                reasoning_effort?: | "none"
                                | "minimal"
                                | "low"
                                | "medium"
                                | "high"
                                | "xhigh";
                                seed?: number;
                                temperature?: number;
                                top_p?: number;
                            };
                            type: "openai";
                        }
                        | {
                            type: "xai";
                            xai: {
                                frequency_penalty?: number;
                                max_completion_tokens?: number;
                                max_tokens?: number;
                                presence_penalty?: number;
                                reasoning_effort?: | "none"
                                | "minimal"
                                | "low"
                                | "medium"
                                | "high"
                                | "xhigh";
                                seed?: number;
                                temperature?: number;
                                top_p?: number;
                            };
                        };
                    model_name: string;
                    model_provider: | "OPENAI"
                    | "AZURE_OPENAI"
                    | "ANTHROPIC"
                    | "GOOGLE"
                    | "DEEPSEEK"
                    | "XAI"
                    | "OLLAMA"
                    | "AWS";
                    response_format?: | {
                        json_schema: {
                            description?: string;
                            name: string;
                            schema?: { [key: string]: unknown };
                            strict?: boolean;
                        };
                        type: "json_schema";
                    }
                    | null;
                    template: | {
                        messages: {
                            content: | string
                            | (
                                | { text: ...; type: ... }
                                | { tool_call: ...; tool_call_id: ...; type: ... }
                                | { tool_call_id: ...; tool_result: ...; type: ... }
                            )[];
                            role:
                                | "user"
                                | "assistant"
                                | "model"
                                | "ai"
                                | "tool"
                                | "system"
                                | "developer";
                        }[];
                        type: "chat";
                    }
                    | { template: string; type: "string" };
                    template_format: "NONE" | "MUSTACHE" | "F_STRING";
                    template_type: "STR" | "CHAT";
                    tools?:
                        | {
                            disable_parallel_tool_calls?: boolean;
                            tool_choice?: | { type: "none" }
                            | { type: "one_or_more" }
                            | { function_name: string; type: "specific_function" }
                            | { type: "zero_or_more" };
                            tools: {
                                function: {
                                    description?: string;
                                    name: string;
                                    parameters?: { [key: string]: unknown };
                                    strict?: boolean;
                                };
                                type: "function";
                            }[];
                            type: "tools";
                        }
                        | null;
                };
            };
            CreatePromptResponseBody: {
                data: {
                    description?: string
                    | null;
                    id: string;
                    invocation_parameters:
                        | {
                            anthropic: {
                                max_tokens: number;
                                stop_sequences?: string[];
                                temperature?: number;
                                thinking?: | { type: "disabled" }
                                | { budget_tokens: number; type: "enabled" };
                                top_p?: number;
                            };
                            type: "anthropic";
                        }
                        | {
                            aws: { max_tokens?: number; temperature?: number; top_p?: number };
                            type: "aws";
                        }
                        | {
                            azure_openai: {
                                frequency_penalty?: number;
                                max_completion_tokens?: number;
                                max_tokens?: number;
                                presence_penalty?: number;
                                reasoning_effort?: | "none"
                                | "minimal"
                                | "low"
                                | "medium"
                                | "high"
                                | "xhigh";
                                seed?: number;
                                temperature?: number;
                                top_p?: number;
                            };
                            type: "azure_openai";
                        }
                        | {
                            deepseek: {
                                frequency_penalty?: number;
                                max_completion_tokens?: number;
                                max_tokens?: number;
                                presence_penalty?: number;
                                reasoning_effort?: | "none"
                                | "minimal"
                                | "low"
                                | "medium"
                                | "high"
                                | "xhigh";
                                seed?: number;
                                temperature?: number;
                                top_p?: number;
                            };
                            type: "deepseek";
                        }
                        | {
                            google: {
                                frequency_penalty?: number;
                                max_output_tokens?: number;
                                presence_penalty?: number;
                                stop_sequences?: string[];
                                temperature?: number;
                                top_k?: number;
                                top_p?: number;
                            };
                            type: "google";
                        }
                        | {
                            ollama: {
                                frequency_penalty?: number;
                                max_completion_tokens?: number;
                                max_tokens?: number;
                                presence_penalty?: number;
                                reasoning_effort?: | "none"
                                | "minimal"
                                | "low"
                                | "medium"
                                | "high"
                                | "xhigh";
                                seed?: number;
                                temperature?: number;
                                top_p?: number;
                            };
                            type: "ollama";
                        }
                        | {
                            openai: {
                                frequency_penalty?: number;
                                max_completion_tokens?: number;
                                max_tokens?: number;
                                presence_penalty?: number;
                                reasoning_effort?: | "none"
                                | "minimal"
                                | "low"
                                | "medium"
                                | "high"
                                | "xhigh";
                                seed?: number;
                                temperature?: number;
                                top_p?: number;
                            };
                            type: "openai";
                        }
                        | {
                            type: "xai";
                            xai: {
                                frequency_penalty?: number;
                                max_completion_tokens?: number;
                                max_tokens?: number;
                                presence_penalty?: number;
                                reasoning_effort?: | "none"
                                | "minimal"
                                | "low"
                                | "medium"
                                | "high"
                                | "xhigh";
                                seed?: number;
                                temperature?: number;
                                top_p?: number;
                            };
                        };
                    model_name: string;
                    model_provider: | "OPENAI"
                    | "AZURE_OPENAI"
                    | "ANTHROPIC"
                    | "GOOGLE"
                    | "DEEPSEEK"
                    | "XAI"
                    | "OLLAMA"
                    | "AWS";
                    response_format?: | {
                        json_schema: {
                            description?: string;
                            name: string;
                            schema?: { [key: string]: unknown };
                            strict?: boolean;
                        };
                        type: "json_schema";
                    }
                    | null;
                    template: | {
                        messages: {
                            content: | string
                            | (
                                | { text: ...; type: ... }
                                | { tool_call: ...; tool_call_id: ...; type: ... }
                                | { tool_call_id: ...; tool_result: ...; type: ... }
                            )[];
                            role:
                                | "user"
                                | "assistant"
                                | "model"
                                | "ai"
                                | "tool"
                                | "system"
                                | "developer";
                        }[];
                        type: "chat";
                    }
                    | { template: string; type: "string" };
                    template_format: "NONE" | "MUSTACHE" | "F_STRING";
                    template_type: "STR" | "CHAT";
                    tools?:
                        | {
                            disable_parallel_tool_calls?: boolean;
                            tool_choice?: | { type: "none" }
                            | { type: "one_or_more" }
                            | { function_name: string; type: "specific_function" }
                            | { type: "zero_or_more" };
                            tools: {
                                function: {
                                    description?: string;
                                    name: string;
                                    parameters?: { [key: string]: unknown };
                                    strict?: boolean;
                                };
                                type: "function";
                            }[];
                            type: "tools";
                        }
                        | null;
                };
            };
            CreateSpanNoteRequestBody: { data: { note: string; span_id: string } };
            CreateSpanNoteResponseBody: { data: { id: string } };
            CreateSpansRequestBody: {
                data: {
                    attributes?: { [key: string]: unknown };
                    context: { span_id: string; trace_id: string };
                    end_time: string;
                    events?: {
                        attributes?: { [key: string]: unknown };
                        name: string;
                        timestamp: string;
                    }[];
                    id?: string;
                    name: string;
                    parent_id?: string
                    | null;
                    span_kind: string;
                    start_time: string;
                    status_code: string;
                    status_message?: string;
                }[];
            };
            CreateSpansResponseBody: { total_queued: number; total_received: number };
            CreateUserRequestBody: {
                send_welcome_email?: boolean;
                user:
                    | {
                        auth_method: "LOCAL";
                        email: string;
                        password?: string;
                        role: "SYSTEM"
                        | "ADMIN"
                        | "MEMBER"
                        | "VIEWER";
                        username: string;
                    }
                    | {
                        auth_method: "OAUTH2";
                        email: string;
                        oauth2_client_id?: string;
                        oauth2_user_id?: string;
                        role: "SYSTEM"
                        | "ADMIN"
                        | "MEMBER"
                        | "VIEWER";
                        username: string;
                    }
                    | {
                        auth_method: "LDAP";
                        email: string;
                        role: "SYSTEM"
                        | "ADMIN"
                        | "MEMBER"
                        | "VIEWER";
                        username: string;
                    };
            };
            CreateUserResponseBody: {
                data: | {
                    auth_method: "LOCAL";
                    created_at: string;
                    email: string;
                    id: string;
                    password?: string;
                    password_needs_reset: boolean;
                    role: "SYSTEM"
                    | "ADMIN"
                    | "MEMBER"
                    | "VIEWER";
                    updated_at: string;
                    username: string;
                }
                | {
                    auth_method: "OAUTH2";
                    created_at: string;
                    email: string;
                    id: string;
                    oauth2_client_id?: string;
                    oauth2_user_id?: string;
                    profile_picture_url?: string;
                    role: "SYSTEM"
                    | "ADMIN"
                    | "MEMBER"
                    | "VIEWER";
                    updated_at: string;
                    username: string;
                }
                | {
                    auth_method: "LDAP";
                    created_at: string;
                    email: string;
                    id: string;
                    role: "SYSTEM"
                    | "ADMIN"
                    | "MEMBER"
                    | "VIEWER";
                    updated_at: string;
                    username: string;
                };
            };
            Dataset: {
                created_at: string;
                description: string
                | null;
                example_count: number;
                id: string;
                metadata: { [key: string]: unknown };
                name: string;
                updated_at: string;
            };
            DatasetExample: {
                id: string;
                input: { [key: string]: unknown };
                metadata: { [key: string]: unknown };
                output: { [key: string]: unknown };
                updated_at: string;
            };
            DatasetVersion: {
                created_at: string;
                description: string
                | null;
                metadata: { [key: string]: unknown };
                version_id: string;
            };
            DatasetWithExampleCount: {
                created_at: string;
                description: string
                | null;
                example_count: number;
                id: string;
                metadata: { [key: string]: unknown };
                name: string;
                updated_at: string;
            };
            DeleteAnnotationConfigResponseBody: {
                data: | {
                    description?: string
                    | null;
                    id: string;
                    name: string;
                    optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                    type: "CATEGORICAL";
                    values: { label: string; score?: number | null }[];
                }
                | {
                    description?: string
                    | null;
                    id: string;
                    lower_bound?: number | null;
                    name: string;
                    optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                    type: "CONTINUOUS";
                    upper_bound?: number | null;
                }
                | {
                    description?: string
                    | null;
                    id: string;
                    name: string;
                    type: "FREEFORM";
                };
            };
            Experiment: {
                created_at: string;
                dataset_id: string;
                dataset_version_id: string;
                example_count: number;
                failed_run_count: number;
                id: string;
                metadata: { [key: string]: unknown };
                missing_run_count: number;
                project_name: string | null;
                repetitions: number;
                successful_run_count: number;
                updated_at: string;
            };
            ExperimentEvaluationResult: {
                explanation?: string
                | null;
                label?: string | null;
                score?: number | null;
            };
            ExperimentRun: {
                dataset_example_id: string;
                end_time: string;
                error?: string
                | null;
                experiment_id: string;
                id: string;
                output: unknown;
                repetition_number: number;
                start_time: string;
                trace_id?: string | null;
            };
            FreeformAnnotationConfig: {
                description?: string
                | null;
                id: string;
                name: string;
                type: "FREEFORM";
            };
            FreeformAnnotationConfigData: {
                description?: string
                | null;
                name: string;
                type: "FREEFORM";
            };
            GetAnnotationConfigResponseBody: {
                data: | {
                    description?: string
                    | null;
                    id: string;
                    name: string;
                    optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                    type: "CATEGORICAL";
                    values: { label: string; score?: number | null }[];
                }
                | {
                    description?: string
                    | null;
                    id: string;
                    lower_bound?: number | null;
                    name: string;
                    optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                    type: "CONTINUOUS";
                    upper_bound?: number | null;
                }
                | {
                    description?: string
                    | null;
                    id: string;
                    name: string;
                    type: "FREEFORM";
                };
            };
            GetAnnotationConfigsResponseBody: {
                data: (
                    | {
                        description?: string
                        | null;
                        id: string;
                        name: string;
                        optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                        type: "CATEGORICAL";
                        values: { label: string; score?: number | null }[];
                    }
                    | {
                        description?: string
                        | null;
                        id: string;
                        lower_bound?: number | null;
                        name: string;
                        optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                        type: "CONTINUOUS";
                        upper_bound?: number | null;
                    }
                    | {
                        description?: string
                        | null;
                        id: string;
                        name: string;
                        type: "FREEFORM";
                    }
                )[];
                next_cursor: string
                | null;
            };
            GetDatasetResponseBody: {
                data: {
                    created_at: string;
                    description: string
                    | null;
                    example_count: number;
                    id: string;
                    metadata: { [key: string]: unknown };
                    name: string;
                    updated_at: string;
                };
            };
            GetExperimentResponseBody: {
                data: {
                    created_at: string;
                    dataset_id: string;
                    dataset_version_id: string;
                    example_count: number;
                    failed_run_count: number;
                    id: string;
                    metadata: { [key: string]: unknown };
                    missing_run_count: number;
                    project_name: string | null;
                    repetitions: number;
                    successful_run_count: number;
                    updated_at: string;
                };
            };
            GetIncompleteEvaluationsResponseBody: {
                data: {
                    dataset_example: {
                        id: string;
                        input: { [key: string]: unknown };
                        metadata: { [key: string]: unknown };
                        output: { [key: string]: unknown };
                        updated_at: string;
                    };
                    evaluation_names: string[];
                    experiment_run: {
                        dataset_example_id: string;
                        end_time: string;
                        error?: string
                        | null;
                        experiment_id: string;
                        id: string;
                        output: unknown;
                        repetition_number: number;
                        start_time: string;
                        trace_id?: string | null;
                    };
                }[];
                next_cursor: string
                | null;
            };
            GetIncompleteExperimentRunsResponseBody: {
                data: {
                    dataset_example: {
                        id: string;
                        input: { [key: string]: unknown };
                        metadata: { [key: string]: unknown };
                        output: { [key: string]: unknown };
                        updated_at: string;
                    };
                    repetition_numbers: number[];
                }[];
                next_cursor: string
                | null;
            };
            GetProjectResponseBody: {
                data: { description?: string
                | null; id: string; name: string };
            };
            GetProjectsResponseBody: {
                data: { description?: string
                | null; id: string; name: string }[];
                next_cursor: string | null;
            };
            GetPromptResponseBody: {
                data: {
                    description?: string
                    | null;
                    id: string;
                    invocation_parameters:
                        | {
                            anthropic: {
                                max_tokens: number;
                                stop_sequences?: string[];
                                temperature?: number;
                                thinking?: | { type: "disabled" }
                                | { budget_tokens: number; type: "enabled" };
                                top_p?: number;
                            };
                            type: "anthropic";
                        }
                        | {
                            aws: { max_tokens?: number; temperature?: number; top_p?: number };
                            type: "aws";
                        }
                        | {
                            azure_openai: {
                                frequency_penalty?: number;
                                max_completion_tokens?: number;
                                max_tokens?: number;
                                presence_penalty?: number;
                                reasoning_effort?: | "none"
                                | "minimal"
                                | "low"
                                | "medium"
                                | "high"
                                | "xhigh";
                                seed?: number;
                                temperature?: number;
                                top_p?: number;
                            };
                            type: "azure_openai";
                        }
                        | {
                            deepseek: {
                                frequency_penalty?: number;
                                max_completion_tokens?: number;
                                max_tokens?: number;
                                presence_penalty?: number;
                                reasoning_effort?: | "none"
                                | "minimal"
                                | "low"
                                | "medium"
                                | "high"
                                | "xhigh";
                                seed?: number;
                                temperature?: number;
                                top_p?: number;
                            };
                            type: "deepseek";
                        }
                        | {
                            google: {
                                frequency_penalty?: number;
                                max_output_tokens?: number;
                                presence_penalty?: number;
                                stop_sequences?: string[];
                                temperature?: number;
                                top_k?: number;
                                top_p?: number;
                            };
                            type: "google";
                        }
                        | {
                            ollama: {
                                frequency_penalty?: number;
                                max_completion_tokens?: number;
                                max_tokens?: number;
                                presence_penalty?: number;
                                reasoning_effort?: | "none"
                                | "minimal"
                                | "low"
                                | "medium"
                                | "high"
                                | "xhigh";
                                seed?: number;
                                temperature?: number;
                                top_p?: number;
                            };
                            type: "ollama";
                        }
                        | {
                            openai: {
                                frequency_penalty?: number;
                                max_completion_tokens?: number;
                                max_tokens?: number;
                                presence_penalty?: number;
                                reasoning_effort?: | "none"
                                | "minimal"
                                | "low"
                                | "medium"
                                | "high"
                                | "xhigh";
                                seed?: number;
                                temperature?: number;
                                top_p?: number;
                            };
                            type: "openai";
                        }
                        | {
                            type: "xai";
                            xai: {
                                frequency_penalty?: number;
                                max_completion_tokens?: number;
                                max_tokens?: number;
                                presence_penalty?: number;
                                reasoning_effort?: | "none"
                                | "minimal"
                                | "low"
                                | "medium"
                                | "high"
                                | "xhigh";
                                seed?: number;
                                temperature?: number;
                                top_p?: number;
                            };
                        };
                    model_name: string;
                    model_provider: | "OPENAI"
                    | "AZURE_OPENAI"
                    | "ANTHROPIC"
                    | "GOOGLE"
                    | "DEEPSEEK"
                    | "XAI"
                    | "OLLAMA"
                    | "AWS";
                    response_format?: | {
                        json_schema: {
                            description?: string;
                            name: string;
                            schema?: { [key: string]: unknown };
                            strict?: boolean;
                        };
                        type: "json_schema";
                    }
                    | null;
                    template: | {
                        messages: {
                            content: | string
                            | (
                                | { text: ...; type: ... }
                                | { tool_call: ...; tool_call_id: ...; type: ... }
                                | { tool_call_id: ...; tool_result: ...; type: ... }
                            )[];
                            role:
                                | "user"
                                | "assistant"
                                | "model"
                                | "ai"
                                | "tool"
                                | "system"
                                | "developer";
                        }[];
                        type: "chat";
                    }
                    | { template: string; type: "string" };
                    template_format: "NONE" | "MUSTACHE" | "F_STRING";
                    template_type: "STR" | "CHAT";
                    tools?:
                        | {
                            disable_parallel_tool_calls?: boolean;
                            tool_choice?: | { type: "none" }
                            | { type: "one_or_more" }
                            | { function_name: string; type: "specific_function" }
                            | { type: "zero_or_more" };
                            tools: {
                                function: {
                                    description?: string;
                                    name: string;
                                    parameters?: { [key: string]: unknown };
                                    strict?: boolean;
                                };
                                type: "function";
                            }[];
                            type: "tools";
                        }
                        | null;
                };
            };
            GetPromptsResponseBody: {
                data: {
                    description?: string
                    | null;
                    id: string;
                    metadata?: { [key: string]: unknown } | null;
                    name: string;
                    source_prompt_id?: string | null;
                }[];
                next_cursor: string
                | null;
            };
            GetPromptVersionsResponseBody: {
                data: {
                    description?: string
                    | null;
                    id: string;
                    invocation_parameters:
                        | {
                            anthropic: {
                                max_tokens: number;
                                stop_sequences?: string[];
                                temperature?: number;
                                thinking?: | { type: "disabled" }
                                | { budget_tokens: number; type: "enabled" };
                                top_p?: number;
                            };
                            type: "anthropic";
                        }
                        | {
                            aws: { max_tokens?: number; temperature?: number; top_p?: number };
                            type: "aws";
                        }
                        | {
                            azure_openai: {
                                frequency_penalty?: number;
                                max_completion_tokens?: number;
                                max_tokens?: number;
                                presence_penalty?: number;
                                reasoning_effort?: | "none"
                                | "minimal"
                                | "low"
                                | "medium"
                                | "high"
                                | "xhigh";
                                seed?: number;
                                temperature?: number;
                                top_p?: number;
                            };
                            type: "azure_openai";
                        }
                        | {
                            deepseek: {
                                frequency_penalty?: number;
                                max_completion_tokens?: number;
                                max_tokens?: number;
                                presence_penalty?: number;
                                reasoning_effort?: | "none"
                                | "minimal"
                                | "low"
                                | "medium"
                                | "high"
                                | "xhigh";
                                seed?: number;
                                temperature?: number;
                                top_p?: number;
                            };
                            type: "deepseek";
                        }
                        | {
                            google: {
                                frequency_penalty?: number;
                                max_output_tokens?: number;
                                presence_penalty?: number;
                                stop_sequences?: string[];
                                temperature?: number;
                                top_k?: number;
                                top_p?: number;
                            };
                            type: "google";
                        }
                        | {
                            ollama: {
                                frequency_penalty?: number;
                                max_completion_tokens?: number;
                                max_tokens?: number;
                                presence_penalty?: number;
                                reasoning_effort?: | "none"
                                | "minimal"
                                | "low"
                                | "medium"
                                | "high"
                                | "xhigh";
                                seed?: number;
                                temperature?: number;
                                top_p?: number;
                            };
                            type: "ollama";
                        }
                        | {
                            openai: {
                                frequency_penalty?: number;
                                max_completion_tokens?: number;
                                max_tokens?: number;
                                presence_penalty?: number;
                                reasoning_effort?: | "none"
                                | "minimal"
                                | "low"
                                | "medium"
                                | "high"
                                | "xhigh";
                                seed?: number;
                                temperature?: number;
                                top_p?: number;
                            };
                            type: "openai";
                        }
                        | {
                            type: "xai";
                            xai: {
                                frequency_penalty?: number;
                                max_completion_tokens?: number;
                                max_tokens?: number;
                                presence_penalty?: number;
                                reasoning_effort?: | "none"
                                | "minimal"
                                | "low"
                                | "medium"
                                | "high"
                                | "xhigh";
                                seed?: number;
                                temperature?: number;
                                top_p?: number;
                            };
                        };
                    model_name: string;
                    model_provider: | "OPENAI"
                    | "AZURE_OPENAI"
                    | "ANTHROPIC"
                    | "GOOGLE"
                    | "DEEPSEEK"
                    | "XAI"
                    | "OLLAMA"
                    | "AWS";
                    response_format?: | {
                        json_schema: {
                            description?: string;
                            name: string;
                            schema?: { [key: string]: unknown };
                            strict?: boolean;
                        };
                        type: "json_schema";
                    }
                    | null;
                    template: | {
                        messages: {
                            content: string
                            | ((...) | (...) | (...))[];
                            role:
                                | "user"
                                | "assistant"
                                | "model"
                                | "ai"
                                | "tool"
                                | "system"
                                | "developer";
                        }[];
                        type: "chat";
                    }
                    | { template: string; type: "string" };
                    template_format: "NONE" | "MUSTACHE" | "F_STRING";
                    template_type: "STR" | "CHAT";
                    tools?:
                        | {
                            disable_parallel_tool_calls?: boolean;
                            tool_choice?: | { type: "none" }
                            | { type: "one_or_more" }
                            | { function_name: string; type: "specific_function" }
                            | { type: "zero_or_more" };
                            tools: {
                                function: {
                                    description?: string;
                                    name: string;
                                    parameters?: { [key: ...]: ... };
                                    strict?: boolean;
                                };
                                type: "function";
                            }[];
                            type: "tools";
                        }
                        | null;
                }[];
                next_cursor: string
                | null;
            };
            GetPromptVersionTagsResponseBody: {
                data: { description?: string
                | null; id: string; name: string }[];
                next_cursor: string | null;
            };
            GetUsersResponseBody: {
                data: (
                    | {
                        auth_method: "LOCAL";
                        created_at: string;
                        email: string;
                        id: string;
                        password?: string;
                        password_needs_reset: boolean;
                        role: "SYSTEM"
                        | "ADMIN"
                        | "MEMBER"
                        | "VIEWER";
                        updated_at: string;
                        username: string;
                    }
                    | {
                        auth_method: "OAUTH2";
                        created_at: string;
                        email: string;
                        id: string;
                        oauth2_client_id?: string;
                        oauth2_user_id?: string;
                        profile_picture_url?: string;
                        role: "SYSTEM"
                        | "ADMIN"
                        | "MEMBER"
                        | "VIEWER";
                        updated_at: string;
                        username: string;
                    }
                    | {
                        auth_method: "LDAP";
                        created_at: string;
                        email: string;
                        id: string;
                        role: "SYSTEM"
                        | "ADMIN"
                        | "MEMBER"
                        | "VIEWER";
                        updated_at: string;
                        username: string;
                    }
                )[];
                next_cursor: string
                | null;
            };
            HTTPValidationError: {
                detail?: {
                    ctx?: Record<string, unknown>;
                    input?: unknown;
                    loc: (string | number)[];
                    msg: string;
                    type: string;
                }[];
            };
            Identifier: string;
            IncompleteExperimentEvaluation: {
                dataset_example: {
                    id: string;
                    input: { [key: string]: unknown };
                    metadata: { [key: string]: unknown };
                    output: { [key: string]: unknown };
                    updated_at: string;
                };
                evaluation_names: string[];
                experiment_run: {
                    dataset_example_id: string;
                    end_time: string;
                    error?: string
                    | null;
                    experiment_id: string;
                    id: string;
                    output: unknown;
                    repetition_number: number;
                    start_time: string;
                    trace_id?: string | null;
                };
            };
            IncompleteExperimentRun: {
                dataset_example: {
                    id: string;
                    input: { [key: string]: unknown };
                    metadata: { [key: string]: unknown };
                    output: { [key: string]: unknown };
                    updated_at: string;
                };
                repetition_numbers: number[];
            };
            InsertedSessionAnnotation: { id: string };
            InsertedSpanAnnotation: { id: string };
            InsertedSpanDocumentAnnotation: { id: string };
            InsertedTraceAnnotation: { id: string };
            LDAPUser: {
                auth_method: "LDAP";
                created_at: string;
                email: string;
                id: string;
                role: "SYSTEM" | "ADMIN" | "MEMBER" | "VIEWER";
                updated_at: string;
                username: string;
            };
            LDAPUserData: {
                auth_method: "LDAP";
                email: string;
                role: "SYSTEM"
                | "ADMIN"
                | "MEMBER"
                | "VIEWER";
                username: string;
            };
            ListDatasetExamplesData: {
                dataset_id: string;
                examples: {
                    id: string;
                    input: { [key: string]: unknown };
                    metadata: { [key: string]: unknown };
                    output: { [key: string]: unknown };
                    updated_at: string;
                }[];
                filtered_splits?: string[];
                version_id: string;
            };
            ListDatasetExamplesResponseBody: {
                data: {
                    dataset_id: string;
                    examples: {
                        id: string;
                        input: { [key: string]: unknown };
                        metadata: { [key: string]: unknown };
                        output: { [key: string]: unknown };
                        updated_at: string;
                    }[];
                    filtered_splits?: string[];
                    version_id: string;
                };
            };
            ListDatasetsResponseBody: {
                data: {
                    created_at: string;
                    description: string
                    | null;
                    example_count: number;
                    id: string;
                    metadata: { [key: string]: unknown };
                    name: string;
                    updated_at: string;
                }[];
                next_cursor: string
                | null;
            };
            ListDatasetVersionsResponseBody: {
                data: {
                    created_at: string;
                    description: string
                    | null;
                    metadata: { [key: string]: unknown };
                    version_id: string;
                }[];
                next_cursor: string
                | null;
            };
            ListExperimentRunsResponseBody: {
                data: {
                    dataset_example_id: string;
                    end_time: string;
                    error?: string
                    | null;
                    experiment_id: string;
                    id: string;
                    output: unknown;
                    repetition_number: number;
                    start_time: string;
                    trace_id?: string | null;
                }[];
                next_cursor: string
                | null;
            };
            ListExperimentsResponseBody: {
                data: {
                    created_at: string;
                    dataset_id: string;
                    dataset_version_id: string;
                    example_count: number;
                    failed_run_count: number;
                    id: string;
                    metadata: { [key: string]: unknown };
                    missing_run_count: number;
                    project_name: string | null;
                    repetitions: number;
                    successful_run_count: number;
                    updated_at: string;
                }[];
                next_cursor: string
                | null;
            };
            LocalUser: {
                auth_method: "LOCAL";
                created_at: string;
                email: string;
                id: string;
                password?: string;
                password_needs_reset: boolean;
                role: "SYSTEM"
                | "ADMIN"
                | "MEMBER"
                | "VIEWER";
                updated_at: string;
                username: string;
            };
            LocalUserData: {
                auth_method: "LOCAL";
                email: string;
                password?: string;
                role: "SYSTEM"
                | "ADMIN"
                | "MEMBER"
                | "VIEWER";
                username: string;
            };
            ModelProvider: | "OPENAI"
            | "AZURE_OPENAI"
            | "ANTHROPIC"
            | "GOOGLE"
            | "DEEPSEEK"
            | "XAI"
            | "OLLAMA"
            | "AWS";
            OAuth2User: {
                auth_method: "OAUTH2";
                created_at: string;
                email: string;
                id: string;
                oauth2_client_id?: string;
                oauth2_user_id?: string;
                profile_picture_url?: string;
                role: "SYSTEM"
                | "ADMIN"
                | "MEMBER"
                | "VIEWER";
                updated_at: string;
                username: string;
            };
            OAuth2UserData: {
                auth_method: "OAUTH2";
                email: string;
                oauth2_client_id?: string;
                oauth2_user_id?: string;
                role: "SYSTEM"
                | "ADMIN"
                | "MEMBER"
                | "VIEWER";
                username: string;
            };
            OptimizationDirection: "MINIMIZE"
            | "MAXIMIZE"
            | "NONE";
            OtlpAnyValue: {
                array_value?:
                    | {
                        values?: | (
                            { array_value?: { values?: ...[] | null | undefined; } | null | undefined; bool_value?: boolean | null | undefined; bytes_value?: string | null | undefined; double_value?: string | number | null | undefined; int_value?: string | ... 2 more ... | undefined; kvlist_value?: null | undefined; string_value?: string | ......
                        )[]
                        | null;
                    }
                    | null;
                bool_value?: boolean
                | null;
                bytes_value?: string | null;
                double_value?: string | number | null;
                int_value?: string | number | null;
                kvlist_value?: null;
                string_value?: string | null;
            };
            OtlpArrayValue: {
                values?: | {
                    array_value?: | (
                        { values?: { array_value?: ... | null | undefined; bool_value?: boolean | null | undefined; bytes_value?: string | null | undefined; double_value?: string | number | null | undefined; int_value?: string | ... 2 more ... | undefined; kvlist_value?: null | undefined; string_value?: string | ... 1 more ... | undefined;...
                    )
                    | null;
                    bool_value?: boolean
                    | null;
                    bytes_value?: string | null;
                    double_value?: string | number | null;
                    int_value?: string | number | null;
                    kvlist_value?: null;
                    string_value?: string | null;
                }[]
                | null;
            };
            OtlpDoubleValue: "Infinity"
            | "-Infinity"
            | "NaN";
            OtlpEvent: {
                attributes?:
                    | {
                        key?: string
                        | null;
                        value?:
                            | {
                                array_value?: { values?: (...)[] | null }
                                | null;
                                bool_value?: boolean | null;
                                bytes_value?: string | null;
                                double_value?: string | number | null;
                                int_value?: string | number | null;
                                kvlist_value?: null;
                                string_value?: string | null;
                            }
                            | null;
                    }[]
                    | null;
                dropped_attributes_count?: number
                | null;
                name?: string | null;
                time_unix_nano?: string | number | null;
            };
            OtlpKeyValue: {
                key?: string
                | null;
                value?:
                    | {
                        array_value?: | {
                            values?: | (
                                { array_value?: { values?: ...[] | null | undefined; } | null | undefined; bool_value?: boolean | null | undefined; bytes_value?: string | null | undefined; double_value?: string | number | null | undefined; int_value?: string | ... 2 more ... | undefined; kvlist_value?: null | undefined; string_value?: string | ......
                            )[]
                            | null;
                        }
                        | null;
                        bool_value?: boolean
                        | null;
                        bytes_value?: string | null;
                        double_value?: string | number | null;
                        int_value?: string | number | null;
                        kvlist_value?: null;
                        string_value?: string | null;
                    }
                    | null;
            };
            OtlpKind: | "SPAN_KIND_UNSPECIFIED"
            | "SPAN_KIND_INTERNAL"
            | "SPAN_KIND_SERVER"
            | "SPAN_KIND_CLIENT"
            | "SPAN_KIND_PRODUCER"
            | "SPAN_KIND_CONSUMER";
            OtlpSpan: {
                attributes?: | {
                    key?: string
                    | null;
                    value?:
                        | {
                            array_value?: { values?: (...)[] | null }
                            | null;
                            bool_value?: boolean | null;
                            bytes_value?: string | null;
                            double_value?: string | number | null;
                            int_value?: string | number | null;
                            kvlist_value?: null;
                            string_value?: string | null;
                        }
                        | null;
                }[]
                | null;
                dropped_attributes_count?: number
                | null;
                dropped_events_count?: number | null;
                dropped_links_count?: number | null;
                end_time_unix_nano?: string | number | null;
                events?:
                    | {
                        attributes?: | {
                            key?: string
                            | null;
                            value?:
                                | {
                                    array_value?: (...)
                                    | (...)
                                    | (...);
                                    bool_value?: (...) | (...) | (...) | (...);
                                    bytes_value?: (...) | (...) | (...);
                                    double_value?: (...) | (...) | (...) | (...);
                                    int_value?: (...) | (...) | (...) | (...);
                                    kvlist_value?: (...) | (...);
                                    string_value?: (...) | (...) | (...);
                                }
                                | null;
                        }[]
                        | null;
                        dropped_attributes_count?: number
                        | null;
                        name?: string | null;
                        time_unix_nano?: string | number | null;
                    }[]
                    | null;
                flags?: number
                | null;
                kind?:
                    | number
                    | "SPAN_KIND_UNSPECIFIED"
                    | "SPAN_KIND_INTERNAL"
                    | "SPAN_KIND_SERVER"
                    | "SPAN_KIND_CLIENT"
                    | "SPAN_KIND_PRODUCER"
                    | "SPAN_KIND_CONSUMER"
                    | null;
                links?: null;
                name?: string
                | null;
                parent_span_id?: string | null;
                span_id?: string | null;
                start_time_unix_nano?: string | number | null;
                status?: { code?: number | null; message?: string | null } | null;
                trace_id?: string | null;
                trace_state?: string | null;
            };
            OtlpSpansResponseBody: {
                data: {
                    attributes?: | {
                        key?: string
                        | null;
                        value?:
                            | {
                                array_value?: { values?: ... }
                                | null;
                                bool_value?: boolean | null;
                                bytes_value?: string | null;
                                double_value?: string | number | null;
                                int_value?: string | number | null;
                                kvlist_value?: null;
                                string_value?: string | null;
                            }
                            | null;
                    }[]
                    | null;
                    dropped_attributes_count?: number
                    | null;
                    dropped_events_count?: number | null;
                    dropped_links_count?: number | null;
                    end_time_unix_nano?: string | number | null;
                    events?:
                        | {
                            attributes?: | {
                                key?: (...)
                                | (...)
                                | (...);
                                value?: (...) | (...) | (...);
                            }[]
                            | null;
                            dropped_attributes_count?: number
                            | null;
                            name?: string | null;
                            time_unix_nano?: string | number | null;
                        }[]
                        | null;
                    flags?: number
                    | null;
                    kind?:
                        | number
                        | "SPAN_KIND_UNSPECIFIED"
                        | "SPAN_KIND_INTERNAL"
                        | "SPAN_KIND_SERVER"
                        | "SPAN_KIND_CLIENT"
                        | "SPAN_KIND_PRODUCER"
                        | "SPAN_KIND_CONSUMER"
                        | null;
                    links?: null;
                    name?: string
                    | null;
                    parent_span_id?: string | null;
                    span_id?: string | null;
                    start_time_unix_nano?: string | number | null;
                    status?: { code?: number | null; message?: string | null } | null;
                    trace_id?: string | null;
                    trace_state?: string | null;
                }[];
                next_cursor: string
                | null;
            };
            OtlpStatus: { code?: number
            | null; message?: string | null };
            Project: { description?: string | null; id: string; name: string };
            Prompt: {
                description?: string | null;
                id: string;
                metadata?: { [key: string]: unknown } | null;
                name: string;
                source_prompt_id?: string | null;
            };
            PromptAnthropicInvocationParameters: {
                anthropic: {
                    max_tokens: number;
                    stop_sequences?: string[];
                    temperature?: number;
                    thinking?: | { type: "disabled" }
                    | { budget_tokens: number; type: "enabled" };
                    top_p?: number;
                };
                type: "anthropic";
            };
            PromptAnthropicInvocationParametersContent: {
                max_tokens: number;
                stop_sequences?: string[];
                temperature?: number;
                thinking?: | { type: "disabled" }
                | { budget_tokens: number; type: "enabled" };
                top_p?: number;
            };
            PromptAnthropicThinkingConfigDisabled: { type: "disabled" };
            PromptAnthropicThinkingConfigEnabled: {
                budget_tokens: number;
                type: "enabled";
            };
            PromptAwsInvocationParameters: {
                aws: { max_tokens?: number; temperature?: number; top_p?: number };
                type: "aws";
            };
            PromptAwsInvocationParametersContent: {
                max_tokens?: number;
                temperature?: number;
                top_p?: number;
            };
            PromptAzureOpenAIInvocationParameters: {
                azure_openai: {
                    frequency_penalty?: number;
                    max_completion_tokens?: number;
                    max_tokens?: number;
                    presence_penalty?: number;
                    reasoning_effort?: | "none"
                    | "minimal"
                    | "low"
                    | "medium"
                    | "high"
                    | "xhigh";
                    seed?: number;
                    temperature?: number;
                    top_p?: number;
                };
                type: "azure_openai";
            };
            PromptAzureOpenAIInvocationParametersContent: {
                frequency_penalty?: number;
                max_completion_tokens?: number;
                max_tokens?: number;
                presence_penalty?: number;
                reasoning_effort?: | "none"
                | "minimal"
                | "low"
                | "medium"
                | "high"
                | "xhigh";
                seed?: number;
                temperature?: number;
                top_p?: number;
            };
            PromptChatTemplate: {
                messages: {
                    content: | string
                    | (
                        | { text: string; type: "text" }
                        | {
                            tool_call: { arguments: string; name: string; type: "function" };
                            tool_call_id: string;
                            type: "tool_call";
                        }
                        | {
                            tool_call_id: string;
                            tool_result: | string
                            | number
                            | boolean
                            | { [key: string]: unknown }
                            | unknown[]
                            | null;
                            type: "tool_result";
                        }
                    )[];
                    role: | "user"
                    | "assistant"
                    | "model"
                    | "ai"
                    | "tool"
                    | "system"
                    | "developer";
                }[];
                type: "chat";
            };
            PromptData: {
                description?: string
                | null;
                metadata?: { [key: string]: unknown } | null;
                name: string;
                source_prompt_id?: string | null;
            };
            PromptDeepSeekInvocationParameters: {
                deepseek: {
                    frequency_penalty?: number;
                    max_completion_tokens?: number;
                    max_tokens?: number;
                    presence_penalty?: number;
                    reasoning_effort?: | "none"
                    | "minimal"
                    | "low"
                    | "medium"
                    | "high"
                    | "xhigh";
                    seed?: number;
                    temperature?: number;
                    top_p?: number;
                };
                type: "deepseek";
            };
            PromptDeepSeekInvocationParametersContent: {
                frequency_penalty?: number;
                max_completion_tokens?: number;
                max_tokens?: number;
                presence_penalty?: number;
                reasoning_effort?: | "none"
                | "minimal"
                | "low"
                | "medium"
                | "high"
                | "xhigh";
                seed?: number;
                temperature?: number;
                top_p?: number;
            };
            PromptGoogleInvocationParameters: {
                google: {
                    frequency_penalty?: number;
                    max_output_tokens?: number;
                    presence_penalty?: number;
                    stop_sequences?: string[];
                    temperature?: number;
                    top_k?: number;
                    top_p?: number;
                };
                type: "google";
            };
            PromptGoogleInvocationParametersContent: {
                frequency_penalty?: number;
                max_output_tokens?: number;
                presence_penalty?: number;
                stop_sequences?: string[];
                temperature?: number;
                top_k?: number;
                top_p?: number;
            };
            PromptMessage: {
                content: | string
                | (
                    | { text: string; type: "text" }
                    | {
                        tool_call: { arguments: string; name: string; type: "function" };
                        tool_call_id: string;
                        type: "tool_call";
                    }
                    | {
                        tool_call_id: string;
                        tool_result: | string
                        | number
                        | boolean
                        | { [key: string]: unknown }
                        | unknown[]
                        | null;
                        type: "tool_result";
                    }
                )[];
                role: | "user"
                | "assistant"
                | "model"
                | "ai"
                | "tool"
                | "system"
                | "developer";
            };
            PromptOllamaInvocationParameters: {
                ollama: {
                    frequency_penalty?: number;
                    max_completion_tokens?: number;
                    max_tokens?: number;
                    presence_penalty?: number;
                    reasoning_effort?: | "none"
                    | "minimal"
                    | "low"
                    | "medium"
                    | "high"
                    | "xhigh";
                    seed?: number;
                    temperature?: number;
                    top_p?: number;
                };
                type: "ollama";
            };
            PromptOllamaInvocationParametersContent: {
                frequency_penalty?: number;
                max_completion_tokens?: number;
                max_tokens?: number;
                presence_penalty?: number;
                reasoning_effort?: | "none"
                | "minimal"
                | "low"
                | "medium"
                | "high"
                | "xhigh";
                seed?: number;
                temperature?: number;
                top_p?: number;
            };
            PromptOpenAIInvocationParameters: {
                openai: {
                    frequency_penalty?: number;
                    max_completion_tokens?: number;
                    max_tokens?: number;
                    presence_penalty?: number;
                    reasoning_effort?: | "none"
                    | "minimal"
                    | "low"
                    | "medium"
                    | "high"
                    | "xhigh";
                    seed?: number;
                    temperature?: number;
                    top_p?: number;
                };
                type: "openai";
            };
            PromptOpenAIInvocationParametersContent: {
                frequency_penalty?: number;
                max_completion_tokens?: number;
                max_tokens?: number;
                presence_penalty?: number;
                reasoning_effort?: | "none"
                | "minimal"
                | "low"
                | "medium"
                | "high"
                | "xhigh";
                seed?: number;
                temperature?: number;
                top_p?: number;
            };
            PromptResponseFormatJSONSchema: {
                json_schema: {
                    description?: string;
                    name: string;
                    schema?: { [key: string]: unknown };
                    strict?: boolean;
                };
                type: "json_schema";
            };
            PromptResponseFormatJSONSchemaDefinition: {
                description?: string;
                name: string;
                schema?: { [key: string]: unknown };
                strict?: boolean;
            };
            PromptStringTemplate: { template: string; type: "string" };
            PromptTemplateFormat: "NONE" | "MUSTACHE" | "F_STRING";
            PromptTemplateType: "STR" | "CHAT";
            PromptToolChoiceNone: { type: "none" };
            PromptToolChoiceOneOrMore: { type: "one_or_more" };
            PromptToolChoiceSpecificFunctionTool: {
                function_name: string;
                type: "specific_function";
            };
            PromptToolChoiceZeroOrMore: { type: "zero_or_more" };
            PromptToolFunction: {
                function: {
                    description?: string;
                    name: string;
                    parameters?: { [key: string]: unknown };
                    strict?: boolean;
                };
                type: "function";
            };
            PromptToolFunctionDefinition: {
                description?: string;
                name: string;
                parameters?: { [key: string]: unknown };
                strict?: boolean;
            };
            PromptTools: {
                disable_parallel_tool_calls?: boolean;
                tool_choice?: | { type: "none" }
                | { type: "one_or_more" }
                | { function_name: string; type: "specific_function" }
                | { type: "zero_or_more" };
                tools: {
                    function: {
                        description?: string;
                        name: string;
                        parameters?: { [key: string]: unknown };
                        strict?: boolean;
                    };
                    type: "function";
                }[];
                type: "tools";
            };
            PromptVersion: {
                description?: string
                | null;
                id: string;
                invocation_parameters:
                    | {
                        anthropic: {
                            max_tokens: number;
                            stop_sequences?: string[];
                            temperature?: number;
                            thinking?: | { type: "disabled" }
                            | { budget_tokens: number; type: "enabled" };
                            top_p?: number;
                        };
                        type: "anthropic";
                    }
                    | {
                        aws: { max_tokens?: number; temperature?: number; top_p?: number };
                        type: "aws";
                    }
                    | {
                        azure_openai: {
                            frequency_penalty?: number;
                            max_completion_tokens?: number;
                            max_tokens?: number;
                            presence_penalty?: number;
                            reasoning_effort?: | "none"
                            | "minimal"
                            | "low"
                            | "medium"
                            | "high"
                            | "xhigh";
                            seed?: number;
                            temperature?: number;
                            top_p?: number;
                        };
                        type: "azure_openai";
                    }
                    | {
                        deepseek: {
                            frequency_penalty?: number;
                            max_completion_tokens?: number;
                            max_tokens?: number;
                            presence_penalty?: number;
                            reasoning_effort?: | "none"
                            | "minimal"
                            | "low"
                            | "medium"
                            | "high"
                            | "xhigh";
                            seed?: number;
                            temperature?: number;
                            top_p?: number;
                        };
                        type: "deepseek";
                    }
                    | {
                        google: {
                            frequency_penalty?: number;
                            max_output_tokens?: number;
                            presence_penalty?: number;
                            stop_sequences?: string[];
                            temperature?: number;
                            top_k?: number;
                            top_p?: number;
                        };
                        type: "google";
                    }
                    | {
                        ollama: {
                            frequency_penalty?: number;
                            max_completion_tokens?: number;
                            max_tokens?: number;
                            presence_penalty?: number;
                            reasoning_effort?: | "none"
                            | "minimal"
                            | "low"
                            | "medium"
                            | "high"
                            | "xhigh";
                            seed?: number;
                            temperature?: number;
                            top_p?: number;
                        };
                        type: "ollama";
                    }
                    | {
                        openai: {
                            frequency_penalty?: number;
                            max_completion_tokens?: number;
                            max_tokens?: number;
                            presence_penalty?: number;
                            reasoning_effort?: | "none"
                            | "minimal"
                            | "low"
                            | "medium"
                            | "high"
                            | "xhigh";
                            seed?: number;
                            temperature?: number;
                            top_p?: number;
                        };
                        type: "openai";
                    }
                    | {
                        type: "xai";
                        xai: {
                            frequency_penalty?: number;
                            max_completion_tokens?: number;
                            max_tokens?: number;
                            presence_penalty?: number;
                            reasoning_effort?: | "none"
                            | "minimal"
                            | "low"
                            | "medium"
                            | "high"
                            | "xhigh";
                            seed?: number;
                            temperature?: number;
                            top_p?: number;
                        };
                    };
                model_name: string;
                model_provider: | "OPENAI"
                | "AZURE_OPENAI"
                | "ANTHROPIC"
                | "GOOGLE"
                | "DEEPSEEK"
                | "XAI"
                | "OLLAMA"
                | "AWS";
                response_format?: | {
                    json_schema: {
                        description?: string;
                        name: string;
                        schema?: { [key: string]: unknown };
                        strict?: boolean;
                    };
                    type: "json_schema";
                }
                | null;
                template: | {
                    messages: {
                        content: | string
                        | (
                            | { text: string; type: "text" }
                            | {
                                tool_call: { arguments: ...; name: ...; type: ... };
                                tool_call_id: string;
                                type: "tool_call";
                            }
                            | {
                                tool_call_id: string;
                                tool_result: (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                                type: "tool_result";
                            }
                        )[];
                        role: | "user"
                        | "assistant"
                        | "model"
                        | "ai"
                        | "tool"
                        | "system"
                        | "developer";
                    }[];
                    type: "chat";
                }
                | { template: string; type: "string" };
                template_format: "NONE" | "MUSTACHE" | "F_STRING";
                template_type: "STR" | "CHAT";
                tools?:
                    | {
                        disable_parallel_tool_calls?: boolean;
                        tool_choice?: | { type: "none" }
                        | { type: "one_or_more" }
                        | { function_name: string; type: "specific_function" }
                        | { type: "zero_or_more" };
                        tools: {
                            function: {
                                description?: string;
                                name: string;
                                parameters?: { [key: string]: unknown };
                                strict?: boolean;
                            };
                            type: "function";
                        }[];
                        type: "tools";
                    }
                    | null;
            };
            PromptVersionData: {
                description?: string
                | null;
                invocation_parameters:
                    | {
                        anthropic: {
                            max_tokens: number;
                            stop_sequences?: string[];
                            temperature?: number;
                            thinking?: | { type: "disabled" }
                            | { budget_tokens: number; type: "enabled" };
                            top_p?: number;
                        };
                        type: "anthropic";
                    }
                    | {
                        aws: { max_tokens?: number; temperature?: number; top_p?: number };
                        type: "aws";
                    }
                    | {
                        azure_openai: {
                            frequency_penalty?: number;
                            max_completion_tokens?: number;
                            max_tokens?: number;
                            presence_penalty?: number;
                            reasoning_effort?: | "none"
                            | "minimal"
                            | "low"
                            | "medium"
                            | "high"
                            | "xhigh";
                            seed?: number;
                            temperature?: number;
                            top_p?: number;
                        };
                        type: "azure_openai";
                    }
                    | {
                        deepseek: {
                            frequency_penalty?: number;
                            max_completion_tokens?: number;
                            max_tokens?: number;
                            presence_penalty?: number;
                            reasoning_effort?: | "none"
                            | "minimal"
                            | "low"
                            | "medium"
                            | "high"
                            | "xhigh";
                            seed?: number;
                            temperature?: number;
                            top_p?: number;
                        };
                        type: "deepseek";
                    }
                    | {
                        google: {
                            frequency_penalty?: number;
                            max_output_tokens?: number;
                            presence_penalty?: number;
                            stop_sequences?: string[];
                            temperature?: number;
                            top_k?: number;
                            top_p?: number;
                        };
                        type: "google";
                    }
                    | {
                        ollama: {
                            frequency_penalty?: number;
                            max_completion_tokens?: number;
                            max_tokens?: number;
                            presence_penalty?: number;
                            reasoning_effort?: | "none"
                            | "minimal"
                            | "low"
                            | "medium"
                            | "high"
                            | "xhigh";
                            seed?: number;
                            temperature?: number;
                            top_p?: number;
                        };
                        type: "ollama";
                    }
                    | {
                        openai: {
                            frequency_penalty?: number;
                            max_completion_tokens?: number;
                            max_tokens?: number;
                            presence_penalty?: number;
                            reasoning_effort?: | "none"
                            | "minimal"
                            | "low"
                            | "medium"
                            | "high"
                            | "xhigh";
                            seed?: number;
                            temperature?: number;
                            top_p?: number;
                        };
                        type: "openai";
                    }
                    | {
                        type: "xai";
                        xai: {
                            frequency_penalty?: number;
                            max_completion_tokens?: number;
                            max_tokens?: number;
                            presence_penalty?: number;
                            reasoning_effort?: | "none"
                            | "minimal"
                            | "low"
                            | "medium"
                            | "high"
                            | "xhigh";
                            seed?: number;
                            temperature?: number;
                            top_p?: number;
                        };
                    };
                model_name: string;
                model_provider: | "OPENAI"
                | "AZURE_OPENAI"
                | "ANTHROPIC"
                | "GOOGLE"
                | "DEEPSEEK"
                | "XAI"
                | "OLLAMA"
                | "AWS";
                response_format?: | {
                    json_schema: {
                        description?: string;
                        name: string;
                        schema?: { [key: string]: unknown };
                        strict?: boolean;
                    };
                    type: "json_schema";
                }
                | null;
                template: | {
                    messages: {
                        content: | string
                        | (
                            | { text: string; type: "text" }
                            | {
                                tool_call: { arguments: ...; name: ...; type: ... };
                                tool_call_id: string;
                                type: "tool_call";
                            }
                            | {
                                tool_call_id: string;
                                tool_result: (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                                type: "tool_result";
                            }
                        )[];
                        role: | "user"
                        | "assistant"
                        | "model"
                        | "ai"
                        | "tool"
                        | "system"
                        | "developer";
                    }[];
                    type: "chat";
                }
                | { template: string; type: "string" };
                template_format: "NONE" | "MUSTACHE" | "F_STRING";
                template_type: "STR" | "CHAT";
                tools?:
                    | {
                        disable_parallel_tool_calls?: boolean;
                        tool_choice?: | { type: "none" }
                        | { type: "one_or_more" }
                        | { function_name: string; type: "specific_function" }
                        | { type: "zero_or_more" };
                        tools: {
                            function: {
                                description?: string;
                                name: string;
                                parameters?: { [key: string]: unknown };
                                strict?: boolean;
                            };
                            type: "function";
                        }[];
                        type: "tools";
                    }
                    | null;
            };
            PromptVersionTag: {
                description?: string
                | null;
                id: string;
                name: string;
            };
            PromptVersionTagData: { description?: string
            | null; name: string };
            PromptXAIInvocationParameters: {
                type: "xai";
                xai: {
                    frequency_penalty?: number;
                    max_completion_tokens?: number;
                    max_tokens?: number;
                    presence_penalty?: number;
                    reasoning_effort?:
                        | "none"
                        | "minimal"
                        | "low"
                        | "medium"
                        | "high"
                        | "xhigh";
                    seed?: number;
                    temperature?: number;
                    top_p?: number;
                };
            };
            PromptXAIInvocationParametersContent: {
                frequency_penalty?: number;
                max_completion_tokens?: number;
                max_tokens?: number;
                presence_penalty?: number;
                reasoning_effort?: | "none"
                | "minimal"
                | "low"
                | "medium"
                | "high"
                | "xhigh";
                seed?: number;
                temperature?: number;
                top_p?: number;
            };
            SessionAnnotation: {
                annotator_kind: "LLM"
                | "CODE"
                | "HUMAN";
                created_at: string;
                id: string;
                identifier?: string;
                metadata?: { [key: string]: unknown } | null;
                name: string;
                result?:
                    | {
                        explanation?: string
                        | null;
                        label?: string | null;
                        score?: number | null;
                    }
                    | null;
                session_id: string;
                source: "API"
                | "APP";
                updated_at: string;
                user_id: string | null;
            };
            SessionAnnotationData: {
                annotator_kind: "LLM"
                | "CODE"
                | "HUMAN";
                identifier?: string;
                metadata?: { [key: string]: unknown } | null;
                name: string;
                result?:
                    | {
                        explanation?: string
                        | null;
                        label?: string | null;
                        score?: number | null;
                    }
                    | null;
                session_id: string;
            };
            SessionAnnotationsResponseBody: {
                data: {
                    annotator_kind: "LLM"
                    | "CODE"
                    | "HUMAN";
                    created_at: string;
                    id: string;
                    identifier?: string;
                    metadata?: { [key: string]: unknown } | null;
                    name: string;
                    result?:
                        | {
                            explanation?: string
                            | null;
                            label?: string | null;
                            score?: number | null;
                        }
                        | null;
                    session_id: string;
                    source: "API"
                    | "APP";
                    updated_at: string;
                    user_id: string | null;
                }[];
                next_cursor: string
                | null;
            };
            Span: {
                attributes?: { [key: string]: unknown };
                context: { span_id: string; trace_id: string };
                end_time: string;
                events?: {
                    attributes?: { [key: string]: unknown };
                    name: string;
                    timestamp: string;
                }[];
                id?: string;
                name: string;
                parent_id?: string
                | null;
                span_kind: string;
                start_time: string;
                status_code: string;
                status_message?: string;
            };
            SpanAnnotation: {
                annotator_kind: "LLM"
                | "CODE"
                | "HUMAN";
                created_at: string;
                id: string;
                identifier?: string;
                metadata?: { [key: string]: unknown } | null;
                name: string;
                result?:
                    | {
                        explanation?: string
                        | null;
                        label?: string | null;
                        score?: number | null;
                    }
                    | null;
                source: "API"
                | "APP";
                span_id: string;
                updated_at: string;
                user_id: string | null;
            };
            SpanAnnotationData: {
                annotator_kind: "LLM"
                | "CODE"
                | "HUMAN";
                identifier?: string;
                metadata?: { [key: string]: unknown } | null;
                name: string;
                result?:
                    | {
                        explanation?: string
                        | null;
                        label?: string | null;
                        score?: number | null;
                    }
                    | null;
                span_id: string;
            };
            SpanAnnotationsResponseBody: {
                data: {
                    annotator_kind: "LLM"
                    | "CODE"
                    | "HUMAN";
                    created_at: string;
                    id: string;
                    identifier?: string;
                    metadata?: { [key: string]: unknown } | null;
                    name: string;
                    result?:
                        | {
                            explanation?: string
                            | null;
                            label?: string | null;
                            score?: number | null;
                        }
                        | null;
                    source: "API"
                    | "APP";
                    span_id: string;
                    updated_at: string;
                    user_id: string | null;
                }[];
                next_cursor: string
                | null;
            };
            SpanContext: { span_id: string; trace_id: string };
            SpanDocumentAnnotationData: {
                annotator_kind: "LLM" | "CODE" | "HUMAN";
                document_position: number;
                identifier?: string;
                metadata?: { [key: string]: unknown } | null;
                name: string;
                result?:
                    | {
                        explanation?: string
                        | null;
                        label?: string | null;
                        score?: number | null;
                    }
                    | null;
                span_id: string;
            };
            SpanEvent: {
                attributes?: { [key: string]: unknown };
                name: string;
                timestamp: string;
            };
            SpanNoteData: { note: string; span_id: string };
            SpansResponseBody: {
                data: {
                    attributes?: { [key: string]: unknown };
                    context: { span_id: string; trace_id: string };
                    end_time: string;
                    events?: {
                        attributes?: { [key: string]: unknown };
                        name: string;
                        timestamp: string;
                    }[];
                    id?: string;
                    name: string;
                    parent_id?: string
                    | null;
                    span_kind: string;
                    start_time: string;
                    status_code: string;
                    status_message?: string;
                }[];
                next_cursor: string
                | null;
            };
            TextContentPart: { text: string; type: "text" };
            ToolCallContentPart: {
                tool_call: { arguments: string; name: string; type: "function" };
                tool_call_id: string;
                type: "tool_call";
            };
            ToolCallFunction: { arguments: string; name: string; type: "function" };
            ToolResultContentPart: {
                tool_call_id: string;
                tool_result:
                    | string
                    | number
                    | boolean
                    | { [key: string]: unknown }
                    | unknown[]
                    | null;
                type: "tool_result";
            };
            TraceAnnotation: {
                annotator_kind: "LLM"
                | "CODE"
                | "HUMAN";
                created_at: string;
                id: string;
                identifier?: string;
                metadata?: { [key: string]: unknown } | null;
                name: string;
                result?:
                    | {
                        explanation?: string
                        | null;
                        label?: string | null;
                        score?: number | null;
                    }
                    | null;
                source: "API"
                | "APP";
                trace_id: string;
                updated_at: string;
                user_id: string | null;
            };
            TraceAnnotationData: {
                annotator_kind: "LLM"
                | "CODE"
                | "HUMAN";
                identifier?: string;
                metadata?: { [key: string]: unknown } | null;
                name: string;
                result?:
                    | {
                        explanation?: string
                        | null;
                        label?: string | null;
                        score?: number | null;
                    }
                    | null;
                trace_id: string;
            };
            TraceAnnotationsResponseBody: {
                data: {
                    annotator_kind: "LLM"
                    | "CODE"
                    | "HUMAN";
                    created_at: string;
                    id: string;
                    identifier?: string;
                    metadata?: { [key: string]: unknown } | null;
                    name: string;
                    result?:
                        | {
                            explanation?: string
                            | null;
                            label?: string | null;
                            score?: number | null;
                        }
                        | null;
                    source: "API"
                    | "APP";
                    trace_id: string;
                    updated_at: string;
                    user_id: string | null;
                }[];
                next_cursor: string
                | null;
            };
            UpdateAnnotationConfigResponseBody: {
                data: | {
                    description?: string
                    | null;
                    id: string;
                    name: string;
                    optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                    type: "CATEGORICAL";
                    values: { label: string; score?: number | null }[];
                }
                | {
                    description?: string
                    | null;
                    id: string;
                    lower_bound?: number | null;
                    name: string;
                    optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                    type: "CONTINUOUS";
                    upper_bound?: number | null;
                }
                | {
                    description?: string
                    | null;
                    id: string;
                    name: string;
                    type: "FREEFORM";
                };
            };
            UpdateProjectRequestBody: { description?: string
            | null };
            UpdateProjectResponseBody: {
                data: { description?: string | null; id: string; name: string };
            };
            UploadDatasetData: { dataset_id: string; version_id: string };
            UploadDatasetResponseBody: {
                data: { dataset_id: string; version_id: string };
            };
            UpsertExperimentEvaluationRequestBody: {
                annotator_kind: "LLM"
                | "CODE"
                | "HUMAN";
                end_time: string;
                error?: string | null;
                experiment_run_id: string;
                metadata?: { [key: string]: unknown } | null;
                name: string;
                result?:
                    | {
                        explanation?: string
                        | null;
                        label?: string | null;
                        score?: number | null;
                    }
                    | null;
                start_time: string;
                trace_id?: string
                | null;
            };
            UpsertExperimentEvaluationResponseBody: { data: { id: string } };
            UpsertExperimentEvaluationResponseBodyData: { id: string };
            ValidationError: {
                ctx?: Record<string, unknown>;
                input?: unknown;
                loc: (string | number)[];
                msg: string;
                type: string;
            };
        };
    }
    Index

    Properties

    headers: never
    parameters: never
    pathItems: never
    requestBodies: never
    responses: never
    schemas: {
        AnnotateSessionsRequestBody: {
            data: {
                annotator_kind: "LLM" | "CODE" | "HUMAN";
                identifier?: string;
                metadata?: { [key: string]: unknown } | null;
                name: string;
                result?:
                    | {
                        explanation?: string
                        | null;
                        label?: string | null;
                        score?: number | null;
                    }
                    | null;
                session_id: string;
            }[];
        };
        AnnotateSessionsResponseBody: { data: { id: string }[] };
        AnnotateSpanDocumentsRequestBody: {
            data: {
                annotator_kind: "LLM" | "CODE" | "HUMAN";
                document_position: number;
                identifier?: string;
                metadata?: { [key: string]: unknown } | null;
                name: string;
                result?:
                    | {
                        explanation?: string
                        | null;
                        label?: string | null;
                        score?: number | null;
                    }
                    | null;
                span_id: string;
            }[];
        };
        AnnotateSpanDocumentsResponseBody: { data: { id: string }[] };
        AnnotateSpansRequestBody: {
            data: {
                annotator_kind: "LLM" | "CODE" | "HUMAN";
                identifier?: string;
                metadata?: { [key: string]: unknown } | null;
                name: string;
                result?:
                    | {
                        explanation?: string
                        | null;
                        label?: string | null;
                        score?: number | null;
                    }
                    | null;
                span_id: string;
            }[];
        };
        AnnotateSpansResponseBody: { data: { id: string }[] };
        AnnotateTracesRequestBody: {
            data: {
                annotator_kind: "LLM" | "CODE" | "HUMAN";
                identifier?: string;
                metadata?: { [key: string]: unknown } | null;
                name: string;
                result?:
                    | {
                        explanation?: string
                        | null;
                        label?: string | null;
                        score?: number | null;
                    }
                    | null;
                trace_id: string;
            }[];
        };
        AnnotateTracesResponseBody: { data: { id: string }[] };
        AnnotationResult: {
            explanation?: string | null;
            label?: string | null;
            score?: number | null;
        };
        CategoricalAnnotationConfig: {
            description?: string
            | null;
            id: string;
            name: string;
            optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
            type: "CATEGORICAL";
            values: { label: string; score?: number | null }[];
        };
        CategoricalAnnotationConfigData: {
            description?: string
            | null;
            name: string;
            optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
            type: "CATEGORICAL";
            values: { label: string; score?: number | null }[];
        };
        CategoricalAnnotationValue: { label: string; score?: number
        | null };
        ContinuousAnnotationConfig: {
            description?: string | null;
            id: string;
            lower_bound?: number | null;
            name: string;
            optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
            type: "CONTINUOUS";
            upper_bound?: number | null;
        };
        ContinuousAnnotationConfigData: {
            description?: string
            | null;
            lower_bound?: number | null;
            name: string;
            optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
            type: "CONTINUOUS";
            upper_bound?: number | null;
        };
        CreateAnnotationConfigData: | {
            description?: string
            | null;
            name: string;
            optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
            type: "CATEGORICAL";
            values: { label: string; score?: number | null }[];
        }
        | {
            description?: string
            | null;
            lower_bound?: number | null;
            name: string;
            optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
            type: "CONTINUOUS";
            upper_bound?: number | null;
        }
        | { description?: string
        | null; name: string; type: "FREEFORM" };
        CreateAnnotationConfigResponseBody: {
            data:
                | {
                    description?: string
                    | null;
                    id: string;
                    name: string;
                    optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                    type: "CATEGORICAL";
                    values: { label: string; score?: number | null }[];
                }
                | {
                    description?: string
                    | null;
                    id: string;
                    lower_bound?: number | null;
                    name: string;
                    optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                    type: "CONTINUOUS";
                    upper_bound?: number | null;
                }
                | {
                    description?: string
                    | null;
                    id: string;
                    name: string;
                    type: "FREEFORM";
                };
        };
        CreateExperimentRequestBody: {
            description?: string
            | null;
            metadata?: { [key: string]: unknown } | null;
            name?: string | null;
            repetitions?: number;
            splits?: string[] | null;
            version_id?: string | null;
        };
        CreateExperimentResponseBody: {
            data: {
                created_at: string;
                dataset_id: string;
                dataset_version_id: string;
                example_count: number;
                failed_run_count: number;
                id: string;
                metadata: { [key: string]: unknown };
                missing_run_count: number;
                project_name: string | null;
                repetitions: number;
                successful_run_count: number;
                updated_at: string;
            };
        };
        CreateExperimentRunRequestBody: {
            dataset_example_id: string;
            end_time: string;
            error?: string
            | null;
            output: unknown;
            repetition_number: number;
            start_time: string;
            trace_id?: string | null;
        };
        CreateExperimentRunResponseBody: { data: { id: string } };
        CreateExperimentRunResponseBodyData: { id: string };
        CreateProjectRequestBody: { description?: string | null; name: string };
        CreateProjectResponseBody: {
            data: { description?: string | null; id: string; name: string };
        };
        CreatePromptRequestBody: {
            prompt: {
                description?: string
                | null;
                metadata?: { [key: string]: unknown } | null;
                name: string;
                source_prompt_id?: string | null;
            };
            version: {
                description?: string
                | null;
                invocation_parameters:
                    | {
                        anthropic: {
                            max_tokens: number;
                            stop_sequences?: string[];
                            temperature?: number;
                            thinking?: | { type: "disabled" }
                            | { budget_tokens: number; type: "enabled" };
                            top_p?: number;
                        };
                        type: "anthropic";
                    }
                    | {
                        aws: { max_tokens?: number; temperature?: number; top_p?: number };
                        type: "aws";
                    }
                    | {
                        azure_openai: {
                            frequency_penalty?: number;
                            max_completion_tokens?: number;
                            max_tokens?: number;
                            presence_penalty?: number;
                            reasoning_effort?: | "none"
                            | "minimal"
                            | "low"
                            | "medium"
                            | "high"
                            | "xhigh";
                            seed?: number;
                            temperature?: number;
                            top_p?: number;
                        };
                        type: "azure_openai";
                    }
                    | {
                        deepseek: {
                            frequency_penalty?: number;
                            max_completion_tokens?: number;
                            max_tokens?: number;
                            presence_penalty?: number;
                            reasoning_effort?: | "none"
                            | "minimal"
                            | "low"
                            | "medium"
                            | "high"
                            | "xhigh";
                            seed?: number;
                            temperature?: number;
                            top_p?: number;
                        };
                        type: "deepseek";
                    }
                    | {
                        google: {
                            frequency_penalty?: number;
                            max_output_tokens?: number;
                            presence_penalty?: number;
                            stop_sequences?: string[];
                            temperature?: number;
                            top_k?: number;
                            top_p?: number;
                        };
                        type: "google";
                    }
                    | {
                        ollama: {
                            frequency_penalty?: number;
                            max_completion_tokens?: number;
                            max_tokens?: number;
                            presence_penalty?: number;
                            reasoning_effort?: | "none"
                            | "minimal"
                            | "low"
                            | "medium"
                            | "high"
                            | "xhigh";
                            seed?: number;
                            temperature?: number;
                            top_p?: number;
                        };
                        type: "ollama";
                    }
                    | {
                        openai: {
                            frequency_penalty?: number;
                            max_completion_tokens?: number;
                            max_tokens?: number;
                            presence_penalty?: number;
                            reasoning_effort?: | "none"
                            | "minimal"
                            | "low"
                            | "medium"
                            | "high"
                            | "xhigh";
                            seed?: number;
                            temperature?: number;
                            top_p?: number;
                        };
                        type: "openai";
                    }
                    | {
                        type: "xai";
                        xai: {
                            frequency_penalty?: number;
                            max_completion_tokens?: number;
                            max_tokens?: number;
                            presence_penalty?: number;
                            reasoning_effort?: | "none"
                            | "minimal"
                            | "low"
                            | "medium"
                            | "high"
                            | "xhigh";
                            seed?: number;
                            temperature?: number;
                            top_p?: number;
                        };
                    };
                model_name: string;
                model_provider: | "OPENAI"
                | "AZURE_OPENAI"
                | "ANTHROPIC"
                | "GOOGLE"
                | "DEEPSEEK"
                | "XAI"
                | "OLLAMA"
                | "AWS";
                response_format?: | {
                    json_schema: {
                        description?: string;
                        name: string;
                        schema?: { [key: string]: unknown };
                        strict?: boolean;
                    };
                    type: "json_schema";
                }
                | null;
                template: | {
                    messages: {
                        content: | string
                        | (
                            | { text: ...; type: ... }
                            | { tool_call: ...; tool_call_id: ...; type: ... }
                            | { tool_call_id: ...; tool_result: ...; type: ... }
                        )[];
                        role:
                            | "user"
                            | "assistant"
                            | "model"
                            | "ai"
                            | "tool"
                            | "system"
                            | "developer";
                    }[];
                    type: "chat";
                }
                | { template: string; type: "string" };
                template_format: "NONE" | "MUSTACHE" | "F_STRING";
                template_type: "STR" | "CHAT";
                tools?:
                    | {
                        disable_parallel_tool_calls?: boolean;
                        tool_choice?: | { type: "none" }
                        | { type: "one_or_more" }
                        | { function_name: string; type: "specific_function" }
                        | { type: "zero_or_more" };
                        tools: {
                            function: {
                                description?: string;
                                name: string;
                                parameters?: { [key: string]: unknown };
                                strict?: boolean;
                            };
                            type: "function";
                        }[];
                        type: "tools";
                    }
                    | null;
            };
        };
        CreatePromptResponseBody: {
            data: {
                description?: string
                | null;
                id: string;
                invocation_parameters:
                    | {
                        anthropic: {
                            max_tokens: number;
                            stop_sequences?: string[];
                            temperature?: number;
                            thinking?: | { type: "disabled" }
                            | { budget_tokens: number; type: "enabled" };
                            top_p?: number;
                        };
                        type: "anthropic";
                    }
                    | {
                        aws: { max_tokens?: number; temperature?: number; top_p?: number };
                        type: "aws";
                    }
                    | {
                        azure_openai: {
                            frequency_penalty?: number;
                            max_completion_tokens?: number;
                            max_tokens?: number;
                            presence_penalty?: number;
                            reasoning_effort?: | "none"
                            | "minimal"
                            | "low"
                            | "medium"
                            | "high"
                            | "xhigh";
                            seed?: number;
                            temperature?: number;
                            top_p?: number;
                        };
                        type: "azure_openai";
                    }
                    | {
                        deepseek: {
                            frequency_penalty?: number;
                            max_completion_tokens?: number;
                            max_tokens?: number;
                            presence_penalty?: number;
                            reasoning_effort?: | "none"
                            | "minimal"
                            | "low"
                            | "medium"
                            | "high"
                            | "xhigh";
                            seed?: number;
                            temperature?: number;
                            top_p?: number;
                        };
                        type: "deepseek";
                    }
                    | {
                        google: {
                            frequency_penalty?: number;
                            max_output_tokens?: number;
                            presence_penalty?: number;
                            stop_sequences?: string[];
                            temperature?: number;
                            top_k?: number;
                            top_p?: number;
                        };
                        type: "google";
                    }
                    | {
                        ollama: {
                            frequency_penalty?: number;
                            max_completion_tokens?: number;
                            max_tokens?: number;
                            presence_penalty?: number;
                            reasoning_effort?: | "none"
                            | "minimal"
                            | "low"
                            | "medium"
                            | "high"
                            | "xhigh";
                            seed?: number;
                            temperature?: number;
                            top_p?: number;
                        };
                        type: "ollama";
                    }
                    | {
                        openai: {
                            frequency_penalty?: number;
                            max_completion_tokens?: number;
                            max_tokens?: number;
                            presence_penalty?: number;
                            reasoning_effort?: | "none"
                            | "minimal"
                            | "low"
                            | "medium"
                            | "high"
                            | "xhigh";
                            seed?: number;
                            temperature?: number;
                            top_p?: number;
                        };
                        type: "openai";
                    }
                    | {
                        type: "xai";
                        xai: {
                            frequency_penalty?: number;
                            max_completion_tokens?: number;
                            max_tokens?: number;
                            presence_penalty?: number;
                            reasoning_effort?: | "none"
                            | "minimal"
                            | "low"
                            | "medium"
                            | "high"
                            | "xhigh";
                            seed?: number;
                            temperature?: number;
                            top_p?: number;
                        };
                    };
                model_name: string;
                model_provider: | "OPENAI"
                | "AZURE_OPENAI"
                | "ANTHROPIC"
                | "GOOGLE"
                | "DEEPSEEK"
                | "XAI"
                | "OLLAMA"
                | "AWS";
                response_format?: | {
                    json_schema: {
                        description?: string;
                        name: string;
                        schema?: { [key: string]: unknown };
                        strict?: boolean;
                    };
                    type: "json_schema";
                }
                | null;
                template: | {
                    messages: {
                        content: | string
                        | (
                            | { text: ...; type: ... }
                            | { tool_call: ...; tool_call_id: ...; type: ... }
                            | { tool_call_id: ...; tool_result: ...; type: ... }
                        )[];
                        role:
                            | "user"
                            | "assistant"
                            | "model"
                            | "ai"
                            | "tool"
                            | "system"
                            | "developer";
                    }[];
                    type: "chat";
                }
                | { template: string; type: "string" };
                template_format: "NONE" | "MUSTACHE" | "F_STRING";
                template_type: "STR" | "CHAT";
                tools?:
                    | {
                        disable_parallel_tool_calls?: boolean;
                        tool_choice?: | { type: "none" }
                        | { type: "one_or_more" }
                        | { function_name: string; type: "specific_function" }
                        | { type: "zero_or_more" };
                        tools: {
                            function: {
                                description?: string;
                                name: string;
                                parameters?: { [key: string]: unknown };
                                strict?: boolean;
                            };
                            type: "function";
                        }[];
                        type: "tools";
                    }
                    | null;
            };
        };
        CreateSpanNoteRequestBody: { data: { note: string; span_id: string } };
        CreateSpanNoteResponseBody: { data: { id: string } };
        CreateSpansRequestBody: {
            data: {
                attributes?: { [key: string]: unknown };
                context: { span_id: string; trace_id: string };
                end_time: string;
                events?: {
                    attributes?: { [key: string]: unknown };
                    name: string;
                    timestamp: string;
                }[];
                id?: string;
                name: string;
                parent_id?: string
                | null;
                span_kind: string;
                start_time: string;
                status_code: string;
                status_message?: string;
            }[];
        };
        CreateSpansResponseBody: { total_queued: number; total_received: number };
        CreateUserRequestBody: {
            send_welcome_email?: boolean;
            user:
                | {
                    auth_method: "LOCAL";
                    email: string;
                    password?: string;
                    role: "SYSTEM"
                    | "ADMIN"
                    | "MEMBER"
                    | "VIEWER";
                    username: string;
                }
                | {
                    auth_method: "OAUTH2";
                    email: string;
                    oauth2_client_id?: string;
                    oauth2_user_id?: string;
                    role: "SYSTEM"
                    | "ADMIN"
                    | "MEMBER"
                    | "VIEWER";
                    username: string;
                }
                | {
                    auth_method: "LDAP";
                    email: string;
                    role: "SYSTEM"
                    | "ADMIN"
                    | "MEMBER"
                    | "VIEWER";
                    username: string;
                };
        };
        CreateUserResponseBody: {
            data: | {
                auth_method: "LOCAL";
                created_at: string;
                email: string;
                id: string;
                password?: string;
                password_needs_reset: boolean;
                role: "SYSTEM"
                | "ADMIN"
                | "MEMBER"
                | "VIEWER";
                updated_at: string;
                username: string;
            }
            | {
                auth_method: "OAUTH2";
                created_at: string;
                email: string;
                id: string;
                oauth2_client_id?: string;
                oauth2_user_id?: string;
                profile_picture_url?: string;
                role: "SYSTEM"
                | "ADMIN"
                | "MEMBER"
                | "VIEWER";
                updated_at: string;
                username: string;
            }
            | {
                auth_method: "LDAP";
                created_at: string;
                email: string;
                id: string;
                role: "SYSTEM"
                | "ADMIN"
                | "MEMBER"
                | "VIEWER";
                updated_at: string;
                username: string;
            };
        };
        Dataset: {
            created_at: string;
            description: string
            | null;
            example_count: number;
            id: string;
            metadata: { [key: string]: unknown };
            name: string;
            updated_at: string;
        };
        DatasetExample: {
            id: string;
            input: { [key: string]: unknown };
            metadata: { [key: string]: unknown };
            output: { [key: string]: unknown };
            updated_at: string;
        };
        DatasetVersion: {
            created_at: string;
            description: string
            | null;
            metadata: { [key: string]: unknown };
            version_id: string;
        };
        DatasetWithExampleCount: {
            created_at: string;
            description: string
            | null;
            example_count: number;
            id: string;
            metadata: { [key: string]: unknown };
            name: string;
            updated_at: string;
        };
        DeleteAnnotationConfigResponseBody: {
            data: | {
                description?: string
                | null;
                id: string;
                name: string;
                optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                type: "CATEGORICAL";
                values: { label: string; score?: number | null }[];
            }
            | {
                description?: string
                | null;
                id: string;
                lower_bound?: number | null;
                name: string;
                optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                type: "CONTINUOUS";
                upper_bound?: number | null;
            }
            | {
                description?: string
                | null;
                id: string;
                name: string;
                type: "FREEFORM";
            };
        };
        Experiment: {
            created_at: string;
            dataset_id: string;
            dataset_version_id: string;
            example_count: number;
            failed_run_count: number;
            id: string;
            metadata: { [key: string]: unknown };
            missing_run_count: number;
            project_name: string | null;
            repetitions: number;
            successful_run_count: number;
            updated_at: string;
        };
        ExperimentEvaluationResult: {
            explanation?: string
            | null;
            label?: string | null;
            score?: number | null;
        };
        ExperimentRun: {
            dataset_example_id: string;
            end_time: string;
            error?: string
            | null;
            experiment_id: string;
            id: string;
            output: unknown;
            repetition_number: number;
            start_time: string;
            trace_id?: string | null;
        };
        FreeformAnnotationConfig: {
            description?: string
            | null;
            id: string;
            name: string;
            type: "FREEFORM";
        };
        FreeformAnnotationConfigData: {
            description?: string
            | null;
            name: string;
            type: "FREEFORM";
        };
        GetAnnotationConfigResponseBody: {
            data: | {
                description?: string
                | null;
                id: string;
                name: string;
                optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                type: "CATEGORICAL";
                values: { label: string; score?: number | null }[];
            }
            | {
                description?: string
                | null;
                id: string;
                lower_bound?: number | null;
                name: string;
                optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                type: "CONTINUOUS";
                upper_bound?: number | null;
            }
            | {
                description?: string
                | null;
                id: string;
                name: string;
                type: "FREEFORM";
            };
        };
        GetAnnotationConfigsResponseBody: {
            data: (
                | {
                    description?: string
                    | null;
                    id: string;
                    name: string;
                    optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                    type: "CATEGORICAL";
                    values: { label: string; score?: number | null }[];
                }
                | {
                    description?: string
                    | null;
                    id: string;
                    lower_bound?: number | null;
                    name: string;
                    optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                    type: "CONTINUOUS";
                    upper_bound?: number | null;
                }
                | {
                    description?: string
                    | null;
                    id: string;
                    name: string;
                    type: "FREEFORM";
                }
            )[];
            next_cursor: string
            | null;
        };
        GetDatasetResponseBody: {
            data: {
                created_at: string;
                description: string
                | null;
                example_count: number;
                id: string;
                metadata: { [key: string]: unknown };
                name: string;
                updated_at: string;
            };
        };
        GetExperimentResponseBody: {
            data: {
                created_at: string;
                dataset_id: string;
                dataset_version_id: string;
                example_count: number;
                failed_run_count: number;
                id: string;
                metadata: { [key: string]: unknown };
                missing_run_count: number;
                project_name: string | null;
                repetitions: number;
                successful_run_count: number;
                updated_at: string;
            };
        };
        GetIncompleteEvaluationsResponseBody: {
            data: {
                dataset_example: {
                    id: string;
                    input: { [key: string]: unknown };
                    metadata: { [key: string]: unknown };
                    output: { [key: string]: unknown };
                    updated_at: string;
                };
                evaluation_names: string[];
                experiment_run: {
                    dataset_example_id: string;
                    end_time: string;
                    error?: string
                    | null;
                    experiment_id: string;
                    id: string;
                    output: unknown;
                    repetition_number: number;
                    start_time: string;
                    trace_id?: string | null;
                };
            }[];
            next_cursor: string
            | null;
        };
        GetIncompleteExperimentRunsResponseBody: {
            data: {
                dataset_example: {
                    id: string;
                    input: { [key: string]: unknown };
                    metadata: { [key: string]: unknown };
                    output: { [key: string]: unknown };
                    updated_at: string;
                };
                repetition_numbers: number[];
            }[];
            next_cursor: string
            | null;
        };
        GetProjectResponseBody: {
            data: { description?: string
            | null; id: string; name: string };
        };
        GetProjectsResponseBody: {
            data: { description?: string
            | null; id: string; name: string }[];
            next_cursor: string | null;
        };
        GetPromptResponseBody: {
            data: {
                description?: string
                | null;
                id: string;
                invocation_parameters:
                    | {
                        anthropic: {
                            max_tokens: number;
                            stop_sequences?: string[];
                            temperature?: number;
                            thinking?: | { type: "disabled" }
                            | { budget_tokens: number; type: "enabled" };
                            top_p?: number;
                        };
                        type: "anthropic";
                    }
                    | {
                        aws: { max_tokens?: number; temperature?: number; top_p?: number };
                        type: "aws";
                    }
                    | {
                        azure_openai: {
                            frequency_penalty?: number;
                            max_completion_tokens?: number;
                            max_tokens?: number;
                            presence_penalty?: number;
                            reasoning_effort?: | "none"
                            | "minimal"
                            | "low"
                            | "medium"
                            | "high"
                            | "xhigh";
                            seed?: number;
                            temperature?: number;
                            top_p?: number;
                        };
                        type: "azure_openai";
                    }
                    | {
                        deepseek: {
                            frequency_penalty?: number;
                            max_completion_tokens?: number;
                            max_tokens?: number;
                            presence_penalty?: number;
                            reasoning_effort?: | "none"
                            | "minimal"
                            | "low"
                            | "medium"
                            | "high"
                            | "xhigh";
                            seed?: number;
                            temperature?: number;
                            top_p?: number;
                        };
                        type: "deepseek";
                    }
                    | {
                        google: {
                            frequency_penalty?: number;
                            max_output_tokens?: number;
                            presence_penalty?: number;
                            stop_sequences?: string[];
                            temperature?: number;
                            top_k?: number;
                            top_p?: number;
                        };
                        type: "google";
                    }
                    | {
                        ollama: {
                            frequency_penalty?: number;
                            max_completion_tokens?: number;
                            max_tokens?: number;
                            presence_penalty?: number;
                            reasoning_effort?: | "none"
                            | "minimal"
                            | "low"
                            | "medium"
                            | "high"
                            | "xhigh";
                            seed?: number;
                            temperature?: number;
                            top_p?: number;
                        };
                        type: "ollama";
                    }
                    | {
                        openai: {
                            frequency_penalty?: number;
                            max_completion_tokens?: number;
                            max_tokens?: number;
                            presence_penalty?: number;
                            reasoning_effort?: | "none"
                            | "minimal"
                            | "low"
                            | "medium"
                            | "high"
                            | "xhigh";
                            seed?: number;
                            temperature?: number;
                            top_p?: number;
                        };
                        type: "openai";
                    }
                    | {
                        type: "xai";
                        xai: {
                            frequency_penalty?: number;
                            max_completion_tokens?: number;
                            max_tokens?: number;
                            presence_penalty?: number;
                            reasoning_effort?: | "none"
                            | "minimal"
                            | "low"
                            | "medium"
                            | "high"
                            | "xhigh";
                            seed?: number;
                            temperature?: number;
                            top_p?: number;
                        };
                    };
                model_name: string;
                model_provider: | "OPENAI"
                | "AZURE_OPENAI"
                | "ANTHROPIC"
                | "GOOGLE"
                | "DEEPSEEK"
                | "XAI"
                | "OLLAMA"
                | "AWS";
                response_format?: | {
                    json_schema: {
                        description?: string;
                        name: string;
                        schema?: { [key: string]: unknown };
                        strict?: boolean;
                    };
                    type: "json_schema";
                }
                | null;
                template: | {
                    messages: {
                        content: | string
                        | (
                            | { text: ...; type: ... }
                            | { tool_call: ...; tool_call_id: ...; type: ... }
                            | { tool_call_id: ...; tool_result: ...; type: ... }
                        )[];
                        role:
                            | "user"
                            | "assistant"
                            | "model"
                            | "ai"
                            | "tool"
                            | "system"
                            | "developer";
                    }[];
                    type: "chat";
                }
                | { template: string; type: "string" };
                template_format: "NONE" | "MUSTACHE" | "F_STRING";
                template_type: "STR" | "CHAT";
                tools?:
                    | {
                        disable_parallel_tool_calls?: boolean;
                        tool_choice?: | { type: "none" }
                        | { type: "one_or_more" }
                        | { function_name: string; type: "specific_function" }
                        | { type: "zero_or_more" };
                        tools: {
                            function: {
                                description?: string;
                                name: string;
                                parameters?: { [key: string]: unknown };
                                strict?: boolean;
                            };
                            type: "function";
                        }[];
                        type: "tools";
                    }
                    | null;
            };
        };
        GetPromptsResponseBody: {
            data: {
                description?: string
                | null;
                id: string;
                metadata?: { [key: string]: unknown } | null;
                name: string;
                source_prompt_id?: string | null;
            }[];
            next_cursor: string
            | null;
        };
        GetPromptVersionsResponseBody: {
            data: {
                description?: string
                | null;
                id: string;
                invocation_parameters:
                    | {
                        anthropic: {
                            max_tokens: number;
                            stop_sequences?: string[];
                            temperature?: number;
                            thinking?: | { type: "disabled" }
                            | { budget_tokens: number; type: "enabled" };
                            top_p?: number;
                        };
                        type: "anthropic";
                    }
                    | {
                        aws: { max_tokens?: number; temperature?: number; top_p?: number };
                        type: "aws";
                    }
                    | {
                        azure_openai: {
                            frequency_penalty?: number;
                            max_completion_tokens?: number;
                            max_tokens?: number;
                            presence_penalty?: number;
                            reasoning_effort?: | "none"
                            | "minimal"
                            | "low"
                            | "medium"
                            | "high"
                            | "xhigh";
                            seed?: number;
                            temperature?: number;
                            top_p?: number;
                        };
                        type: "azure_openai";
                    }
                    | {
                        deepseek: {
                            frequency_penalty?: number;
                            max_completion_tokens?: number;
                            max_tokens?: number;
                            presence_penalty?: number;
                            reasoning_effort?: | "none"
                            | "minimal"
                            | "low"
                            | "medium"
                            | "high"
                            | "xhigh";
                            seed?: number;
                            temperature?: number;
                            top_p?: number;
                        };
                        type: "deepseek";
                    }
                    | {
                        google: {
                            frequency_penalty?: number;
                            max_output_tokens?: number;
                            presence_penalty?: number;
                            stop_sequences?: string[];
                            temperature?: number;
                            top_k?: number;
                            top_p?: number;
                        };
                        type: "google";
                    }
                    | {
                        ollama: {
                            frequency_penalty?: number;
                            max_completion_tokens?: number;
                            max_tokens?: number;
                            presence_penalty?: number;
                            reasoning_effort?: | "none"
                            | "minimal"
                            | "low"
                            | "medium"
                            | "high"
                            | "xhigh";
                            seed?: number;
                            temperature?: number;
                            top_p?: number;
                        };
                        type: "ollama";
                    }
                    | {
                        openai: {
                            frequency_penalty?: number;
                            max_completion_tokens?: number;
                            max_tokens?: number;
                            presence_penalty?: number;
                            reasoning_effort?: | "none"
                            | "minimal"
                            | "low"
                            | "medium"
                            | "high"
                            | "xhigh";
                            seed?: number;
                            temperature?: number;
                            top_p?: number;
                        };
                        type: "openai";
                    }
                    | {
                        type: "xai";
                        xai: {
                            frequency_penalty?: number;
                            max_completion_tokens?: number;
                            max_tokens?: number;
                            presence_penalty?: number;
                            reasoning_effort?: | "none"
                            | "minimal"
                            | "low"
                            | "medium"
                            | "high"
                            | "xhigh";
                            seed?: number;
                            temperature?: number;
                            top_p?: number;
                        };
                    };
                model_name: string;
                model_provider: | "OPENAI"
                | "AZURE_OPENAI"
                | "ANTHROPIC"
                | "GOOGLE"
                | "DEEPSEEK"
                | "XAI"
                | "OLLAMA"
                | "AWS";
                response_format?: | {
                    json_schema: {
                        description?: string;
                        name: string;
                        schema?: { [key: string]: unknown };
                        strict?: boolean;
                    };
                    type: "json_schema";
                }
                | null;
                template: | {
                    messages: {
                        content: string
                        | ((...) | (...) | (...))[];
                        role:
                            | "user"
                            | "assistant"
                            | "model"
                            | "ai"
                            | "tool"
                            | "system"
                            | "developer";
                    }[];
                    type: "chat";
                }
                | { template: string; type: "string" };
                template_format: "NONE" | "MUSTACHE" | "F_STRING";
                template_type: "STR" | "CHAT";
                tools?:
                    | {
                        disable_parallel_tool_calls?: boolean;
                        tool_choice?: | { type: "none" }
                        | { type: "one_or_more" }
                        | { function_name: string; type: "specific_function" }
                        | { type: "zero_or_more" };
                        tools: {
                            function: {
                                description?: string;
                                name: string;
                                parameters?: { [key: ...]: ... };
                                strict?: boolean;
                            };
                            type: "function";
                        }[];
                        type: "tools";
                    }
                    | null;
            }[];
            next_cursor: string
            | null;
        };
        GetPromptVersionTagsResponseBody: {
            data: { description?: string
            | null; id: string; name: string }[];
            next_cursor: string | null;
        };
        GetUsersResponseBody: {
            data: (
                | {
                    auth_method: "LOCAL";
                    created_at: string;
                    email: string;
                    id: string;
                    password?: string;
                    password_needs_reset: boolean;
                    role: "SYSTEM"
                    | "ADMIN"
                    | "MEMBER"
                    | "VIEWER";
                    updated_at: string;
                    username: string;
                }
                | {
                    auth_method: "OAUTH2";
                    created_at: string;
                    email: string;
                    id: string;
                    oauth2_client_id?: string;
                    oauth2_user_id?: string;
                    profile_picture_url?: string;
                    role: "SYSTEM"
                    | "ADMIN"
                    | "MEMBER"
                    | "VIEWER";
                    updated_at: string;
                    username: string;
                }
                | {
                    auth_method: "LDAP";
                    created_at: string;
                    email: string;
                    id: string;
                    role: "SYSTEM"
                    | "ADMIN"
                    | "MEMBER"
                    | "VIEWER";
                    updated_at: string;
                    username: string;
                }
            )[];
            next_cursor: string
            | null;
        };
        HTTPValidationError: {
            detail?: {
                ctx?: Record<string, unknown>;
                input?: unknown;
                loc: (string | number)[];
                msg: string;
                type: string;
            }[];
        };
        Identifier: string;
        IncompleteExperimentEvaluation: {
            dataset_example: {
                id: string;
                input: { [key: string]: unknown };
                metadata: { [key: string]: unknown };
                output: { [key: string]: unknown };
                updated_at: string;
            };
            evaluation_names: string[];
            experiment_run: {
                dataset_example_id: string;
                end_time: string;
                error?: string
                | null;
                experiment_id: string;
                id: string;
                output: unknown;
                repetition_number: number;
                start_time: string;
                trace_id?: string | null;
            };
        };
        IncompleteExperimentRun: {
            dataset_example: {
                id: string;
                input: { [key: string]: unknown };
                metadata: { [key: string]: unknown };
                output: { [key: string]: unknown };
                updated_at: string;
            };
            repetition_numbers: number[];
        };
        InsertedSessionAnnotation: { id: string };
        InsertedSpanAnnotation: { id: string };
        InsertedSpanDocumentAnnotation: { id: string };
        InsertedTraceAnnotation: { id: string };
        LDAPUser: {
            auth_method: "LDAP";
            created_at: string;
            email: string;
            id: string;
            role: "SYSTEM" | "ADMIN" | "MEMBER" | "VIEWER";
            updated_at: string;
            username: string;
        };
        LDAPUserData: {
            auth_method: "LDAP";
            email: string;
            role: "SYSTEM"
            | "ADMIN"
            | "MEMBER"
            | "VIEWER";
            username: string;
        };
        ListDatasetExamplesData: {
            dataset_id: string;
            examples: {
                id: string;
                input: { [key: string]: unknown };
                metadata: { [key: string]: unknown };
                output: { [key: string]: unknown };
                updated_at: string;
            }[];
            filtered_splits?: string[];
            version_id: string;
        };
        ListDatasetExamplesResponseBody: {
            data: {
                dataset_id: string;
                examples: {
                    id: string;
                    input: { [key: string]: unknown };
                    metadata: { [key: string]: unknown };
                    output: { [key: string]: unknown };
                    updated_at: string;
                }[];
                filtered_splits?: string[];
                version_id: string;
            };
        };
        ListDatasetsResponseBody: {
            data: {
                created_at: string;
                description: string
                | null;
                example_count: number;
                id: string;
                metadata: { [key: string]: unknown };
                name: string;
                updated_at: string;
            }[];
            next_cursor: string
            | null;
        };
        ListDatasetVersionsResponseBody: {
            data: {
                created_at: string;
                description: string
                | null;
                metadata: { [key: string]: unknown };
                version_id: string;
            }[];
            next_cursor: string
            | null;
        };
        ListExperimentRunsResponseBody: {
            data: {
                dataset_example_id: string;
                end_time: string;
                error?: string
                | null;
                experiment_id: string;
                id: string;
                output: unknown;
                repetition_number: number;
                start_time: string;
                trace_id?: string | null;
            }[];
            next_cursor: string
            | null;
        };
        ListExperimentsResponseBody: {
            data: {
                created_at: string;
                dataset_id: string;
                dataset_version_id: string;
                example_count: number;
                failed_run_count: number;
                id: string;
                metadata: { [key: string]: unknown };
                missing_run_count: number;
                project_name: string | null;
                repetitions: number;
                successful_run_count: number;
                updated_at: string;
            }[];
            next_cursor: string
            | null;
        };
        LocalUser: {
            auth_method: "LOCAL";
            created_at: string;
            email: string;
            id: string;
            password?: string;
            password_needs_reset: boolean;
            role: "SYSTEM"
            | "ADMIN"
            | "MEMBER"
            | "VIEWER";
            updated_at: string;
            username: string;
        };
        LocalUserData: {
            auth_method: "LOCAL";
            email: string;
            password?: string;
            role: "SYSTEM"
            | "ADMIN"
            | "MEMBER"
            | "VIEWER";
            username: string;
        };
        ModelProvider: | "OPENAI"
        | "AZURE_OPENAI"
        | "ANTHROPIC"
        | "GOOGLE"
        | "DEEPSEEK"
        | "XAI"
        | "OLLAMA"
        | "AWS";
        OAuth2User: {
            auth_method: "OAUTH2";
            created_at: string;
            email: string;
            id: string;
            oauth2_client_id?: string;
            oauth2_user_id?: string;
            profile_picture_url?: string;
            role: "SYSTEM"
            | "ADMIN"
            | "MEMBER"
            | "VIEWER";
            updated_at: string;
            username: string;
        };
        OAuth2UserData: {
            auth_method: "OAUTH2";
            email: string;
            oauth2_client_id?: string;
            oauth2_user_id?: string;
            role: "SYSTEM"
            | "ADMIN"
            | "MEMBER"
            | "VIEWER";
            username: string;
        };
        OptimizationDirection: "MINIMIZE"
        | "MAXIMIZE"
        | "NONE";
        OtlpAnyValue: {
            array_value?:
                | {
                    values?: | (
                        { array_value?: { values?: ...[] | null | undefined; } | null | undefined; bool_value?: boolean | null | undefined; bytes_value?: string | null | undefined; double_value?: string | number | null | undefined; int_value?: string | ... 2 more ... | undefined; kvlist_value?: null | undefined; string_value?: string | ......
                    )[]
                    | null;
                }
                | null;
            bool_value?: boolean
            | null;
            bytes_value?: string | null;
            double_value?: string | number | null;
            int_value?: string | number | null;
            kvlist_value?: null;
            string_value?: string | null;
        };
        OtlpArrayValue: {
            values?: | {
                array_value?: | (
                    { values?: { array_value?: ... | null | undefined; bool_value?: boolean | null | undefined; bytes_value?: string | null | undefined; double_value?: string | number | null | undefined; int_value?: string | ... 2 more ... | undefined; kvlist_value?: null | undefined; string_value?: string | ... 1 more ... | undefined;...
                )
                | null;
                bool_value?: boolean
                | null;
                bytes_value?: string | null;
                double_value?: string | number | null;
                int_value?: string | number | null;
                kvlist_value?: null;
                string_value?: string | null;
            }[]
            | null;
        };
        OtlpDoubleValue: "Infinity"
        | "-Infinity"
        | "NaN";
        OtlpEvent: {
            attributes?:
                | {
                    key?: string
                    | null;
                    value?:
                        | {
                            array_value?: { values?: (...)[] | null }
                            | null;
                            bool_value?: boolean | null;
                            bytes_value?: string | null;
                            double_value?: string | number | null;
                            int_value?: string | number | null;
                            kvlist_value?: null;
                            string_value?: string | null;
                        }
                        | null;
                }[]
                | null;
            dropped_attributes_count?: number
            | null;
            name?: string | null;
            time_unix_nano?: string | number | null;
        };
        OtlpKeyValue: {
            key?: string
            | null;
            value?:
                | {
                    array_value?: | {
                        values?: | (
                            { array_value?: { values?: ...[] | null | undefined; } | null | undefined; bool_value?: boolean | null | undefined; bytes_value?: string | null | undefined; double_value?: string | number | null | undefined; int_value?: string | ... 2 more ... | undefined; kvlist_value?: null | undefined; string_value?: string | ......
                        )[]
                        | null;
                    }
                    | null;
                    bool_value?: boolean
                    | null;
                    bytes_value?: string | null;
                    double_value?: string | number | null;
                    int_value?: string | number | null;
                    kvlist_value?: null;
                    string_value?: string | null;
                }
                | null;
        };
        OtlpKind: | "SPAN_KIND_UNSPECIFIED"
        | "SPAN_KIND_INTERNAL"
        | "SPAN_KIND_SERVER"
        | "SPAN_KIND_CLIENT"
        | "SPAN_KIND_PRODUCER"
        | "SPAN_KIND_CONSUMER";
        OtlpSpan: {
            attributes?: | {
                key?: string
                | null;
                value?:
                    | {
                        array_value?: { values?: (...)[] | null }
                        | null;
                        bool_value?: boolean | null;
                        bytes_value?: string | null;
                        double_value?: string | number | null;
                        int_value?: string | number | null;
                        kvlist_value?: null;
                        string_value?: string | null;
                    }
                    | null;
            }[]
            | null;
            dropped_attributes_count?: number
            | null;
            dropped_events_count?: number | null;
            dropped_links_count?: number | null;
            end_time_unix_nano?: string | number | null;
            events?:
                | {
                    attributes?: | {
                        key?: string
                        | null;
                        value?:
                            | {
                                array_value?: (...)
                                | (...)
                                | (...);
                                bool_value?: (...) | (...) | (...) | (...);
                                bytes_value?: (...) | (...) | (...);
                                double_value?: (...) | (...) | (...) | (...);
                                int_value?: (...) | (...) | (...) | (...);
                                kvlist_value?: (...) | (...);
                                string_value?: (...) | (...) | (...);
                            }
                            | null;
                    }[]
                    | null;
                    dropped_attributes_count?: number
                    | null;
                    name?: string | null;
                    time_unix_nano?: string | number | null;
                }[]
                | null;
            flags?: number
            | null;
            kind?:
                | number
                | "SPAN_KIND_UNSPECIFIED"
                | "SPAN_KIND_INTERNAL"
                | "SPAN_KIND_SERVER"
                | "SPAN_KIND_CLIENT"
                | "SPAN_KIND_PRODUCER"
                | "SPAN_KIND_CONSUMER"
                | null;
            links?: null;
            name?: string
            | null;
            parent_span_id?: string | null;
            span_id?: string | null;
            start_time_unix_nano?: string | number | null;
            status?: { code?: number | null; message?: string | null } | null;
            trace_id?: string | null;
            trace_state?: string | null;
        };
        OtlpSpansResponseBody: {
            data: {
                attributes?: | {
                    key?: string
                    | null;
                    value?:
                        | {
                            array_value?: { values?: ... }
                            | null;
                            bool_value?: boolean | null;
                            bytes_value?: string | null;
                            double_value?: string | number | null;
                            int_value?: string | number | null;
                            kvlist_value?: null;
                            string_value?: string | null;
                        }
                        | null;
                }[]
                | null;
                dropped_attributes_count?: number
                | null;
                dropped_events_count?: number | null;
                dropped_links_count?: number | null;
                end_time_unix_nano?: string | number | null;
                events?:
                    | {
                        attributes?: | {
                            key?: (...)
                            | (...)
                            | (...);
                            value?: (...) | (...) | (...);
                        }[]
                        | null;
                        dropped_attributes_count?: number
                        | null;
                        name?: string | null;
                        time_unix_nano?: string | number | null;
                    }[]
                    | null;
                flags?: number
                | null;
                kind?:
                    | number
                    | "SPAN_KIND_UNSPECIFIED"
                    | "SPAN_KIND_INTERNAL"
                    | "SPAN_KIND_SERVER"
                    | "SPAN_KIND_CLIENT"
                    | "SPAN_KIND_PRODUCER"
                    | "SPAN_KIND_CONSUMER"
                    | null;
                links?: null;
                name?: string
                | null;
                parent_span_id?: string | null;
                span_id?: string | null;
                start_time_unix_nano?: string | number | null;
                status?: { code?: number | null; message?: string | null } | null;
                trace_id?: string | null;
                trace_state?: string | null;
            }[];
            next_cursor: string
            | null;
        };
        OtlpStatus: { code?: number
        | null; message?: string | null };
        Project: { description?: string | null; id: string; name: string };
        Prompt: {
            description?: string | null;
            id: string;
            metadata?: { [key: string]: unknown } | null;
            name: string;
            source_prompt_id?: string | null;
        };
        PromptAnthropicInvocationParameters: {
            anthropic: {
                max_tokens: number;
                stop_sequences?: string[];
                temperature?: number;
                thinking?: | { type: "disabled" }
                | { budget_tokens: number; type: "enabled" };
                top_p?: number;
            };
            type: "anthropic";
        };
        PromptAnthropicInvocationParametersContent: {
            max_tokens: number;
            stop_sequences?: string[];
            temperature?: number;
            thinking?: | { type: "disabled" }
            | { budget_tokens: number; type: "enabled" };
            top_p?: number;
        };
        PromptAnthropicThinkingConfigDisabled: { type: "disabled" };
        PromptAnthropicThinkingConfigEnabled: {
            budget_tokens: number;
            type: "enabled";
        };
        PromptAwsInvocationParameters: {
            aws: { max_tokens?: number; temperature?: number; top_p?: number };
            type: "aws";
        };
        PromptAwsInvocationParametersContent: {
            max_tokens?: number;
            temperature?: number;
            top_p?: number;
        };
        PromptAzureOpenAIInvocationParameters: {
            azure_openai: {
                frequency_penalty?: number;
                max_completion_tokens?: number;
                max_tokens?: number;
                presence_penalty?: number;
                reasoning_effort?: | "none"
                | "minimal"
                | "low"
                | "medium"
                | "high"
                | "xhigh";
                seed?: number;
                temperature?: number;
                top_p?: number;
            };
            type: "azure_openai";
        };
        PromptAzureOpenAIInvocationParametersContent: {
            frequency_penalty?: number;
            max_completion_tokens?: number;
            max_tokens?: number;
            presence_penalty?: number;
            reasoning_effort?: | "none"
            | "minimal"
            | "low"
            | "medium"
            | "high"
            | "xhigh";
            seed?: number;
            temperature?: number;
            top_p?: number;
        };
        PromptChatTemplate: {
            messages: {
                content: | string
                | (
                    | { text: string; type: "text" }
                    | {
                        tool_call: { arguments: string; name: string; type: "function" };
                        tool_call_id: string;
                        type: "tool_call";
                    }
                    | {
                        tool_call_id: string;
                        tool_result: | string
                        | number
                        | boolean
                        | { [key: string]: unknown }
                        | unknown[]
                        | null;
                        type: "tool_result";
                    }
                )[];
                role: | "user"
                | "assistant"
                | "model"
                | "ai"
                | "tool"
                | "system"
                | "developer";
            }[];
            type: "chat";
        };
        PromptData: {
            description?: string
            | null;
            metadata?: { [key: string]: unknown } | null;
            name: string;
            source_prompt_id?: string | null;
        };
        PromptDeepSeekInvocationParameters: {
            deepseek: {
                frequency_penalty?: number;
                max_completion_tokens?: number;
                max_tokens?: number;
                presence_penalty?: number;
                reasoning_effort?: | "none"
                | "minimal"
                | "low"
                | "medium"
                | "high"
                | "xhigh";
                seed?: number;
                temperature?: number;
                top_p?: number;
            };
            type: "deepseek";
        };
        PromptDeepSeekInvocationParametersContent: {
            frequency_penalty?: number;
            max_completion_tokens?: number;
            max_tokens?: number;
            presence_penalty?: number;
            reasoning_effort?: | "none"
            | "minimal"
            | "low"
            | "medium"
            | "high"
            | "xhigh";
            seed?: number;
            temperature?: number;
            top_p?: number;
        };
        PromptGoogleInvocationParameters: {
            google: {
                frequency_penalty?: number;
                max_output_tokens?: number;
                presence_penalty?: number;
                stop_sequences?: string[];
                temperature?: number;
                top_k?: number;
                top_p?: number;
            };
            type: "google";
        };
        PromptGoogleInvocationParametersContent: {
            frequency_penalty?: number;
            max_output_tokens?: number;
            presence_penalty?: number;
            stop_sequences?: string[];
            temperature?: number;
            top_k?: number;
            top_p?: number;
        };
        PromptMessage: {
            content: | string
            | (
                | { text: string; type: "text" }
                | {
                    tool_call: { arguments: string; name: string; type: "function" };
                    tool_call_id: string;
                    type: "tool_call";
                }
                | {
                    tool_call_id: string;
                    tool_result: | string
                    | number
                    | boolean
                    | { [key: string]: unknown }
                    | unknown[]
                    | null;
                    type: "tool_result";
                }
            )[];
            role: | "user"
            | "assistant"
            | "model"
            | "ai"
            | "tool"
            | "system"
            | "developer";
        };
        PromptOllamaInvocationParameters: {
            ollama: {
                frequency_penalty?: number;
                max_completion_tokens?: number;
                max_tokens?: number;
                presence_penalty?: number;
                reasoning_effort?: | "none"
                | "minimal"
                | "low"
                | "medium"
                | "high"
                | "xhigh";
                seed?: number;
                temperature?: number;
                top_p?: number;
            };
            type: "ollama";
        };
        PromptOllamaInvocationParametersContent: {
            frequency_penalty?: number;
            max_completion_tokens?: number;
            max_tokens?: number;
            presence_penalty?: number;
            reasoning_effort?: | "none"
            | "minimal"
            | "low"
            | "medium"
            | "high"
            | "xhigh";
            seed?: number;
            temperature?: number;
            top_p?: number;
        };
        PromptOpenAIInvocationParameters: {
            openai: {
                frequency_penalty?: number;
                max_completion_tokens?: number;
                max_tokens?: number;
                presence_penalty?: number;
                reasoning_effort?: | "none"
                | "minimal"
                | "low"
                | "medium"
                | "high"
                | "xhigh";
                seed?: number;
                temperature?: number;
                top_p?: number;
            };
            type: "openai";
        };
        PromptOpenAIInvocationParametersContent: {
            frequency_penalty?: number;
            max_completion_tokens?: number;
            max_tokens?: number;
            presence_penalty?: number;
            reasoning_effort?: | "none"
            | "minimal"
            | "low"
            | "medium"
            | "high"
            | "xhigh";
            seed?: number;
            temperature?: number;
            top_p?: number;
        };
        PromptResponseFormatJSONSchema: {
            json_schema: {
                description?: string;
                name: string;
                schema?: { [key: string]: unknown };
                strict?: boolean;
            };
            type: "json_schema";
        };
        PromptResponseFormatJSONSchemaDefinition: {
            description?: string;
            name: string;
            schema?: { [key: string]: unknown };
            strict?: boolean;
        };
        PromptStringTemplate: { template: string; type: "string" };
        PromptTemplateFormat: "NONE" | "MUSTACHE" | "F_STRING";
        PromptTemplateType: "STR" | "CHAT";
        PromptToolChoiceNone: { type: "none" };
        PromptToolChoiceOneOrMore: { type: "one_or_more" };
        PromptToolChoiceSpecificFunctionTool: {
            function_name: string;
            type: "specific_function";
        };
        PromptToolChoiceZeroOrMore: { type: "zero_or_more" };
        PromptToolFunction: {
            function: {
                description?: string;
                name: string;
                parameters?: { [key: string]: unknown };
                strict?: boolean;
            };
            type: "function";
        };
        PromptToolFunctionDefinition: {
            description?: string;
            name: string;
            parameters?: { [key: string]: unknown };
            strict?: boolean;
        };
        PromptTools: {
            disable_parallel_tool_calls?: boolean;
            tool_choice?: | { type: "none" }
            | { type: "one_or_more" }
            | { function_name: string; type: "specific_function" }
            | { type: "zero_or_more" };
            tools: {
                function: {
                    description?: string;
                    name: string;
                    parameters?: { [key: string]: unknown };
                    strict?: boolean;
                };
                type: "function";
            }[];
            type: "tools";
        };
        PromptVersion: {
            description?: string
            | null;
            id: string;
            invocation_parameters:
                | {
                    anthropic: {
                        max_tokens: number;
                        stop_sequences?: string[];
                        temperature?: number;
                        thinking?: | { type: "disabled" }
                        | { budget_tokens: number; type: "enabled" };
                        top_p?: number;
                    };
                    type: "anthropic";
                }
                | {
                    aws: { max_tokens?: number; temperature?: number; top_p?: number };
                    type: "aws";
                }
                | {
                    azure_openai: {
                        frequency_penalty?: number;
                        max_completion_tokens?: number;
                        max_tokens?: number;
                        presence_penalty?: number;
                        reasoning_effort?: | "none"
                        | "minimal"
                        | "low"
                        | "medium"
                        | "high"
                        | "xhigh";
                        seed?: number;
                        temperature?: number;
                        top_p?: number;
                    };
                    type: "azure_openai";
                }
                | {
                    deepseek: {
                        frequency_penalty?: number;
                        max_completion_tokens?: number;
                        max_tokens?: number;
                        presence_penalty?: number;
                        reasoning_effort?: | "none"
                        | "minimal"
                        | "low"
                        | "medium"
                        | "high"
                        | "xhigh";
                        seed?: number;
                        temperature?: number;
                        top_p?: number;
                    };
                    type: "deepseek";
                }
                | {
                    google: {
                        frequency_penalty?: number;
                        max_output_tokens?: number;
                        presence_penalty?: number;
                        stop_sequences?: string[];
                        temperature?: number;
                        top_k?: number;
                        top_p?: number;
                    };
                    type: "google";
                }
                | {
                    ollama: {
                        frequency_penalty?: number;
                        max_completion_tokens?: number;
                        max_tokens?: number;
                        presence_penalty?: number;
                        reasoning_effort?: | "none"
                        | "minimal"
                        | "low"
                        | "medium"
                        | "high"
                        | "xhigh";
                        seed?: number;
                        temperature?: number;
                        top_p?: number;
                    };
                    type: "ollama";
                }
                | {
                    openai: {
                        frequency_penalty?: number;
                        max_completion_tokens?: number;
                        max_tokens?: number;
                        presence_penalty?: number;
                        reasoning_effort?: | "none"
                        | "minimal"
                        | "low"
                        | "medium"
                        | "high"
                        | "xhigh";
                        seed?: number;
                        temperature?: number;
                        top_p?: number;
                    };
                    type: "openai";
                }
                | {
                    type: "xai";
                    xai: {
                        frequency_penalty?: number;
                        max_completion_tokens?: number;
                        max_tokens?: number;
                        presence_penalty?: number;
                        reasoning_effort?: | "none"
                        | "minimal"
                        | "low"
                        | "medium"
                        | "high"
                        | "xhigh";
                        seed?: number;
                        temperature?: number;
                        top_p?: number;
                    };
                };
            model_name: string;
            model_provider: | "OPENAI"
            | "AZURE_OPENAI"
            | "ANTHROPIC"
            | "GOOGLE"
            | "DEEPSEEK"
            | "XAI"
            | "OLLAMA"
            | "AWS";
            response_format?: | {
                json_schema: {
                    description?: string;
                    name: string;
                    schema?: { [key: string]: unknown };
                    strict?: boolean;
                };
                type: "json_schema";
            }
            | null;
            template: | {
                messages: {
                    content: | string
                    | (
                        | { text: string; type: "text" }
                        | {
                            tool_call: { arguments: ...; name: ...; type: ... };
                            tool_call_id: string;
                            type: "tool_call";
                        }
                        | {
                            tool_call_id: string;
                            tool_result: (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                            type: "tool_result";
                        }
                    )[];
                    role: | "user"
                    | "assistant"
                    | "model"
                    | "ai"
                    | "tool"
                    | "system"
                    | "developer";
                }[];
                type: "chat";
            }
            | { template: string; type: "string" };
            template_format: "NONE" | "MUSTACHE" | "F_STRING";
            template_type: "STR" | "CHAT";
            tools?:
                | {
                    disable_parallel_tool_calls?: boolean;
                    tool_choice?: | { type: "none" }
                    | { type: "one_or_more" }
                    | { function_name: string; type: "specific_function" }
                    | { type: "zero_or_more" };
                    tools: {
                        function: {
                            description?: string;
                            name: string;
                            parameters?: { [key: string]: unknown };
                            strict?: boolean;
                        };
                        type: "function";
                    }[];
                    type: "tools";
                }
                | null;
        };
        PromptVersionData: {
            description?: string
            | null;
            invocation_parameters:
                | {
                    anthropic: {
                        max_tokens: number;
                        stop_sequences?: string[];
                        temperature?: number;
                        thinking?: | { type: "disabled" }
                        | { budget_tokens: number; type: "enabled" };
                        top_p?: number;
                    };
                    type: "anthropic";
                }
                | {
                    aws: { max_tokens?: number; temperature?: number; top_p?: number };
                    type: "aws";
                }
                | {
                    azure_openai: {
                        frequency_penalty?: number;
                        max_completion_tokens?: number;
                        max_tokens?: number;
                        presence_penalty?: number;
                        reasoning_effort?: | "none"
                        | "minimal"
                        | "low"
                        | "medium"
                        | "high"
                        | "xhigh";
                        seed?: number;
                        temperature?: number;
                        top_p?: number;
                    };
                    type: "azure_openai";
                }
                | {
                    deepseek: {
                        frequency_penalty?: number;
                        max_completion_tokens?: number;
                        max_tokens?: number;
                        presence_penalty?: number;
                        reasoning_effort?: | "none"
                        | "minimal"
                        | "low"
                        | "medium"
                        | "high"
                        | "xhigh";
                        seed?: number;
                        temperature?: number;
                        top_p?: number;
                    };
                    type: "deepseek";
                }
                | {
                    google: {
                        frequency_penalty?: number;
                        max_output_tokens?: number;
                        presence_penalty?: number;
                        stop_sequences?: string[];
                        temperature?: number;
                        top_k?: number;
                        top_p?: number;
                    };
                    type: "google";
                }
                | {
                    ollama: {
                        frequency_penalty?: number;
                        max_completion_tokens?: number;
                        max_tokens?: number;
                        presence_penalty?: number;
                        reasoning_effort?: | "none"
                        | "minimal"
                        | "low"
                        | "medium"
                        | "high"
                        | "xhigh";
                        seed?: number;
                        temperature?: number;
                        top_p?: number;
                    };
                    type: "ollama";
                }
                | {
                    openai: {
                        frequency_penalty?: number;
                        max_completion_tokens?: number;
                        max_tokens?: number;
                        presence_penalty?: number;
                        reasoning_effort?: | "none"
                        | "minimal"
                        | "low"
                        | "medium"
                        | "high"
                        | "xhigh";
                        seed?: number;
                        temperature?: number;
                        top_p?: number;
                    };
                    type: "openai";
                }
                | {
                    type: "xai";
                    xai: {
                        frequency_penalty?: number;
                        max_completion_tokens?: number;
                        max_tokens?: number;
                        presence_penalty?: number;
                        reasoning_effort?: | "none"
                        | "minimal"
                        | "low"
                        | "medium"
                        | "high"
                        | "xhigh";
                        seed?: number;
                        temperature?: number;
                        top_p?: number;
                    };
                };
            model_name: string;
            model_provider: | "OPENAI"
            | "AZURE_OPENAI"
            | "ANTHROPIC"
            | "GOOGLE"
            | "DEEPSEEK"
            | "XAI"
            | "OLLAMA"
            | "AWS";
            response_format?: | {
                json_schema: {
                    description?: string;
                    name: string;
                    schema?: { [key: string]: unknown };
                    strict?: boolean;
                };
                type: "json_schema";
            }
            | null;
            template: | {
                messages: {
                    content: | string
                    | (
                        | { text: string; type: "text" }
                        | {
                            tool_call: { arguments: ...; name: ...; type: ... };
                            tool_call_id: string;
                            type: "tool_call";
                        }
                        | {
                            tool_call_id: string;
                            tool_result: (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                            type: "tool_result";
                        }
                    )[];
                    role: | "user"
                    | "assistant"
                    | "model"
                    | "ai"
                    | "tool"
                    | "system"
                    | "developer";
                }[];
                type: "chat";
            }
            | { template: string; type: "string" };
            template_format: "NONE" | "MUSTACHE" | "F_STRING";
            template_type: "STR" | "CHAT";
            tools?:
                | {
                    disable_parallel_tool_calls?: boolean;
                    tool_choice?: | { type: "none" }
                    | { type: "one_or_more" }
                    | { function_name: string; type: "specific_function" }
                    | { type: "zero_or_more" };
                    tools: {
                        function: {
                            description?: string;
                            name: string;
                            parameters?: { [key: string]: unknown };
                            strict?: boolean;
                        };
                        type: "function";
                    }[];
                    type: "tools";
                }
                | null;
        };
        PromptVersionTag: { description?: string
        | null; id: string; name: string };
        PromptVersionTagData: { description?: string | null; name: string };
        PromptXAIInvocationParameters: {
            type: "xai";
            xai: {
                frequency_penalty?: number;
                max_completion_tokens?: number;
                max_tokens?: number;
                presence_penalty?: number;
                reasoning_effort?:
                    | "none"
                    | "minimal"
                    | "low"
                    | "medium"
                    | "high"
                    | "xhigh";
                seed?: number;
                temperature?: number;
                top_p?: number;
            };
        };
        PromptXAIInvocationParametersContent: {
            frequency_penalty?: number;
            max_completion_tokens?: number;
            max_tokens?: number;
            presence_penalty?: number;
            reasoning_effort?: | "none"
            | "minimal"
            | "low"
            | "medium"
            | "high"
            | "xhigh";
            seed?: number;
            temperature?: number;
            top_p?: number;
        };
        SessionAnnotation: {
            annotator_kind: "LLM"
            | "CODE"
            | "HUMAN";
            created_at: string;
            id: string;
            identifier?: string;
            metadata?: { [key: string]: unknown } | null;
            name: string;
            result?:
                | {
                    explanation?: string
                    | null;
                    label?: string | null;
                    score?: number | null;
                }
                | null;
            session_id: string;
            source: "API"
            | "APP";
            updated_at: string;
            user_id: string | null;
        };
        SessionAnnotationData: {
            annotator_kind: "LLM"
            | "CODE"
            | "HUMAN";
            identifier?: string;
            metadata?: { [key: string]: unknown } | null;
            name: string;
            result?:
                | {
                    explanation?: string
                    | null;
                    label?: string | null;
                    score?: number | null;
                }
                | null;
            session_id: string;
        };
        SessionAnnotationsResponseBody: {
            data: {
                annotator_kind: "LLM"
                | "CODE"
                | "HUMAN";
                created_at: string;
                id: string;
                identifier?: string;
                metadata?: { [key: string]: unknown } | null;
                name: string;
                result?:
                    | {
                        explanation?: string
                        | null;
                        label?: string | null;
                        score?: number | null;
                    }
                    | null;
                session_id: string;
                source: "API"
                | "APP";
                updated_at: string;
                user_id: string | null;
            }[];
            next_cursor: string
            | null;
        };
        Span: {
            attributes?: { [key: string]: unknown };
            context: { span_id: string; trace_id: string };
            end_time: string;
            events?: {
                attributes?: { [key: string]: unknown };
                name: string;
                timestamp: string;
            }[];
            id?: string;
            name: string;
            parent_id?: string
            | null;
            span_kind: string;
            start_time: string;
            status_code: string;
            status_message?: string;
        };
        SpanAnnotation: {
            annotator_kind: "LLM"
            | "CODE"
            | "HUMAN";
            created_at: string;
            id: string;
            identifier?: string;
            metadata?: { [key: string]: unknown } | null;
            name: string;
            result?:
                | {
                    explanation?: string
                    | null;
                    label?: string | null;
                    score?: number | null;
                }
                | null;
            source: "API"
            | "APP";
            span_id: string;
            updated_at: string;
            user_id: string | null;
        };
        SpanAnnotationData: {
            annotator_kind: "LLM"
            | "CODE"
            | "HUMAN";
            identifier?: string;
            metadata?: { [key: string]: unknown } | null;
            name: string;
            result?:
                | {
                    explanation?: string
                    | null;
                    label?: string | null;
                    score?: number | null;
                }
                | null;
            span_id: string;
        };
        SpanAnnotationsResponseBody: {
            data: {
                annotator_kind: "LLM"
                | "CODE"
                | "HUMAN";
                created_at: string;
                id: string;
                identifier?: string;
                metadata?: { [key: string]: unknown } | null;
                name: string;
                result?:
                    | {
                        explanation?: string
                        | null;
                        label?: string | null;
                        score?: number | null;
                    }
                    | null;
                source: "API"
                | "APP";
                span_id: string;
                updated_at: string;
                user_id: string | null;
            }[];
            next_cursor: string
            | null;
        };
        SpanContext: { span_id: string; trace_id: string };
        SpanDocumentAnnotationData: {
            annotator_kind: "LLM" | "CODE" | "HUMAN";
            document_position: number;
            identifier?: string;
            metadata?: { [key: string]: unknown } | null;
            name: string;
            result?:
                | {
                    explanation?: string
                    | null;
                    label?: string | null;
                    score?: number | null;
                }
                | null;
            span_id: string;
        };
        SpanEvent: {
            attributes?: { [key: string]: unknown };
            name: string;
            timestamp: string;
        };
        SpanNoteData: { note: string; span_id: string };
        SpansResponseBody: {
            data: {
                attributes?: { [key: string]: unknown };
                context: { span_id: string; trace_id: string };
                end_time: string;
                events?: {
                    attributes?: { [key: string]: unknown };
                    name: string;
                    timestamp: string;
                }[];
                id?: string;
                name: string;
                parent_id?: string
                | null;
                span_kind: string;
                start_time: string;
                status_code: string;
                status_message?: string;
            }[];
            next_cursor: string
            | null;
        };
        TextContentPart: { text: string; type: "text" };
        ToolCallContentPart: {
            tool_call: { arguments: string; name: string; type: "function" };
            tool_call_id: string;
            type: "tool_call";
        };
        ToolCallFunction: { arguments: string; name: string; type: "function" };
        ToolResultContentPart: {
            tool_call_id: string;
            tool_result:
                | string
                | number
                | boolean
                | { [key: string]: unknown }
                | unknown[]
                | null;
            type: "tool_result";
        };
        TraceAnnotation: {
            annotator_kind: "LLM"
            | "CODE"
            | "HUMAN";
            created_at: string;
            id: string;
            identifier?: string;
            metadata?: { [key: string]: unknown } | null;
            name: string;
            result?:
                | {
                    explanation?: string
                    | null;
                    label?: string | null;
                    score?: number | null;
                }
                | null;
            source: "API"
            | "APP";
            trace_id: string;
            updated_at: string;
            user_id: string | null;
        };
        TraceAnnotationData: {
            annotator_kind: "LLM"
            | "CODE"
            | "HUMAN";
            identifier?: string;
            metadata?: { [key: string]: unknown } | null;
            name: string;
            result?:
                | {
                    explanation?: string
                    | null;
                    label?: string | null;
                    score?: number | null;
                }
                | null;
            trace_id: string;
        };
        TraceAnnotationsResponseBody: {
            data: {
                annotator_kind: "LLM"
                | "CODE"
                | "HUMAN";
                created_at: string;
                id: string;
                identifier?: string;
                metadata?: { [key: string]: unknown } | null;
                name: string;
                result?:
                    | {
                        explanation?: string
                        | null;
                        label?: string | null;
                        score?: number | null;
                    }
                    | null;
                source: "API"
                | "APP";
                trace_id: string;
                updated_at: string;
                user_id: string | null;
            }[];
            next_cursor: string
            | null;
        };
        UpdateAnnotationConfigResponseBody: {
            data: | {
                description?: string
                | null;
                id: string;
                name: string;
                optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                type: "CATEGORICAL";
                values: { label: string; score?: number | null }[];
            }
            | {
                description?: string
                | null;
                id: string;
                lower_bound?: number | null;
                name: string;
                optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                type: "CONTINUOUS";
                upper_bound?: number | null;
            }
            | {
                description?: string
                | null;
                id: string;
                name: string;
                type: "FREEFORM";
            };
        };
        UpdateProjectRequestBody: { description?: string
        | null };
        UpdateProjectResponseBody: {
            data: { description?: string | null; id: string; name: string };
        };
        UploadDatasetData: { dataset_id: string; version_id: string };
        UploadDatasetResponseBody: {
            data: { dataset_id: string; version_id: string };
        };
        UpsertExperimentEvaluationRequestBody: {
            annotator_kind: "LLM"
            | "CODE"
            | "HUMAN";
            end_time: string;
            error?: string | null;
            experiment_run_id: string;
            metadata?: { [key: string]: unknown } | null;
            name: string;
            result?:
                | {
                    explanation?: string
                    | null;
                    label?: string | null;
                    score?: number | null;
                }
                | null;
            start_time: string;
            trace_id?: string
            | null;
        };
        UpsertExperimentEvaluationResponseBody: { data: { id: string } };
        UpsertExperimentEvaluationResponseBodyData: { id: string };
        ValidationError: {
            ctx?: Record<string, unknown>;
            input?: unknown;
            loc: (string | number)[];
            msg: string;
            type: string;
        };
    }

    Type Declaration

    • AnnotateSessionsRequestBody: {
          data: {
              annotator_kind: "LLM" | "CODE" | "HUMAN";
              identifier?: string;
              metadata?: { [key: string]: unknown } | null;
              name: string;
              result?:
                  | {
                      explanation?: string
                      | null;
                      label?: string | null;
                      score?: number | null;
                  }
                  | null;
              session_id: string;
          }[];
      }

      AnnotateSessionsRequestBody

      • data: {
            annotator_kind: "LLM" | "CODE" | "HUMAN";
            identifier?: string;
            metadata?: { [key: string]: unknown } | null;
            name: string;
            result?:
                | {
                    explanation?: string
                    | null;
                    label?: string | null;
                    score?: number | null;
                }
                | null;
            session_id: string;
        }[]

        Data

    • AnnotateSessionsResponseBody: { data: { id: string }[] }

      AnnotateSessionsResponseBody

      • data: { id: string }[]

        Data

    • AnnotateSpanDocumentsRequestBody: {
          data: {
              annotator_kind: "LLM" | "CODE" | "HUMAN";
              document_position: number;
              identifier?: string;
              metadata?: { [key: string]: unknown } | null;
              name: string;
              result?:
                  | {
                      explanation?: string
                      | null;
                      label?: string | null;
                      score?: number | null;
                  }
                  | null;
              span_id: string;
          }[];
      }

      AnnotateSpanDocumentsRequestBody

      • data: {
            annotator_kind: "LLM" | "CODE" | "HUMAN";
            document_position: number;
            identifier?: string;
            metadata?: { [key: string]: unknown } | null;
            name: string;
            result?:
                | {
                    explanation?: string
                    | null;
                    label?: string | null;
                    score?: number | null;
                }
                | null;
            span_id: string;
        }[]

        Data

    • AnnotateSpanDocumentsResponseBody: { data: { id: string }[] }

      AnnotateSpanDocumentsResponseBody

      • data: { id: string }[]

        Data

    • AnnotateSpansRequestBody: {
          data: {
              annotator_kind: "LLM" | "CODE" | "HUMAN";
              identifier?: string;
              metadata?: { [key: string]: unknown } | null;
              name: string;
              result?:
                  | {
                      explanation?: string
                      | null;
                      label?: string | null;
                      score?: number | null;
                  }
                  | null;
              span_id: string;
          }[];
      }

      AnnotateSpansRequestBody

      • data: {
            annotator_kind: "LLM" | "CODE" | "HUMAN";
            identifier?: string;
            metadata?: { [key: string]: unknown } | null;
            name: string;
            result?:
                | {
                    explanation?: string
                    | null;
                    label?: string | null;
                    score?: number | null;
                }
                | null;
            span_id: string;
        }[]

        Data

    • AnnotateSpansResponseBody: { data: { id: string }[] }

      AnnotateSpansResponseBody

      • data: { id: string }[]

        Data

    • AnnotateTracesRequestBody: {
          data: {
              annotator_kind: "LLM" | "CODE" | "HUMAN";
              identifier?: string;
              metadata?: { [key: string]: unknown } | null;
              name: string;
              result?:
                  | {
                      explanation?: string
                      | null;
                      label?: string | null;
                      score?: number | null;
                  }
                  | null;
              trace_id: string;
          }[];
      }

      AnnotateTracesRequestBody

      • data: {
            annotator_kind: "LLM" | "CODE" | "HUMAN";
            identifier?: string;
            metadata?: { [key: string]: unknown } | null;
            name: string;
            result?:
                | {
                    explanation?: string
                    | null;
                    label?: string | null;
                    score?: number | null;
                }
                | null;
            trace_id: string;
        }[]

        Data

        The trace annotations to be upserted

    • AnnotateTracesResponseBody: { data: { id: string }[] }

      AnnotateTracesResponseBody

      • data: { id: string }[]

        Data

    • AnnotationResult: { explanation?: string | null; label?: string | null; score?: number | null }

      AnnotationResult

      • Optionalexplanation?: string | null

        Explanation

        Explanation of the annotation result

      • Optionallabel?: string | null

        Label

        The label assigned by the annotation

      • Optionalscore?: number | null

        Score

        The score assigned by the annotation

    • CategoricalAnnotationConfig: {
          description?: string | null;
          id: string;
          name: string;
          optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
          type: "CATEGORICAL";
          values: { label: string; score?: number | null }[];
      }

      CategoricalAnnotationConfig

      • Optionaldescription?: string | null

        Description

      • id: string

        Id

      • name: string

        Name

      • optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE"
      • type: "CATEGORICAL"

        discriminator enum property added by openapi-typescript

      • values: { label: string; score?: number | null }[]

        Values

    • CategoricalAnnotationConfigData: {
          description?: string | null;
          name: string;
          optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
          type: "CATEGORICAL";
          values: { label: string; score?: number | null }[];
      }

      CategoricalAnnotationConfigData

      • Optionaldescription?: string | null

        Description

      • name: string

        Name

      • optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE"
      • type: "CATEGORICAL"

        discriminator enum property added by openapi-typescript

      • values: { label: string; score?: number | null }[]

        Values

    • CategoricalAnnotationValue: { label: string; score?: number | null }

      CategoricalAnnotationValue

      • label: string

        Label

      • Optionalscore?: number | null

        Score

    • ContinuousAnnotationConfig: {
          description?: string | null;
          id: string;
          lower_bound?: number | null;
          name: string;
          optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
          type: "CONTINUOUS";
          upper_bound?: number | null;
      }

      ContinuousAnnotationConfig

      • Optionaldescription?: string | null

        Description

      • id: string

        Id

      • Optionallower_bound?: number | null

        Lower Bound

      • name: string

        Name

      • optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE"
      • type: "CONTINUOUS"

        discriminator enum property added by openapi-typescript

      • Optionalupper_bound?: number | null

        Upper Bound

    • ContinuousAnnotationConfigData: {
          description?: string | null;
          lower_bound?: number | null;
          name: string;
          optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
          type: "CONTINUOUS";
          upper_bound?: number | null;
      }

      ContinuousAnnotationConfigData

      • Optionaldescription?: string | null

        Description

      • Optionallower_bound?: number | null

        Lower Bound

      • name: string

        Name

      • optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE"
      • type: "CONTINUOUS"

        discriminator enum property added by openapi-typescript

      • Optionalupper_bound?: number | null

        Upper Bound

    • CreateAnnotationConfigData:
          | {
              description?: string
              | null;
              name: string;
              optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
              type: "CATEGORICAL";
              values: { label: string; score?: number | null }[];
          }
          | {
              description?: string
              | null;
              lower_bound?: number | null;
              name: string;
              optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
              type: "CONTINUOUS";
              upper_bound?: number | null;
          }
          | { description?: string
          | null; name: string; type: "FREEFORM" }

      CreateAnnotationConfigData

    • CreateAnnotationConfigResponseBody: {
          data:
              | {
                  description?: string
                  | null;
                  id: string;
                  name: string;
                  optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                  type: "CATEGORICAL";
                  values: { label: string; score?: number | null }[];
              }
              | {
                  description?: string
                  | null;
                  id: string;
                  lower_bound?: number | null;
                  name: string;
                  optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                  type: "CONTINUOUS";
                  upper_bound?: number | null;
              }
              | {
                  description?: string
                  | null;
                  id: string;
                  name: string;
                  type: "FREEFORM";
              };
      }

      CreateAnnotationConfigResponseBody

      • data:
            | {
                description?: string
                | null;
                id: string;
                name: string;
                optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                type: "CATEGORICAL";
                values: { label: string; score?: number | null }[];
            }
            | {
                description?: string
                | null;
                id: string;
                lower_bound?: number | null;
                name: string;
                optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                type: "CONTINUOUS";
                upper_bound?: number | null;
            }
            | {
                description?: string
                | null;
                id: string;
                name: string;
                type: "FREEFORM";
            }

        Data

    • CreateExperimentRequestBody: {
          description?: string | null;
          metadata?: { [key: string]: unknown } | null;
          name?: string | null;
          repetitions?: number;
          splits?: string[] | null;
          version_id?: string | null;
      }

      CreateExperimentRequestBody

      Details of the experiment to be created

      • Optionaldescription?: string | null

        Description

        An optional description of the experiment

      • Optionalmetadata?: { [key: string]: unknown } | null

        Metadata

        Metadata for the experiment

      • Optionalname?: string | null

        Name

        Name of the experiment (if omitted, a random name will be generated)

      • Optionalrepetitions?: number

        Repetitions

        Number of times the experiment should be repeated for each example

        1
        
      • Optionalsplits?: string[] | null

        Splits

        List of dataset split identifiers (GlobalIDs or names) to filter by

      • Optionalversion_id?: string | null

        Version Id

        ID of the dataset version over which the experiment will be run (if omitted, the latest version will be used)

    • CreateExperimentResponseBody: {
          data: {
              created_at: string;
              dataset_id: string;
              dataset_version_id: string;
              example_count: number;
              failed_run_count: number;
              id: string;
              metadata: { [key: string]: unknown };
              missing_run_count: number;
              project_name: string | null;
              repetitions: number;
              successful_run_count: number;
              updated_at: string;
          };
      }

      CreateExperimentResponseBody

      • data: {
            created_at: string;
            dataset_id: string;
            dataset_version_id: string;
            example_count: number;
            failed_run_count: number;
            id: string;
            metadata: { [key: string]: unknown };
            missing_run_count: number;
            project_name: string | null;
            repetitions: number;
            successful_run_count: number;
            updated_at: string;
        }
        • created_at: string

          Created At Format: date-time

          The creation timestamp of the experiment

        • dataset_id: string

          Dataset Id

          The ID of the dataset associated with the experiment

        • dataset_version_id: string

          Dataset Version Id

          The ID of the dataset version associated with the experiment

        • example_count: number

          Example Count

          Number of examples in the experiment

        • failed_run_count: number

          Failed Run Count

          Number of failed runs in the experiment

        • id: string

          Id

          The ID of the experiment

        • metadata: { [key: string]: unknown }

          Metadata

          Metadata of the experiment

        • missing_run_count: number

          Missing Run Count

          Number of missing (not yet executed) runs in the experiment

        • project_name: string | null

          Project Name

          The name of the project associated with the experiment

        • repetitions: number

          Repetitions

          Number of times the experiment is repeated

        • successful_run_count: number

          Successful Run Count

          Number of successful runs in the experiment

        • updated_at: string

          Updated At Format: date-time

          The last update timestamp of the experiment

    • CreateExperimentRunRequestBody: {
          dataset_example_id: string;
          end_time: string;
          error?: string | null;
          output: unknown;
          repetition_number: number;
          start_time: string;
          trace_id?: string | null;
      }

      CreateExperimentRunRequestBody

      • dataset_example_id: string

        Dataset Example Id

        The ID of the dataset example used in the experiment run

      • end_time: string

        End Time Format: date-time

        The end time of the experiment run

      • Optionalerror?: string | null

        Error

        Optional error message if the experiment run encountered an error

      • output: unknown

        Output

        The output of the experiment task

      • repetition_number: number

        Repetition Number

        The repetition number of the experiment run

      • start_time: string

        Start Time Format: date-time

        The start time of the experiment run

      • Optionaltrace_id?: string | null

        Trace Id

        The ID of the corresponding trace (if one exists)

    • CreateExperimentRunResponseBody: { data: { id: string } }

      CreateExperimentRunResponseBody

      • data: { id: string }
        • id: string

          Id

          The ID of the newly created experiment run

    • CreateExperimentRunResponseBodyData: { id: string }

      CreateExperimentRunResponseBodyData

      • id: string

        Id

        The ID of the newly created experiment run

    • CreateProjectRequestBody: { description?: string | null; name: string }

      CreateProjectRequestBody

      • Optionaldescription?: string | null

        Description

      • name: string

        Name

    • CreateProjectResponseBody: { data: { description?: string | null; id: string; name: string } }

      CreateProjectResponseBody

      • data: { description?: string | null; id: string; name: string }
        • Optionaldescription?: string | null

          Description

        • id: string

          Id

        • name: string

          Name

    • CreatePromptRequestBody: {
          prompt: {
              description?: string | null;
              metadata?: { [key: string]: unknown } | null;
              name: string;
              source_prompt_id?: string | null;
          };
          version: {
              description?: string
              | null;
              invocation_parameters:
                  | {
                      anthropic: {
                          max_tokens: number;
                          stop_sequences?: string[];
                          temperature?: number;
                          thinking?: | { type: "disabled" }
                          | { budget_tokens: number; type: "enabled" };
                          top_p?: number;
                      };
                      type: "anthropic";
                  }
                  | {
                      aws: { max_tokens?: number; temperature?: number; top_p?: number };
                      type: "aws";
                  }
                  | {
                      azure_openai: {
                          frequency_penalty?: number;
                          max_completion_tokens?: number;
                          max_tokens?: number;
                          presence_penalty?: number;
                          reasoning_effort?: | "none"
                          | "minimal"
                          | "low"
                          | "medium"
                          | "high"
                          | "xhigh";
                          seed?: number;
                          temperature?: number;
                          top_p?: number;
                      };
                      type: "azure_openai";
                  }
                  | {
                      deepseek: {
                          frequency_penalty?: number;
                          max_completion_tokens?: number;
                          max_tokens?: number;
                          presence_penalty?: number;
                          reasoning_effort?: | "none"
                          | "minimal"
                          | "low"
                          | "medium"
                          | "high"
                          | "xhigh";
                          seed?: number;
                          temperature?: number;
                          top_p?: number;
                      };
                      type: "deepseek";
                  }
                  | {
                      google: {
                          frequency_penalty?: number;
                          max_output_tokens?: number;
                          presence_penalty?: number;
                          stop_sequences?: string[];
                          temperature?: number;
                          top_k?: number;
                          top_p?: number;
                      };
                      type: "google";
                  }
                  | {
                      ollama: {
                          frequency_penalty?: number;
                          max_completion_tokens?: number;
                          max_tokens?: number;
                          presence_penalty?: number;
                          reasoning_effort?: | "none"
                          | "minimal"
                          | "low"
                          | "medium"
                          | "high"
                          | "xhigh";
                          seed?: number;
                          temperature?: number;
                          top_p?: number;
                      };
                      type: "ollama";
                  }
                  | {
                      openai: {
                          frequency_penalty?: number;
                          max_completion_tokens?: number;
                          max_tokens?: number;
                          presence_penalty?: number;
                          reasoning_effort?: | "none"
                          | "minimal"
                          | "low"
                          | "medium"
                          | "high"
                          | "xhigh";
                          seed?: number;
                          temperature?: number;
                          top_p?: number;
                      };
                      type: "openai";
                  }
                  | {
                      type: "xai";
                      xai: {
                          frequency_penalty?: number;
                          max_completion_tokens?: number;
                          max_tokens?: number;
                          presence_penalty?: number;
                          reasoning_effort?: | "none"
                          | "minimal"
                          | "low"
                          | "medium"
                          | "high"
                          | "xhigh";
                          seed?: number;
                          temperature?: number;
                          top_p?: number;
                      };
                  };
              model_name: string;
              model_provider: | "OPENAI"
              | "AZURE_OPENAI"
              | "ANTHROPIC"
              | "GOOGLE"
              | "DEEPSEEK"
              | "XAI"
              | "OLLAMA"
              | "AWS";
              response_format?: | {
                  json_schema: {
                      description?: string;
                      name: string;
                      schema?: { [key: string]: unknown };
                      strict?: boolean;
                  };
                  type: "json_schema";
              }
              | null;
              template: | {
                  messages: {
                      content: | string
                      | (
                          | { text: ...; type: ... }
                          | { tool_call: ...; tool_call_id: ...; type: ... }
                          | { tool_call_id: ...; tool_result: ...; type: ... }
                      )[];
                      role:
                          | "user"
                          | "assistant"
                          | "model"
                          | "ai"
                          | "tool"
                          | "system"
                          | "developer";
                  }[];
                  type: "chat";
              }
              | { template: string; type: "string" };
              template_format: "NONE" | "MUSTACHE" | "F_STRING";
              template_type: "STR" | "CHAT";
              tools?:
                  | {
                      disable_parallel_tool_calls?: boolean;
                      tool_choice?: | { type: "none" }
                      | { type: "one_or_more" }
                      | { function_name: string; type: "specific_function" }
                      | { type: "zero_or_more" };
                      tools: {
                          function: {
                              description?: string;
                              name: string;
                              parameters?: { [key: string]: unknown };
                              strict?: boolean;
                          };
                          type: "function";
                      }[];
                      type: "tools";
                  }
                  | null;
          };
      }

      CreatePromptRequestBody

      • prompt: {
            description?: string | null;
            metadata?: { [key: string]: unknown } | null;
            name: string;
            source_prompt_id?: string | null;
        }
        • Optionaldescription?: string | null

          Description

        • Optionalmetadata?: { [key: string]: unknown } | null

          Metadata

        • name: string
        • Optionalsource_prompt_id?: string | null

          Source Prompt Id

      • version: {
            description?: string | null;
            invocation_parameters:
                | {
                    anthropic: {
                        max_tokens: number;
                        stop_sequences?: string[];
                        temperature?: number;
                        thinking?: | { type: "disabled" }
                        | { budget_tokens: number; type: "enabled" };
                        top_p?: number;
                    };
                    type: "anthropic";
                }
                | {
                    aws: { max_tokens?: number; temperature?: number; top_p?: number };
                    type: "aws";
                }
                | {
                    azure_openai: {
                        frequency_penalty?: number;
                        max_completion_tokens?: number;
                        max_tokens?: number;
                        presence_penalty?: number;
                        reasoning_effort?: | "none"
                        | "minimal"
                        | "low"
                        | "medium"
                        | "high"
                        | "xhigh";
                        seed?: number;
                        temperature?: number;
                        top_p?: number;
                    };
                    type: "azure_openai";
                }
                | {
                    deepseek: {
                        frequency_penalty?: number;
                        max_completion_tokens?: number;
                        max_tokens?: number;
                        presence_penalty?: number;
                        reasoning_effort?: | "none"
                        | "minimal"
                        | "low"
                        | "medium"
                        | "high"
                        | "xhigh";
                        seed?: number;
                        temperature?: number;
                        top_p?: number;
                    };
                    type: "deepseek";
                }
                | {
                    google: {
                        frequency_penalty?: number;
                        max_output_tokens?: number;
                        presence_penalty?: number;
                        stop_sequences?: string[];
                        temperature?: number;
                        top_k?: number;
                        top_p?: number;
                    };
                    type: "google";
                }
                | {
                    ollama: {
                        frequency_penalty?: number;
                        max_completion_tokens?: number;
                        max_tokens?: number;
                        presence_penalty?: number;
                        reasoning_effort?: | "none"
                        | "minimal"
                        | "low"
                        | "medium"
                        | "high"
                        | "xhigh";
                        seed?: number;
                        temperature?: number;
                        top_p?: number;
                    };
                    type: "ollama";
                }
                | {
                    openai: {
                        frequency_penalty?: number;
                        max_completion_tokens?: number;
                        max_tokens?: number;
                        presence_penalty?: number;
                        reasoning_effort?: | "none"
                        | "minimal"
                        | "low"
                        | "medium"
                        | "high"
                        | "xhigh";
                        seed?: number;
                        temperature?: number;
                        top_p?: number;
                    };
                    type: "openai";
                }
                | {
                    type: "xai";
                    xai: {
                        frequency_penalty?: number;
                        max_completion_tokens?: number;
                        max_tokens?: number;
                        presence_penalty?: number;
                        reasoning_effort?: | "none"
                        | "minimal"
                        | "low"
                        | "medium"
                        | "high"
                        | "xhigh";
                        seed?: number;
                        temperature?: number;
                        top_p?: number;
                    };
                };
            model_name: string;
            model_provider: | "OPENAI"
            | "AZURE_OPENAI"
            | "ANTHROPIC"
            | "GOOGLE"
            | "DEEPSEEK"
            | "XAI"
            | "OLLAMA"
            | "AWS";
            response_format?: | {
                json_schema: {
                    description?: string;
                    name: string;
                    schema?: { [key: string]: unknown };
                    strict?: boolean;
                };
                type: "json_schema";
            }
            | null;
            template: | {
                messages: {
                    content: | string
                    | (
                        | { text: ...; type: ... }
                        | { tool_call: ...; tool_call_id: ...; type: ... }
                        | { tool_call_id: ...; tool_result: ...; type: ... }
                    )[];
                    role:
                        | "user"
                        | "assistant"
                        | "model"
                        | "ai"
                        | "tool"
                        | "system"
                        | "developer";
                }[];
                type: "chat";
            }
            | { template: string; type: "string" };
            template_format: "NONE" | "MUSTACHE" | "F_STRING";
            template_type: "STR" | "CHAT";
            tools?:
                | {
                    disable_parallel_tool_calls?: boolean;
                    tool_choice?: | { type: "none" }
                    | { type: "one_or_more" }
                    | { function_name: string; type: "specific_function" }
                    | { type: "zero_or_more" };
                    tools: {
                        function: {
                            description?: string;
                            name: string;
                            parameters?: { [key: string]: unknown };
                            strict?: boolean;
                        };
                        type: "function";
                    }[];
                    type: "tools";
                }
                | null;
        }
        • Optionaldescription?: string | null

          Description

        • invocation_parameters:
              | {
                  anthropic: {
                      max_tokens: number;
                      stop_sequences?: string[];
                      temperature?: number;
                      thinking?: | { type: "disabled" }
                      | { budget_tokens: number; type: "enabled" };
                      top_p?: number;
                  };
                  type: "anthropic";
              }
              | {
                  aws: { max_tokens?: number; temperature?: number; top_p?: number };
                  type: "aws";
              }
              | {
                  azure_openai: {
                      frequency_penalty?: number;
                      max_completion_tokens?: number;
                      max_tokens?: number;
                      presence_penalty?: number;
                      reasoning_effort?: | "none"
                      | "minimal"
                      | "low"
                      | "medium"
                      | "high"
                      | "xhigh";
                      seed?: number;
                      temperature?: number;
                      top_p?: number;
                  };
                  type: "azure_openai";
              }
              | {
                  deepseek: {
                      frequency_penalty?: number;
                      max_completion_tokens?: number;
                      max_tokens?: number;
                      presence_penalty?: number;
                      reasoning_effort?: | "none"
                      | "minimal"
                      | "low"
                      | "medium"
                      | "high"
                      | "xhigh";
                      seed?: number;
                      temperature?: number;
                      top_p?: number;
                  };
                  type: "deepseek";
              }
              | {
                  google: {
                      frequency_penalty?: number;
                      max_output_tokens?: number;
                      presence_penalty?: number;
                      stop_sequences?: string[];
                      temperature?: number;
                      top_k?: number;
                      top_p?: number;
                  };
                  type: "google";
              }
              | {
                  ollama: {
                      frequency_penalty?: number;
                      max_completion_tokens?: number;
                      max_tokens?: number;
                      presence_penalty?: number;
                      reasoning_effort?: | "none"
                      | "minimal"
                      | "low"
                      | "medium"
                      | "high"
                      | "xhigh";
                      seed?: number;
                      temperature?: number;
                      top_p?: number;
                  };
                  type: "ollama";
              }
              | {
                  openai: {
                      frequency_penalty?: number;
                      max_completion_tokens?: number;
                      max_tokens?: number;
                      presence_penalty?: number;
                      reasoning_effort?: | "none"
                      | "minimal"
                      | "low"
                      | "medium"
                      | "high"
                      | "xhigh";
                      seed?: number;
                      temperature?: number;
                      top_p?: number;
                  };
                  type: "openai";
              }
              | {
                  type: "xai";
                  xai: {
                      frequency_penalty?: number;
                      max_completion_tokens?: number;
                      max_tokens?: number;
                      presence_penalty?: number;
                      reasoning_effort?: | "none"
                      | "minimal"
                      | "low"
                      | "medium"
                      | "high"
                      | "xhigh";
                      seed?: number;
                      temperature?: number;
                      top_p?: number;
                  };
              }

          Invocation Parameters

        • model_name: string

          Model Name

        • model_provider:
              | "OPENAI"
              | "AZURE_OPENAI"
              | "ANTHROPIC"
              | "GOOGLE"
              | "DEEPSEEK"
              | "XAI"
              | "OLLAMA"
              | "AWS"
        • Optionalresponse_format?:
              | {
                  json_schema: {
                      description?: string;
                      name: string;
                      schema?: { [key: string]: unknown };
                      strict?: boolean;
                  };
                  type: "json_schema";
              }
              | null

          Response Format

        • template:
              | {
                  messages: {
                      content: | string
                      | (
                          | { text: ...; type: ... }
                          | { tool_call: ...; tool_call_id: ...; type: ... }
                          | { tool_call_id: ...; tool_result: ...; type: ... }
                      )[];
                      role:
                          | "user"
                          | "assistant"
                          | "model"
                          | "ai"
                          | "tool"
                          | "system"
                          | "developer";
                  }[];
                  type: "chat";
              }
              | { template: string; type: "string" }

          Template

        • template_format: "NONE" | "MUSTACHE" | "F_STRING"
        • template_type: "STR" | "CHAT"
        • Optionaltools?:
              | {
                  disable_parallel_tool_calls?: boolean;
                  tool_choice?: | { type: "none" }
                  | { type: "one_or_more" }
                  | { function_name: string; type: "specific_function" }
                  | { type: "zero_or_more" };
                  tools: {
                      function: {
                          description?: string;
                          name: string;
                          parameters?: { [key: string]: unknown };
                          strict?: boolean;
                      };
                      type: "function";
                  }[];
                  type: "tools";
              }
              | null
    • CreatePromptResponseBody: {
          data: {
              description?: string | null;
              id: string;
              invocation_parameters:
                  | {
                      anthropic: {
                          max_tokens: number;
                          stop_sequences?: string[];
                          temperature?: number;
                          thinking?: | { type: "disabled" }
                          | { budget_tokens: number; type: "enabled" };
                          top_p?: number;
                      };
                      type: "anthropic";
                  }
                  | {
                      aws: { max_tokens?: number; temperature?: number; top_p?: number };
                      type: "aws";
                  }
                  | {
                      azure_openai: {
                          frequency_penalty?: number;
                          max_completion_tokens?: number;
                          max_tokens?: number;
                          presence_penalty?: number;
                          reasoning_effort?: | "none"
                          | "minimal"
                          | "low"
                          | "medium"
                          | "high"
                          | "xhigh";
                          seed?: number;
                          temperature?: number;
                          top_p?: number;
                      };
                      type: "azure_openai";
                  }
                  | {
                      deepseek: {
                          frequency_penalty?: number;
                          max_completion_tokens?: number;
                          max_tokens?: number;
                          presence_penalty?: number;
                          reasoning_effort?: | "none"
                          | "minimal"
                          | "low"
                          | "medium"
                          | "high"
                          | "xhigh";
                          seed?: number;
                          temperature?: number;
                          top_p?: number;
                      };
                      type: "deepseek";
                  }
                  | {
                      google: {
                          frequency_penalty?: number;
                          max_output_tokens?: number;
                          presence_penalty?: number;
                          stop_sequences?: string[];
                          temperature?: number;
                          top_k?: number;
                          top_p?: number;
                      };
                      type: "google";
                  }
                  | {
                      ollama: {
                          frequency_penalty?: number;
                          max_completion_tokens?: number;
                          max_tokens?: number;
                          presence_penalty?: number;
                          reasoning_effort?: | "none"
                          | "minimal"
                          | "low"
                          | "medium"
                          | "high"
                          | "xhigh";
                          seed?: number;
                          temperature?: number;
                          top_p?: number;
                      };
                      type: "ollama";
                  }
                  | {
                      openai: {
                          frequency_penalty?: number;
                          max_completion_tokens?: number;
                          max_tokens?: number;
                          presence_penalty?: number;
                          reasoning_effort?: | "none"
                          | "minimal"
                          | "low"
                          | "medium"
                          | "high"
                          | "xhigh";
                          seed?: number;
                          temperature?: number;
                          top_p?: number;
                      };
                      type: "openai";
                  }
                  | {
                      type: "xai";
                      xai: {
                          frequency_penalty?: number;
                          max_completion_tokens?: number;
                          max_tokens?: number;
                          presence_penalty?: number;
                          reasoning_effort?: | "none"
                          | "minimal"
                          | "low"
                          | "medium"
                          | "high"
                          | "xhigh";
                          seed?: number;
                          temperature?: number;
                          top_p?: number;
                      };
                  };
              model_name: string;
              model_provider: | "OPENAI"
              | "AZURE_OPENAI"
              | "ANTHROPIC"
              | "GOOGLE"
              | "DEEPSEEK"
              | "XAI"
              | "OLLAMA"
              | "AWS";
              response_format?: | {
                  json_schema: {
                      description?: string;
                      name: string;
                      schema?: { [key: string]: unknown };
                      strict?: boolean;
                  };
                  type: "json_schema";
              }
              | null;
              template: | {
                  messages: {
                      content: | string
                      | (
                          | { text: ...; type: ... }
                          | { tool_call: ...; tool_call_id: ...; type: ... }
                          | { tool_call_id: ...; tool_result: ...; type: ... }
                      )[];
                      role:
                          | "user"
                          | "assistant"
                          | "model"
                          | "ai"
                          | "tool"
                          | "system"
                          | "developer";
                  }[];
                  type: "chat";
              }
              | { template: string; type: "string" };
              template_format: "NONE" | "MUSTACHE" | "F_STRING";
              template_type: "STR" | "CHAT";
              tools?:
                  | {
                      disable_parallel_tool_calls?: boolean;
                      tool_choice?: | { type: "none" }
                      | { type: "one_or_more" }
                      | { function_name: string; type: "specific_function" }
                      | { type: "zero_or_more" };
                      tools: {
                          function: {
                              description?: string;
                              name: string;
                              parameters?: { [key: string]: unknown };
                              strict?: boolean;
                          };
                          type: "function";
                      }[];
                      type: "tools";
                  }
                  | null;
          };
      }

      CreatePromptResponseBody

      • data: {
            description?: string | null;
            id: string;
            invocation_parameters:
                | {
                    anthropic: {
                        max_tokens: number;
                        stop_sequences?: string[];
                        temperature?: number;
                        thinking?: | { type: "disabled" }
                        | { budget_tokens: number; type: "enabled" };
                        top_p?: number;
                    };
                    type: "anthropic";
                }
                | {
                    aws: { max_tokens?: number; temperature?: number; top_p?: number };
                    type: "aws";
                }
                | {
                    azure_openai: {
                        frequency_penalty?: number;
                        max_completion_tokens?: number;
                        max_tokens?: number;
                        presence_penalty?: number;
                        reasoning_effort?: | "none"
                        | "minimal"
                        | "low"
                        | "medium"
                        | "high"
                        | "xhigh";
                        seed?: number;
                        temperature?: number;
                        top_p?: number;
                    };
                    type: "azure_openai";
                }
                | {
                    deepseek: {
                        frequency_penalty?: number;
                        max_completion_tokens?: number;
                        max_tokens?: number;
                        presence_penalty?: number;
                        reasoning_effort?: | "none"
                        | "minimal"
                        | "low"
                        | "medium"
                        | "high"
                        | "xhigh";
                        seed?: number;
                        temperature?: number;
                        top_p?: number;
                    };
                    type: "deepseek";
                }
                | {
                    google: {
                        frequency_penalty?: number;
                        max_output_tokens?: number;
                        presence_penalty?: number;
                        stop_sequences?: string[];
                        temperature?: number;
                        top_k?: number;
                        top_p?: number;
                    };
                    type: "google";
                }
                | {
                    ollama: {
                        frequency_penalty?: number;
                        max_completion_tokens?: number;
                        max_tokens?: number;
                        presence_penalty?: number;
                        reasoning_effort?: | "none"
                        | "minimal"
                        | "low"
                        | "medium"
                        | "high"
                        | "xhigh";
                        seed?: number;
                        temperature?: number;
                        top_p?: number;
                    };
                    type: "ollama";
                }
                | {
                    openai: {
                        frequency_penalty?: number;
                        max_completion_tokens?: number;
                        max_tokens?: number;
                        presence_penalty?: number;
                        reasoning_effort?: | "none"
                        | "minimal"
                        | "low"
                        | "medium"
                        | "high"
                        | "xhigh";
                        seed?: number;
                        temperature?: number;
                        top_p?: number;
                    };
                    type: "openai";
                }
                | {
                    type: "xai";
                    xai: {
                        frequency_penalty?: number;
                        max_completion_tokens?: number;
                        max_tokens?: number;
                        presence_penalty?: number;
                        reasoning_effort?: | "none"
                        | "minimal"
                        | "low"
                        | "medium"
                        | "high"
                        | "xhigh";
                        seed?: number;
                        temperature?: number;
                        top_p?: number;
                    };
                };
            model_name: string;
            model_provider: | "OPENAI"
            | "AZURE_OPENAI"
            | "ANTHROPIC"
            | "GOOGLE"
            | "DEEPSEEK"
            | "XAI"
            | "OLLAMA"
            | "AWS";
            response_format?: | {
                json_schema: {
                    description?: string;
                    name: string;
                    schema?: { [key: string]: unknown };
                    strict?: boolean;
                };
                type: "json_schema";
            }
            | null;
            template: | {
                messages: {
                    content: | string
                    | (
                        | { text: ...; type: ... }
                        | { tool_call: ...; tool_call_id: ...; type: ... }
                        | { tool_call_id: ...; tool_result: ...; type: ... }
                    )[];
                    role:
                        | "user"
                        | "assistant"
                        | "model"
                        | "ai"
                        | "tool"
                        | "system"
                        | "developer";
                }[];
                type: "chat";
            }
            | { template: string; type: "string" };
            template_format: "NONE" | "MUSTACHE" | "F_STRING";
            template_type: "STR" | "CHAT";
            tools?:
                | {
                    disable_parallel_tool_calls?: boolean;
                    tool_choice?: | { type: "none" }
                    | { type: "one_or_more" }
                    | { function_name: string; type: "specific_function" }
                    | { type: "zero_or_more" };
                    tools: {
                        function: {
                            description?: string;
                            name: string;
                            parameters?: { [key: string]: unknown };
                            strict?: boolean;
                        };
                        type: "function";
                    }[];
                    type: "tools";
                }
                | null;
        }
        • Optionaldescription?: string | null

          Description

        • id: string

          Id

        • invocation_parameters:
              | {
                  anthropic: {
                      max_tokens: number;
                      stop_sequences?: string[];
                      temperature?: number;
                      thinking?: | { type: "disabled" }
                      | { budget_tokens: number; type: "enabled" };
                      top_p?: number;
                  };
                  type: "anthropic";
              }
              | {
                  aws: { max_tokens?: number; temperature?: number; top_p?: number };
                  type: "aws";
              }
              | {
                  azure_openai: {
                      frequency_penalty?: number;
                      max_completion_tokens?: number;
                      max_tokens?: number;
                      presence_penalty?: number;
                      reasoning_effort?: | "none"
                      | "minimal"
                      | "low"
                      | "medium"
                      | "high"
                      | "xhigh";
                      seed?: number;
                      temperature?: number;
                      top_p?: number;
                  };
                  type: "azure_openai";
              }
              | {
                  deepseek: {
                      frequency_penalty?: number;
                      max_completion_tokens?: number;
                      max_tokens?: number;
                      presence_penalty?: number;
                      reasoning_effort?: | "none"
                      | "minimal"
                      | "low"
                      | "medium"
                      | "high"
                      | "xhigh";
                      seed?: number;
                      temperature?: number;
                      top_p?: number;
                  };
                  type: "deepseek";
              }
              | {
                  google: {
                      frequency_penalty?: number;
                      max_output_tokens?: number;
                      presence_penalty?: number;
                      stop_sequences?: string[];
                      temperature?: number;
                      top_k?: number;
                      top_p?: number;
                  };
                  type: "google";
              }
              | {
                  ollama: {
                      frequency_penalty?: number;
                      max_completion_tokens?: number;
                      max_tokens?: number;
                      presence_penalty?: number;
                      reasoning_effort?: | "none"
                      | "minimal"
                      | "low"
                      | "medium"
                      | "high"
                      | "xhigh";
                      seed?: number;
                      temperature?: number;
                      top_p?: number;
                  };
                  type: "ollama";
              }
              | {
                  openai: {
                      frequency_penalty?: number;
                      max_completion_tokens?: number;
                      max_tokens?: number;
                      presence_penalty?: number;
                      reasoning_effort?: | "none"
                      | "minimal"
                      | "low"
                      | "medium"
                      | "high"
                      | "xhigh";
                      seed?: number;
                      temperature?: number;
                      top_p?: number;
                  };
                  type: "openai";
              }
              | {
                  type: "xai";
                  xai: {
                      frequency_penalty?: number;
                      max_completion_tokens?: number;
                      max_tokens?: number;
                      presence_penalty?: number;
                      reasoning_effort?: | "none"
                      | "minimal"
                      | "low"
                      | "medium"
                      | "high"
                      | "xhigh";
                      seed?: number;
                      temperature?: number;
                      top_p?: number;
                  };
              }

          Invocation Parameters

        • model_name: string

          Model Name

        • model_provider:
              | "OPENAI"
              | "AZURE_OPENAI"
              | "ANTHROPIC"
              | "GOOGLE"
              | "DEEPSEEK"
              | "XAI"
              | "OLLAMA"
              | "AWS"
        • Optionalresponse_format?:
              | {
                  json_schema: {
                      description?: string;
                      name: string;
                      schema?: { [key: string]: unknown };
                      strict?: boolean;
                  };
                  type: "json_schema";
              }
              | null

          Response Format

        • template:
              | {
                  messages: {
                      content: | string
                      | (
                          | { text: ...; type: ... }
                          | { tool_call: ...; tool_call_id: ...; type: ... }
                          | { tool_call_id: ...; tool_result: ...; type: ... }
                      )[];
                      role:
                          | "user"
                          | "assistant"
                          | "model"
                          | "ai"
                          | "tool"
                          | "system"
                          | "developer";
                  }[];
                  type: "chat";
              }
              | { template: string; type: "string" }

          Template

        • template_format: "NONE" | "MUSTACHE" | "F_STRING"
        • template_type: "STR" | "CHAT"
        • Optionaltools?:
              | {
                  disable_parallel_tool_calls?: boolean;
                  tool_choice?: | { type: "none" }
                  | { type: "one_or_more" }
                  | { function_name: string; type: "specific_function" }
                  | { type: "zero_or_more" };
                  tools: {
                      function: {
                          description?: string;
                          name: string;
                          parameters?: { [key: string]: unknown };
                          strict?: boolean;
                      };
                      type: "function";
                  }[];
                  type: "tools";
              }
              | null
    • CreateSpanNoteRequestBody: { data: { note: string; span_id: string } }

      CreateSpanNoteRequestBody

      • data: { note: string; span_id: string }
        • note: string

          Note

          The note text to add to the span

        • span_id: string

          Span Id

          OpenTelemetry Span ID (hex format w/o 0x prefix)

    • CreateSpanNoteResponseBody: { data: { id: string } }

      CreateSpanNoteResponseBody

      • data: { id: string }
        • id: string

          Id

          The ID of the inserted span annotation

    • CreateSpansRequestBody: {
          data: {
              attributes?: { [key: string]: unknown };
              context: { span_id: string; trace_id: string };
              end_time: string;
              events?: {
                  attributes?: { [key: string]: unknown };
                  name: string;
                  timestamp: string;
              }[];
              id?: string;
              name: string;
              parent_id?: string
              | null;
              span_kind: string;
              start_time: string;
              status_code: string;
              status_message?: string;
          }[];
      }

      CreateSpansRequestBody

      • data: {
            attributes?: { [key: string]: unknown };
            context: { span_id: string; trace_id: string };
            end_time: string;
            events?: {
                attributes?: { [key: string]: unknown };
                name: string;
                timestamp: string;
            }[];
            id?: string;
            name: string;
            parent_id?: string
            | null;
            span_kind: string;
            start_time: string;
            status_code: string;
            status_message?: string;
        }[]

        Data

    • CreateSpansResponseBody: { total_queued: number; total_received: number }

      CreateSpansResponseBody

      • total_queued: number

        Total Queued

        Number of spans successfully queued for insertion

      • total_received: number

        Total Received

        Total number of spans received

    • CreateUserRequestBody: {
          send_welcome_email?: boolean;
          user:
              | {
                  auth_method: "LOCAL";
                  email: string;
                  password?: string;
                  role: "SYSTEM"
                  | "ADMIN"
                  | "MEMBER"
                  | "VIEWER";
                  username: string;
              }
              | {
                  auth_method: "OAUTH2";
                  email: string;
                  oauth2_client_id?: string;
                  oauth2_user_id?: string;
                  role: "SYSTEM"
                  | "ADMIN"
                  | "MEMBER"
                  | "VIEWER";
                  username: string;
              }
              | {
                  auth_method: "LDAP";
                  email: string;
                  role: "SYSTEM"
                  | "ADMIN"
                  | "MEMBER"
                  | "VIEWER";
                  username: string;
              };
      }

      CreateUserRequestBody

      • Optionalsend_welcome_email?: boolean

        Send Welcome Email

        true
        
      • user:
            | {
                auth_method: "LOCAL";
                email: string;
                password?: string;
                role: "SYSTEM"
                | "ADMIN"
                | "MEMBER"
                | "VIEWER";
                username: string;
            }
            | {
                auth_method: "OAUTH2";
                email: string;
                oauth2_client_id?: string;
                oauth2_user_id?: string;
                role: "SYSTEM"
                | "ADMIN"
                | "MEMBER"
                | "VIEWER";
                username: string;
            }
            | {
                auth_method: "LDAP";
                email: string;
                role: "SYSTEM"
                | "ADMIN"
                | "MEMBER"
                | "VIEWER";
                username: string;
            }

        User

    • CreateUserResponseBody: {
          data:
              | {
                  auth_method: "LOCAL";
                  created_at: string;
                  email: string;
                  id: string;
                  password?: string;
                  password_needs_reset: boolean;
                  role: "SYSTEM"
                  | "ADMIN"
                  | "MEMBER"
                  | "VIEWER";
                  updated_at: string;
                  username: string;
              }
              | {
                  auth_method: "OAUTH2";
                  created_at: string;
                  email: string;
                  id: string;
                  oauth2_client_id?: string;
                  oauth2_user_id?: string;
                  profile_picture_url?: string;
                  role: "SYSTEM"
                  | "ADMIN"
                  | "MEMBER"
                  | "VIEWER";
                  updated_at: string;
                  username: string;
              }
              | {
                  auth_method: "LDAP";
                  created_at: string;
                  email: string;
                  id: string;
                  role: "SYSTEM"
                  | "ADMIN"
                  | "MEMBER"
                  | "VIEWER";
                  updated_at: string;
                  username: string;
              };
      }

      CreateUserResponseBody

      • data:
            | {
                auth_method: "LOCAL";
                created_at: string;
                email: string;
                id: string;
                password?: string;
                password_needs_reset: boolean;
                role: "SYSTEM"
                | "ADMIN"
                | "MEMBER"
                | "VIEWER";
                updated_at: string;
                username: string;
            }
            | {
                auth_method: "OAUTH2";
                created_at: string;
                email: string;
                id: string;
                oauth2_client_id?: string;
                oauth2_user_id?: string;
                profile_picture_url?: string;
                role: "SYSTEM"
                | "ADMIN"
                | "MEMBER"
                | "VIEWER";
                updated_at: string;
                username: string;
            }
            | {
                auth_method: "LDAP";
                created_at: string;
                email: string;
                id: string;
                role: "SYSTEM"
                | "ADMIN"
                | "MEMBER"
                | "VIEWER";
                updated_at: string;
                username: string;
            }

        Data

    • Dataset: {
          created_at: string;
          description: string | null;
          example_count: number;
          id: string;
          metadata: { [key: string]: unknown };
          name: string;
          updated_at: string;
      }

      Dataset

      • created_at: string

        Created At Format: date-time

      • description: string | null

        Description

      • example_count: number

        Example Count

      • id: string

        Id

      • metadata: { [key: string]: unknown }

        Metadata

      • name: string

        Name

      • updated_at: string

        Updated At Format: date-time

    • DatasetExample: {
          id: string;
          input: { [key: string]: unknown };
          metadata: { [key: string]: unknown };
          output: { [key: string]: unknown };
          updated_at: string;
      }

      DatasetExample

      • id: string

        Id

      • input: { [key: string]: unknown }

        Input

      • metadata: { [key: string]: unknown }

        Metadata

      • output: { [key: string]: unknown }

        Output

      • updated_at: string

        Updated At Format: date-time

    • DatasetVersion: {
          created_at: string;
          description: string | null;
          metadata: { [key: string]: unknown };
          version_id: string;
      }

      DatasetVersion

      • created_at: string

        Created At Format: date-time

      • description: string | null

        Description

      • metadata: { [key: string]: unknown }

        Metadata

      • version_id: string

        Version Id

    • DatasetWithExampleCount: {
          created_at: string;
          description: string | null;
          example_count: number;
          id: string;
          metadata: { [key: string]: unknown };
          name: string;
          updated_at: string;
      }

      DatasetWithExampleCount

      • created_at: string

        Created At Format: date-time

      • description: string | null

        Description

      • example_count: number

        Example Count

      • id: string

        Id

      • metadata: { [key: string]: unknown }

        Metadata

      • name: string

        Name

      • updated_at: string

        Updated At Format: date-time

    • DeleteAnnotationConfigResponseBody: {
          data:
              | {
                  description?: string
                  | null;
                  id: string;
                  name: string;
                  optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                  type: "CATEGORICAL";
                  values: { label: string; score?: number | null }[];
              }
              | {
                  description?: string
                  | null;
                  id: string;
                  lower_bound?: number | null;
                  name: string;
                  optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                  type: "CONTINUOUS";
                  upper_bound?: number | null;
              }
              | {
                  description?: string
                  | null;
                  id: string;
                  name: string;
                  type: "FREEFORM";
              };
      }

      DeleteAnnotationConfigResponseBody

      • data:
            | {
                description?: string
                | null;
                id: string;
                name: string;
                optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                type: "CATEGORICAL";
                values: { label: string; score?: number | null }[];
            }
            | {
                description?: string
                | null;
                id: string;
                lower_bound?: number | null;
                name: string;
                optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                type: "CONTINUOUS";
                upper_bound?: number | null;
            }
            | {
                description?: string
                | null;
                id: string;
                name: string;
                type: "FREEFORM";
            }

        Data

    • Experiment: {
          created_at: string;
          dataset_id: string;
          dataset_version_id: string;
          example_count: number;
          failed_run_count: number;
          id: string;
          metadata: { [key: string]: unknown };
          missing_run_count: number;
          project_name: string | null;
          repetitions: number;
          successful_run_count: number;
          updated_at: string;
      }

      Experiment

      • created_at: string

        Created At Format: date-time

        The creation timestamp of the experiment

      • dataset_id: string

        Dataset Id

        The ID of the dataset associated with the experiment

      • dataset_version_id: string

        Dataset Version Id

        The ID of the dataset version associated with the experiment

      • example_count: number

        Example Count

        Number of examples in the experiment

      • failed_run_count: number

        Failed Run Count

        Number of failed runs in the experiment

      • id: string

        Id

        The ID of the experiment

      • metadata: { [key: string]: unknown }

        Metadata

        Metadata of the experiment

      • missing_run_count: number

        Missing Run Count

        Number of missing (not yet executed) runs in the experiment

      • project_name: string | null

        Project Name

        The name of the project associated with the experiment

      • repetitions: number

        Repetitions

        Number of times the experiment is repeated

      • successful_run_count: number

        Successful Run Count

        Number of successful runs in the experiment

      • updated_at: string

        Updated At Format: date-time

        The last update timestamp of the experiment

    • ExperimentEvaluationResult: { explanation?: string | null; label?: string | null; score?: number | null }

      ExperimentEvaluationResult

      • Optionalexplanation?: string | null

        Explanation

        Explanation of the evaluation result

      • Optionallabel?: string | null

        Label

        The label assigned by the evaluation

      • Optionalscore?: number | null

        Score

        The score assigned by the evaluation

    • ExperimentRun: {
          dataset_example_id: string;
          end_time: string;
          error?: string | null;
          experiment_id: string;
          id: string;
          output: unknown;
          repetition_number: number;
          start_time: string;
          trace_id?: string | null;
      }

      ExperimentRun

      • dataset_example_id: string

        Dataset Example Id

        The ID of the dataset example used in the experiment run

      • end_time: string

        End Time Format: date-time

        The end time of the experiment run

      • Optionalerror?: string | null

        Error

        Optional error message if the experiment run encountered an error

      • experiment_id: string

        Experiment Id

        The ID of the experiment

      • id: string

        Id

        The ID of the experiment run

      • output: unknown

        Output

        The output of the experiment task

      • repetition_number: number

        Repetition Number

        The repetition number of the experiment run

      • start_time: string

        Start Time Format: date-time

        The start time of the experiment run

      • Optionaltrace_id?: string | null

        Trace Id

        The ID of the corresponding trace (if one exists)

    • FreeformAnnotationConfig: { description?: string | null; id: string; name: string; type: "FREEFORM" }

      FreeformAnnotationConfig

      • Optionaldescription?: string | null

        Description

      • id: string

        Id

      • name: string

        Name

      • type: "FREEFORM"

        discriminator enum property added by openapi-typescript

    • FreeformAnnotationConfigData: { description?: string | null; name: string; type: "FREEFORM" }

      FreeformAnnotationConfigData

      • Optionaldescription?: string | null

        Description

      • name: string

        Name

      • type: "FREEFORM"

        discriminator enum property added by openapi-typescript

    • GetAnnotationConfigResponseBody: {
          data:
              | {
                  description?: string
                  | null;
                  id: string;
                  name: string;
                  optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                  type: "CATEGORICAL";
                  values: { label: string; score?: number | null }[];
              }
              | {
                  description?: string
                  | null;
                  id: string;
                  lower_bound?: number | null;
                  name: string;
                  optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                  type: "CONTINUOUS";
                  upper_bound?: number | null;
              }
              | {
                  description?: string
                  | null;
                  id: string;
                  name: string;
                  type: "FREEFORM";
              };
      }

      GetAnnotationConfigResponseBody

      • data:
            | {
                description?: string
                | null;
                id: string;
                name: string;
                optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                type: "CATEGORICAL";
                values: { label: string; score?: number | null }[];
            }
            | {
                description?: string
                | null;
                id: string;
                lower_bound?: number | null;
                name: string;
                optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                type: "CONTINUOUS";
                upper_bound?: number | null;
            }
            | {
                description?: string
                | null;
                id: string;
                name: string;
                type: "FREEFORM";
            }

        Data

    • GetAnnotationConfigsResponseBody: {
          data: (
              | {
                  description?: string
                  | null;
                  id: string;
                  name: string;
                  optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                  type: "CATEGORICAL";
                  values: { label: string; score?: number | null }[];
              }
              | {
                  description?: string
                  | null;
                  id: string;
                  lower_bound?: number | null;
                  name: string;
                  optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                  type: "CONTINUOUS";
                  upper_bound?: number | null;
              }
              | {
                  description?: string
                  | null;
                  id: string;
                  name: string;
                  type: "FREEFORM";
              }
          )[];
          next_cursor: string
          | null;
      }

      GetAnnotationConfigsResponseBody

      • data: (
            | {
                description?: string
                | null;
                id: string;
                name: string;
                optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                type: "CATEGORICAL";
                values: { label: string; score?: number | null }[];
            }
            | {
                description?: string
                | null;
                id: string;
                lower_bound?: number | null;
                name: string;
                optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                type: "CONTINUOUS";
                upper_bound?: number | null;
            }
            | {
                description?: string
                | null;
                id: string;
                name: string;
                type: "FREEFORM";
            }
        )[]

        Data

      • next_cursor: string | null

        Next Cursor

    • GetDatasetResponseBody: {
          data: {
              created_at: string;
              description: string | null;
              example_count: number;
              id: string;
              metadata: { [key: string]: unknown };
              name: string;
              updated_at: string;
          };
      }

      GetDatasetResponseBody

      • data: {
            created_at: string;
            description: string | null;
            example_count: number;
            id: string;
            metadata: { [key: string]: unknown };
            name: string;
            updated_at: string;
        }
        • created_at: string

          Created At Format: date-time

        • description: string | null

          Description

        • example_count: number

          Example Count

        • id: string

          Id

        • metadata: { [key: string]: unknown }

          Metadata

        • name: string

          Name

        • updated_at: string

          Updated At Format: date-time

    • GetExperimentResponseBody: {
          data: {
              created_at: string;
              dataset_id: string;
              dataset_version_id: string;
              example_count: number;
              failed_run_count: number;
              id: string;
              metadata: { [key: string]: unknown };
              missing_run_count: number;
              project_name: string | null;
              repetitions: number;
              successful_run_count: number;
              updated_at: string;
          };
      }

      GetExperimentResponseBody

      • data: {
            created_at: string;
            dataset_id: string;
            dataset_version_id: string;
            example_count: number;
            failed_run_count: number;
            id: string;
            metadata: { [key: string]: unknown };
            missing_run_count: number;
            project_name: string | null;
            repetitions: number;
            successful_run_count: number;
            updated_at: string;
        }
        • created_at: string

          Created At Format: date-time

          The creation timestamp of the experiment

        • dataset_id: string

          Dataset Id

          The ID of the dataset associated with the experiment

        • dataset_version_id: string

          Dataset Version Id

          The ID of the dataset version associated with the experiment

        • example_count: number

          Example Count

          Number of examples in the experiment

        • failed_run_count: number

          Failed Run Count

          Number of failed runs in the experiment

        • id: string

          Id

          The ID of the experiment

        • metadata: { [key: string]: unknown }

          Metadata

          Metadata of the experiment

        • missing_run_count: number

          Missing Run Count

          Number of missing (not yet executed) runs in the experiment

        • project_name: string | null

          Project Name

          The name of the project associated with the experiment

        • repetitions: number

          Repetitions

          Number of times the experiment is repeated

        • successful_run_count: number

          Successful Run Count

          Number of successful runs in the experiment

        • updated_at: string

          Updated At Format: date-time

          The last update timestamp of the experiment

    • GetIncompleteEvaluationsResponseBody: {
          data: {
              dataset_example: {
                  id: string;
                  input: { [key: string]: unknown };
                  metadata: { [key: string]: unknown };
                  output: { [key: string]: unknown };
                  updated_at: string;
              };
              evaluation_names: string[];
              experiment_run: {
                  dataset_example_id: string;
                  end_time: string;
                  error?: string
                  | null;
                  experiment_id: string;
                  id: string;
                  output: unknown;
                  repetition_number: number;
                  start_time: string;
                  trace_id?: string | null;
              };
          }[];
          next_cursor: string
          | null;
      }

      GetIncompleteEvaluationsResponseBody

      • data: {
            dataset_example: {
                id: string;
                input: { [key: string]: unknown };
                metadata: { [key: string]: unknown };
                output: { [key: string]: unknown };
                updated_at: string;
            };
            evaluation_names: string[];
            experiment_run: {
                dataset_example_id: string;
                end_time: string;
                error?: string
                | null;
                experiment_id: string;
                id: string;
                output: unknown;
                repetition_number: number;
                start_time: string;
                trace_id?: string | null;
            };
        }[]

        Data

      • next_cursor: string | null

        Next Cursor

    • GetIncompleteExperimentRunsResponseBody: {
          data: {
              dataset_example: {
                  id: string;
                  input: { [key: string]: unknown };
                  metadata: { [key: string]: unknown };
                  output: { [key: string]: unknown };
                  updated_at: string;
              };
              repetition_numbers: number[];
          }[];
          next_cursor: string
          | null;
      }

      GetIncompleteExperimentRunsResponseBody

      • data: {
            dataset_example: {
                id: string;
                input: { [key: string]: unknown };
                metadata: { [key: string]: unknown };
                output: { [key: string]: unknown };
                updated_at: string;
            };
            repetition_numbers: number[];
        }[]

        Data

      • next_cursor: string | null

        Next Cursor

    • GetProjectResponseBody: { data: { description?: string | null; id: string; name: string } }

      GetProjectResponseBody

      • data: { description?: string | null; id: string; name: string }
        • Optionaldescription?: string | null

          Description

        • id: string

          Id

        • name: string

          Name

    • GetProjectsResponseBody: {
          data: { description?: string | null; id: string; name: string }[];
          next_cursor: string | null;
      }

      GetProjectsResponseBody

      • data: { description?: string | null; id: string; name: string }[]

        Data

      • next_cursor: string | null

        Next Cursor

    • GetPromptResponseBody: {
          data: {
              description?: string | null;
              id: string;
              invocation_parameters:
                  | {
                      anthropic: {
                          max_tokens: number;
                          stop_sequences?: string[];
                          temperature?: number;
                          thinking?: | { type: "disabled" }
                          | { budget_tokens: number; type: "enabled" };
                          top_p?: number;
                      };
                      type: "anthropic";
                  }
                  | {
                      aws: { max_tokens?: number; temperature?: number; top_p?: number };
                      type: "aws";
                  }
                  | {
                      azure_openai: {
                          frequency_penalty?: number;
                          max_completion_tokens?: number;
                          max_tokens?: number;
                          presence_penalty?: number;
                          reasoning_effort?: | "none"
                          | "minimal"
                          | "low"
                          | "medium"
                          | "high"
                          | "xhigh";
                          seed?: number;
                          temperature?: number;
                          top_p?: number;
                      };
                      type: "azure_openai";
                  }
                  | {
                      deepseek: {
                          frequency_penalty?: number;
                          max_completion_tokens?: number;
                          max_tokens?: number;
                          presence_penalty?: number;
                          reasoning_effort?: | "none"
                          | "minimal"
                          | "low"
                          | "medium"
                          | "high"
                          | "xhigh";
                          seed?: number;
                          temperature?: number;
                          top_p?: number;
                      };
                      type: "deepseek";
                  }
                  | {
                      google: {
                          frequency_penalty?: number;
                          max_output_tokens?: number;
                          presence_penalty?: number;
                          stop_sequences?: string[];
                          temperature?: number;
                          top_k?: number;
                          top_p?: number;
                      };
                      type: "google";
                  }
                  | {
                      ollama: {
                          frequency_penalty?: number;
                          max_completion_tokens?: number;
                          max_tokens?: number;
                          presence_penalty?: number;
                          reasoning_effort?: | "none"
                          | "minimal"
                          | "low"
                          | "medium"
                          | "high"
                          | "xhigh";
                          seed?: number;
                          temperature?: number;
                          top_p?: number;
                      };
                      type: "ollama";
                  }
                  | {
                      openai: {
                          frequency_penalty?: number;
                          max_completion_tokens?: number;
                          max_tokens?: number;
                          presence_penalty?: number;
                          reasoning_effort?: | "none"
                          | "minimal"
                          | "low"
                          | "medium"
                          | "high"
                          | "xhigh";
                          seed?: number;
                          temperature?: number;
                          top_p?: number;
                      };
                      type: "openai";
                  }
                  | {
                      type: "xai";
                      xai: {
                          frequency_penalty?: number;
                          max_completion_tokens?: number;
                          max_tokens?: number;
                          presence_penalty?: number;
                          reasoning_effort?: | "none"
                          | "minimal"
                          | "low"
                          | "medium"
                          | "high"
                          | "xhigh";
                          seed?: number;
                          temperature?: number;
                          top_p?: number;
                      };
                  };
              model_name: string;
              model_provider: | "OPENAI"
              | "AZURE_OPENAI"
              | "ANTHROPIC"
              | "GOOGLE"
              | "DEEPSEEK"
              | "XAI"
              | "OLLAMA"
              | "AWS";
              response_format?: | {
                  json_schema: {
                      description?: string;
                      name: string;
                      schema?: { [key: string]: unknown };
                      strict?: boolean;
                  };
                  type: "json_schema";
              }
              | null;
              template: | {
                  messages: {
                      content: | string
                      | (
                          | { text: ...; type: ... }
                          | { tool_call: ...; tool_call_id: ...; type: ... }
                          | { tool_call_id: ...; tool_result: ...; type: ... }
                      )[];
                      role:
                          | "user"
                          | "assistant"
                          | "model"
                          | "ai"
                          | "tool"
                          | "system"
                          | "developer";
                  }[];
                  type: "chat";
              }
              | { template: string; type: "string" };
              template_format: "NONE" | "MUSTACHE" | "F_STRING";
              template_type: "STR" | "CHAT";
              tools?:
                  | {
                      disable_parallel_tool_calls?: boolean;
                      tool_choice?: | { type: "none" }
                      | { type: "one_or_more" }
                      | { function_name: string; type: "specific_function" }
                      | { type: "zero_or_more" };
                      tools: {
                          function: {
                              description?: string;
                              name: string;
                              parameters?: { [key: string]: unknown };
                              strict?: boolean;
                          };
                          type: "function";
                      }[];
                      type: "tools";
                  }
                  | null;
          };
      }

      GetPromptResponseBody

      • data: {
            description?: string | null;
            id: string;
            invocation_parameters:
                | {
                    anthropic: {
                        max_tokens: number;
                        stop_sequences?: string[];
                        temperature?: number;
                        thinking?: | { type: "disabled" }
                        | { budget_tokens: number; type: "enabled" };
                        top_p?: number;
                    };
                    type: "anthropic";
                }
                | {
                    aws: { max_tokens?: number; temperature?: number; top_p?: number };
                    type: "aws";
                }
                | {
                    azure_openai: {
                        frequency_penalty?: number;
                        max_completion_tokens?: number;
                        max_tokens?: number;
                        presence_penalty?: number;
                        reasoning_effort?: | "none"
                        | "minimal"
                        | "low"
                        | "medium"
                        | "high"
                        | "xhigh";
                        seed?: number;
                        temperature?: number;
                        top_p?: number;
                    };
                    type: "azure_openai";
                }
                | {
                    deepseek: {
                        frequency_penalty?: number;
                        max_completion_tokens?: number;
                        max_tokens?: number;
                        presence_penalty?: number;
                        reasoning_effort?: | "none"
                        | "minimal"
                        | "low"
                        | "medium"
                        | "high"
                        | "xhigh";
                        seed?: number;
                        temperature?: number;
                        top_p?: number;
                    };
                    type: "deepseek";
                }
                | {
                    google: {
                        frequency_penalty?: number;
                        max_output_tokens?: number;
                        presence_penalty?: number;
                        stop_sequences?: string[];
                        temperature?: number;
                        top_k?: number;
                        top_p?: number;
                    };
                    type: "google";
                }
                | {
                    ollama: {
                        frequency_penalty?: number;
                        max_completion_tokens?: number;
                        max_tokens?: number;
                        presence_penalty?: number;
                        reasoning_effort?: | "none"
                        | "minimal"
                        | "low"
                        | "medium"
                        | "high"
                        | "xhigh";
                        seed?: number;
                        temperature?: number;
                        top_p?: number;
                    };
                    type: "ollama";
                }
                | {
                    openai: {
                        frequency_penalty?: number;
                        max_completion_tokens?: number;
                        max_tokens?: number;
                        presence_penalty?: number;
                        reasoning_effort?: | "none"
                        | "minimal"
                        | "low"
                        | "medium"
                        | "high"
                        | "xhigh";
                        seed?: number;
                        temperature?: number;
                        top_p?: number;
                    };
                    type: "openai";
                }
                | {
                    type: "xai";
                    xai: {
                        frequency_penalty?: number;
                        max_completion_tokens?: number;
                        max_tokens?: number;
                        presence_penalty?: number;
                        reasoning_effort?: | "none"
                        | "minimal"
                        | "low"
                        | "medium"
                        | "high"
                        | "xhigh";
                        seed?: number;
                        temperature?: number;
                        top_p?: number;
                    };
                };
            model_name: string;
            model_provider: | "OPENAI"
            | "AZURE_OPENAI"
            | "ANTHROPIC"
            | "GOOGLE"
            | "DEEPSEEK"
            | "XAI"
            | "OLLAMA"
            | "AWS";
            response_format?: | {
                json_schema: {
                    description?: string;
                    name: string;
                    schema?: { [key: string]: unknown };
                    strict?: boolean;
                };
                type: "json_schema";
            }
            | null;
            template: | {
                messages: {
                    content: | string
                    | (
                        | { text: ...; type: ... }
                        | { tool_call: ...; tool_call_id: ...; type: ... }
                        | { tool_call_id: ...; tool_result: ...; type: ... }
                    )[];
                    role:
                        | "user"
                        | "assistant"
                        | "model"
                        | "ai"
                        | "tool"
                        | "system"
                        | "developer";
                }[];
                type: "chat";
            }
            | { template: string; type: "string" };
            template_format: "NONE" | "MUSTACHE" | "F_STRING";
            template_type: "STR" | "CHAT";
            tools?:
                | {
                    disable_parallel_tool_calls?: boolean;
                    tool_choice?: | { type: "none" }
                    | { type: "one_or_more" }
                    | { function_name: string; type: "specific_function" }
                    | { type: "zero_or_more" };
                    tools: {
                        function: {
                            description?: string;
                            name: string;
                            parameters?: { [key: string]: unknown };
                            strict?: boolean;
                        };
                        type: "function";
                    }[];
                    type: "tools";
                }
                | null;
        }
        • Optionaldescription?: string | null

          Description

        • id: string

          Id

        • invocation_parameters:
              | {
                  anthropic: {
                      max_tokens: number;
                      stop_sequences?: string[];
                      temperature?: number;
                      thinking?: | { type: "disabled" }
                      | { budget_tokens: number; type: "enabled" };
                      top_p?: number;
                  };
                  type: "anthropic";
              }
              | {
                  aws: { max_tokens?: number; temperature?: number; top_p?: number };
                  type: "aws";
              }
              | {
                  azure_openai: {
                      frequency_penalty?: number;
                      max_completion_tokens?: number;
                      max_tokens?: number;
                      presence_penalty?: number;
                      reasoning_effort?: | "none"
                      | "minimal"
                      | "low"
                      | "medium"
                      | "high"
                      | "xhigh";
                      seed?: number;
                      temperature?: number;
                      top_p?: number;
                  };
                  type: "azure_openai";
              }
              | {
                  deepseek: {
                      frequency_penalty?: number;
                      max_completion_tokens?: number;
                      max_tokens?: number;
                      presence_penalty?: number;
                      reasoning_effort?: | "none"
                      | "minimal"
                      | "low"
                      | "medium"
                      | "high"
                      | "xhigh";
                      seed?: number;
                      temperature?: number;
                      top_p?: number;
                  };
                  type: "deepseek";
              }
              | {
                  google: {
                      frequency_penalty?: number;
                      max_output_tokens?: number;
                      presence_penalty?: number;
                      stop_sequences?: string[];
                      temperature?: number;
                      top_k?: number;
                      top_p?: number;
                  };
                  type: "google";
              }
              | {
                  ollama: {
                      frequency_penalty?: number;
                      max_completion_tokens?: number;
                      max_tokens?: number;
                      presence_penalty?: number;
                      reasoning_effort?: | "none"
                      | "minimal"
                      | "low"
                      | "medium"
                      | "high"
                      | "xhigh";
                      seed?: number;
                      temperature?: number;
                      top_p?: number;
                  };
                  type: "ollama";
              }
              | {
                  openai: {
                      frequency_penalty?: number;
                      max_completion_tokens?: number;
                      max_tokens?: number;
                      presence_penalty?: number;
                      reasoning_effort?: | "none"
                      | "minimal"
                      | "low"
                      | "medium"
                      | "high"
                      | "xhigh";
                      seed?: number;
                      temperature?: number;
                      top_p?: number;
                  };
                  type: "openai";
              }
              | {
                  type: "xai";
                  xai: {
                      frequency_penalty?: number;
                      max_completion_tokens?: number;
                      max_tokens?: number;
                      presence_penalty?: number;
                      reasoning_effort?: | "none"
                      | "minimal"
                      | "low"
                      | "medium"
                      | "high"
                      | "xhigh";
                      seed?: number;
                      temperature?: number;
                      top_p?: number;
                  };
              }

          Invocation Parameters

        • model_name: string

          Model Name

        • model_provider:
              | "OPENAI"
              | "AZURE_OPENAI"
              | "ANTHROPIC"
              | "GOOGLE"
              | "DEEPSEEK"
              | "XAI"
              | "OLLAMA"
              | "AWS"
        • Optionalresponse_format?:
              | {
                  json_schema: {
                      description?: string;
                      name: string;
                      schema?: { [key: string]: unknown };
                      strict?: boolean;
                  };
                  type: "json_schema";
              }
              | null

          Response Format

        • template:
              | {
                  messages: {
                      content: | string
                      | (
                          | { text: ...; type: ... }
                          | { tool_call: ...; tool_call_id: ...; type: ... }
                          | { tool_call_id: ...; tool_result: ...; type: ... }
                      )[];
                      role:
                          | "user"
                          | "assistant"
                          | "model"
                          | "ai"
                          | "tool"
                          | "system"
                          | "developer";
                  }[];
                  type: "chat";
              }
              | { template: string; type: "string" }

          Template

        • template_format: "NONE" | "MUSTACHE" | "F_STRING"
        • template_type: "STR" | "CHAT"
        • Optionaltools?:
              | {
                  disable_parallel_tool_calls?: boolean;
                  tool_choice?: | { type: "none" }
                  | { type: "one_or_more" }
                  | { function_name: string; type: "specific_function" }
                  | { type: "zero_or_more" };
                  tools: {
                      function: {
                          description?: string;
                          name: string;
                          parameters?: { [key: string]: unknown };
                          strict?: boolean;
                      };
                      type: "function";
                  }[];
                  type: "tools";
              }
              | null
    • GetPromptsResponseBody: {
          data: {
              description?: string | null;
              id: string;
              metadata?: { [key: string]: unknown } | null;
              name: string;
              source_prompt_id?: string | null;
          }[];
          next_cursor: string
          | null;
      }

      GetPromptsResponseBody

      • data: {
            description?: string | null;
            id: string;
            metadata?: { [key: string]: unknown } | null;
            name: string;
            source_prompt_id?: string | null;
        }[]

        Data

      • next_cursor: string | null

        Next Cursor

    • GetPromptVersionsResponseBody: {
          data: {
              description?: string | null;
              id: string;
              invocation_parameters:
                  | {
                      anthropic: {
                          max_tokens: number;
                          stop_sequences?: string[];
                          temperature?: number;
                          thinking?: | { type: "disabled" }
                          | { budget_tokens: number; type: "enabled" };
                          top_p?: number;
                      };
                      type: "anthropic";
                  }
                  | {
                      aws: { max_tokens?: number; temperature?: number; top_p?: number };
                      type: "aws";
                  }
                  | {
                      azure_openai: {
                          frequency_penalty?: number;
                          max_completion_tokens?: number;
                          max_tokens?: number;
                          presence_penalty?: number;
                          reasoning_effort?: | "none"
                          | "minimal"
                          | "low"
                          | "medium"
                          | "high"
                          | "xhigh";
                          seed?: number;
                          temperature?: number;
                          top_p?: number;
                      };
                      type: "azure_openai";
                  }
                  | {
                      deepseek: {
                          frequency_penalty?: number;
                          max_completion_tokens?: number;
                          max_tokens?: number;
                          presence_penalty?: number;
                          reasoning_effort?: | "none"
                          | "minimal"
                          | "low"
                          | "medium"
                          | "high"
                          | "xhigh";
                          seed?: number;
                          temperature?: number;
                          top_p?: number;
                      };
                      type: "deepseek";
                  }
                  | {
                      google: {
                          frequency_penalty?: number;
                          max_output_tokens?: number;
                          presence_penalty?: number;
                          stop_sequences?: string[];
                          temperature?: number;
                          top_k?: number;
                          top_p?: number;
                      };
                      type: "google";
                  }
                  | {
                      ollama: {
                          frequency_penalty?: number;
                          max_completion_tokens?: number;
                          max_tokens?: number;
                          presence_penalty?: number;
                          reasoning_effort?: | "none"
                          | "minimal"
                          | "low"
                          | "medium"
                          | "high"
                          | "xhigh";
                          seed?: number;
                          temperature?: number;
                          top_p?: number;
                      };
                      type: "ollama";
                  }
                  | {
                      openai: {
                          frequency_penalty?: number;
                          max_completion_tokens?: number;
                          max_tokens?: number;
                          presence_penalty?: number;
                          reasoning_effort?: | "none"
                          | "minimal"
                          | "low"
                          | "medium"
                          | "high"
                          | "xhigh";
                          seed?: number;
                          temperature?: number;
                          top_p?: number;
                      };
                      type: "openai";
                  }
                  | {
                      type: "xai";
                      xai: {
                          frequency_penalty?: number;
                          max_completion_tokens?: number;
                          max_tokens?: number;
                          presence_penalty?: number;
                          reasoning_effort?: | "none"
                          | "minimal"
                          | "low"
                          | "medium"
                          | "high"
                          | "xhigh";
                          seed?: number;
                          temperature?: number;
                          top_p?: number;
                      };
                  };
              model_name: string;
              model_provider: | "OPENAI"
              | "AZURE_OPENAI"
              | "ANTHROPIC"
              | "GOOGLE"
              | "DEEPSEEK"
              | "XAI"
              | "OLLAMA"
              | "AWS";
              response_format?: | {
                  json_schema: {
                      description?: string;
                      name: string;
                      schema?: { [key: string]: unknown };
                      strict?: boolean;
                  };
                  type: "json_schema";
              }
              | null;
              template: | {
                  messages: {
                      content: string
                      | ((...) | (...) | (...))[];
                      role:
                          | "user"
                          | "assistant"
                          | "model"
                          | "ai"
                          | "tool"
                          | "system"
                          | "developer";
                  }[];
                  type: "chat";
              }
              | { template: string; type: "string" };
              template_format: "NONE" | "MUSTACHE" | "F_STRING";
              template_type: "STR" | "CHAT";
              tools?:
                  | {
                      disable_parallel_tool_calls?: boolean;
                      tool_choice?: | { type: "none" }
                      | { type: "one_or_more" }
                      | { function_name: string; type: "specific_function" }
                      | { type: "zero_or_more" };
                      tools: {
                          function: {
                              description?: string;
                              name: string;
                              parameters?: { [key: ...]: ... };
                              strict?: boolean;
                          };
                          type: "function";
                      }[];
                      type: "tools";
                  }
                  | null;
          }[];
          next_cursor: string
          | null;
      }

      GetPromptVersionsResponseBody

      • data: {
            description?: string | null;
            id: string;
            invocation_parameters:
                | {
                    anthropic: {
                        max_tokens: number;
                        stop_sequences?: string[];
                        temperature?: number;
                        thinking?: | { type: "disabled" }
                        | { budget_tokens: number; type: "enabled" };
                        top_p?: number;
                    };
                    type: "anthropic";
                }
                | {
                    aws: { max_tokens?: number; temperature?: number; top_p?: number };
                    type: "aws";
                }
                | {
                    azure_openai: {
                        frequency_penalty?: number;
                        max_completion_tokens?: number;
                        max_tokens?: number;
                        presence_penalty?: number;
                        reasoning_effort?: | "none"
                        | "minimal"
                        | "low"
                        | "medium"
                        | "high"
                        | "xhigh";
                        seed?: number;
                        temperature?: number;
                        top_p?: number;
                    };
                    type: "azure_openai";
                }
                | {
                    deepseek: {
                        frequency_penalty?: number;
                        max_completion_tokens?: number;
                        max_tokens?: number;
                        presence_penalty?: number;
                        reasoning_effort?: | "none"
                        | "minimal"
                        | "low"
                        | "medium"
                        | "high"
                        | "xhigh";
                        seed?: number;
                        temperature?: number;
                        top_p?: number;
                    };
                    type: "deepseek";
                }
                | {
                    google: {
                        frequency_penalty?: number;
                        max_output_tokens?: number;
                        presence_penalty?: number;
                        stop_sequences?: string[];
                        temperature?: number;
                        top_k?: number;
                        top_p?: number;
                    };
                    type: "google";
                }
                | {
                    ollama: {
                        frequency_penalty?: number;
                        max_completion_tokens?: number;
                        max_tokens?: number;
                        presence_penalty?: number;
                        reasoning_effort?: | "none"
                        | "minimal"
                        | "low"
                        | "medium"
                        | "high"
                        | "xhigh";
                        seed?: number;
                        temperature?: number;
                        top_p?: number;
                    };
                    type: "ollama";
                }
                | {
                    openai: {
                        frequency_penalty?: number;
                        max_completion_tokens?: number;
                        max_tokens?: number;
                        presence_penalty?: number;
                        reasoning_effort?: | "none"
                        | "minimal"
                        | "low"
                        | "medium"
                        | "high"
                        | "xhigh";
                        seed?: number;
                        temperature?: number;
                        top_p?: number;
                    };
                    type: "openai";
                }
                | {
                    type: "xai";
                    xai: {
                        frequency_penalty?: number;
                        max_completion_tokens?: number;
                        max_tokens?: number;
                        presence_penalty?: number;
                        reasoning_effort?: | "none"
                        | "minimal"
                        | "low"
                        | "medium"
                        | "high"
                        | "xhigh";
                        seed?: number;
                        temperature?: number;
                        top_p?: number;
                    };
                };
            model_name: string;
            model_provider: | "OPENAI"
            | "AZURE_OPENAI"
            | "ANTHROPIC"
            | "GOOGLE"
            | "DEEPSEEK"
            | "XAI"
            | "OLLAMA"
            | "AWS";
            response_format?: | {
                json_schema: {
                    description?: string;
                    name: string;
                    schema?: { [key: string]: unknown };
                    strict?: boolean;
                };
                type: "json_schema";
            }
            | null;
            template: | {
                messages: {
                    content: string
                    | ((...) | (...) | (...))[];
                    role:
                        | "user"
                        | "assistant"
                        | "model"
                        | "ai"
                        | "tool"
                        | "system"
                        | "developer";
                }[];
                type: "chat";
            }
            | { template: string; type: "string" };
            template_format: "NONE" | "MUSTACHE" | "F_STRING";
            template_type: "STR" | "CHAT";
            tools?:
                | {
                    disable_parallel_tool_calls?: boolean;
                    tool_choice?: | { type: "none" }
                    | { type: "one_or_more" }
                    | { function_name: string; type: "specific_function" }
                    | { type: "zero_or_more" };
                    tools: {
                        function: {
                            description?: string;
                            name: string;
                            parameters?: { [key: ...]: ... };
                            strict?: boolean;
                        };
                        type: "function";
                    }[];
                    type: "tools";
                }
                | null;
        }[]

        Data

      • next_cursor: string | null

        Next Cursor

    • GetPromptVersionTagsResponseBody: {
          data: { description?: string | null; id: string; name: string }[];
          next_cursor: string | null;
      }

      GetPromptVersionTagsResponseBody

      • data: { description?: string | null; id: string; name: string }[]

        Data

      • next_cursor: string | null

        Next Cursor

    • GetUsersResponseBody: {
          data: (
              | {
                  auth_method: "LOCAL";
                  created_at: string;
                  email: string;
                  id: string;
                  password?: string;
                  password_needs_reset: boolean;
                  role: "SYSTEM"
                  | "ADMIN"
                  | "MEMBER"
                  | "VIEWER";
                  updated_at: string;
                  username: string;
              }
              | {
                  auth_method: "OAUTH2";
                  created_at: string;
                  email: string;
                  id: string;
                  oauth2_client_id?: string;
                  oauth2_user_id?: string;
                  profile_picture_url?: string;
                  role: "SYSTEM"
                  | "ADMIN"
                  | "MEMBER"
                  | "VIEWER";
                  updated_at: string;
                  username: string;
              }
              | {
                  auth_method: "LDAP";
                  created_at: string;
                  email: string;
                  id: string;
                  role: "SYSTEM"
                  | "ADMIN"
                  | "MEMBER"
                  | "VIEWER";
                  updated_at: string;
                  username: string;
              }
          )[];
          next_cursor: string
          | null;
      }

      GetUsersResponseBody

      • data: (
            | {
                auth_method: "LOCAL";
                created_at: string;
                email: string;
                id: string;
                password?: string;
                password_needs_reset: boolean;
                role: "SYSTEM"
                | "ADMIN"
                | "MEMBER"
                | "VIEWER";
                updated_at: string;
                username: string;
            }
            | {
                auth_method: "OAUTH2";
                created_at: string;
                email: string;
                id: string;
                oauth2_client_id?: string;
                oauth2_user_id?: string;
                profile_picture_url?: string;
                role: "SYSTEM"
                | "ADMIN"
                | "MEMBER"
                | "VIEWER";
                updated_at: string;
                username: string;
            }
            | {
                auth_method: "LDAP";
                created_at: string;
                email: string;
                id: string;
                role: "SYSTEM"
                | "ADMIN"
                | "MEMBER"
                | "VIEWER";
                updated_at: string;
                username: string;
            }
        )[]

        Data

      • next_cursor: string | null

        Next Cursor

    • HTTPValidationError: {
          detail?: {
              ctx?: Record<string, unknown>;
              input?: unknown;
              loc: (string | number)[];
              msg: string;
              type: string;
          }[];
      }

      HTTPValidationError

      • Optionaldetail?: {
            ctx?: Record<string, unknown>;
            input?: unknown;
            loc: (string | number)[];
            msg: string;
            type: string;
        }[]

        Detail

    • Identifier: string

      Identifier

    • IncompleteExperimentEvaluation: {
          dataset_example: {
              id: string;
              input: { [key: string]: unknown };
              metadata: { [key: string]: unknown };
              output: { [key: string]: unknown };
              updated_at: string;
          };
          evaluation_names: string[];
          experiment_run: {
              dataset_example_id: string;
              end_time: string;
              error?: string
              | null;
              experiment_id: string;
              id: string;
              output: unknown;
              repetition_number: number;
              start_time: string;
              trace_id?: string | null;
          };
      }

      IncompleteExperimentEvaluation

      Information about an experiment run with incomplete evaluations

      • dataset_example: {
            id: string;
            input: { [key: string]: unknown };
            metadata: { [key: string]: unknown };
            output: { [key: string]: unknown };
            updated_at: string;
        }

        The dataset example

        • id: string

          Id

        • input: { [key: string]: unknown }

          Input

        • metadata: { [key: string]: unknown }

          Metadata

        • output: { [key: string]: unknown }

          Output

        • updated_at: string

          Updated At Format: date-time

      • evaluation_names: string[]

        Evaluation Names

        List of evaluation names that are incomplete (either missing or failed)

      • experiment_run: {
            dataset_example_id: string;
            end_time: string;
            error?: string | null;
            experiment_id: string;
            id: string;
            output: unknown;
            repetition_number: number;
            start_time: string;
            trace_id?: string | null;
        }

        The experiment run

        • dataset_example_id: string

          Dataset Example Id

          The ID of the dataset example used in the experiment run

        • end_time: string

          End Time Format: date-time

          The end time of the experiment run

        • Optionalerror?: string | null

          Error

          Optional error message if the experiment run encountered an error

        • experiment_id: string

          Experiment Id

          The ID of the experiment

        • id: string

          Id

          The ID of the experiment run

        • output: unknown

          Output

          The output of the experiment task

        • repetition_number: number

          Repetition Number

          The repetition number of the experiment run

        • start_time: string

          Start Time Format: date-time

          The start time of the experiment run

        • Optionaltrace_id?: string | null

          Trace Id

          The ID of the corresponding trace (if one exists)

    • IncompleteExperimentRun: {
          dataset_example: {
              id: string;
              input: { [key: string]: unknown };
              metadata: { [key: string]: unknown };
              output: { [key: string]: unknown };
              updated_at: string;
          };
          repetition_numbers: number[];
      }

      IncompleteExperimentRun

      Information about incomplete runs for a dataset example

      • dataset_example: {
            id: string;
            input: { [key: string]: unknown };
            metadata: { [key: string]: unknown };
            output: { [key: string]: unknown };
            updated_at: string;
        }

        The dataset example

        • id: string

          Id

        • input: { [key: string]: unknown }

          Input

        • metadata: { [key: string]: unknown }

          Metadata

        • output: { [key: string]: unknown }

          Output

        • updated_at: string

          Updated At Format: date-time

      • repetition_numbers: number[]

        Repetition Numbers

        List of repetition numbers that need to be run

    • InsertedSessionAnnotation: { id: string }

      InsertedSessionAnnotation

      • id: string

        Id

        The ID of the inserted session annotation

    • InsertedSpanAnnotation: { id: string }

      InsertedSpanAnnotation

      • id: string

        Id

        The ID of the inserted span annotation

    • InsertedSpanDocumentAnnotation: { id: string }

      InsertedSpanDocumentAnnotation

      • id: string

        Id

        The ID of the inserted span document annotation

    • InsertedTraceAnnotation: { id: string }

      InsertedTraceAnnotation

      • id: string

        Id

        The ID of the inserted trace annotation

    • LDAPUser: {
          auth_method: "LDAP";
          created_at: string;
          email: string;
          id: string;
          role: "SYSTEM" | "ADMIN" | "MEMBER" | "VIEWER";
          updated_at: string;
          username: string;
      }

      LDAPUser

      • auth_method: "LDAP"

        discriminator enum property added by openapi-typescript

      • created_at: string

        Created At Format: date-time

      • email: string

        Email

      • id: string

        Id

      • role: "SYSTEM" | "ADMIN" | "MEMBER" | "VIEWER"

        Role

      • updated_at: string

        Updated At Format: date-time

      • username: string

        Username

    • LDAPUserData: {
          auth_method: "LDAP";
          email: string;
          role: "SYSTEM" | "ADMIN" | "MEMBER" | "VIEWER";
          username: string;
      }

      LDAPUserData

      • auth_method: "LDAP"

        discriminator enum property added by openapi-typescript

      • email: string

        Email

      • role: "SYSTEM" | "ADMIN" | "MEMBER" | "VIEWER"

        Role

      • username: string

        Username

    • ListDatasetExamplesData: {
          dataset_id: string;
          examples: {
              id: string;
              input: { [key: string]: unknown };
              metadata: { [key: string]: unknown };
              output: { [key: string]: unknown };
              updated_at: string;
          }[];
          filtered_splits?: string[];
          version_id: string;
      }

      ListDatasetExamplesData

      • dataset_id: string

        Dataset Id

      • examples: {
            id: string;
            input: { [key: string]: unknown };
            metadata: { [key: string]: unknown };
            output: { [key: string]: unknown };
            updated_at: string;
        }[]

        Examples

      • Optionalfiltered_splits?: string[]

        Filtered Splits

      • version_id: string

        Version Id

    • ListDatasetExamplesResponseBody: {
          data: {
              dataset_id: string;
              examples: {
                  id: string;
                  input: { [key: string]: unknown };
                  metadata: { [key: string]: unknown };
                  output: { [key: string]: unknown };
                  updated_at: string;
              }[];
              filtered_splits?: string[];
              version_id: string;
          };
      }

      ListDatasetExamplesResponseBody

      • data: {
            dataset_id: string;
            examples: {
                id: string;
                input: { [key: string]: unknown };
                metadata: { [key: string]: unknown };
                output: { [key: string]: unknown };
                updated_at: string;
            }[];
            filtered_splits?: string[];
            version_id: string;
        }
        • dataset_id: string

          Dataset Id

        • examples: {
              id: string;
              input: { [key: string]: unknown };
              metadata: { [key: string]: unknown };
              output: { [key: string]: unknown };
              updated_at: string;
          }[]

          Examples

        • Optionalfiltered_splits?: string[]

          Filtered Splits

        • version_id: string

          Version Id

    • ListDatasetsResponseBody: {
          data: {
              created_at: string;
              description: string | null;
              example_count: number;
              id: string;
              metadata: { [key: string]: unknown };
              name: string;
              updated_at: string;
          }[];
          next_cursor: string
          | null;
      }

      ListDatasetsResponseBody

      • data: {
            created_at: string;
            description: string | null;
            example_count: number;
            id: string;
            metadata: { [key: string]: unknown };
            name: string;
            updated_at: string;
        }[]

        Data

      • next_cursor: string | null

        Next Cursor

    • ListDatasetVersionsResponseBody: {
          data: {
              created_at: string;
              description: string | null;
              metadata: { [key: string]: unknown };
              version_id: string;
          }[];
          next_cursor: string
          | null;
      }

      ListDatasetVersionsResponseBody

      • data: {
            created_at: string;
            description: string | null;
            metadata: { [key: string]: unknown };
            version_id: string;
        }[]

        Data

      • next_cursor: string | null

        Next Cursor

    • ListExperimentRunsResponseBody: {
          data: {
              dataset_example_id: string;
              end_time: string;
              error?: string | null;
              experiment_id: string;
              id: string;
              output: unknown;
              repetition_number: number;
              start_time: string;
              trace_id?: string | null;
          }[];
          next_cursor: string
          | null;
      }

      ListExperimentRunsResponseBody

      • data: {
            dataset_example_id: string;
            end_time: string;
            error?: string | null;
            experiment_id: string;
            id: string;
            output: unknown;
            repetition_number: number;
            start_time: string;
            trace_id?: string | null;
        }[]

        Data

      • next_cursor: string | null

        Next Cursor

    • ListExperimentsResponseBody: {
          data: {
              created_at: string;
              dataset_id: string;
              dataset_version_id: string;
              example_count: number;
              failed_run_count: number;
              id: string;
              metadata: { [key: string]: unknown };
              missing_run_count: number;
              project_name: string | null;
              repetitions: number;
              successful_run_count: number;
              updated_at: string;
          }[];
          next_cursor: string
          | null;
      }

      ListExperimentsResponseBody

      • data: {
            created_at: string;
            dataset_id: string;
            dataset_version_id: string;
            example_count: number;
            failed_run_count: number;
            id: string;
            metadata: { [key: string]: unknown };
            missing_run_count: number;
            project_name: string | null;
            repetitions: number;
            successful_run_count: number;
            updated_at: string;
        }[]

        Data

      • next_cursor: string | null

        Next Cursor

    • LocalUser: {
          auth_method: "LOCAL";
          created_at: string;
          email: string;
          id: string;
          password?: string;
          password_needs_reset: boolean;
          role: "SYSTEM" | "ADMIN" | "MEMBER" | "VIEWER";
          updated_at: string;
          username: string;
      }

      LocalUser

      • auth_method: "LOCAL"

        discriminator enum property added by openapi-typescript

      • created_at: string

        Created At Format: date-time

      • email: string

        Email

      • id: string

        Id

      • Optionalpassword?: string

        Password

      • password_needs_reset: boolean

        Password Needs Reset

      • role: "SYSTEM" | "ADMIN" | "MEMBER" | "VIEWER"

        Role

      • updated_at: string

        Updated At Format: date-time

      • username: string

        Username

    • LocalUserData: {
          auth_method: "LOCAL";
          email: string;
          password?: string;
          role: "SYSTEM" | "ADMIN" | "MEMBER" | "VIEWER";
          username: string;
      }

      LocalUserData

      • auth_method: "LOCAL"

        discriminator enum property added by openapi-typescript

      • email: string

        Email

      • Optionalpassword?: string

        Password

      • role: "SYSTEM" | "ADMIN" | "MEMBER" | "VIEWER"

        Role

      • username: string

        Username

    • ModelProvider:
          | "OPENAI"
          | "AZURE_OPENAI"
          | "ANTHROPIC"
          | "GOOGLE"
          | "DEEPSEEK"
          | "XAI"
          | "OLLAMA"
          | "AWS"

      ModelProvider

    • OAuth2User: {
          auth_method: "OAUTH2";
          created_at: string;
          email: string;
          id: string;
          oauth2_client_id?: string;
          oauth2_user_id?: string;
          profile_picture_url?: string;
          role: "SYSTEM" | "ADMIN" | "MEMBER" | "VIEWER";
          updated_at: string;
          username: string;
      }

      OAuth2User

      • auth_method: "OAUTH2"

        discriminator enum property added by openapi-typescript

      • created_at: string

        Created At Format: date-time

      • email: string

        Email

      • id: string

        Id

      • Optionaloauth2_client_id?: string

        Oauth2 Client Id

      • Optionaloauth2_user_id?: string

        Oauth2 User Id

      • Optionalprofile_picture_url?: string

        Profile Picture Url

      • role: "SYSTEM" | "ADMIN" | "MEMBER" | "VIEWER"

        Role

      • updated_at: string

        Updated At Format: date-time

      • username: string

        Username

    • OAuth2UserData: {
          auth_method: "OAUTH2";
          email: string;
          oauth2_client_id?: string;
          oauth2_user_id?: string;
          role: "SYSTEM" | "ADMIN" | "MEMBER" | "VIEWER";
          username: string;
      }

      OAuth2UserData

      • auth_method: "OAUTH2"

        discriminator enum property added by openapi-typescript

      • email: string

        Email

      • Optionaloauth2_client_id?: string

        Oauth2 Client Id

      • Optionaloauth2_user_id?: string

        Oauth2 User Id

      • role: "SYSTEM" | "ADMIN" | "MEMBER" | "VIEWER"

        Role

      • username: string

        Username

    • OptimizationDirection: "MINIMIZE" | "MAXIMIZE" | "NONE"

      OptimizationDirection

    • OtlpAnyValue: {
          array_value?:
              | {
                  values?: | (
                      { array_value?: { values?: ...[] | null | undefined; } | null | undefined; bool_value?: boolean | null | undefined; bytes_value?: string | null | undefined; double_value?: string | number | null | undefined; int_value?: string | ... 2 more ... | undefined; kvlist_value?: null | undefined; string_value?: string | ......
                  )[]
                  | null;
              }
              | null;
          bool_value?: boolean
          | null;
          bytes_value?: string | null;
          double_value?: string | number | null;
          int_value?: string | number | null;
          kvlist_value?: null;
          string_value?: string | null;
      }

      OtlpAnyValue

      • Optionalarray_value?:
            | {
                values?: | (
                    { array_value?: { values?: ...[] | null | undefined; } | null | undefined; bool_value?: boolean | null | undefined; bytes_value?: string | null | undefined; double_value?: string | number | null | undefined; int_value?: string | ... 2 more ... | undefined; kvlist_value?: null | undefined; string_value?: string | ......
                )[]
                | null;
            }
            | null
      • Optionalbool_value?: boolean | null

        Bool Value

      • Optionalbytes_value?: string | null

        Bytes Value

      • Optionaldouble_value?: string | number | null

        Double Value

      • Optionalint_value?: string | number | null

        Int Value

      • Optionalkvlist_value?: null

        Kvlist Value

      • Optionalstring_value?: string | null

        String Value

    • OtlpArrayValue: {
          values?:
              | {
                  array_value?: | (
                      { values?: { array_value?: ... | null | undefined; bool_value?: boolean | null | undefined; bytes_value?: string | null | undefined; double_value?: string | number | null | undefined; int_value?: string | ... 2 more ... | undefined; kvlist_value?: null | undefined; string_value?: string | ... 1 more ... | undefined;...
                  )
                  | null;
                  bool_value?: boolean
                  | null;
                  bytes_value?: string | null;
                  double_value?: string | number | null;
                  int_value?: string | number | null;
                  kvlist_value?: null;
                  string_value?: string | null;
              }[]
              | null;
      }

      OtlpArrayValue

      • Optionalvalues?:
            | {
                array_value?: | (
                    { values?: { array_value?: ... | null | undefined; bool_value?: boolean | null | undefined; bytes_value?: string | null | undefined; double_value?: string | number | null | undefined; int_value?: string | ... 2 more ... | undefined; kvlist_value?: null | undefined; string_value?: string | ... 1 more ... | undefined;...
                )
                | null;
                bool_value?: boolean
                | null;
                bytes_value?: string | null;
                double_value?: string | number | null;
                int_value?: string | number | null;
                kvlist_value?: null;
                string_value?: string | null;
            }[]
            | null

        Values

        Array of values. The array may be empty (contain 0 elements).

    • OtlpDoubleValue: "Infinity" | "-Infinity" | "NaN"

      OtlpDoubleValue

    • OtlpEvent: {
          attributes?:
              | {
                  key?: string
                  | null;
                  value?:
                      | {
                          array_value?: { values?: (...)[] | null }
                          | null;
                          bool_value?: boolean | null;
                          bytes_value?: string | null;
                          double_value?: string | number | null;
                          int_value?: string | number | null;
                          kvlist_value?: null;
                          string_value?: string | null;
                      }
                      | null;
              }[]
              | null;
          dropped_attributes_count?: number
          | null;
          name?: string | null;
          time_unix_nano?: string | number | null;
      }

      OtlpEvent

      • Optionalattributes?:
            | {
                key?: string
                | null;
                value?:
                    | {
                        array_value?: { values?: (...)[] | null }
                        | null;
                        bool_value?: boolean | null;
                        bytes_value?: string | null;
                        double_value?: string | number | null;
                        int_value?: string | number | null;
                        kvlist_value?: null;
                        string_value?: string | null;
                    }
                    | null;
            }[]
            | null

        Attributes

        attributes is a collection of attribute key/value pairs on the event. Attribute keys MUST be unique (it is not allowed to have more than one attribute with the same key).

      • Optionaldropped_attributes_count?: number | null

        Dropped Attributes Count

        dropped_attributes_count is the number of dropped attributes. If the value is 0, then no attributes were dropped.

      • Optionalname?: string | null

        Name

        name of the event. This field is semantically required to be set to non-empty string.

      • Optionaltime_unix_nano?: string | number | null

        Time Unix Nano

        time_unix_nano is the time the event occurred. Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970.

    • OtlpKeyValue: {
          key?: string | null;
          value?:
              | {
                  array_value?: | {
                      values?: | (
                          { array_value?: { values?: ...[] | null | undefined; } | null | undefined; bool_value?: boolean | null | undefined; bytes_value?: string | null | undefined; double_value?: string | number | null | undefined; int_value?: string | ... 2 more ... | undefined; kvlist_value?: null | undefined; string_value?: string | ......
                      )[]
                      | null;
                  }
                  | null;
                  bool_value?: boolean
                  | null;
                  bytes_value?: string | null;
                  double_value?: string | number | null;
                  int_value?: string | number | null;
                  kvlist_value?: null;
                  string_value?: string | null;
              }
              | null;
      }

      OtlpKeyValue

      • Optionalkey?: string | null

        Key

      • Optionalvalue?:
            | {
                array_value?: | {
                    values?: | (
                        { array_value?: { values?: ...[] | null | undefined; } | null | undefined; bool_value?: boolean | null | undefined; bytes_value?: string | null | undefined; double_value?: string | number | null | undefined; int_value?: string | ... 2 more ... | undefined; kvlist_value?: null | undefined; string_value?: string | ......
                    )[]
                    | null;
                }
                | null;
                bool_value?: boolean
                | null;
                bytes_value?: string | null;
                double_value?: string | number | null;
                int_value?: string | number | null;
                kvlist_value?: null;
                string_value?: string | null;
            }
            | null
    • OtlpKind:
          | "SPAN_KIND_UNSPECIFIED"
          | "SPAN_KIND_INTERNAL"
          | "SPAN_KIND_SERVER"
          | "SPAN_KIND_CLIENT"
          | "SPAN_KIND_PRODUCER"
          | "SPAN_KIND_CONSUMER"

      OtlpKind

    • OtlpSpan: {
          attributes?:
              | {
                  key?: string
                  | null;
                  value?:
                      | {
                          array_value?: { values?: (...)[] | null }
                          | null;
                          bool_value?: boolean | null;
                          bytes_value?: string | null;
                          double_value?: string | number | null;
                          int_value?: string | number | null;
                          kvlist_value?: null;
                          string_value?: string | null;
                      }
                      | null;
              }[]
              | null;
          dropped_attributes_count?: number
          | null;
          dropped_events_count?: number | null;
          dropped_links_count?: number | null;
          end_time_unix_nano?: string | number | null;
          events?:
              | {
                  attributes?: | {
                      key?: string
                      | null;
                      value?:
                          | {
                              array_value?: (...)
                              | (...)
                              | (...);
                              bool_value?: (...) | (...) | (...) | (...);
                              bytes_value?: (...) | (...) | (...);
                              double_value?: (...) | (...) | (...) | (...);
                              int_value?: (...) | (...) | (...) | (...);
                              kvlist_value?: (...) | (...);
                              string_value?: (...) | (...) | (...);
                          }
                          | null;
                  }[]
                  | null;
                  dropped_attributes_count?: number
                  | null;
                  name?: string | null;
                  time_unix_nano?: string | number | null;
              }[]
              | null;
          flags?: number
          | null;
          kind?:
              | number
              | "SPAN_KIND_UNSPECIFIED"
              | "SPAN_KIND_INTERNAL"
              | "SPAN_KIND_SERVER"
              | "SPAN_KIND_CLIENT"
              | "SPAN_KIND_PRODUCER"
              | "SPAN_KIND_CONSUMER"
              | null;
          links?: null;
          name?: string
          | null;
          parent_span_id?: string | null;
          span_id?: string | null;
          start_time_unix_nano?: string | number | null;
          status?: { code?: number | null; message?: string | null } | null;
          trace_id?: string | null;
          trace_state?: string | null;
      }

      OtlpSpan

      • Optionalattributes?:
            | {
                key?: string
                | null;
                value?:
                    | {
                        array_value?: { values?: (...)[] | null }
                        | null;
                        bool_value?: boolean | null;
                        bytes_value?: string | null;
                        double_value?: string | number | null;
                        int_value?: string | number | null;
                        kvlist_value?: null;
                        string_value?: string | null;
                    }
                    | null;
            }[]
            | null

        Attributes

        attributes is a collection of key/value pairs. Note, global attributes like server name can be set using the resource API. Examples of attributes:

            "/http/user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36"
            "/http/server_latency": 300
            "example.com/myattribute": true
            "example.com/score": 10.239
        
        The OpenTelemetry API specification further restricts the allowed value types:
        https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/common/README.md#attribute
        Attribute keys MUST be unique (it is not allowed to have more than one attribute with the same key).
        
      • Optionaldropped_attributes_count?: number | null

        Dropped Attributes Count

        dropped_attributes_count is the number of attributes that were discarded. Attributes can be discarded because their keys are too long or because there are too many attributes. If this value is 0, then no attributes were dropped.

      • Optionaldropped_events_count?: number | null

        Dropped Events Count

        dropped_events_count is the number of dropped events. If the value is 0, then no events were dropped.

      • Optionaldropped_links_count?: number | null

        Dropped Links Count

        dropped_links_count is the number of dropped links after the maximum size was enforced. If this value is 0, then no links were dropped.

      • Optionalend_time_unix_nano?: string | number | null

        End Time Unix Nano

        end_time_unix_nano is the end time of the span. On the client side, this is the time kept by the local machine where the span execution ends. On the server side, this is the time when the server application handler stops running. Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970.

        This field is semantically required and it is expected that end_time >= start_time.
        
      • Optionalevents?:
            | {
                attributes?: | {
                    key?: string
                    | null;
                    value?:
                        | {
                            array_value?: (...)
                            | (...)
                            | (...);
                            bool_value?: (...) | (...) | (...) | (...);
                            bytes_value?: (...) | (...) | (...);
                            double_value?: (...) | (...) | (...) | (...);
                            int_value?: (...) | (...) | (...) | (...);
                            kvlist_value?: (...) | (...);
                            string_value?: (...) | (...) | (...);
                        }
                        | null;
                }[]
                | null;
                dropped_attributes_count?: number
                | null;
                name?: string | null;
                time_unix_nano?: string | number | null;
            }[]
            | null

        Events

        events is a collection of Event items. A span with no events is valid.

      • Optionalflags?: number | null

        Flags

        Flags, a bit field.

        Bits 0-7 (8 least significant bits) are the trace flags as defined in W3C Trace Context specification. To read the 8-bit W3C trace flag, use `flags & SPAN_FLAGS_TRACE_FLAGS_MASK`.
        
        See https://www.w3.org/TR/trace-context-2/#trace-flags for the flag definitions.
        
        Bits 8 and 9 represent the 3 states of whether a span's parent is remote. The states are (unknown, is not remote, is remote).
        To read whether the value is known, use `(flags & SPAN_FLAGS_CONTEXT_HAS_IS_REMOTE_MASK) != 0`.
        To read whether the span is remote, use `(flags & SPAN_FLAGS_CONTEXT_IS_REMOTE_MASK) != 0`.
        
        When creating span messages, if the message is logically forwarded from another source with an equivalent flags fields (i.e., usually another OTLP span message), the field SHOULD be copied as-is. If creating from a source that does not have an equivalent flags field (such as a runtime representation of an OpenTelemetry span), the high 22 bits MUST be set to zero.
        Readers MUST NOT assume that bits 10-31 (22 most significant bits) will be zero.
        
        [Optional].
        
      • Optionalkind?:
            | number
            | "SPAN_KIND_UNSPECIFIED"
            | "SPAN_KIND_INTERNAL"
            | "SPAN_KIND_SERVER"
            | "SPAN_KIND_CLIENT"
            | "SPAN_KIND_PRODUCER"
            | "SPAN_KIND_CONSUMER"
            | null

        Kind

        Distinguishes between spans generated in a particular context. For example, two spans with the same name may be distinguished using CLIENT (caller) and SERVER (callee) to identify queueing latency associated with the span.

        SPAN_KIND_INTERNAL
        
      • Optionallinks?: null

        Links

      • Optionalname?: string | null

        Name

        A description of the span's operation.

        For example, the name can be a qualified method name or a file name and a line number where the operation is called. A best practice is to use the same display name at the same call point in an application. This makes it easier to correlate spans in different traces.
        
        This field is semantically required to be set to non-empty string. Empty value is equivalent to an unknown span name.
        
        This field is required.
        
      • Optionalparent_span_id?: string | null

        Parent Span Id

        The span_id of this span's parent span. If this is a root span, then this field must be empty. The ID is an 8-byte array.

      • Optionalspan_id?: string | null

        Span Id

        A unique identifier for a span within a trace, assigned when the span is created. The ID is an 8-byte array. An ID with all zeroes OR of length other than 8 bytes is considered invalid (empty string in OTLP/JSON is zero-length and thus is also invalid).

        This field is required.
        
      • Optionalstart_time_unix_nano?: string | number | null

        Start Time Unix Nano

        start_time_unix_nano is the start time of the span. On the client side, this is the time kept by the local machine where the span execution starts. On the server side, this is the time when the server's application handler starts running. Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970.

        This field is semantically required and it is expected that end_time >= start_time.
        
      • Optionalstatus?: { code?: number | null; message?: string | null } | null

        An optional final status for this span. Semantically when Status isn't set, it means span's status code is unset, i.e. assume STATUS_CODE_UNSET (code = 0).

      • Optionaltrace_id?: string | null

        Trace Id

        A unique identifier for a trace. All spans from the same trace share the same trace_id. The ID is a 16-byte array. An ID with all zeroes OR of length other than 16 bytes is considered invalid (empty string in OTLP/JSON is zero-length and thus is also invalid).

        This field is required.
        
      • Optionaltrace_state?: string | null

        Trace State

        trace_state conveys information about request position in multiple distributed tracing graphs. It is a trace_state in w3c-trace-context format: https://www.w3.org/TR/trace-context/#tracestate-header See also https://github.com/w3c/distributed-tracing for more details about this field.

    • OtlpSpansResponseBody: {
          data: {
              attributes?:
                  | {
                      key?: string
                      | null;
                      value?:
                          | {
                              array_value?: { values?: ... }
                              | null;
                              bool_value?: boolean | null;
                              bytes_value?: string | null;
                              double_value?: string | number | null;
                              int_value?: string | number | null;
                              kvlist_value?: null;
                              string_value?: string | null;
                          }
                          | null;
                  }[]
                  | null;
              dropped_attributes_count?: number
              | null;
              dropped_events_count?: number | null;
              dropped_links_count?: number | null;
              end_time_unix_nano?: string | number | null;
              events?:
                  | {
                      attributes?: | {
                          key?: (...)
                          | (...)
                          | (...);
                          value?: (...) | (...) | (...);
                      }[]
                      | null;
                      dropped_attributes_count?: number
                      | null;
                      name?: string | null;
                      time_unix_nano?: string | number | null;
                  }[]
                  | null;
              flags?: number
              | null;
              kind?:
                  | number
                  | "SPAN_KIND_UNSPECIFIED"
                  | "SPAN_KIND_INTERNAL"
                  | "SPAN_KIND_SERVER"
                  | "SPAN_KIND_CLIENT"
                  | "SPAN_KIND_PRODUCER"
                  | "SPAN_KIND_CONSUMER"
                  | null;
              links?: null;
              name?: string
              | null;
              parent_span_id?: string | null;
              span_id?: string | null;
              start_time_unix_nano?: string | number | null;
              status?: { code?: number | null; message?: string | null } | null;
              trace_id?: string | null;
              trace_state?: string | null;
          }[];
          next_cursor: string
          | null;
      }

      OtlpSpansResponseBody

      Paginated response where each span follows OTLP JSON structure.

      • data: {
            attributes?:
                | {
                    key?: string
                    | null;
                    value?:
                        | {
                            array_value?: { values?: ... }
                            | null;
                            bool_value?: boolean | null;
                            bytes_value?: string | null;
                            double_value?: string | number | null;
                            int_value?: string | number | null;
                            kvlist_value?: null;
                            string_value?: string | null;
                        }
                        | null;
                }[]
                | null;
            dropped_attributes_count?: number
            | null;
            dropped_events_count?: number | null;
            dropped_links_count?: number | null;
            end_time_unix_nano?: string | number | null;
            events?:
                | {
                    attributes?: | {
                        key?: (...)
                        | (...)
                        | (...);
                        value?: (...) | (...) | (...);
                    }[]
                    | null;
                    dropped_attributes_count?: number
                    | null;
                    name?: string | null;
                    time_unix_nano?: string | number | null;
                }[]
                | null;
            flags?: number
            | null;
            kind?:
                | number
                | "SPAN_KIND_UNSPECIFIED"
                | "SPAN_KIND_INTERNAL"
                | "SPAN_KIND_SERVER"
                | "SPAN_KIND_CLIENT"
                | "SPAN_KIND_PRODUCER"
                | "SPAN_KIND_CONSUMER"
                | null;
            links?: null;
            name?: string
            | null;
            parent_span_id?: string | null;
            span_id?: string | null;
            start_time_unix_nano?: string | number | null;
            status?: { code?: number | null; message?: string | null } | null;
            trace_id?: string | null;
            trace_state?: string | null;
        }[]

        Data

      • next_cursor: string | null

        Next Cursor

    • OtlpStatus: { code?: number | null; message?: string | null }

      OtlpStatus

      • Optionalcode?: number | null

        Code

        The status code.

      • Optionalmessage?: string | null

        Message

        A developer-facing human readable error message.

    • Project: { description?: string | null; id: string; name: string }

      Project

      • Optionaldescription?: string | null

        Description

      • id: string

        Id

      • name: string

        Name

    • Prompt: {
          description?: string | null;
          id: string;
          metadata?: { [key: string]: unknown } | null;
          name: string;
          source_prompt_id?: string | null;
      }

      Prompt

      • Optionaldescription?: string | null

        Description

      • id: string

        Id

      • Optionalmetadata?: { [key: string]: unknown } | null

        Metadata

      • name: string
      • Optionalsource_prompt_id?: string | null

        Source Prompt Id

    • PromptAnthropicInvocationParameters: {
          anthropic: {
              max_tokens: number;
              stop_sequences?: string[];
              temperature?: number;
              thinking?:
                  | { type: "disabled" }
                  | { budget_tokens: number; type: "enabled" };
              top_p?: number;
          };
          type: "anthropic";
      }

      PromptAnthropicInvocationParameters

      • anthropic: {
            max_tokens: number;
            stop_sequences?: string[];
            temperature?: number;
            thinking?:
                | { type: "disabled" }
                | { budget_tokens: number; type: "enabled" };
            top_p?: number;
        }
        • max_tokens: number

          Max Tokens

        • Optionalstop_sequences?: string[]

          Stop Sequences

        • Optionaltemperature?: number

          Temperature

        • Optionalthinking?: { type: "disabled" } | { budget_tokens: number; type: "enabled" }

          Thinking

        • Optionaltop_p?: number

          Top P

      • type: "anthropic"

        discriminator enum property added by openapi-typescript

    • PromptAnthropicInvocationParametersContent: {
          max_tokens: number;
          stop_sequences?: string[];
          temperature?: number;
          thinking?:
              | { type: "disabled" }
              | { budget_tokens: number; type: "enabled" };
          top_p?: number;
      }

      PromptAnthropicInvocationParametersContent

      • max_tokens: number

        Max Tokens

      • Optionalstop_sequences?: string[]

        Stop Sequences

      • Optionaltemperature?: number

        Temperature

      • Optionalthinking?: { type: "disabled" } | { budget_tokens: number; type: "enabled" }

        Thinking

      • Optionaltop_p?: number

        Top P

    • PromptAnthropicThinkingConfigDisabled: { type: "disabled" }

      PromptAnthropicThinkingConfigDisabled

      • type: "disabled"

        discriminator enum property added by openapi-typescript

    • PromptAnthropicThinkingConfigEnabled: { budget_tokens: number; type: "enabled" }

      PromptAnthropicThinkingConfigEnabled

      • budget_tokens: number

        Budget Tokens

      • type: "enabled"

        discriminator enum property added by openapi-typescript

    • PromptAwsInvocationParameters: {
          aws: { max_tokens?: number; temperature?: number; top_p?: number };
          type: "aws";
      }

      PromptAwsInvocationParameters

      • aws: { max_tokens?: number; temperature?: number; top_p?: number }
        • Optionalmax_tokens?: number

          Max Tokens

        • Optionaltemperature?: number

          Temperature

        • Optionaltop_p?: number

          Top P

      • type: "aws"

        discriminator enum property added by openapi-typescript

    • PromptAwsInvocationParametersContent: { max_tokens?: number; temperature?: number; top_p?: number }

      PromptAwsInvocationParametersContent

      • Optionalmax_tokens?: number

        Max Tokens

      • Optionaltemperature?: number

        Temperature

      • Optionaltop_p?: number

        Top P

    • PromptAzureOpenAIInvocationParameters: {
          azure_openai: {
              frequency_penalty?: number;
              max_completion_tokens?: number;
              max_tokens?: number;
              presence_penalty?: number;
              reasoning_effort?:
                  | "none"
                  | "minimal"
                  | "low"
                  | "medium"
                  | "high"
                  | "xhigh";
              seed?: number;
              temperature?: number;
              top_p?: number;
          };
          type: "azure_openai";
      }

      PromptAzureOpenAIInvocationParameters

      • azure_openai: {
            frequency_penalty?: number;
            max_completion_tokens?: number;
            max_tokens?: number;
            presence_penalty?: number;
            reasoning_effort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh";
            seed?: number;
            temperature?: number;
            top_p?: number;
        }
        • Optionalfrequency_penalty?: number

          Frequency Penalty

        • Optionalmax_completion_tokens?: number

          Max Completion Tokens

        • Optionalmax_tokens?: number

          Max Tokens

        • Optionalpresence_penalty?: number

          Presence Penalty

        • Optionalreasoning_effort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh"

          Reasoning Effort

        • Optionalseed?: number

          Seed

        • Optionaltemperature?: number

          Temperature

        • Optionaltop_p?: number

          Top P

      • type: "azure_openai"

        discriminator enum property added by openapi-typescript

    • PromptAzureOpenAIInvocationParametersContent: {
          frequency_penalty?: number;
          max_completion_tokens?: number;
          max_tokens?: number;
          presence_penalty?: number;
          reasoning_effort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh";
          seed?: number;
          temperature?: number;
          top_p?: number;
      }

      PromptAzureOpenAIInvocationParametersContent

      • Optionalfrequency_penalty?: number

        Frequency Penalty

      • Optionalmax_completion_tokens?: number

        Max Completion Tokens

      • Optionalmax_tokens?: number

        Max Tokens

      • Optionalpresence_penalty?: number

        Presence Penalty

      • Optionalreasoning_effort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh"

        Reasoning Effort

      • Optionalseed?: number

        Seed

      • Optionaltemperature?: number

        Temperature

      • Optionaltop_p?: number

        Top P

    • PromptChatTemplate: {
          messages: {
              content:
                  | string
                  | (
                      | { text: string; type: "text" }
                      | {
                          tool_call: { arguments: string; name: string; type: "function" };
                          tool_call_id: string;
                          type: "tool_call";
                      }
                      | {
                          tool_call_id: string;
                          tool_result: | string
                          | number
                          | boolean
                          | { [key: string]: unknown }
                          | unknown[]
                          | null;
                          type: "tool_result";
                      }
                  )[];
              role: | "user"
              | "assistant"
              | "model"
              | "ai"
              | "tool"
              | "system"
              | "developer";
          }[];
          type: "chat";
      }

      PromptChatTemplate

      • messages: {
            content:
                | string
                | (
                    | { text: string; type: "text" }
                    | {
                        tool_call: { arguments: string; name: string; type: "function" };
                        tool_call_id: string;
                        type: "tool_call";
                    }
                    | {
                        tool_call_id: string;
                        tool_result: | string
                        | number
                        | boolean
                        | { [key: string]: unknown }
                        | unknown[]
                        | null;
                        type: "tool_result";
                    }
                )[];
            role: | "user"
            | "assistant"
            | "model"
            | "ai"
            | "tool"
            | "system"
            | "developer";
        }[]

        Messages

      • type: "chat"

        discriminator enum property added by openapi-typescript

    • PromptData: {
          description?: string | null;
          metadata?: { [key: string]: unknown } | null;
          name: string;
          source_prompt_id?: string | null;
      }

      PromptData

      • Optionaldescription?: string | null

        Description

      • Optionalmetadata?: { [key: string]: unknown } | null

        Metadata

      • name: string
      • Optionalsource_prompt_id?: string | null

        Source Prompt Id

    • PromptDeepSeekInvocationParameters: {
          deepseek: {
              frequency_penalty?: number;
              max_completion_tokens?: number;
              max_tokens?: number;
              presence_penalty?: number;
              reasoning_effort?:
                  | "none"
                  | "minimal"
                  | "low"
                  | "medium"
                  | "high"
                  | "xhigh";
              seed?: number;
              temperature?: number;
              top_p?: number;
          };
          type: "deepseek";
      }

      PromptDeepSeekInvocationParameters

      • deepseek: {
            frequency_penalty?: number;
            max_completion_tokens?: number;
            max_tokens?: number;
            presence_penalty?: number;
            reasoning_effort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh";
            seed?: number;
            temperature?: number;
            top_p?: number;
        }
        • Optionalfrequency_penalty?: number

          Frequency Penalty

        • Optionalmax_completion_tokens?: number

          Max Completion Tokens

        • Optionalmax_tokens?: number

          Max Tokens

        • Optionalpresence_penalty?: number

          Presence Penalty

        • Optionalreasoning_effort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh"

          Reasoning Effort

        • Optionalseed?: number

          Seed

        • Optionaltemperature?: number

          Temperature

        • Optionaltop_p?: number

          Top P

      • type: "deepseek"

        discriminator enum property added by openapi-typescript

    • PromptDeepSeekInvocationParametersContent: {
          frequency_penalty?: number;
          max_completion_tokens?: number;
          max_tokens?: number;
          presence_penalty?: number;
          reasoning_effort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh";
          seed?: number;
          temperature?: number;
          top_p?: number;
      }

      PromptDeepSeekInvocationParametersContent

      • Optionalfrequency_penalty?: number

        Frequency Penalty

      • Optionalmax_completion_tokens?: number

        Max Completion Tokens

      • Optionalmax_tokens?: number

        Max Tokens

      • Optionalpresence_penalty?: number

        Presence Penalty

      • Optionalreasoning_effort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh"

        Reasoning Effort

      • Optionalseed?: number

        Seed

      • Optionaltemperature?: number

        Temperature

      • Optionaltop_p?: number

        Top P

    • PromptGoogleInvocationParameters: {
          google: {
              frequency_penalty?: number;
              max_output_tokens?: number;
              presence_penalty?: number;
              stop_sequences?: string[];
              temperature?: number;
              top_k?: number;
              top_p?: number;
          };
          type: "google";
      }

      PromptGoogleInvocationParameters

      • google: {
            frequency_penalty?: number;
            max_output_tokens?: number;
            presence_penalty?: number;
            stop_sequences?: string[];
            temperature?: number;
            top_k?: number;
            top_p?: number;
        }
        • Optionalfrequency_penalty?: number

          Frequency Penalty

        • Optionalmax_output_tokens?: number

          Max Output Tokens

        • Optionalpresence_penalty?: number

          Presence Penalty

        • Optionalstop_sequences?: string[]

          Stop Sequences

        • Optionaltemperature?: number

          Temperature

        • Optionaltop_k?: number

          Top K

        • Optionaltop_p?: number

          Top P

      • type: "google"

        discriminator enum property added by openapi-typescript

    • PromptGoogleInvocationParametersContent: {
          frequency_penalty?: number;
          max_output_tokens?: number;
          presence_penalty?: number;
          stop_sequences?: string[];
          temperature?: number;
          top_k?: number;
          top_p?: number;
      }

      PromptGoogleInvocationParametersContent

      • Optionalfrequency_penalty?: number

        Frequency Penalty

      • Optionalmax_output_tokens?: number

        Max Output Tokens

      • Optionalpresence_penalty?: number

        Presence Penalty

      • Optionalstop_sequences?: string[]

        Stop Sequences

      • Optionaltemperature?: number

        Temperature

      • Optionaltop_k?: number

        Top K

      • Optionaltop_p?: number

        Top P

    • PromptMessage: {
          content:
              | string
              | (
                  | { text: string; type: "text" }
                  | {
                      tool_call: { arguments: string; name: string; type: "function" };
                      tool_call_id: string;
                      type: "tool_call";
                  }
                  | {
                      tool_call_id: string;
                      tool_result: | string
                      | number
                      | boolean
                      | { [key: string]: unknown }
                      | unknown[]
                      | null;
                      type: "tool_result";
                  }
              )[];
          role: | "user"
          | "assistant"
          | "model"
          | "ai"
          | "tool"
          | "system"
          | "developer";
      }

      PromptMessage

      • content:
            | string
            | (
                | { text: string; type: "text" }
                | {
                    tool_call: { arguments: string; name: string; type: "function" };
                    tool_call_id: string;
                    type: "tool_call";
                }
                | {
                    tool_call_id: string;
                    tool_result: | string
                    | number
                    | boolean
                    | { [key: string]: unknown }
                    | unknown[]
                    | null;
                    type: "tool_result";
                }
            )[]

        Content

      • role: "user" | "assistant" | "model" | "ai" | "tool" | "system" | "developer"

        Role

    • PromptOllamaInvocationParameters: {
          ollama: {
              frequency_penalty?: number;
              max_completion_tokens?: number;
              max_tokens?: number;
              presence_penalty?: number;
              reasoning_effort?:
                  | "none"
                  | "minimal"
                  | "low"
                  | "medium"
                  | "high"
                  | "xhigh";
              seed?: number;
              temperature?: number;
              top_p?: number;
          };
          type: "ollama";
      }

      PromptOllamaInvocationParameters

      • ollama: {
            frequency_penalty?: number;
            max_completion_tokens?: number;
            max_tokens?: number;
            presence_penalty?: number;
            reasoning_effort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh";
            seed?: number;
            temperature?: number;
            top_p?: number;
        }
        • Optionalfrequency_penalty?: number

          Frequency Penalty

        • Optionalmax_completion_tokens?: number

          Max Completion Tokens

        • Optionalmax_tokens?: number

          Max Tokens

        • Optionalpresence_penalty?: number

          Presence Penalty

        • Optionalreasoning_effort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh"

          Reasoning Effort

        • Optionalseed?: number

          Seed

        • Optionaltemperature?: number

          Temperature

        • Optionaltop_p?: number

          Top P

      • type: "ollama"

        discriminator enum property added by openapi-typescript

    • PromptOllamaInvocationParametersContent: {
          frequency_penalty?: number;
          max_completion_tokens?: number;
          max_tokens?: number;
          presence_penalty?: number;
          reasoning_effort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh";
          seed?: number;
          temperature?: number;
          top_p?: number;
      }

      PromptOllamaInvocationParametersContent

      • Optionalfrequency_penalty?: number

        Frequency Penalty

      • Optionalmax_completion_tokens?: number

        Max Completion Tokens

      • Optionalmax_tokens?: number

        Max Tokens

      • Optionalpresence_penalty?: number

        Presence Penalty

      • Optionalreasoning_effort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh"

        Reasoning Effort

      • Optionalseed?: number

        Seed

      • Optionaltemperature?: number

        Temperature

      • Optionaltop_p?: number

        Top P

    • PromptOpenAIInvocationParameters: {
          openai: {
              frequency_penalty?: number;
              max_completion_tokens?: number;
              max_tokens?: number;
              presence_penalty?: number;
              reasoning_effort?:
                  | "none"
                  | "minimal"
                  | "low"
                  | "medium"
                  | "high"
                  | "xhigh";
              seed?: number;
              temperature?: number;
              top_p?: number;
          };
          type: "openai";
      }

      PromptOpenAIInvocationParameters

      • openai: {
            frequency_penalty?: number;
            max_completion_tokens?: number;
            max_tokens?: number;
            presence_penalty?: number;
            reasoning_effort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh";
            seed?: number;
            temperature?: number;
            top_p?: number;
        }
        • Optionalfrequency_penalty?: number

          Frequency Penalty

        • Optionalmax_completion_tokens?: number

          Max Completion Tokens

        • Optionalmax_tokens?: number

          Max Tokens

        • Optionalpresence_penalty?: number

          Presence Penalty

        • Optionalreasoning_effort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh"

          Reasoning Effort

        • Optionalseed?: number

          Seed

        • Optionaltemperature?: number

          Temperature

        • Optionaltop_p?: number

          Top P

      • type: "openai"

        discriminator enum property added by openapi-typescript

    • PromptOpenAIInvocationParametersContent: {
          frequency_penalty?: number;
          max_completion_tokens?: number;
          max_tokens?: number;
          presence_penalty?: number;
          reasoning_effort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh";
          seed?: number;
          temperature?: number;
          top_p?: number;
      }

      PromptOpenAIInvocationParametersContent

      • Optionalfrequency_penalty?: number

        Frequency Penalty

      • Optionalmax_completion_tokens?: number

        Max Completion Tokens

      • Optionalmax_tokens?: number

        Max Tokens

      • Optionalpresence_penalty?: number

        Presence Penalty

      • Optionalreasoning_effort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh"

        Reasoning Effort

      • Optionalseed?: number

        Seed

      • Optionaltemperature?: number

        Temperature

      • Optionaltop_p?: number

        Top P

    • PromptResponseFormatJSONSchema: {
          json_schema: {
              description?: string;
              name: string;
              schema?: { [key: string]: unknown };
              strict?: boolean;
          };
          type: "json_schema";
      }

      PromptResponseFormatJSONSchema

      • json_schema: {
            description?: string;
            name: string;
            schema?: { [key: string]: unknown };
            strict?: boolean;
        }
        • Optionaldescription?: string

          Description

        • name: string

          Name

        • Optionalschema?: { [key: string]: unknown }

          Schema

        • Optionalstrict?: boolean

          Strict

      • type: "json_schema"

        discriminator enum property added by openapi-typescript

    • PromptResponseFormatJSONSchemaDefinition: {
          description?: string;
          name: string;
          schema?: { [key: string]: unknown };
          strict?: boolean;
      }

      PromptResponseFormatJSONSchemaDefinition

      • Optionaldescription?: string

        Description

      • name: string

        Name

      • Optionalschema?: { [key: string]: unknown }

        Schema

      • Optionalstrict?: boolean

        Strict

    • PromptStringTemplate: { template: string; type: "string" }

      PromptStringTemplate

      • template: string

        Template

      • type: "string"

        discriminator enum property added by openapi-typescript

    • PromptTemplateFormat: "NONE" | "MUSTACHE" | "F_STRING"

      PromptTemplateFormat

    • PromptTemplateType: "STR" | "CHAT"

      PromptTemplateType

    • PromptToolChoiceNone: { type: "none" }

      PromptToolChoiceNone

      • type: "none"

        discriminator enum property added by openapi-typescript

    • PromptToolChoiceOneOrMore: { type: "one_or_more" }

      PromptToolChoiceOneOrMore

      • type: "one_or_more"

        discriminator enum property added by openapi-typescript

    • PromptToolChoiceSpecificFunctionTool: { function_name: string; type: "specific_function" }

      PromptToolChoiceSpecificFunctionTool

      • function_name: string

        Function Name

      • type: "specific_function"

        discriminator enum property added by openapi-typescript

    • PromptToolChoiceZeroOrMore: { type: "zero_or_more" }

      PromptToolChoiceZeroOrMore

      • type: "zero_or_more"

        discriminator enum property added by openapi-typescript

    • PromptToolFunction: {
          function: {
              description?: string;
              name: string;
              parameters?: { [key: string]: unknown };
              strict?: boolean;
          };
          type: "function";
      }

      PromptToolFunction

      • function: {
            description?: string;
            name: string;
            parameters?: { [key: string]: unknown };
            strict?: boolean;
        }
        • Optionaldescription?: string

          Description

        • name: string

          Name

        • Optionalparameters?: { [key: string]: unknown }

          Parameters

        • Optionalstrict?: boolean

          Strict

      • type: "function"

        discriminator enum property added by openapi-typescript

    • PromptToolFunctionDefinition: {
          description?: string;
          name: string;
          parameters?: { [key: string]: unknown };
          strict?: boolean;
      }

      PromptToolFunctionDefinition

      • Optionaldescription?: string

        Description

      • name: string

        Name

      • Optionalparameters?: { [key: string]: unknown }

        Parameters

      • Optionalstrict?: boolean

        Strict

    • PromptTools: {
          disable_parallel_tool_calls?: boolean;
          tool_choice?:
              | { type: "none" }
              | { type: "one_or_more" }
              | { function_name: string; type: "specific_function" }
              | { type: "zero_or_more" };
          tools: {
              function: {
                  description?: string;
                  name: string;
                  parameters?: { [key: string]: unknown };
                  strict?: boolean;
              };
              type: "function";
          }[];
          type: "tools";
      }

      PromptTools

      • Optionaldisable_parallel_tool_calls?: boolean

        Disable Parallel Tool Calls

      • Optionaltool_choice?:
            | { type: "none" }
            | { type: "one_or_more" }
            | { function_name: string; type: "specific_function" }
            | { type: "zero_or_more" }

        Tool Choice

      • tools: {
            function: {
                description?: string;
                name: string;
                parameters?: { [key: string]: unknown };
                strict?: boolean;
            };
            type: "function";
        }[]

        Tools

      • type: "tools"

        Type

    • PromptVersion: {
          description?: string | null;
          id: string;
          invocation_parameters:
              | {
                  anthropic: {
                      max_tokens: number;
                      stop_sequences?: string[];
                      temperature?: number;
                      thinking?: | { type: "disabled" }
                      | { budget_tokens: number; type: "enabled" };
                      top_p?: number;
                  };
                  type: "anthropic";
              }
              | {
                  aws: { max_tokens?: number; temperature?: number; top_p?: number };
                  type: "aws";
              }
              | {
                  azure_openai: {
                      frequency_penalty?: number;
                      max_completion_tokens?: number;
                      max_tokens?: number;
                      presence_penalty?: number;
                      reasoning_effort?: | "none"
                      | "minimal"
                      | "low"
                      | "medium"
                      | "high"
                      | "xhigh";
                      seed?: number;
                      temperature?: number;
                      top_p?: number;
                  };
                  type: "azure_openai";
              }
              | {
                  deepseek: {
                      frequency_penalty?: number;
                      max_completion_tokens?: number;
                      max_tokens?: number;
                      presence_penalty?: number;
                      reasoning_effort?: | "none"
                      | "minimal"
                      | "low"
                      | "medium"
                      | "high"
                      | "xhigh";
                      seed?: number;
                      temperature?: number;
                      top_p?: number;
                  };
                  type: "deepseek";
              }
              | {
                  google: {
                      frequency_penalty?: number;
                      max_output_tokens?: number;
                      presence_penalty?: number;
                      stop_sequences?: string[];
                      temperature?: number;
                      top_k?: number;
                      top_p?: number;
                  };
                  type: "google";
              }
              | {
                  ollama: {
                      frequency_penalty?: number;
                      max_completion_tokens?: number;
                      max_tokens?: number;
                      presence_penalty?: number;
                      reasoning_effort?: | "none"
                      | "minimal"
                      | "low"
                      | "medium"
                      | "high"
                      | "xhigh";
                      seed?: number;
                      temperature?: number;
                      top_p?: number;
                  };
                  type: "ollama";
              }
              | {
                  openai: {
                      frequency_penalty?: number;
                      max_completion_tokens?: number;
                      max_tokens?: number;
                      presence_penalty?: number;
                      reasoning_effort?: | "none"
                      | "minimal"
                      | "low"
                      | "medium"
                      | "high"
                      | "xhigh";
                      seed?: number;
                      temperature?: number;
                      top_p?: number;
                  };
                  type: "openai";
              }
              | {
                  type: "xai";
                  xai: {
                      frequency_penalty?: number;
                      max_completion_tokens?: number;
                      max_tokens?: number;
                      presence_penalty?: number;
                      reasoning_effort?: | "none"
                      | "minimal"
                      | "low"
                      | "medium"
                      | "high"
                      | "xhigh";
                      seed?: number;
                      temperature?: number;
                      top_p?: number;
                  };
              };
          model_name: string;
          model_provider: | "OPENAI"
          | "AZURE_OPENAI"
          | "ANTHROPIC"
          | "GOOGLE"
          | "DEEPSEEK"
          | "XAI"
          | "OLLAMA"
          | "AWS";
          response_format?: | {
              json_schema: {
                  description?: string;
                  name: string;
                  schema?: { [key: string]: unknown };
                  strict?: boolean;
              };
              type: "json_schema";
          }
          | null;
          template: | {
              messages: {
                  content: | string
                  | (
                      | { text: string; type: "text" }
                      | {
                          tool_call: { arguments: ...; name: ...; type: ... };
                          tool_call_id: string;
                          type: "tool_call";
                      }
                      | {
                          tool_call_id: string;
                          tool_result: (...)
                          | (...)
                          | (...)
                          | (...)
                          | (...)
                          | (...)
                          | (...);
                          type: "tool_result";
                      }
                  )[];
                  role: | "user"
                  | "assistant"
                  | "model"
                  | "ai"
                  | "tool"
                  | "system"
                  | "developer";
              }[];
              type: "chat";
          }
          | { template: string; type: "string" };
          template_format: "NONE" | "MUSTACHE" | "F_STRING";
          template_type: "STR" | "CHAT";
          tools?:
              | {
                  disable_parallel_tool_calls?: boolean;
                  tool_choice?: | { type: "none" }
                  | { type: "one_or_more" }
                  | { function_name: string; type: "specific_function" }
                  | { type: "zero_or_more" };
                  tools: {
                      function: {
                          description?: string;
                          name: string;
                          parameters?: { [key: string]: unknown };
                          strict?: boolean;
                      };
                      type: "function";
                  }[];
                  type: "tools";
              }
              | null;
      }

      PromptVersion

      • Optionaldescription?: string | null

        Description

      • id: string

        Id

      • invocation_parameters:
            | {
                anthropic: {
                    max_tokens: number;
                    stop_sequences?: string[];
                    temperature?: number;
                    thinking?: | { type: "disabled" }
                    | { budget_tokens: number; type: "enabled" };
                    top_p?: number;
                };
                type: "anthropic";
            }
            | {
                aws: { max_tokens?: number; temperature?: number; top_p?: number };
                type: "aws";
            }
            | {
                azure_openai: {
                    frequency_penalty?: number;
                    max_completion_tokens?: number;
                    max_tokens?: number;
                    presence_penalty?: number;
                    reasoning_effort?: | "none"
                    | "minimal"
                    | "low"
                    | "medium"
                    | "high"
                    | "xhigh";
                    seed?: number;
                    temperature?: number;
                    top_p?: number;
                };
                type: "azure_openai";
            }
            | {
                deepseek: {
                    frequency_penalty?: number;
                    max_completion_tokens?: number;
                    max_tokens?: number;
                    presence_penalty?: number;
                    reasoning_effort?: | "none"
                    | "minimal"
                    | "low"
                    | "medium"
                    | "high"
                    | "xhigh";
                    seed?: number;
                    temperature?: number;
                    top_p?: number;
                };
                type: "deepseek";
            }
            | {
                google: {
                    frequency_penalty?: number;
                    max_output_tokens?: number;
                    presence_penalty?: number;
                    stop_sequences?: string[];
                    temperature?: number;
                    top_k?: number;
                    top_p?: number;
                };
                type: "google";
            }
            | {
                ollama: {
                    frequency_penalty?: number;
                    max_completion_tokens?: number;
                    max_tokens?: number;
                    presence_penalty?: number;
                    reasoning_effort?: | "none"
                    | "minimal"
                    | "low"
                    | "medium"
                    | "high"
                    | "xhigh";
                    seed?: number;
                    temperature?: number;
                    top_p?: number;
                };
                type: "ollama";
            }
            | {
                openai: {
                    frequency_penalty?: number;
                    max_completion_tokens?: number;
                    max_tokens?: number;
                    presence_penalty?: number;
                    reasoning_effort?: | "none"
                    | "minimal"
                    | "low"
                    | "medium"
                    | "high"
                    | "xhigh";
                    seed?: number;
                    temperature?: number;
                    top_p?: number;
                };
                type: "openai";
            }
            | {
                type: "xai";
                xai: {
                    frequency_penalty?: number;
                    max_completion_tokens?: number;
                    max_tokens?: number;
                    presence_penalty?: number;
                    reasoning_effort?: | "none"
                    | "minimal"
                    | "low"
                    | "medium"
                    | "high"
                    | "xhigh";
                    seed?: number;
                    temperature?: number;
                    top_p?: number;
                };
            }

        Invocation Parameters

      • model_name: string

        Model Name

      • model_provider:
            | "OPENAI"
            | "AZURE_OPENAI"
            | "ANTHROPIC"
            | "GOOGLE"
            | "DEEPSEEK"
            | "XAI"
            | "OLLAMA"
            | "AWS"
      • Optionalresponse_format?:
            | {
                json_schema: {
                    description?: string;
                    name: string;
                    schema?: { [key: string]: unknown };
                    strict?: boolean;
                };
                type: "json_schema";
            }
            | null

        Response Format

      • template:
            | {
                messages: {
                    content: | string
                    | (
                        | { text: string; type: "text" }
                        | {
                            tool_call: { arguments: ...; name: ...; type: ... };
                            tool_call_id: string;
                            type: "tool_call";
                        }
                        | {
                            tool_call_id: string;
                            tool_result: (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                            type: "tool_result";
                        }
                    )[];
                    role: | "user"
                    | "assistant"
                    | "model"
                    | "ai"
                    | "tool"
                    | "system"
                    | "developer";
                }[];
                type: "chat";
            }
            | { template: string; type: "string" }

        Template

      • template_format: "NONE" | "MUSTACHE" | "F_STRING"
      • template_type: "STR" | "CHAT"
      • Optionaltools?:
            | {
                disable_parallel_tool_calls?: boolean;
                tool_choice?: | { type: "none" }
                | { type: "one_or_more" }
                | { function_name: string; type: "specific_function" }
                | { type: "zero_or_more" };
                tools: {
                    function: {
                        description?: string;
                        name: string;
                        parameters?: { [key: string]: unknown };
                        strict?: boolean;
                    };
                    type: "function";
                }[];
                type: "tools";
            }
            | null
    • PromptVersionData: {
          description?: string | null;
          invocation_parameters:
              | {
                  anthropic: {
                      max_tokens: number;
                      stop_sequences?: string[];
                      temperature?: number;
                      thinking?: | { type: "disabled" }
                      | { budget_tokens: number; type: "enabled" };
                      top_p?: number;
                  };
                  type: "anthropic";
              }
              | {
                  aws: { max_tokens?: number; temperature?: number; top_p?: number };
                  type: "aws";
              }
              | {
                  azure_openai: {
                      frequency_penalty?: number;
                      max_completion_tokens?: number;
                      max_tokens?: number;
                      presence_penalty?: number;
                      reasoning_effort?: | "none"
                      | "minimal"
                      | "low"
                      | "medium"
                      | "high"
                      | "xhigh";
                      seed?: number;
                      temperature?: number;
                      top_p?: number;
                  };
                  type: "azure_openai";
              }
              | {
                  deepseek: {
                      frequency_penalty?: number;
                      max_completion_tokens?: number;
                      max_tokens?: number;
                      presence_penalty?: number;
                      reasoning_effort?: | "none"
                      | "minimal"
                      | "low"
                      | "medium"
                      | "high"
                      | "xhigh";
                      seed?: number;
                      temperature?: number;
                      top_p?: number;
                  };
                  type: "deepseek";
              }
              | {
                  google: {
                      frequency_penalty?: number;
                      max_output_tokens?: number;
                      presence_penalty?: number;
                      stop_sequences?: string[];
                      temperature?: number;
                      top_k?: number;
                      top_p?: number;
                  };
                  type: "google";
              }
              | {
                  ollama: {
                      frequency_penalty?: number;
                      max_completion_tokens?: number;
                      max_tokens?: number;
                      presence_penalty?: number;
                      reasoning_effort?: | "none"
                      | "minimal"
                      | "low"
                      | "medium"
                      | "high"
                      | "xhigh";
                      seed?: number;
                      temperature?: number;
                      top_p?: number;
                  };
                  type: "ollama";
              }
              | {
                  openai: {
                      frequency_penalty?: number;
                      max_completion_tokens?: number;
                      max_tokens?: number;
                      presence_penalty?: number;
                      reasoning_effort?: | "none"
                      | "minimal"
                      | "low"
                      | "medium"
                      | "high"
                      | "xhigh";
                      seed?: number;
                      temperature?: number;
                      top_p?: number;
                  };
                  type: "openai";
              }
              | {
                  type: "xai";
                  xai: {
                      frequency_penalty?: number;
                      max_completion_tokens?: number;
                      max_tokens?: number;
                      presence_penalty?: number;
                      reasoning_effort?: | "none"
                      | "minimal"
                      | "low"
                      | "medium"
                      | "high"
                      | "xhigh";
                      seed?: number;
                      temperature?: number;
                      top_p?: number;
                  };
              };
          model_name: string;
          model_provider: | "OPENAI"
          | "AZURE_OPENAI"
          | "ANTHROPIC"
          | "GOOGLE"
          | "DEEPSEEK"
          | "XAI"
          | "OLLAMA"
          | "AWS";
          response_format?: | {
              json_schema: {
                  description?: string;
                  name: string;
                  schema?: { [key: string]: unknown };
                  strict?: boolean;
              };
              type: "json_schema";
          }
          | null;
          template: | {
              messages: {
                  content: | string
                  | (
                      | { text: string; type: "text" }
                      | {
                          tool_call: { arguments: ...; name: ...; type: ... };
                          tool_call_id: string;
                          type: "tool_call";
                      }
                      | {
                          tool_call_id: string;
                          tool_result: (...)
                          | (...)
                          | (...)
                          | (...)
                          | (...)
                          | (...)
                          | (...);
                          type: "tool_result";
                      }
                  )[];
                  role: | "user"
                  | "assistant"
                  | "model"
                  | "ai"
                  | "tool"
                  | "system"
                  | "developer";
              }[];
              type: "chat";
          }
          | { template: string; type: "string" };
          template_format: "NONE" | "MUSTACHE" | "F_STRING";
          template_type: "STR" | "CHAT";
          tools?:
              | {
                  disable_parallel_tool_calls?: boolean;
                  tool_choice?: | { type: "none" }
                  | { type: "one_or_more" }
                  | { function_name: string; type: "specific_function" }
                  | { type: "zero_or_more" };
                  tools: {
                      function: {
                          description?: string;
                          name: string;
                          parameters?: { [key: string]: unknown };
                          strict?: boolean;
                      };
                      type: "function";
                  }[];
                  type: "tools";
              }
              | null;
      }

      PromptVersionData

      • Optionaldescription?: string | null

        Description

      • invocation_parameters:
            | {
                anthropic: {
                    max_tokens: number;
                    stop_sequences?: string[];
                    temperature?: number;
                    thinking?: | { type: "disabled" }
                    | { budget_tokens: number; type: "enabled" };
                    top_p?: number;
                };
                type: "anthropic";
            }
            | {
                aws: { max_tokens?: number; temperature?: number; top_p?: number };
                type: "aws";
            }
            | {
                azure_openai: {
                    frequency_penalty?: number;
                    max_completion_tokens?: number;
                    max_tokens?: number;
                    presence_penalty?: number;
                    reasoning_effort?: | "none"
                    | "minimal"
                    | "low"
                    | "medium"
                    | "high"
                    | "xhigh";
                    seed?: number;
                    temperature?: number;
                    top_p?: number;
                };
                type: "azure_openai";
            }
            | {
                deepseek: {
                    frequency_penalty?: number;
                    max_completion_tokens?: number;
                    max_tokens?: number;
                    presence_penalty?: number;
                    reasoning_effort?: | "none"
                    | "minimal"
                    | "low"
                    | "medium"
                    | "high"
                    | "xhigh";
                    seed?: number;
                    temperature?: number;
                    top_p?: number;
                };
                type: "deepseek";
            }
            | {
                google: {
                    frequency_penalty?: number;
                    max_output_tokens?: number;
                    presence_penalty?: number;
                    stop_sequences?: string[];
                    temperature?: number;
                    top_k?: number;
                    top_p?: number;
                };
                type: "google";
            }
            | {
                ollama: {
                    frequency_penalty?: number;
                    max_completion_tokens?: number;
                    max_tokens?: number;
                    presence_penalty?: number;
                    reasoning_effort?: | "none"
                    | "minimal"
                    | "low"
                    | "medium"
                    | "high"
                    | "xhigh";
                    seed?: number;
                    temperature?: number;
                    top_p?: number;
                };
                type: "ollama";
            }
            | {
                openai: {
                    frequency_penalty?: number;
                    max_completion_tokens?: number;
                    max_tokens?: number;
                    presence_penalty?: number;
                    reasoning_effort?: | "none"
                    | "minimal"
                    | "low"
                    | "medium"
                    | "high"
                    | "xhigh";
                    seed?: number;
                    temperature?: number;
                    top_p?: number;
                };
                type: "openai";
            }
            | {
                type: "xai";
                xai: {
                    frequency_penalty?: number;
                    max_completion_tokens?: number;
                    max_tokens?: number;
                    presence_penalty?: number;
                    reasoning_effort?: | "none"
                    | "minimal"
                    | "low"
                    | "medium"
                    | "high"
                    | "xhigh";
                    seed?: number;
                    temperature?: number;
                    top_p?: number;
                };
            }

        Invocation Parameters

      • model_name: string

        Model Name

      • model_provider:
            | "OPENAI"
            | "AZURE_OPENAI"
            | "ANTHROPIC"
            | "GOOGLE"
            | "DEEPSEEK"
            | "XAI"
            | "OLLAMA"
            | "AWS"
      • Optionalresponse_format?:
            | {
                json_schema: {
                    description?: string;
                    name: string;
                    schema?: { [key: string]: unknown };
                    strict?: boolean;
                };
                type: "json_schema";
            }
            | null

        Response Format

      • template:
            | {
                messages: {
                    content: | string
                    | (
                        | { text: string; type: "text" }
                        | {
                            tool_call: { arguments: ...; name: ...; type: ... };
                            tool_call_id: string;
                            type: "tool_call";
                        }
                        | {
                            tool_call_id: string;
                            tool_result: (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                            type: "tool_result";
                        }
                    )[];
                    role: | "user"
                    | "assistant"
                    | "model"
                    | "ai"
                    | "tool"
                    | "system"
                    | "developer";
                }[];
                type: "chat";
            }
            | { template: string; type: "string" }

        Template

      • template_format: "NONE" | "MUSTACHE" | "F_STRING"
      • template_type: "STR" | "CHAT"
      • Optionaltools?:
            | {
                disable_parallel_tool_calls?: boolean;
                tool_choice?: | { type: "none" }
                | { type: "one_or_more" }
                | { function_name: string; type: "specific_function" }
                | { type: "zero_or_more" };
                tools: {
                    function: {
                        description?: string;
                        name: string;
                        parameters?: { [key: string]: unknown };
                        strict?: boolean;
                    };
                    type: "function";
                }[];
                type: "tools";
            }
            | null
    • PromptVersionTag: { description?: string | null; id: string; name: string }

      PromptVersionTag

      • Optionaldescription?: string | null

        Description

      • id: string

        Id

      • name: string
    • PromptVersionTagData: { description?: string | null; name: string }

      PromptVersionTagData

      • Optionaldescription?: string | null

        Description

      • name: string
    • PromptXAIInvocationParameters: {
          type: "xai";
          xai: {
              frequency_penalty?: number;
              max_completion_tokens?: number;
              max_tokens?: number;
              presence_penalty?: number;
              reasoning_effort?:
                  | "none"
                  | "minimal"
                  | "low"
                  | "medium"
                  | "high"
                  | "xhigh";
              seed?: number;
              temperature?: number;
              top_p?: number;
          };
      }

      PromptXAIInvocationParameters

      • type: "xai"

        discriminator enum property added by openapi-typescript

      • xai: {
            frequency_penalty?: number;
            max_completion_tokens?: number;
            max_tokens?: number;
            presence_penalty?: number;
            reasoning_effort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh";
            seed?: number;
            temperature?: number;
            top_p?: number;
        }
        • Optionalfrequency_penalty?: number

          Frequency Penalty

        • Optionalmax_completion_tokens?: number

          Max Completion Tokens

        • Optionalmax_tokens?: number

          Max Tokens

        • Optionalpresence_penalty?: number

          Presence Penalty

        • Optionalreasoning_effort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh"

          Reasoning Effort

        • Optionalseed?: number

          Seed

        • Optionaltemperature?: number

          Temperature

        • Optionaltop_p?: number

          Top P

    • PromptXAIInvocationParametersContent: {
          frequency_penalty?: number;
          max_completion_tokens?: number;
          max_tokens?: number;
          presence_penalty?: number;
          reasoning_effort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh";
          seed?: number;
          temperature?: number;
          top_p?: number;
      }

      PromptXAIInvocationParametersContent

      • Optionalfrequency_penalty?: number

        Frequency Penalty

      • Optionalmax_completion_tokens?: number

        Max Completion Tokens

      • Optionalmax_tokens?: number

        Max Tokens

      • Optionalpresence_penalty?: number

        Presence Penalty

      • Optionalreasoning_effort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh"

        Reasoning Effort

      • Optionalseed?: number

        Seed

      • Optionaltemperature?: number

        Temperature

      • Optionaltop_p?: number

        Top P

    • SessionAnnotation: {
          annotator_kind: "LLM" | "CODE" | "HUMAN";
          created_at: string;
          id: string;
          identifier?: string;
          metadata?: { [key: string]: unknown } | null;
          name: string;
          result?:
              | {
                  explanation?: string
                  | null;
                  label?: string | null;
                  score?: number | null;
              }
              | null;
          session_id: string;
          source: "API"
          | "APP";
          updated_at: string;
          user_id: string | null;
      }

      SessionAnnotation

      • annotator_kind: "LLM" | "CODE" | "HUMAN"

        Annotator Kind

        The kind of annotator used for the annotation

      • created_at: string

        Created At Format: date-time

      • id: string

        Id

      • Optionalidentifier?: string

        Identifier

        The identifier of the annotation. If provided, the annotation will be updated if it already exists.

        
        
      • Optionalmetadata?: { [key: string]: unknown } | null

        Metadata

        Metadata for the annotation

      • name: string

        Name

        The name of the annotation

      • Optionalresult?:
            | {
                explanation?: string
                | null;
                label?: string | null;
                score?: number | null;
            }
            | null

        The result of the annotation

      • session_id: string

        Session Id

        Session ID

      • source: "API" | "APP"

        Source

      • updated_at: string

        Updated At Format: date-time

      • user_id: string | null

        User Id

    • SessionAnnotationData: {
          annotator_kind: "LLM" | "CODE" | "HUMAN";
          identifier?: string;
          metadata?: { [key: string]: unknown } | null;
          name: string;
          result?:
              | {
                  explanation?: string
                  | null;
                  label?: string | null;
                  score?: number | null;
              }
              | null;
          session_id: string;
      }

      SessionAnnotationData

      • annotator_kind: "LLM" | "CODE" | "HUMAN"

        Annotator Kind

        The kind of annotator used for the annotation

      • Optionalidentifier?: string

        Identifier

        The identifier of the annotation. If provided, the annotation will be updated if it already exists.

        
        
      • Optionalmetadata?: { [key: string]: unknown } | null

        Metadata

        Metadata for the annotation

      • name: string

        Name

        The name of the annotation

      • Optionalresult?:
            | {
                explanation?: string
                | null;
                label?: string | null;
                score?: number | null;
            }
            | null

        The result of the annotation

      • session_id: string

        Session Id

        Session ID

    • SessionAnnotationsResponseBody: {
          data: {
              annotator_kind: "LLM" | "CODE" | "HUMAN";
              created_at: string;
              id: string;
              identifier?: string;
              metadata?: { [key: string]: unknown } | null;
              name: string;
              result?:
                  | {
                      explanation?: string
                      | null;
                      label?: string | null;
                      score?: number | null;
                  }
                  | null;
              session_id: string;
              source: "API"
              | "APP";
              updated_at: string;
              user_id: string | null;
          }[];
          next_cursor: string
          | null;
      }

      SessionAnnotationsResponseBody

      • data: {
            annotator_kind: "LLM" | "CODE" | "HUMAN";
            created_at: string;
            id: string;
            identifier?: string;
            metadata?: { [key: string]: unknown } | null;
            name: string;
            result?:
                | {
                    explanation?: string
                    | null;
                    label?: string | null;
                    score?: number | null;
                }
                | null;
            session_id: string;
            source: "API"
            | "APP";
            updated_at: string;
            user_id: string | null;
        }[]

        Data

      • next_cursor: string | null

        Next Cursor

    • Span: {
          attributes?: { [key: string]: unknown };
          context: { span_id: string; trace_id: string };
          end_time: string;
          events?: {
              attributes?: { [key: string]: unknown };
              name: string;
              timestamp: string;
          }[];
          id?: string;
          name: string;
          parent_id?: string
          | null;
          span_kind: string;
          start_time: string;
          status_code: string;
          status_message?: string;
      }

      Span

      • Optionalattributes?: { [key: string]: unknown }

        Attributes

        Span attributes

      • context: { span_id: string; trace_id: string }

        Span context containing trace_id and span_id

        • span_id: string

          Span Id

          OpenTelemetry span ID

        • trace_id: string

          Trace Id

          OpenTelemetry trace ID

      • end_time: string

        End Time Format: date-time

        End time of the span (must be timezone-aware)

      • Optionalevents?: { attributes?: { [key: string]: unknown }; name: string; timestamp: string }[]

        Events

        Span events

      • Optionalid?: string

        Id

        Span Global ID, distinct from the OpenTelemetry span ID

        
        
      • name: string

        Name

        Name of the span operation

      • Optionalparent_id?: string | null

        Parent Id

        OpenTelemetry span ID of the parent span

      • span_kind: string

        Span Kind

        Type of work that the span encapsulates

      • start_time: string

        Start Time Format: date-time

        Start time of the span (must be timezone-aware)

      • status_code: string

        Status Code

        Status code of the span

      • Optionalstatus_message?: string

        Status Message

        Status message

        
        
    • SpanAnnotation: {
          annotator_kind: "LLM" | "CODE" | "HUMAN";
          created_at: string;
          id: string;
          identifier?: string;
          metadata?: { [key: string]: unknown } | null;
          name: string;
          result?:
              | {
                  explanation?: string
                  | null;
                  label?: string | null;
                  score?: number | null;
              }
              | null;
          source: "API"
          | "APP";
          span_id: string;
          updated_at: string;
          user_id: string | null;
      }

      SpanAnnotation

      • annotator_kind: "LLM" | "CODE" | "HUMAN"

        Annotator Kind

        The kind of annotator used for the annotation

      • created_at: string

        Created At Format: date-time

      • id: string

        Id

      • Optionalidentifier?: string

        Identifier

        The identifier of the annotation. If provided, the annotation will be updated if it already exists.

        
        
      • Optionalmetadata?: { [key: string]: unknown } | null

        Metadata

        Metadata for the annotation

      • name: string

        Name

        The name of the annotation

      • Optionalresult?:
            | {
                explanation?: string
                | null;
                label?: string | null;
                score?: number | null;
            }
            | null

        The result of the annotation

      • source: "API" | "APP"

        Source

      • span_id: string

        Span Id

        OpenTelemetry Span ID (hex format w/o 0x prefix)

      • updated_at: string

        Updated At Format: date-time

      • user_id: string | null

        User Id

    • SpanAnnotationData: {
          annotator_kind: "LLM" | "CODE" | "HUMAN";
          identifier?: string;
          metadata?: { [key: string]: unknown } | null;
          name: string;
          result?:
              | {
                  explanation?: string
                  | null;
                  label?: string | null;
                  score?: number | null;
              }
              | null;
          span_id: string;
      }

      SpanAnnotationData

      • annotator_kind: "LLM" | "CODE" | "HUMAN"

        Annotator Kind

        The kind of annotator used for the annotation

      • Optionalidentifier?: string

        Identifier

        The identifier of the annotation. If provided, the annotation will be updated if it already exists.

        
        
      • Optionalmetadata?: { [key: string]: unknown } | null

        Metadata

        Metadata for the annotation

      • name: string

        Name

        The name of the annotation

      • Optionalresult?:
            | {
                explanation?: string
                | null;
                label?: string | null;
                score?: number | null;
            }
            | null

        The result of the annotation

      • span_id: string

        Span Id

        OpenTelemetry Span ID (hex format w/o 0x prefix)

    • SpanAnnotationsResponseBody: {
          data: {
              annotator_kind: "LLM" | "CODE" | "HUMAN";
              created_at: string;
              id: string;
              identifier?: string;
              metadata?: { [key: string]: unknown } | null;
              name: string;
              result?:
                  | {
                      explanation?: string
                      | null;
                      label?: string | null;
                      score?: number | null;
                  }
                  | null;
              source: "API"
              | "APP";
              span_id: string;
              updated_at: string;
              user_id: string | null;
          }[];
          next_cursor: string
          | null;
      }

      SpanAnnotationsResponseBody

      • data: {
            annotator_kind: "LLM" | "CODE" | "HUMAN";
            created_at: string;
            id: string;
            identifier?: string;
            metadata?: { [key: string]: unknown } | null;
            name: string;
            result?:
                | {
                    explanation?: string
                    | null;
                    label?: string | null;
                    score?: number | null;
                }
                | null;
            source: "API"
            | "APP";
            span_id: string;
            updated_at: string;
            user_id: string | null;
        }[]

        Data

      • next_cursor: string | null

        Next Cursor

    • SpanContext: { span_id: string; trace_id: string }

      SpanContext

      • span_id: string

        Span Id

        OpenTelemetry span ID

      • trace_id: string

        Trace Id

        OpenTelemetry trace ID

    • SpanDocumentAnnotationData: {
          annotator_kind: "LLM" | "CODE" | "HUMAN";
          document_position: number;
          identifier?: string;
          metadata?: { [key: string]: unknown } | null;
          name: string;
          result?:
              | {
                  explanation?: string
                  | null;
                  label?: string | null;
                  score?: number | null;
              }
              | null;
          span_id: string;
      }

      SpanDocumentAnnotationData

      • annotator_kind: "LLM" | "CODE" | "HUMAN"

        Annotator Kind

        The kind of annotator used for the annotation

      • document_position: number

        Document Position

        A 0 based index of the document. E.x. the first document during retrieval is 0

      • Optionalidentifier?: string

        Identifier

        The identifier of the annotation. If provided, the annotation will be updated if it already exists.

        
        
      • Optionalmetadata?: { [key: string]: unknown } | null

        Metadata

        Metadata for the annotation

      • name: string

        Name

        The name of the annotation

      • Optionalresult?:
            | {
                explanation?: string
                | null;
                label?: string | null;
                score?: number | null;
            }
            | null

        The result of the annotation

      • span_id: string

        Span Id

        OpenTelemetry Span ID (hex format w/o 0x prefix)

    • SpanEvent: { attributes?: { [key: string]: unknown }; name: string; timestamp: string }

      SpanEvent

      • Optionalattributes?: { [key: string]: unknown }

        Attributes

        Event attributes

      • name: string

        Name

        Name of the event

      • timestamp: string

        Timestamp Format: date-time

        When the event occurred (must be timezone-aware)

    • SpanNoteData: { note: string; span_id: string }

      SpanNoteData

      • note: string

        Note

        The note text to add to the span

      • span_id: string

        Span Id

        OpenTelemetry Span ID (hex format w/o 0x prefix)

    • SpansResponseBody: {
          data: {
              attributes?: { [key: string]: unknown };
              context: { span_id: string; trace_id: string };
              end_time: string;
              events?: {
                  attributes?: { [key: string]: unknown };
                  name: string;
                  timestamp: string;
              }[];
              id?: string;
              name: string;
              parent_id?: string
              | null;
              span_kind: string;
              start_time: string;
              status_code: string;
              status_message?: string;
          }[];
          next_cursor: string
          | null;
      }

      SpansResponseBody

      • data: {
            attributes?: { [key: string]: unknown };
            context: { span_id: string; trace_id: string };
            end_time: string;
            events?: {
                attributes?: { [key: string]: unknown };
                name: string;
                timestamp: string;
            }[];
            id?: string;
            name: string;
            parent_id?: string
            | null;
            span_kind: string;
            start_time: string;
            status_code: string;
            status_message?: string;
        }[]

        Data

      • next_cursor: string | null

        Next Cursor

    • TextContentPart: { text: string; type: "text" }

      TextContentPart

      • text: string

        Text

      • type: "text"

        discriminator enum property added by openapi-typescript

    • ToolCallContentPart: {
          tool_call: { arguments: string; name: string; type: "function" };
          tool_call_id: string;
          type: "tool_call";
      }

      ToolCallContentPart

      • tool_call: { arguments: string; name: string; type: "function" }

        Tool Call

        • arguments: string

          Arguments

        • name: string

          Name

        • type: "function"

          discriminator enum property added by openapi-typescript

      • tool_call_id: string

        Tool Call Id

      • type: "tool_call"

        discriminator enum property added by openapi-typescript

    • ToolCallFunction: { arguments: string; name: string; type: "function" }

      ToolCallFunction

      • arguments: string

        Arguments

      • name: string

        Name

      • type: "function"

        discriminator enum property added by openapi-typescript

    • ToolResultContentPart: {
          tool_call_id: string;
          tool_result:
              | string
              | number
              | boolean
              | { [key: string]: unknown }
              | unknown[]
              | null;
          type: "tool_result";
      }

      ToolResultContentPart

      • tool_call_id: string

        Tool Call Id

      • tool_result: string | number | boolean | { [key: string]: unknown } | unknown[] | null

        Tool Result

      • type: "tool_result"

        discriminator enum property added by openapi-typescript

    • TraceAnnotation: {
          annotator_kind: "LLM" | "CODE" | "HUMAN";
          created_at: string;
          id: string;
          identifier?: string;
          metadata?: { [key: string]: unknown } | null;
          name: string;
          result?:
              | {
                  explanation?: string
                  | null;
                  label?: string | null;
                  score?: number | null;
              }
              | null;
          source: "API"
          | "APP";
          trace_id: string;
          updated_at: string;
          user_id: string | null;
      }

      TraceAnnotation

      • annotator_kind: "LLM" | "CODE" | "HUMAN"

        Annotator Kind

        The kind of annotator used for the annotation

      • created_at: string

        Created At Format: date-time

      • id: string

        Id

      • Optionalidentifier?: string

        Identifier

        The identifier of the annotation. If provided, the annotation will be updated if it already exists.

        
        
      • Optionalmetadata?: { [key: string]: unknown } | null

        Metadata

        Metadata for the annotation

      • name: string

        Name

        The name of the annotation

      • Optionalresult?:
            | {
                explanation?: string
                | null;
                label?: string | null;
                score?: number | null;
            }
            | null

        The result of the annotation

      • source: "API" | "APP"

        Source

      • trace_id: string

        Trace Id

        OpenTelemetry Trace ID (hex format w/o 0x prefix)

      • updated_at: string

        Updated At Format: date-time

      • user_id: string | null

        User Id

    • TraceAnnotationData: {
          annotator_kind: "LLM" | "CODE" | "HUMAN";
          identifier?: string;
          metadata?: { [key: string]: unknown } | null;
          name: string;
          result?:
              | {
                  explanation?: string
                  | null;
                  label?: string | null;
                  score?: number | null;
              }
              | null;
          trace_id: string;
      }

      TraceAnnotationData

      • annotator_kind: "LLM" | "CODE" | "HUMAN"

        Annotator Kind

        The kind of annotator used for the annotation

      • Optionalidentifier?: string

        Identifier

        The identifier of the annotation. If provided, the annotation will be updated if it already exists.

        
        
      • Optionalmetadata?: { [key: string]: unknown } | null

        Metadata

        Metadata for the annotation

      • name: string

        Name

        The name of the annotation

      • Optionalresult?:
            | {
                explanation?: string
                | null;
                label?: string | null;
                score?: number | null;
            }
            | null

        The result of the annotation

      • trace_id: string

        Trace Id

        OpenTelemetry Trace ID (hex format w/o 0x prefix)

    • TraceAnnotationsResponseBody: {
          data: {
              annotator_kind: "LLM" | "CODE" | "HUMAN";
              created_at: string;
              id: string;
              identifier?: string;
              metadata?: { [key: string]: unknown } | null;
              name: string;
              result?:
                  | {
                      explanation?: string
                      | null;
                      label?: string | null;
                      score?: number | null;
                  }
                  | null;
              source: "API"
              | "APP";
              trace_id: string;
              updated_at: string;
              user_id: string | null;
          }[];
          next_cursor: string
          | null;
      }

      TraceAnnotationsResponseBody

      • data: {
            annotator_kind: "LLM" | "CODE" | "HUMAN";
            created_at: string;
            id: string;
            identifier?: string;
            metadata?: { [key: string]: unknown } | null;
            name: string;
            result?:
                | {
                    explanation?: string
                    | null;
                    label?: string | null;
                    score?: number | null;
                }
                | null;
            source: "API"
            | "APP";
            trace_id: string;
            updated_at: string;
            user_id: string | null;
        }[]

        Data

      • next_cursor: string | null

        Next Cursor

    • UpdateAnnotationConfigResponseBody: {
          data:
              | {
                  description?: string
                  | null;
                  id: string;
                  name: string;
                  optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                  type: "CATEGORICAL";
                  values: { label: string; score?: number | null }[];
              }
              | {
                  description?: string
                  | null;
                  id: string;
                  lower_bound?: number | null;
                  name: string;
                  optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                  type: "CONTINUOUS";
                  upper_bound?: number | null;
              }
              | {
                  description?: string
                  | null;
                  id: string;
                  name: string;
                  type: "FREEFORM";
              };
      }

      UpdateAnnotationConfigResponseBody

      • data:
            | {
                description?: string
                | null;
                id: string;
                name: string;
                optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                type: "CATEGORICAL";
                values: { label: string; score?: number | null }[];
            }
            | {
                description?: string
                | null;
                id: string;
                lower_bound?: number | null;
                name: string;
                optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                type: "CONTINUOUS";
                upper_bound?: number | null;
            }
            | {
                description?: string
                | null;
                id: string;
                name: string;
                type: "FREEFORM";
            }

        Data

    • UpdateProjectRequestBody: { description?: string | null }

      UpdateProjectRequestBody

      • Optionaldescription?: string | null

        Description

    • UpdateProjectResponseBody: { data: { description?: string | null; id: string; name: string } }

      UpdateProjectResponseBody

      • data: { description?: string | null; id: string; name: string }
        • Optionaldescription?: string | null

          Description

        • id: string

          Id

        • name: string

          Name

    • UploadDatasetData: { dataset_id: string; version_id: string }

      UploadDatasetData

      • dataset_id: string

        Dataset Id

      • version_id: string

        Version Id

    • UploadDatasetResponseBody: { data: { dataset_id: string; version_id: string } }

      UploadDatasetResponseBody

      • data: { dataset_id: string; version_id: string }
        • dataset_id: string

          Dataset Id

        • version_id: string

          Version Id

    • UpsertExperimentEvaluationRequestBody: {
          annotator_kind: "LLM" | "CODE" | "HUMAN";
          end_time: string;
          error?: string | null;
          experiment_run_id: string;
          metadata?: { [key: string]: unknown } | null;
          name: string;
          result?:
              | {
                  explanation?: string
                  | null;
                  label?: string | null;
                  score?: number | null;
              }
              | null;
          start_time: string;
          trace_id?: string
          | null;
      }

      UpsertExperimentEvaluationRequestBody

      • annotator_kind: "LLM" | "CODE" | "HUMAN"

        Annotator Kind

        The kind of annotator used for the evaluation

      • end_time: string

        End Time Format: date-time

        The end time of the evaluation in ISO format

      • Optionalerror?: string | null

        Error

        Error message if the evaluation encountered an error. Either result or error must be provided.

      • experiment_run_id: string

        Experiment Run Id

        The ID of the experiment run being evaluated

      • Optionalmetadata?: { [key: string]: unknown } | null

        Metadata

        Metadata for the evaluation

      • name: string

        Name

        The name of the evaluation

      • Optionalresult?:
            | {
                explanation?: string
                | null;
                label?: string | null;
                score?: number | null;
            }
            | null

        The result of the evaluation. Either result or error must be provided.

      • start_time: string

        Start Time Format: date-time

        The start time of the evaluation in ISO format

      • Optionaltrace_id?: string | null

        Trace Id

        Optional trace ID for tracking

    • UpsertExperimentEvaluationResponseBody: { data: { id: string } }

      UpsertExperimentEvaluationResponseBody

      • data: { id: string }
        • id: string

          Id

          The ID of the upserted experiment evaluation

    • UpsertExperimentEvaluationResponseBodyData: { id: string }

      UpsertExperimentEvaluationResponseBodyData

      • id: string

        Id

        The ID of the upserted experiment evaluation

    • ValidationError: {
          ctx?: Record<string, unknown>;
          input?: unknown;
          loc: (string | number)[];
          msg: string;
          type: string;
      }

      ValidationError

      • Optionalctx?: Record<string, unknown>

        Context

      • Optionalinput?: unknown

        Input

      • loc: (string | number)[]

        Location

      • msg: string

        Message

      • type: string

        Error Type