interface operations {
    addEvaluations: {
        parameters: {
            cookie?: undefined;
            header?: {
                "content-encoding"?: null | string;
                "content-type"?: null | string;
            };
            path?: undefined;
            query?: undefined;
        };
        requestBody: {
            content: {
                "application/x-pandas-arrow": string;
                "application/x-protobuf": string;
            };
        };
        responses: {
            "204": { content?: undefined; headers: { [name: string]: unknown } };
            "403": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "415": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
        };
    };
    annotateSpans: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: { sync?: boolean };
        };
        requestBody: {
            content: {
                "application/json": {
                    data: {
                        annotator_kind: "LLM"
                        | "CODE"
                        | "HUMAN";
                        identifier?: string;
                        metadata?: null | { [key: string]: unknown };
                        name: string;
                        result?:
                            | null
                            | {
                                explanation?: null
                                | string;
                                label?: null | string;
                                score?: null | number;
                            };
                        span_id: string;
                    }[];
                };
            };
        };
        responses: {
            "200": {
                content: { "application/json": { data: { id: string }[] } };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        detail?: { loc: (string | number)[]; msg: string; type: string }[];
                    };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    create_annotation_config_v1_annotation_configs_post: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody: {
            content: {
                "application/json": | {
                    description?: null
                    | string;
                    name: string;
                    optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                    type: "CATEGORICAL";
                    values: { label: string; score?: null | number }[];
                }
                | {
                    description?: null
                    | string;
                    lower_bound?: null | number;
                    name: string;
                    optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                    type: "CONTINUOUS";
                    upper_bound?: null | number;
                }
                | { description?: null
                | string; name: string; type: "FREEFORM" };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        data: | {
                            description?: null
                            | string;
                            id: string;
                            name: string;
                            optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                            type: "CATEGORICAL";
                            values: { label: string; score?: null | number }[];
                        }
                        | {
                            description?: null
                            | string;
                            id: string;
                            lower_bound?: null | number;
                            name: string;
                            optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                            type: "CONTINUOUS";
                            upper_bound?: null | number;
                        }
                        | {
                            description?: null
                            | string;
                            id: string;
                            name: string;
                            type: "FREEFORM";
                        };
                    };
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        detail?: { loc: (string | number)[]; msg: string; type: string }[];
                    };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    createExperiment: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { dataset_id: string };
            query?: undefined;
        };
        requestBody: {
            content: {
                "application/json": {
                    description?: null
                    | string;
                    metadata?: null | { [key: string]: unknown };
                    name?: null | string;
                    repetitions?: number;
                    version_id?: null | string;
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        data: {
                            created_at: string;
                            dataset_id: string;
                            dataset_version_id: string;
                            id: string;
                            metadata: { [key: string]: unknown };
                            project_name: null | string;
                            repetitions: number;
                            updated_at: string;
                        };
                    };
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        detail?: { loc: (string | number)[]; msg: string; type: string }[];
                    };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    createExperimentRun: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { experiment_id: string };
            query?: undefined;
        };
        requestBody: {
            content: {
                "application/json": {
                    dataset_example_id: string;
                    end_time: string;
                    error?: null
                    | string;
                    output: unknown;
                    repetition_number: number;
                    start_time: string;
                    trace_id?: null | string;
                };
            };
        };
        responses: {
            "200": {
                content: { "application/json": { data: { id: string } } };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "409": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        detail?: { loc: (string | number)[]; msg: string; type: string }[];
                    };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    createProject: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody: {
            content: {
                "application/json": { description?: null
                | string; name: string };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        data: { description?: null
                        | string; id: string; name: string };
                    };
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
        };
    };
    createPromptVersionTag: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { prompt_version_id: string };
            query?: undefined;
        };
        requestBody: {
            content: {
                "application/json": { description?: null
                | string; name: string };
            };
        };
        responses: {
            "204": { content?: undefined; headers: { [name: string]: unknown } };
            "403": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
        };
    };
    createSpans: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { project_identifier: string };
            query?: undefined;
        };
        requestBody: {
            content: {
                "application/json": {
                    data: {
                        attributes?: { [key: string]: unknown };
                        context: { span_id: string; trace_id: string };
                        end_time: string;
                        events?: {
                            attributes?: { [key: ...]: ... };
                            name: string;
                            timestamp: string;
                        }[];
                        id?: string;
                        name: string;
                        parent_id?: null
                        | string;
                        span_kind: string;
                        start_time: string;
                        status_code: string;
                        status_message?: string;
                    }[];
                };
            };
        };
        responses: {
            "202": {
                content: {
                    "application/json": { total_queued: number; total_received: number };
                };
                headers: { [name: string]: unknown };
            };
            "400": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        detail?: { loc: (string | number)[]; msg: string; type: string }[];
                    };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    createUser: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody: {
            content: {
                "application/json": {
                    send_welcome_email?: boolean;
                    user: | {
                        auth_method: "LOCAL";
                        email: string;
                        password?: string;
                        role: "SYSTEM"
                        | "ADMIN"
                        | "MEMBER";
                        username: string;
                    }
                    | {
                        auth_method: "OAUTH2";
                        email: string;
                        oauth2_client_id?: string;
                        oauth2_user_id?: string;
                        role: "SYSTEM"
                        | "ADMIN"
                        | "MEMBER";
                        username: string;
                    };
                };
            };
        };
        responses: {
            "201": {
                content: {
                    "application/json": {
                        data: | {
                            auth_method: "LOCAL";
                            created_at: string;
                            email: string;
                            id: string;
                            password?: string;
                            password_needs_reset: boolean;
                            role: "SYSTEM"
                            | "ADMIN"
                            | "MEMBER";
                            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";
                            updated_at: string;
                            username: string;
                        };
                    };
                };
                headers: { [name: string]: unknown };
            };
            "400": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "409": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
        };
    };
    delete_annotation_config_v1_annotation_configs__config_id__delete: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { config_id: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        data: | {
                            description?: null
                            | string;
                            id: string;
                            name: string;
                            optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                            type: "CATEGORICAL";
                            values: { label: string; score?: null | number }[];
                        }
                        | {
                            description?: null
                            | string;
                            id: string;
                            lower_bound?: null | number;
                            name: string;
                            optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                            type: "CONTINUOUS";
                            upper_bound?: null | number;
                        }
                        | {
                            description?: null
                            | string;
                            id: string;
                            name: string;
                            type: "FREEFORM";
                        };
                    };
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        detail?: { loc: (string | number)[]; msg: string; type: string }[];
                    };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    deleteDatasetById: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { id: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": { content?: undefined; headers: { [name: string]: unknown } };
            "403": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
        };
    };
    deleteProject: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { project_identifier: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": { content?: undefined; headers: { [name: string]: unknown } };
            "403": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
        };
    };
    deleteSpan: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { span_identifier: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": { content?: undefined; headers: { [name: string]: unknown } };
            "403": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        detail?: { loc: (string | number)[]; msg: string; type: string }[];
                    };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    deleteTrace: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { trace_identifier: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": { content?: undefined; headers: { [name: string]: unknown } };
            "403": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        detail?: { loc: (string | number)[]; msg: string; type: string }[];
                    };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    deleteUser: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { user_id: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "204": { content?: undefined; headers: { [name: string]: unknown } };
            "403": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
        };
    };
    get_annotation_config_by_name_or_id_v1_annotation_configs__config_identifier__get: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { config_identifier: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        data: | {
                            description?: null
                            | string;
                            id: string;
                            name: string;
                            optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                            type: "CATEGORICAL";
                            values: { label: string; score?: null | number }[];
                        }
                        | {
                            description?: null
                            | string;
                            id: string;
                            lower_bound?: null | number;
                            name: string;
                            optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                            type: "CONTINUOUS";
                            upper_bound?: null | number;
                        }
                        | {
                            description?: null
                            | string;
                            id: string;
                            name: string;
                            type: "FREEFORM";
                        };
                    };
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        detail?: { loc: (string | number)[]; msg: string; type: string }[];
                    };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    getDataset: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { id: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        data: {
                            created_at: string;
                            description: null
                            | string;
                            example_count: number;
                            id: string;
                            metadata: { [key: string]: unknown };
                            name: string;
                            updated_at: string;
                        };
                    };
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        detail?: { loc: (string | number)[]; msg: string; type: string }[];
                    };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    getDatasetCsv: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { id: string };
            query?: { version_id?: null | string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "text/csv": string };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
        };
    };
    getDatasetExamples: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { id: string };
            query?: { version_id?: null | string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        data: {
                            dataset_id: string;
                            examples: {
                                id: string;
                                input: { [key: string]: unknown };
                                metadata: { [key: string]: unknown };
                                output: { [key: string]: unknown };
                                updated_at: string;
                            }[];
                            version_id: string;
                        };
                    };
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        detail?: { loc: (string | number)[]; msg: string; type: string }[];
                    };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    getDatasetJSONLOpenAIEvals: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { id: string };
            query?: { version_id?: null | string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
        };
    };
    getDatasetJSONLOpenAIFineTuning: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { id: string };
            query?: { version_id?: null | string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
        };
    };
    getEvaluations: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: { project_name?: null
            | string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": unknown };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        detail?: { loc: (string | number)[]; msg: string; type: string }[];
                    };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    getExperiment: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { experiment_id: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        data: {
                            created_at: string;
                            dataset_id: string;
                            dataset_version_id: string;
                            id: string;
                            metadata: { [key: string]: unknown };
                            project_name: null | string;
                            repetitions: number;
                            updated_at: string;
                        };
                    };
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        detail?: { loc: (string | number)[]; msg: string; type: string }[];
                    };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    getExperimentCSV: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { experiment_id: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": unknown; "text/csv": string };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        detail?: { loc: (string | number)[]; msg: string; type: string }[];
                    };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    getExperimentJSON: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { experiment_id: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        detail?: { loc: (string | number)[]; msg: string; type: string }[];
                    };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    getProject: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { project_identifier: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        data: { description?: null
                        | string; id: string; name: string };
                    };
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
        };
    };
    getProjects: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: {
                cursor?: null
                | string;
                include_experiment_projects?: boolean;
                limit?: number;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        data: { description?: null
                        | string; id: string; name: string }[];
                        next_cursor: null | string;
                    };
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
        };
    };
    getPrompts: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: { cursor?: null
            | string; limit?: number };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        data: {
                            description?: null
                            | string;
                            id: string;
                            name: string;
                            source_prompt_id?: null | string;
                        }[];
                        next_cursor: null
                        | string;
                    };
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
        };
    };
    getPromptVersionByPromptVersionId: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { prompt_version_id: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        data: {
                            description?: null
                            | string;
                            id: string;
                            invocation_parameters:
                                | {
                                    anthropic: {
                                        max_tokens: number;
                                        stop_sequences?: (...)[];
                                        temperature?: number;
                                        thinking?: { type: ... } | { budget_tokens: ...; type: ... };
                                        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?: "minimal"
                                        | "low"
                                        | "medium"
                                        | "high";
                                        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?: "minimal"
                                        | "low"
                                        | "medium"
                                        | "high";
                                        seed?: number;
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                    type: "deepseek";
                                }
                                | {
                                    google: {
                                        frequency_penalty?: number;
                                        max_output_tokens?: number;
                                        presence_penalty?: number;
                                        stop_sequences?: (...)[];
                                        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?: "minimal"
                                        | "low"
                                        | "medium"
                                        | "high";
                                        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?: "minimal"
                                        | "low"
                                        | "medium"
                                        | "high";
                                        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?: "minimal"
                                        | "low"
                                        | "medium"
                                        | "high";
                                        seed?: number;
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                };
                            model_name: string;
                            model_provider: | "OPENAI"
                            | "AZURE_OPENAI"
                            | "ANTHROPIC"
                            | "GOOGLE"
                            | "DEEPSEEK"
                            | "XAI"
                            | "OLLAMA"
                            | "AWS";
                            response_format?: | null
                            | {
                                json_schema: {
                                    description?: string;
                                    name: string;
                                    schema?: { [key: ...]: ... };
                                    strict?: boolean;
                                };
                                type: "json_schema";
                            };
                            template: | {
                                messages: {
                                    content: (...)
                                    | (...);
                                    role: (...) | (...) | (...) | (...) | (...) | (...) | (...);
                                }[];
                                type: "chat";
                            }
                            | { template: string; type: "string" };
                            template_format: "NONE" | "MUSTACHE" | "F_STRING";
                            template_type: "STR" | "CHAT";
                            tools?:
                                | null
                                | {
                                    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?: ...;
                                            name: ...;
                                            parameters?: ...;
                                            strict?: ...;
                                        };
                                        type: "function";
                                    }[];
                                    type: "tools";
                                };
                        };
                    };
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
        };
    };
    getPromptVersionByTagName: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { prompt_identifier: string; tag_name: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        data: {
                            description?: null
                            | string;
                            id: string;
                            invocation_parameters:
                                | {
                                    anthropic: {
                                        max_tokens: number;
                                        stop_sequences?: (...)[];
                                        temperature?: number;
                                        thinking?: { type: ... } | { budget_tokens: ...; type: ... };
                                        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?: "minimal"
                                        | "low"
                                        | "medium"
                                        | "high";
                                        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?: "minimal"
                                        | "low"
                                        | "medium"
                                        | "high";
                                        seed?: number;
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                    type: "deepseek";
                                }
                                | {
                                    google: {
                                        frequency_penalty?: number;
                                        max_output_tokens?: number;
                                        presence_penalty?: number;
                                        stop_sequences?: (...)[];
                                        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?: "minimal"
                                        | "low"
                                        | "medium"
                                        | "high";
                                        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?: "minimal"
                                        | "low"
                                        | "medium"
                                        | "high";
                                        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?: "minimal"
                                        | "low"
                                        | "medium"
                                        | "high";
                                        seed?: number;
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                };
                            model_name: string;
                            model_provider: | "OPENAI"
                            | "AZURE_OPENAI"
                            | "ANTHROPIC"
                            | "GOOGLE"
                            | "DEEPSEEK"
                            | "XAI"
                            | "OLLAMA"
                            | "AWS";
                            response_format?: | null
                            | {
                                json_schema: {
                                    description?: string;
                                    name: string;
                                    schema?: { [key: ...]: ... };
                                    strict?: boolean;
                                };
                                type: "json_schema";
                            };
                            template: | {
                                messages: {
                                    content: (...)
                                    | (...);
                                    role: (...) | (...) | (...) | (...) | (...) | (...) | (...);
                                }[];
                                type: "chat";
                            }
                            | { template: string; type: "string" };
                            template_format: "NONE" | "MUSTACHE" | "F_STRING";
                            template_type: "STR" | "CHAT";
                            tools?:
                                | null
                                | {
                                    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?: ...;
                                            name: ...;
                                            parameters?: ...;
                                            strict?: ...;
                                        };
                                        type: "function";
                                    }[];
                                    type: "tools";
                                };
                        };
                    };
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
        };
    };
    getPromptVersionLatest: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { prompt_identifier: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        data: {
                            description?: null
                            | string;
                            id: string;
                            invocation_parameters:
                                | {
                                    anthropic: {
                                        max_tokens: number;
                                        stop_sequences?: (...)[];
                                        temperature?: number;
                                        thinking?: { type: ... } | { budget_tokens: ...; type: ... };
                                        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?: "minimal"
                                        | "low"
                                        | "medium"
                                        | "high";
                                        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?: "minimal"
                                        | "low"
                                        | "medium"
                                        | "high";
                                        seed?: number;
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                    type: "deepseek";
                                }
                                | {
                                    google: {
                                        frequency_penalty?: number;
                                        max_output_tokens?: number;
                                        presence_penalty?: number;
                                        stop_sequences?: (...)[];
                                        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?: "minimal"
                                        | "low"
                                        | "medium"
                                        | "high";
                                        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?: "minimal"
                                        | "low"
                                        | "medium"
                                        | "high";
                                        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?: "minimal"
                                        | "low"
                                        | "medium"
                                        | "high";
                                        seed?: number;
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                };
                            model_name: string;
                            model_provider: | "OPENAI"
                            | "AZURE_OPENAI"
                            | "ANTHROPIC"
                            | "GOOGLE"
                            | "DEEPSEEK"
                            | "XAI"
                            | "OLLAMA"
                            | "AWS";
                            response_format?: | null
                            | {
                                json_schema: {
                                    description?: string;
                                    name: string;
                                    schema?: { [key: ...]: ... };
                                    strict?: boolean;
                                };
                                type: "json_schema";
                            };
                            template: | {
                                messages: {
                                    content: (...)
                                    | (...);
                                    role: (...) | (...) | (...) | (...) | (...) | (...) | (...);
                                }[];
                                type: "chat";
                            }
                            | { template: string; type: "string" };
                            template_format: "NONE" | "MUSTACHE" | "F_STRING";
                            template_type: "STR" | "CHAT";
                            tools?:
                                | null
                                | {
                                    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?: ...;
                                            name: ...;
                                            parameters?: ...;
                                            strict?: ...;
                                        };
                                        type: "function";
                                    }[];
                                    type: "tools";
                                };
                        };
                    };
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
        };
    };
    getPromptVersionTags: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { prompt_version_id: string };
            query?: { cursor?: null | string; limit?: number };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        data: { description?: null
                        | string; id: string; name: string }[];
                        next_cursor: null | string;
                    };
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
        };
    };
    getSpans: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { project_identifier: string };
            query?: {
                cursor?: null | string;
                end_time?: null | string;
                limit?: number;
                start_time?: null | string;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        data: {
                            attributes?: { [key: string]: unknown };
                            context: { span_id: string; trace_id: string };
                            end_time: string;
                            events?: {
                                attributes?: (...) | (...);
                                name: string;
                                timestamp: string;
                            }[];
                            id?: string;
                            name: string;
                            parent_id?: null
                            | string;
                            span_kind: string;
                            start_time: string;
                            status_code: string;
                            status_message?: string;
                        }[];
                        next_cursor: null
                        | string;
                    };
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
        };
    };
    getUsers: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: { cursor?: string; limit?: number };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        data: (
                            | {
                                auth_method: "LOCAL";
                                created_at: string;
                                email: string;
                                id: string;
                                password?: string;
                                password_needs_reset: boolean;
                                role: "SYSTEM"
                                | "ADMIN"
                                | "MEMBER";
                                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";
                                updated_at: string;
                                username: string;
                            }
                        )[];
                        next_cursor: null
                        | string;
                    };
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
        };
    };
    list_annotation_configs_v1_annotation_configs_get: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: { cursor?: null
            | string; limit?: number };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        data: (
                            | {
                                description?: null
                                | string;
                                id: string;
                                name: string;
                                optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                                type: "CATEGORICAL";
                                values: { label: string; score?: (...) | (...) | (...) }[];
                            }
                            | {
                                description?: null
                                | string;
                                id: string;
                                lower_bound?: null | number;
                                name: string;
                                optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                                type: "CONTINUOUS";
                                upper_bound?: null | number;
                            }
                            | {
                                description?: null
                                | string;
                                id: string;
                                name: string;
                                type: "FREEFORM";
                            }
                        )[];
                        next_cursor: null
                        | string;
                    };
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        detail?: { loc: (string | number)[]; msg: string; type: string }[];
                    };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    listDatasets: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: { cursor?: null
            | string; limit?: number; name?: null | string };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        data: {
                            created_at: string;
                            description: null
                            | string;
                            example_count: number;
                            id: string;
                            metadata: { [key: string]: unknown };
                            name: string;
                            updated_at: string;
                        }[];
                        next_cursor: null
                        | string;
                    };
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
        };
    };
    listDatasetVersionsByDatasetId: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { id: string };
            query?: { cursor?: null | string; limit?: number };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        data: {
                            created_at: string;
                            description: null
                            | string;
                            metadata: { [key: string]: unknown };
                            version_id: string;
                        }[];
                        next_cursor: null
                        | string;
                    };
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
        };
    };
    listExperimentRuns: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { experiment_id: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        data: {
                            dataset_example_id: string;
                            end_time: string;
                            error?: null
                            | string;
                            experiment_id: string;
                            id: string;
                            output: unknown;
                            repetition_number: number;
                            start_time: string;
                            trace_id?: null | string;
                        }[];
                    };
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        detail?: { loc: (string | number)[]; msg: string; type: string }[];
                    };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    listExperiments: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { dataset_id: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        data: {
                            created_at: string;
                            dataset_id: string;
                            dataset_version_id: string;
                            id: string;
                            metadata: { [key: string]: unknown };
                            project_name: null | string;
                            repetitions: number;
                            updated_at: string;
                        }[];
                    };
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        detail?: { loc: (string | number)[]; msg: string; type: string }[];
                    };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    listPromptVersions: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { prompt_identifier: string };
            query?: { cursor?: null | string; limit?: number };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        data: {
                            description?: null
                            | string;
                            id: string;
                            invocation_parameters:
                                | {
                                    anthropic: {
                                        max_tokens: number;
                                        stop_sequences?: (...)
                                        | (...);
                                        temperature?: (...) | (...);
                                        thinking?: (...) | (...) | (...);
                                        top_p?: (...) | (...);
                                    };
                                    type: "anthropic";
                                }
                                | {
                                    aws: {
                                        max_tokens?: (...)
                                        | (...);
                                        temperature?: (...) | (...);
                                        top_p?: (...) | (...);
                                    };
                                    type: "aws";
                                }
                                | {
                                    azure_openai: {
                                        frequency_penalty?: (...)
                                        | (...);
                                        max_completion_tokens?: (...) | (...);
                                        max_tokens?: (...) | (...);
                                        presence_penalty?: (...) | (...);
                                        reasoning_effort?: (...) | (...) | (...) | (...) | (...);
                                        seed?: (...) | (...);
                                        temperature?: (...) | (...);
                                        top_p?: (...) | (...);
                                    };
                                    type: "azure_openai";
                                }
                                | {
                                    deepseek: {
                                        frequency_penalty?: (...)
                                        | (...);
                                        max_completion_tokens?: (...) | (...);
                                        max_tokens?: (...) | (...);
                                        presence_penalty?: (...) | (...);
                                        reasoning_effort?: (...) | (...) | (...) | (...) | (...);
                                        seed?: (...) | (...);
                                        temperature?: (...) | (...);
                                        top_p?: (...) | (...);
                                    };
                                    type: "deepseek";
                                }
                                | {
                                    google: {
                                        frequency_penalty?: (...)
                                        | (...);
                                        max_output_tokens?: (...) | (...);
                                        presence_penalty?: (...) | (...);
                                        stop_sequences?: (...) | (...);
                                        temperature?: (...) | (...);
                                        top_k?: (...) | (...);
                                        top_p?: (...) | (...);
                                    };
                                    type: "google";
                                }
                                | {
                                    ollama: {
                                        frequency_penalty?: (...)
                                        | (...);
                                        max_completion_tokens?: (...) | (...);
                                        max_tokens?: (...) | (...);
                                        presence_penalty?: (...) | (...);
                                        reasoning_effort?: (...) | (...) | (...) | (...) | (...);
                                        seed?: (...) | (...);
                                        temperature?: (...) | (...);
                                        top_p?: (...) | (...);
                                    };
                                    type: "ollama";
                                }
                                | {
                                    openai: {
                                        frequency_penalty?: (...)
                                        | (...);
                                        max_completion_tokens?: (...) | (...);
                                        max_tokens?: (...) | (...);
                                        presence_penalty?: (...) | (...);
                                        reasoning_effort?: (...) | (...) | (...) | (...) | (...);
                                        seed?: (...) | (...);
                                        temperature?: (...) | (...);
                                        top_p?: (...) | (...);
                                    };
                                    type: "openai";
                                }
                                | {
                                    type: "xai";
                                    xai: {
                                        frequency_penalty?: (...)
                                        | (...);
                                        max_completion_tokens?: (...) | (...);
                                        max_tokens?: (...) | (...);
                                        presence_penalty?: (...) | (...);
                                        reasoning_effort?: (...) | (...) | (...) | (...) | (...);
                                        seed?: (...) | (...);
                                        temperature?: (...) | (...);
                                        top_p?: (...) | (...);
                                    };
                                };
                            model_name: string;
                            model_provider: | "OPENAI"
                            | "AZURE_OPENAI"
                            | "ANTHROPIC"
                            | "GOOGLE"
                            | "DEEPSEEK"
                            | "XAI"
                            | "OLLAMA"
                            | "AWS";
                            response_format?: | null
                            | {
                                json_schema: {
                                    description?: (...)
                                    | (...);
                                    name: string;
                                    schema?: (...) | (...);
                                    strict?: (...) | (...) | (...);
                                };
                                type: "json_schema";
                            };
                            template: | { messages: { content: ...; role: ... }[]; type: "chat" }
                            | { template: string; type: "string" };
                            template_format: "NONE" | "MUSTACHE" | "F_STRING";
                            template_type: "STR" | "CHAT";
                            tools?:
                                | null
                                | {
                                    disable_parallel_tool_calls?: boolean;
                                    tool_choice?: | { type: ... }
                                    | { type: ... }
                                    | { function_name: ...; type: ... }
                                    | { type: ... };
                                    tools: { function: ...; type: ... }[];
                                    type: "tools";
                                };
                        }[];
                        next_cursor: null
                        | string;
                    };
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
        };
    };
    listSpanAnnotationsBySpanIds: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { project_identifier: string };
            query: {
                cursor?: null | string;
                exclude_annotation_names?: null | string[];
                include_annotation_names?: null | string[];
                limit?: number;
                span_ids: string[];
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        data: {
                            annotator_kind: "LLM"
                            | "CODE"
                            | "HUMAN";
                            created_at: string;
                            id: string;
                            identifier?: string;
                            metadata?: null | { [key: string]: unknown };
                            name: string;
                            result?:
                                | null
                                | {
                                    explanation?: null
                                    | string;
                                    label?: null | string;
                                    score?: null | number;
                                };
                            source: "API"
                            | "APP";
                            span_id: string;
                            updated_at: string;
                            user_id: null | string;
                        }[];
                        next_cursor: null
                        | string;
                    };
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
        };
    };
    postPromptVersion: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody: {
            content: {
                "application/json": {
                    prompt: {
                        description?: null
                        | string;
                        name: string;
                        source_prompt_id?: null | string;
                    };
                    version: {
                        description?: null
                        | 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?: "minimal"
                                    | "low"
                                    | "medium"
                                    | "high";
                                    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?: "minimal"
                                    | "low"
                                    | "medium"
                                    | "high";
                                    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?: "minimal"
                                    | "low"
                                    | "medium"
                                    | "high";
                                    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?: "minimal"
                                    | "low"
                                    | "medium"
                                    | "high";
                                    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?: "minimal"
                                    | "low"
                                    | "medium"
                                    | "high";
                                    seed?: number;
                                    temperature?: number;
                                    top_p?: number;
                                };
                            };
                        model_name: string;
                        model_provider: | "OPENAI"
                        | "AZURE_OPENAI"
                        | "ANTHROPIC"
                        | "GOOGLE"
                        | "DEEPSEEK"
                        | "XAI"
                        | "OLLAMA"
                        | "AWS";
                        response_format?: | null
                        | {
                            json_schema: {
                                description?: string;
                                name: string;
                                schema?: { [key: string]: unknown };
                                strict?: boolean;
                            };
                            type: "json_schema";
                        };
                        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?:
                            | null
                            | {
                                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?: (...) | (...);
                                        name: string;
                                        parameters?: (...) | (...);
                                        strict?: (...) | (...) | (...);
                                    };
                                    type: "function";
                                }[];
                                type: "tools";
                            };
                    };
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        data: {
                            description?: null
                            | string;
                            id: string;
                            invocation_parameters:
                                | {
                                    anthropic: {
                                        max_tokens: number;
                                        stop_sequences?: (...)[];
                                        temperature?: number;
                                        thinking?: { type: ... } | { budget_tokens: ...; type: ... };
                                        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?: "minimal"
                                        | "low"
                                        | "medium"
                                        | "high";
                                        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?: "minimal"
                                        | "low"
                                        | "medium"
                                        | "high";
                                        seed?: number;
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                    type: "deepseek";
                                }
                                | {
                                    google: {
                                        frequency_penalty?: number;
                                        max_output_tokens?: number;
                                        presence_penalty?: number;
                                        stop_sequences?: (...)[];
                                        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?: "minimal"
                                        | "low"
                                        | "medium"
                                        | "high";
                                        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?: "minimal"
                                        | "low"
                                        | "medium"
                                        | "high";
                                        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?: "minimal"
                                        | "low"
                                        | "medium"
                                        | "high";
                                        seed?: number;
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                };
                            model_name: string;
                            model_provider: | "OPENAI"
                            | "AZURE_OPENAI"
                            | "ANTHROPIC"
                            | "GOOGLE"
                            | "DEEPSEEK"
                            | "XAI"
                            | "OLLAMA"
                            | "AWS";
                            response_format?: | null
                            | {
                                json_schema: {
                                    description?: string;
                                    name: string;
                                    schema?: { [key: ...]: ... };
                                    strict?: boolean;
                                };
                                type: "json_schema";
                            };
                            template: | {
                                messages: {
                                    content: (...)
                                    | (...);
                                    role: (...) | (...) | (...) | (...) | (...) | (...) | (...);
                                }[];
                                type: "chat";
                            }
                            | { template: string; type: "string" };
                            template_format: "NONE" | "MUSTACHE" | "F_STRING";
                            template_type: "STR" | "CHAT";
                            tools?:
                                | null
                                | {
                                    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?: ...;
                                            name: ...;
                                            parameters?: ...;
                                            strict?: ...;
                                        };
                                        type: "function";
                                    }[];
                                    type: "tools";
                                };
                        };
                    };
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
        };
    };
    spanSearch: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { project_identifier: string };
            query?: {
                cursor?: null | string;
                end_time?: null | string;
                limit?: number;
                start_time?: null | string;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        data: {
                            attributes?: | null
                            | { key?: (...)
                            | (...)
                            | (...); value?: (...) | (...) | (...) }[];
                            dropped_attributes_count?: null | number;
                            dropped_events_count?: null | number;
                            dropped_links_count?: null | number;
                            end_time_unix_nano?: null | string | number;
                            events?:
                                | null
                                | {
                                    attributes?: (...)
                                    | (...)
                                    | (...);
                                    dropped_attributes_count?: (...) | (...) | (...);
                                    name?: (...) | (...) | (...);
                                    time_unix_nano?: (...) | (...) | (...) | (...);
                                }[];
                            flags?: null
                            | number;
                            kind?:
                                | null
                                | number
                                | "SPAN_KIND_UNSPECIFIED"
                                | "SPAN_KIND_INTERNAL"
                                | "SPAN_KIND_SERVER"
                                | "SPAN_KIND_CLIENT"
                                | "SPAN_KIND_PRODUCER"
                                | "SPAN_KIND_CONSUMER";
                            links?: null;
                            name?: null
                            | string;
                            parent_span_id?: null | string;
                            span_id?: null | string;
                            start_time_unix_nano?: null | string | number;
                            status?: null | { code?: null | number; message?: null | string };
                            trace_id?: null | string;
                            trace_state?: null | string;
                        }[];
                        next_cursor: null
                        | string;
                    };
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
        };
    };
    update_annotation_config_v1_annotation_configs__config_id__put: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { config_id: string };
            query?: undefined;
        };
        requestBody: {
            content: {
                "application/json": | {
                    description?: null
                    | string;
                    name: string;
                    optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                    type: "CATEGORICAL";
                    values: { label: string; score?: null | number }[];
                }
                | {
                    description?: null
                    | string;
                    lower_bound?: null | number;
                    name: string;
                    optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                    type: "CONTINUOUS";
                    upper_bound?: null | number;
                }
                | { description?: null
                | string; name: string; type: "FREEFORM" };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        data: | {
                            description?: null
                            | string;
                            id: string;
                            name: string;
                            optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                            type: "CATEGORICAL";
                            values: { label: string; score?: null | number }[];
                        }
                        | {
                            description?: null
                            | string;
                            id: string;
                            lower_bound?: null | number;
                            name: string;
                            optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                            type: "CONTINUOUS";
                            upper_bound?: null | number;
                        }
                        | {
                            description?: null
                            | string;
                            id: string;
                            name: string;
                            type: "FREEFORM";
                        };
                    };
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        detail?: { loc: (string | number)[]; msg: string; type: string }[];
                    };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
    updateProject: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { project_identifier: string };
            query?: undefined;
        };
        requestBody: {
            content: { "application/json": { description?: null
            | string } };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        data: { description?: null
                        | string; id: string; name: string };
                    };
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
        };
    };
    uploadDataset: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: { sync?: boolean };
        };
        requestBody?: {
            content: {
                "application/json": {
                    action?: "create"
                    | "append";
                    description?: string;
                    inputs: Record<string, unknown>[];
                    metadata?: Record<string, unknown>[];
                    name: string;
                    outputs?: Record<string, unknown>[];
                };
                "multipart/form-data": {
                    action?: "create"
                    | "append";
                    description?: string;
                    file: string;
                    "input_keys[]": string[];
                    "metadata_keys[]"?: string[];
                    name: string;
                    "output_keys[]": string[];
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": | null
                    | { data: { dataset_id: string; version_id: string } };
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "409": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
        };
    };
    upsertExperimentEvaluation: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody: {
            content: {
                "application/json": {
                    annotator_kind: "LLM"
                    | "CODE"
                    | "HUMAN";
                    end_time: string;
                    error?: null | string;
                    experiment_run_id: string;
                    metadata?: null | { [key: string]: unknown };
                    name: string;
                    result?:
                        | null
                        | {
                            explanation?: null
                            | string;
                            label?: null | string;
                            score?: null | number;
                        };
                    start_time: string;
                    trace_id?: null
                    | string;
                };
            };
        };
        responses: {
            "200": {
                content: { "application/json": { data: { id: string } } };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        detail?: { loc: (string | number)[]; msg: string; type: string }[];
                    };
                };
                headers: { [name: string]: unknown };
            };
        };
    };
}

Properties

addEvaluations: {
    parameters: {
        cookie?: undefined;
        header?: {
            "content-encoding"?: null | string;
            "content-type"?: null | string;
        };
        path?: undefined;
        query?: undefined;
    };
    requestBody: {
        content: {
            "application/x-pandas-arrow": string;
            "application/x-protobuf": string;
        };
    };
    responses: {
        "204": { content?: undefined; headers: { [name: string]: unknown } };
        "403": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "415": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
    };
}
annotateSpans: {
    parameters: {
        cookie?: undefined;
        header?: undefined;
        path?: undefined;
        query?: { sync?: boolean };
    };
    requestBody: {
        content: {
            "application/json": {
                data: {
                    annotator_kind: "LLM"
                    | "CODE"
                    | "HUMAN";
                    identifier?: string;
                    metadata?: null | { [key: string]: unknown };
                    name: string;
                    result?:
                        | null
                        | {
                            explanation?: null
                            | string;
                            label?: null | string;
                            score?: null | number;
                        };
                    span_id: string;
                }[];
            };
        };
    };
    responses: {
        "200": {
            content: { "application/json": { data: { id: string }[] } };
            headers: { [name: string]: unknown };
        };
        "403": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    detail?: { loc: (string | number)[]; msg: string; type: string }[];
                };
            };
            headers: { [name: string]: unknown };
        };
    };
}
create_annotation_config_v1_annotation_configs_post: {
    parameters: {
        cookie?: undefined;
        header?: undefined;
        path?: undefined;
        query?: undefined;
    };
    requestBody: {
        content: {
            "application/json": | {
                description?: null
                | string;
                name: string;
                optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                type: "CATEGORICAL";
                values: { label: string; score?: null | number }[];
            }
            | {
                description?: null
                | string;
                lower_bound?: null | number;
                name: string;
                optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                type: "CONTINUOUS";
                upper_bound?: null | number;
            }
            | { description?: null
            | string; name: string; type: "FREEFORM" };
        };
    };
    responses: {
        "200": {
            content: {
                "application/json": {
                    data: | {
                        description?: null
                        | string;
                        id: string;
                        name: string;
                        optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                        type: "CATEGORICAL";
                        values: { label: string; score?: null | number }[];
                    }
                    | {
                        description?: null
                        | string;
                        id: string;
                        lower_bound?: null | number;
                        name: string;
                        optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                        type: "CONTINUOUS";
                        upper_bound?: null | number;
                    }
                    | {
                        description?: null
                        | string;
                        id: string;
                        name: string;
                        type: "FREEFORM";
                    };
                };
            };
            headers: { [name: string]: unknown };
        };
        "403": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    detail?: { loc: (string | number)[]; msg: string; type: string }[];
                };
            };
            headers: { [name: string]: unknown };
        };
    };
}
createExperiment: {
    parameters: {
        cookie?: undefined;
        header?: undefined;
        path: { dataset_id: string };
        query?: undefined;
    };
    requestBody: {
        content: {
            "application/json": {
                description?: null
                | string;
                metadata?: null | { [key: string]: unknown };
                name?: null | string;
                repetitions?: number;
                version_id?: null | string;
            };
        };
    };
    responses: {
        "200": {
            content: {
                "application/json": {
                    data: {
                        created_at: string;
                        dataset_id: string;
                        dataset_version_id: string;
                        id: string;
                        metadata: { [key: string]: unknown };
                        project_name: null | string;
                        repetitions: number;
                        updated_at: string;
                    };
                };
            };
            headers: { [name: string]: unknown };
        };
        "403": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    detail?: { loc: (string | number)[]; msg: string; type: string }[];
                };
            };
            headers: { [name: string]: unknown };
        };
    };
}
createExperimentRun: {
    parameters: {
        cookie?: undefined;
        header?: undefined;
        path: { experiment_id: string };
        query?: undefined;
    };
    requestBody: {
        content: {
            "application/json": {
                dataset_example_id: string;
                end_time: string;
                error?: null
                | string;
                output: unknown;
                repetition_number: number;
                start_time: string;
                trace_id?: null | string;
            };
        };
    };
    responses: {
        "200": {
            content: { "application/json": { data: { id: string } } };
            headers: { [name: string]: unknown };
        };
        "403": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "409": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    detail?: { loc: (string | number)[]; msg: string; type: string }[];
                };
            };
            headers: { [name: string]: unknown };
        };
    };
}
createProject: {
    parameters: {
        cookie?: undefined;
        header?: undefined;
        path?: undefined;
        query?: undefined;
    };
    requestBody: {
        content: {
            "application/json": { description?: null
            | string; name: string };
        };
    };
    responses: {
        "200": {
            content: {
                "application/json": {
                    data: { description?: null
                    | string; id: string; name: string };
                };
            };
            headers: { [name: string]: unknown };
        };
        "403": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
    };
}
createPromptVersionTag: {
    parameters: {
        cookie?: undefined;
        header?: undefined;
        path: { prompt_version_id: string };
        query?: undefined;
    };
    requestBody: {
        content: {
            "application/json": { description?: null
            | string; name: string };
        };
    };
    responses: {
        "204": { content?: undefined; headers: { [name: string]: unknown } };
        "403": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
    };
}
createSpans: {
    parameters: {
        cookie?: undefined;
        header?: undefined;
        path: { project_identifier: string };
        query?: undefined;
    };
    requestBody: {
        content: {
            "application/json": {
                data: {
                    attributes?: { [key: string]: unknown };
                    context: { span_id: string; trace_id: string };
                    end_time: string;
                    events?: {
                        attributes?: { [key: ...]: ... };
                        name: string;
                        timestamp: string;
                    }[];
                    id?: string;
                    name: string;
                    parent_id?: null
                    | string;
                    span_kind: string;
                    start_time: string;
                    status_code: string;
                    status_message?: string;
                }[];
            };
        };
    };
    responses: {
        "202": {
            content: {
                "application/json": { total_queued: number; total_received: number };
            };
            headers: { [name: string]: unknown };
        };
        "400": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "403": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    detail?: { loc: (string | number)[]; msg: string; type: string }[];
                };
            };
            headers: { [name: string]: unknown };
        };
    };
}
createUser: {
    parameters: {
        cookie?: undefined;
        header?: undefined;
        path?: undefined;
        query?: undefined;
    };
    requestBody: {
        content: {
            "application/json": {
                send_welcome_email?: boolean;
                user: | {
                    auth_method: "LOCAL";
                    email: string;
                    password?: string;
                    role: "SYSTEM"
                    | "ADMIN"
                    | "MEMBER";
                    username: string;
                }
                | {
                    auth_method: "OAUTH2";
                    email: string;
                    oauth2_client_id?: string;
                    oauth2_user_id?: string;
                    role: "SYSTEM"
                    | "ADMIN"
                    | "MEMBER";
                    username: string;
                };
            };
        };
    };
    responses: {
        "201": {
            content: {
                "application/json": {
                    data: | {
                        auth_method: "LOCAL";
                        created_at: string;
                        email: string;
                        id: string;
                        password?: string;
                        password_needs_reset: boolean;
                        role: "SYSTEM"
                        | "ADMIN"
                        | "MEMBER";
                        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";
                        updated_at: string;
                        username: string;
                    };
                };
            };
            headers: { [name: string]: unknown };
        };
        "400": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "403": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "409": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
    };
}
delete_annotation_config_v1_annotation_configs__config_id__delete: {
    parameters: {
        cookie?: undefined;
        header?: undefined;
        path: { config_id: string };
        query?: undefined;
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": {
                    data: | {
                        description?: null
                        | string;
                        id: string;
                        name: string;
                        optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                        type: "CATEGORICAL";
                        values: { label: string; score?: null | number }[];
                    }
                    | {
                        description?: null
                        | string;
                        id: string;
                        lower_bound?: null | number;
                        name: string;
                        optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                        type: "CONTINUOUS";
                        upper_bound?: null | number;
                    }
                    | {
                        description?: null
                        | string;
                        id: string;
                        name: string;
                        type: "FREEFORM";
                    };
                };
            };
            headers: { [name: string]: unknown };
        };
        "403": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    detail?: { loc: (string | number)[]; msg: string; type: string }[];
                };
            };
            headers: { [name: string]: unknown };
        };
    };
}
deleteDatasetById: {
    parameters: {
        cookie?: undefined;
        header?: undefined;
        path: { id: string };
        query?: undefined;
    };
    requestBody?: undefined;
    responses: {
        "204": { content?: undefined; headers: { [name: string]: unknown } };
        "403": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
    };
}
deleteProject: {
    parameters: {
        cookie?: undefined;
        header?: undefined;
        path: { project_identifier: string };
        query?: undefined;
    };
    requestBody?: undefined;
    responses: {
        "204": { content?: undefined; headers: { [name: string]: unknown } };
        "403": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
    };
}
deleteSpan: {
    parameters: {
        cookie?: undefined;
        header?: undefined;
        path: { span_identifier: string };
        query?: undefined;
    };
    requestBody?: undefined;
    responses: {
        "204": { content?: undefined; headers: { [name: string]: unknown } };
        "403": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    detail?: { loc: (string | number)[]; msg: string; type: string }[];
                };
            };
            headers: { [name: string]: unknown };
        };
    };
}
deleteTrace: {
    parameters: {
        cookie?: undefined;
        header?: undefined;
        path: { trace_identifier: string };
        query?: undefined;
    };
    requestBody?: undefined;
    responses: {
        "204": { content?: undefined; headers: { [name: string]: unknown } };
        "403": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    detail?: { loc: (string | number)[]; msg: string; type: string }[];
                };
            };
            headers: { [name: string]: unknown };
        };
    };
}
deleteUser: {
    parameters: {
        cookie?: undefined;
        header?: undefined;
        path: { user_id: string };
        query?: undefined;
    };
    requestBody?: undefined;
    responses: {
        "204": { content?: undefined; headers: { [name: string]: unknown } };
        "403": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
    };
}
get_annotation_config_by_name_or_id_v1_annotation_configs__config_identifier__get: {
    parameters: {
        cookie?: undefined;
        header?: undefined;
        path: { config_identifier: string };
        query?: undefined;
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": {
                    data: | {
                        description?: null
                        | string;
                        id: string;
                        name: string;
                        optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                        type: "CATEGORICAL";
                        values: { label: string; score?: null | number }[];
                    }
                    | {
                        description?: null
                        | string;
                        id: string;
                        lower_bound?: null | number;
                        name: string;
                        optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                        type: "CONTINUOUS";
                        upper_bound?: null | number;
                    }
                    | {
                        description?: null
                        | string;
                        id: string;
                        name: string;
                        type: "FREEFORM";
                    };
                };
            };
            headers: { [name: string]: unknown };
        };
        "403": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    detail?: { loc: (string | number)[]; msg: string; type: string }[];
                };
            };
            headers: { [name: string]: unknown };
        };
    };
}
getDataset: {
    parameters: {
        cookie?: undefined;
        header?: undefined;
        path: { id: string };
        query?: undefined;
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": {
                    data: {
                        created_at: string;
                        description: null
                        | string;
                        example_count: number;
                        id: string;
                        metadata: { [key: string]: unknown };
                        name: string;
                        updated_at: string;
                    };
                };
            };
            headers: { [name: string]: unknown };
        };
        "403": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    detail?: { loc: (string | number)[]; msg: string; type: string }[];
                };
            };
            headers: { [name: string]: unknown };
        };
    };
}
getDatasetCsv: {
    parameters: {
        cookie?: undefined;
        header?: undefined;
        path: { id: string };
        query?: { version_id?: null | string };
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: { "text/csv": string };
            headers: { [name: string]: unknown };
        };
        "403": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
    };
}
getDatasetExamples: {
    parameters: {
        cookie?: undefined;
        header?: undefined;
        path: { id: string };
        query?: { version_id?: null | string };
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": {
                    data: {
                        dataset_id: string;
                        examples: {
                            id: string;
                            input: { [key: string]: unknown };
                            metadata: { [key: string]: unknown };
                            output: { [key: string]: unknown };
                            updated_at: string;
                        }[];
                        version_id: string;
                    };
                };
            };
            headers: { [name: string]: unknown };
        };
        "403": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    detail?: { loc: (string | number)[]; msg: string; type: string }[];
                };
            };
            headers: { [name: string]: unknown };
        };
    };
}
getDatasetJSONLOpenAIEvals: {
    parameters: {
        cookie?: undefined;
        header?: undefined;
        path: { id: string };
        query?: { version_id?: null | string };
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "403": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
    };
}
getDatasetJSONLOpenAIFineTuning: {
    parameters: {
        cookie?: undefined;
        header?: undefined;
        path: { id: string };
        query?: { version_id?: null | string };
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "403": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
    };
}
getEvaluations: {
    parameters: {
        cookie?: undefined;
        header?: undefined;
        path?: undefined;
        query?: { project_name?: null | string };
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: { "application/json": unknown };
            headers: { [name: string]: unknown };
        };
        "403": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    detail?: { loc: (string | number)[]; msg: string; type: string }[];
                };
            };
            headers: { [name: string]: unknown };
        };
    };
}
getExperiment: {
    parameters: {
        cookie?: undefined;
        header?: undefined;
        path: { experiment_id: string };
        query?: undefined;
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": {
                    data: {
                        created_at: string;
                        dataset_id: string;
                        dataset_version_id: string;
                        id: string;
                        metadata: { [key: string]: unknown };
                        project_name: null | string;
                        repetitions: number;
                        updated_at: string;
                    };
                };
            };
            headers: { [name: string]: unknown };
        };
        "403": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    detail?: { loc: (string | number)[]; msg: string; type: string }[];
                };
            };
            headers: { [name: string]: unknown };
        };
    };
}
getExperimentCSV: {
    parameters: {
        cookie?: undefined;
        header?: undefined;
        path: { experiment_id: string };
        query?: undefined;
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: { "application/json": unknown; "text/csv": string };
            headers: { [name: string]: unknown };
        };
        "403": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    detail?: { loc: (string | number)[]; msg: string; type: string }[];
                };
            };
            headers: { [name: string]: unknown };
        };
    };
}
getExperimentJSON: {
    parameters: {
        cookie?: undefined;
        header?: undefined;
        path: { experiment_id: string };
        query?: undefined;
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "403": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    detail?: { loc: (string | number)[]; msg: string; type: string }[];
                };
            };
            headers: { [name: string]: unknown };
        };
    };
}
getProject: {
    parameters: {
        cookie?: undefined;
        header?: undefined;
        path: { project_identifier: string };
        query?: undefined;
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": {
                    data: { description?: null
                    | string; id: string; name: string };
                };
            };
            headers: { [name: string]: unknown };
        };
        "403": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
    };
}
getProjects: {
    parameters: {
        cookie?: undefined;
        header?: undefined;
        path?: undefined;
        query?: {
            cursor?: null | string;
            include_experiment_projects?: boolean;
            limit?: number;
        };
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": {
                    data: { description?: null
                    | string; id: string; name: string }[];
                    next_cursor: null | string;
                };
            };
            headers: { [name: string]: unknown };
        };
        "403": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
    };
}
getPrompts: {
    parameters: {
        cookie?: undefined;
        header?: undefined;
        path?: undefined;
        query?: { cursor?: null | string; limit?: number };
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": {
                    data: {
                        description?: null
                        | string;
                        id: string;
                        name: string;
                        source_prompt_id?: null | string;
                    }[];
                    next_cursor: null
                    | string;
                };
            };
            headers: { [name: string]: unknown };
        };
        "403": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
    };
}
getPromptVersionByPromptVersionId: {
    parameters: {
        cookie?: undefined;
        header?: undefined;
        path: { prompt_version_id: string };
        query?: undefined;
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": {
                    data: {
                        description?: null
                        | string;
                        id: string;
                        invocation_parameters:
                            | {
                                anthropic: {
                                    max_tokens: number;
                                    stop_sequences?: (...)[];
                                    temperature?: number;
                                    thinking?: { type: ... } | { budget_tokens: ...; type: ... };
                                    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?: "minimal"
                                    | "low"
                                    | "medium"
                                    | "high";
                                    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?: "minimal"
                                    | "low"
                                    | "medium"
                                    | "high";
                                    seed?: number;
                                    temperature?: number;
                                    top_p?: number;
                                };
                                type: "deepseek";
                            }
                            | {
                                google: {
                                    frequency_penalty?: number;
                                    max_output_tokens?: number;
                                    presence_penalty?: number;
                                    stop_sequences?: (...)[];
                                    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?: "minimal"
                                    | "low"
                                    | "medium"
                                    | "high";
                                    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?: "minimal"
                                    | "low"
                                    | "medium"
                                    | "high";
                                    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?: "minimal"
                                    | "low"
                                    | "medium"
                                    | "high";
                                    seed?: number;
                                    temperature?: number;
                                    top_p?: number;
                                };
                            };
                        model_name: string;
                        model_provider: | "OPENAI"
                        | "AZURE_OPENAI"
                        | "ANTHROPIC"
                        | "GOOGLE"
                        | "DEEPSEEK"
                        | "XAI"
                        | "OLLAMA"
                        | "AWS";
                        response_format?: | null
                        | {
                            json_schema: {
                                description?: string;
                                name: string;
                                schema?: { [key: ...]: ... };
                                strict?: boolean;
                            };
                            type: "json_schema";
                        };
                        template: | {
                            messages: {
                                content: (...)
                                | (...);
                                role: (...) | (...) | (...) | (...) | (...) | (...) | (...);
                            }[];
                            type: "chat";
                        }
                        | { template: string; type: "string" };
                        template_format: "NONE" | "MUSTACHE" | "F_STRING";
                        template_type: "STR" | "CHAT";
                        tools?:
                            | null
                            | {
                                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?: ...;
                                        name: ...;
                                        parameters?: ...;
                                        strict?: ...;
                                    };
                                    type: "function";
                                }[];
                                type: "tools";
                            };
                    };
                };
            };
            headers: { [name: string]: unknown };
        };
        "403": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
    };
}
getPromptVersionByTagName: {
    parameters: {
        cookie?: undefined;
        header?: undefined;
        path: { prompt_identifier: string; tag_name: string };
        query?: undefined;
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": {
                    data: {
                        description?: null
                        | string;
                        id: string;
                        invocation_parameters:
                            | {
                                anthropic: {
                                    max_tokens: number;
                                    stop_sequences?: (...)[];
                                    temperature?: number;
                                    thinking?: { type: ... } | { budget_tokens: ...; type: ... };
                                    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?: "minimal"
                                    | "low"
                                    | "medium"
                                    | "high";
                                    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?: "minimal"
                                    | "low"
                                    | "medium"
                                    | "high";
                                    seed?: number;
                                    temperature?: number;
                                    top_p?: number;
                                };
                                type: "deepseek";
                            }
                            | {
                                google: {
                                    frequency_penalty?: number;
                                    max_output_tokens?: number;
                                    presence_penalty?: number;
                                    stop_sequences?: (...)[];
                                    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?: "minimal"
                                    | "low"
                                    | "medium"
                                    | "high";
                                    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?: "minimal"
                                    | "low"
                                    | "medium"
                                    | "high";
                                    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?: "minimal"
                                    | "low"
                                    | "medium"
                                    | "high";
                                    seed?: number;
                                    temperature?: number;
                                    top_p?: number;
                                };
                            };
                        model_name: string;
                        model_provider: | "OPENAI"
                        | "AZURE_OPENAI"
                        | "ANTHROPIC"
                        | "GOOGLE"
                        | "DEEPSEEK"
                        | "XAI"
                        | "OLLAMA"
                        | "AWS";
                        response_format?: | null
                        | {
                            json_schema: {
                                description?: string;
                                name: string;
                                schema?: { [key: ...]: ... };
                                strict?: boolean;
                            };
                            type: "json_schema";
                        };
                        template: | {
                            messages: {
                                content: (...)
                                | (...);
                                role: (...) | (...) | (...) | (...) | (...) | (...) | (...);
                            }[];
                            type: "chat";
                        }
                        | { template: string; type: "string" };
                        template_format: "NONE" | "MUSTACHE" | "F_STRING";
                        template_type: "STR" | "CHAT";
                        tools?:
                            | null
                            | {
                                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?: ...;
                                        name: ...;
                                        parameters?: ...;
                                        strict?: ...;
                                    };
                                    type: "function";
                                }[];
                                type: "tools";
                            };
                    };
                };
            };
            headers: { [name: string]: unknown };
        };
        "403": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
    };
}
getPromptVersionLatest: {
    parameters: {
        cookie?: undefined;
        header?: undefined;
        path: { prompt_identifier: string };
        query?: undefined;
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": {
                    data: {
                        description?: null
                        | string;
                        id: string;
                        invocation_parameters:
                            | {
                                anthropic: {
                                    max_tokens: number;
                                    stop_sequences?: (...)[];
                                    temperature?: number;
                                    thinking?: { type: ... } | { budget_tokens: ...; type: ... };
                                    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?: "minimal"
                                    | "low"
                                    | "medium"
                                    | "high";
                                    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?: "minimal"
                                    | "low"
                                    | "medium"
                                    | "high";
                                    seed?: number;
                                    temperature?: number;
                                    top_p?: number;
                                };
                                type: "deepseek";
                            }
                            | {
                                google: {
                                    frequency_penalty?: number;
                                    max_output_tokens?: number;
                                    presence_penalty?: number;
                                    stop_sequences?: (...)[];
                                    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?: "minimal"
                                    | "low"
                                    | "medium"
                                    | "high";
                                    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?: "minimal"
                                    | "low"
                                    | "medium"
                                    | "high";
                                    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?: "minimal"
                                    | "low"
                                    | "medium"
                                    | "high";
                                    seed?: number;
                                    temperature?: number;
                                    top_p?: number;
                                };
                            };
                        model_name: string;
                        model_provider: | "OPENAI"
                        | "AZURE_OPENAI"
                        | "ANTHROPIC"
                        | "GOOGLE"
                        | "DEEPSEEK"
                        | "XAI"
                        | "OLLAMA"
                        | "AWS";
                        response_format?: | null
                        | {
                            json_schema: {
                                description?: string;
                                name: string;
                                schema?: { [key: ...]: ... };
                                strict?: boolean;
                            };
                            type: "json_schema";
                        };
                        template: | {
                            messages: {
                                content: (...)
                                | (...);
                                role: (...) | (...) | (...) | (...) | (...) | (...) | (...);
                            }[];
                            type: "chat";
                        }
                        | { template: string; type: "string" };
                        template_format: "NONE" | "MUSTACHE" | "F_STRING";
                        template_type: "STR" | "CHAT";
                        tools?:
                            | null
                            | {
                                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?: ...;
                                        name: ...;
                                        parameters?: ...;
                                        strict?: ...;
                                    };
                                    type: "function";
                                }[];
                                type: "tools";
                            };
                    };
                };
            };
            headers: { [name: string]: unknown };
        };
        "403": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
    };
}
getPromptVersionTags: {
    parameters: {
        cookie?: undefined;
        header?: undefined;
        path: { prompt_version_id: string };
        query?: { cursor?: null | string; limit?: number };
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": {
                    data: { description?: null
                    | string; id: string; name: string }[];
                    next_cursor: null | string;
                };
            };
            headers: { [name: string]: unknown };
        };
        "403": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
    };
}
getSpans: {
    parameters: {
        cookie?: undefined;
        header?: undefined;
        path: { project_identifier: string };
        query?: {
            cursor?: null | string;
            end_time?: null | string;
            limit?: number;
            start_time?: null | string;
        };
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": {
                    data: {
                        attributes?: { [key: string]: unknown };
                        context: { span_id: string; trace_id: string };
                        end_time: string;
                        events?: {
                            attributes?: (...) | (...);
                            name: string;
                            timestamp: string;
                        }[];
                        id?: string;
                        name: string;
                        parent_id?: null
                        | string;
                        span_kind: string;
                        start_time: string;
                        status_code: string;
                        status_message?: string;
                    }[];
                    next_cursor: null
                    | string;
                };
            };
            headers: { [name: string]: unknown };
        };
        "403": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
    };
}
getUsers: {
    parameters: {
        cookie?: undefined;
        header?: undefined;
        path?: undefined;
        query?: { cursor?: string; limit?: number };
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": {
                    data: (
                        | {
                            auth_method: "LOCAL";
                            created_at: string;
                            email: string;
                            id: string;
                            password?: string;
                            password_needs_reset: boolean;
                            role: "SYSTEM"
                            | "ADMIN"
                            | "MEMBER";
                            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";
                            updated_at: string;
                            username: string;
                        }
                    )[];
                    next_cursor: null
                    | string;
                };
            };
            headers: { [name: string]: unknown };
        };
        "403": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
    };
}
list_annotation_configs_v1_annotation_configs_get: {
    parameters: {
        cookie?: undefined;
        header?: undefined;
        path?: undefined;
        query?: { cursor?: null | string; limit?: number };
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": {
                    data: (
                        | {
                            description?: null
                            | string;
                            id: string;
                            name: string;
                            optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                            type: "CATEGORICAL";
                            values: { label: string; score?: (...) | (...) | (...) }[];
                        }
                        | {
                            description?: null
                            | string;
                            id: string;
                            lower_bound?: null | number;
                            name: string;
                            optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                            type: "CONTINUOUS";
                            upper_bound?: null | number;
                        }
                        | {
                            description?: null
                            | string;
                            id: string;
                            name: string;
                            type: "FREEFORM";
                        }
                    )[];
                    next_cursor: null
                    | string;
                };
            };
            headers: { [name: string]: unknown };
        };
        "403": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    detail?: { loc: (string | number)[]; msg: string; type: string }[];
                };
            };
            headers: { [name: string]: unknown };
        };
    };
}
listDatasets: {
    parameters: {
        cookie?: undefined;
        header?: undefined;
        path?: undefined;
        query?: { cursor?: null | string; limit?: number; name?: null | string };
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": {
                    data: {
                        created_at: string;
                        description: null
                        | string;
                        example_count: number;
                        id: string;
                        metadata: { [key: string]: unknown };
                        name: string;
                        updated_at: string;
                    }[];
                    next_cursor: null
                    | string;
                };
            };
            headers: { [name: string]: unknown };
        };
        "403": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
    };
}
listDatasetVersionsByDatasetId: {
    parameters: {
        cookie?: undefined;
        header?: undefined;
        path: { id: string };
        query?: { cursor?: null | string; limit?: number };
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": {
                    data: {
                        created_at: string;
                        description: null
                        | string;
                        metadata: { [key: string]: unknown };
                        version_id: string;
                    }[];
                    next_cursor: null
                    | string;
                };
            };
            headers: { [name: string]: unknown };
        };
        "403": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
    };
}
listExperimentRuns: {
    parameters: {
        cookie?: undefined;
        header?: undefined;
        path: { experiment_id: string };
        query?: undefined;
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": {
                    data: {
                        dataset_example_id: string;
                        end_time: string;
                        error?: null
                        | string;
                        experiment_id: string;
                        id: string;
                        output: unknown;
                        repetition_number: number;
                        start_time: string;
                        trace_id?: null | string;
                    }[];
                };
            };
            headers: { [name: string]: unknown };
        };
        "403": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    detail?: { loc: (string | number)[]; msg: string; type: string }[];
                };
            };
            headers: { [name: string]: unknown };
        };
    };
}
listExperiments: {
    parameters: {
        cookie?: undefined;
        header?: undefined;
        path: { dataset_id: string };
        query?: undefined;
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": {
                    data: {
                        created_at: string;
                        dataset_id: string;
                        dataset_version_id: string;
                        id: string;
                        metadata: { [key: string]: unknown };
                        project_name: null | string;
                        repetitions: number;
                        updated_at: string;
                    }[];
                };
            };
            headers: { [name: string]: unknown };
        };
        "403": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    detail?: { loc: (string | number)[]; msg: string; type: string }[];
                };
            };
            headers: { [name: string]: unknown };
        };
    };
}
listPromptVersions: {
    parameters: {
        cookie?: undefined;
        header?: undefined;
        path: { prompt_identifier: string };
        query?: { cursor?: null | string; limit?: number };
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": {
                    data: {
                        description?: null
                        | string;
                        id: string;
                        invocation_parameters:
                            | {
                                anthropic: {
                                    max_tokens: number;
                                    stop_sequences?: (...)
                                    | (...);
                                    temperature?: (...) | (...);
                                    thinking?: (...) | (...) | (...);
                                    top_p?: (...) | (...);
                                };
                                type: "anthropic";
                            }
                            | {
                                aws: {
                                    max_tokens?: (...)
                                    | (...);
                                    temperature?: (...) | (...);
                                    top_p?: (...) | (...);
                                };
                                type: "aws";
                            }
                            | {
                                azure_openai: {
                                    frequency_penalty?: (...)
                                    | (...);
                                    max_completion_tokens?: (...) | (...);
                                    max_tokens?: (...) | (...);
                                    presence_penalty?: (...) | (...);
                                    reasoning_effort?: (...) | (...) | (...) | (...) | (...);
                                    seed?: (...) | (...);
                                    temperature?: (...) | (...);
                                    top_p?: (...) | (...);
                                };
                                type: "azure_openai";
                            }
                            | {
                                deepseek: {
                                    frequency_penalty?: (...)
                                    | (...);
                                    max_completion_tokens?: (...) | (...);
                                    max_tokens?: (...) | (...);
                                    presence_penalty?: (...) | (...);
                                    reasoning_effort?: (...) | (...) | (...) | (...) | (...);
                                    seed?: (...) | (...);
                                    temperature?: (...) | (...);
                                    top_p?: (...) | (...);
                                };
                                type: "deepseek";
                            }
                            | {
                                google: {
                                    frequency_penalty?: (...)
                                    | (...);
                                    max_output_tokens?: (...) | (...);
                                    presence_penalty?: (...) | (...);
                                    stop_sequences?: (...) | (...);
                                    temperature?: (...) | (...);
                                    top_k?: (...) | (...);
                                    top_p?: (...) | (...);
                                };
                                type: "google";
                            }
                            | {
                                ollama: {
                                    frequency_penalty?: (...)
                                    | (...);
                                    max_completion_tokens?: (...) | (...);
                                    max_tokens?: (...) | (...);
                                    presence_penalty?: (...) | (...);
                                    reasoning_effort?: (...) | (...) | (...) | (...) | (...);
                                    seed?: (...) | (...);
                                    temperature?: (...) | (...);
                                    top_p?: (...) | (...);
                                };
                                type: "ollama";
                            }
                            | {
                                openai: {
                                    frequency_penalty?: (...)
                                    | (...);
                                    max_completion_tokens?: (...) | (...);
                                    max_tokens?: (...) | (...);
                                    presence_penalty?: (...) | (...);
                                    reasoning_effort?: (...) | (...) | (...) | (...) | (...);
                                    seed?: (...) | (...);
                                    temperature?: (...) | (...);
                                    top_p?: (...) | (...);
                                };
                                type: "openai";
                            }
                            | {
                                type: "xai";
                                xai: {
                                    frequency_penalty?: (...)
                                    | (...);
                                    max_completion_tokens?: (...) | (...);
                                    max_tokens?: (...) | (...);
                                    presence_penalty?: (...) | (...);
                                    reasoning_effort?: (...) | (...) | (...) | (...) | (...);
                                    seed?: (...) | (...);
                                    temperature?: (...) | (...);
                                    top_p?: (...) | (...);
                                };
                            };
                        model_name: string;
                        model_provider: | "OPENAI"
                        | "AZURE_OPENAI"
                        | "ANTHROPIC"
                        | "GOOGLE"
                        | "DEEPSEEK"
                        | "XAI"
                        | "OLLAMA"
                        | "AWS";
                        response_format?: | null
                        | {
                            json_schema: {
                                description?: (...)
                                | (...);
                                name: string;
                                schema?: (...) | (...);
                                strict?: (...) | (...) | (...);
                            };
                            type: "json_schema";
                        };
                        template: | { messages: { content: ...; role: ... }[]; type: "chat" }
                        | { template: string; type: "string" };
                        template_format: "NONE" | "MUSTACHE" | "F_STRING";
                        template_type: "STR" | "CHAT";
                        tools?:
                            | null
                            | {
                                disable_parallel_tool_calls?: boolean;
                                tool_choice?: | { type: ... }
                                | { type: ... }
                                | { function_name: ...; type: ... }
                                | { type: ... };
                                tools: { function: ...; type: ... }[];
                                type: "tools";
                            };
                    }[];
                    next_cursor: null
                    | string;
                };
            };
            headers: { [name: string]: unknown };
        };
        "403": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
    };
}
listSpanAnnotationsBySpanIds: {
    parameters: {
        cookie?: undefined;
        header?: undefined;
        path: { project_identifier: string };
        query: {
            cursor?: null | string;
            exclude_annotation_names?: null | string[];
            include_annotation_names?: null | string[];
            limit?: number;
            span_ids: string[];
        };
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": {
                    data: {
                        annotator_kind: "LLM"
                        | "CODE"
                        | "HUMAN";
                        created_at: string;
                        id: string;
                        identifier?: string;
                        metadata?: null | { [key: string]: unknown };
                        name: string;
                        result?:
                            | null
                            | {
                                explanation?: null
                                | string;
                                label?: null | string;
                                score?: null | number;
                            };
                        source: "API"
                        | "APP";
                        span_id: string;
                        updated_at: string;
                        user_id: null | string;
                    }[];
                    next_cursor: null
                    | string;
                };
            };
            headers: { [name: string]: unknown };
        };
        "403": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
    };
}
postPromptVersion: {
    parameters: {
        cookie?: undefined;
        header?: undefined;
        path?: undefined;
        query?: undefined;
    };
    requestBody: {
        content: {
            "application/json": {
                prompt: {
                    description?: null
                    | string;
                    name: string;
                    source_prompt_id?: null | string;
                };
                version: {
                    description?: null
                    | 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?: "minimal"
                                | "low"
                                | "medium"
                                | "high";
                                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?: "minimal"
                                | "low"
                                | "medium"
                                | "high";
                                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?: "minimal"
                                | "low"
                                | "medium"
                                | "high";
                                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?: "minimal"
                                | "low"
                                | "medium"
                                | "high";
                                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?: "minimal"
                                | "low"
                                | "medium"
                                | "high";
                                seed?: number;
                                temperature?: number;
                                top_p?: number;
                            };
                        };
                    model_name: string;
                    model_provider: | "OPENAI"
                    | "AZURE_OPENAI"
                    | "ANTHROPIC"
                    | "GOOGLE"
                    | "DEEPSEEK"
                    | "XAI"
                    | "OLLAMA"
                    | "AWS";
                    response_format?: | null
                    | {
                        json_schema: {
                            description?: string;
                            name: string;
                            schema?: { [key: string]: unknown };
                            strict?: boolean;
                        };
                        type: "json_schema";
                    };
                    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?:
                        | null
                        | {
                            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?: (...) | (...);
                                    name: string;
                                    parameters?: (...) | (...);
                                    strict?: (...) | (...) | (...);
                                };
                                type: "function";
                            }[];
                            type: "tools";
                        };
                };
            };
        };
    };
    responses: {
        "200": {
            content: {
                "application/json": {
                    data: {
                        description?: null
                        | string;
                        id: string;
                        invocation_parameters:
                            | {
                                anthropic: {
                                    max_tokens: number;
                                    stop_sequences?: (...)[];
                                    temperature?: number;
                                    thinking?: { type: ... } | { budget_tokens: ...; type: ... };
                                    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?: "minimal"
                                    | "low"
                                    | "medium"
                                    | "high";
                                    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?: "minimal"
                                    | "low"
                                    | "medium"
                                    | "high";
                                    seed?: number;
                                    temperature?: number;
                                    top_p?: number;
                                };
                                type: "deepseek";
                            }
                            | {
                                google: {
                                    frequency_penalty?: number;
                                    max_output_tokens?: number;
                                    presence_penalty?: number;
                                    stop_sequences?: (...)[];
                                    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?: "minimal"
                                    | "low"
                                    | "medium"
                                    | "high";
                                    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?: "minimal"
                                    | "low"
                                    | "medium"
                                    | "high";
                                    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?: "minimal"
                                    | "low"
                                    | "medium"
                                    | "high";
                                    seed?: number;
                                    temperature?: number;
                                    top_p?: number;
                                };
                            };
                        model_name: string;
                        model_provider: | "OPENAI"
                        | "AZURE_OPENAI"
                        | "ANTHROPIC"
                        | "GOOGLE"
                        | "DEEPSEEK"
                        | "XAI"
                        | "OLLAMA"
                        | "AWS";
                        response_format?: | null
                        | {
                            json_schema: {
                                description?: string;
                                name: string;
                                schema?: { [key: ...]: ... };
                                strict?: boolean;
                            };
                            type: "json_schema";
                        };
                        template: | {
                            messages: {
                                content: (...)
                                | (...);
                                role: (...) | (...) | (...) | (...) | (...) | (...) | (...);
                            }[];
                            type: "chat";
                        }
                        | { template: string; type: "string" };
                        template_format: "NONE" | "MUSTACHE" | "F_STRING";
                        template_type: "STR" | "CHAT";
                        tools?:
                            | null
                            | {
                                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?: ...;
                                        name: ...;
                                        parameters?: ...;
                                        strict?: ...;
                                    };
                                    type: "function";
                                }[];
                                type: "tools";
                            };
                    };
                };
            };
            headers: { [name: string]: unknown };
        };
        "403": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
    };
}
spanSearch: {
    parameters: {
        cookie?: undefined;
        header?: undefined;
        path: { project_identifier: string };
        query?: {
            cursor?: null | string;
            end_time?: null | string;
            limit?: number;
            start_time?: null | string;
        };
    };
    requestBody?: undefined;
    responses: {
        "200": {
            content: {
                "application/json": {
                    data: {
                        attributes?: | null
                        | { key?: (...)
                        | (...)
                        | (...); value?: (...) | (...) | (...) }[];
                        dropped_attributes_count?: null | number;
                        dropped_events_count?: null | number;
                        dropped_links_count?: null | number;
                        end_time_unix_nano?: null | string | number;
                        events?:
                            | null
                            | {
                                attributes?: (...)
                                | (...)
                                | (...);
                                dropped_attributes_count?: (...) | (...) | (...);
                                name?: (...) | (...) | (...);
                                time_unix_nano?: (...) | (...) | (...) | (...);
                            }[];
                        flags?: null
                        | number;
                        kind?:
                            | null
                            | number
                            | "SPAN_KIND_UNSPECIFIED"
                            | "SPAN_KIND_INTERNAL"
                            | "SPAN_KIND_SERVER"
                            | "SPAN_KIND_CLIENT"
                            | "SPAN_KIND_PRODUCER"
                            | "SPAN_KIND_CONSUMER";
                        links?: null;
                        name?: null
                        | string;
                        parent_span_id?: null | string;
                        span_id?: null | string;
                        start_time_unix_nano?: null | string | number;
                        status?: null | { code?: null | number; message?: null | string };
                        trace_id?: null | string;
                        trace_state?: null | string;
                    }[];
                    next_cursor: null
                    | string;
                };
            };
            headers: { [name: string]: unknown };
        };
        "403": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
    };
}
update_annotation_config_v1_annotation_configs__config_id__put: {
    parameters: {
        cookie?: undefined;
        header?: undefined;
        path: { config_id: string };
        query?: undefined;
    };
    requestBody: {
        content: {
            "application/json": | {
                description?: null
                | string;
                name: string;
                optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                type: "CATEGORICAL";
                values: { label: string; score?: null | number }[];
            }
            | {
                description?: null
                | string;
                lower_bound?: null | number;
                name: string;
                optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                type: "CONTINUOUS";
                upper_bound?: null | number;
            }
            | { description?: null
            | string; name: string; type: "FREEFORM" };
        };
    };
    responses: {
        "200": {
            content: {
                "application/json": {
                    data: | {
                        description?: null
                        | string;
                        id: string;
                        name: string;
                        optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                        type: "CATEGORICAL";
                        values: { label: string; score?: null | number }[];
                    }
                    | {
                        description?: null
                        | string;
                        id: string;
                        lower_bound?: null | number;
                        name: string;
                        optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                        type: "CONTINUOUS";
                        upper_bound?: null | number;
                    }
                    | {
                        description?: null
                        | string;
                        id: string;
                        name: string;
                        type: "FREEFORM";
                    };
                };
            };
            headers: { [name: string]: unknown };
        };
        "403": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    detail?: { loc: (string | number)[]; msg: string; type: string }[];
                };
            };
            headers: { [name: string]: unknown };
        };
    };
}
updateProject: {
    parameters: {
        cookie?: undefined;
        header?: undefined;
        path: { project_identifier: string };
        query?: undefined;
    };
    requestBody: {
        content: { "application/json": { description?: null
        | string } };
    };
    responses: {
        "200": {
            content: {
                "application/json": {
                    data: { description?: null
                    | string; id: string; name: string };
                };
            };
            headers: { [name: string]: unknown };
        };
        "403": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
    };
}
uploadDataset: {
    parameters: {
        cookie?: undefined;
        header?: undefined;
        path?: undefined;
        query?: { sync?: boolean };
    };
    requestBody?: {
        content: {
            "application/json": {
                action?: "create"
                | "append";
                description?: string;
                inputs: Record<string, unknown>[];
                metadata?: Record<string, unknown>[];
                name: string;
                outputs?: Record<string, unknown>[];
            };
            "multipart/form-data": {
                action?: "create"
                | "append";
                description?: string;
                file: string;
                "input_keys[]": string[];
                "metadata_keys[]"?: string[];
                name: string;
                "output_keys[]": string[];
            };
        };
    };
    responses: {
        "200": {
            content: {
                "application/json": | null
                | { data: { dataset_id: string; version_id: string } };
            };
            headers: { [name: string]: unknown };
        };
        "403": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "409": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
    };
}
upsertExperimentEvaluation: {
    parameters: {
        cookie?: undefined;
        header?: undefined;
        path?: undefined;
        query?: undefined;
    };
    requestBody: {
        content: {
            "application/json": {
                annotator_kind: "LLM"
                | "CODE"
                | "HUMAN";
                end_time: string;
                error?: null | string;
                experiment_run_id: string;
                metadata?: null | { [key: string]: unknown };
                name: string;
                result?:
                    | null
                    | {
                        explanation?: null
                        | string;
                        label?: null | string;
                        score?: null | number;
                    };
                start_time: string;
                trace_id?: null
                | string;
            };
        };
    };
    responses: {
        "200": {
            content: { "application/json": { data: { id: string } } };
            headers: { [name: string]: unknown };
        };
        "403": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "404": {
            content: { "text/plain": string };
            headers: { [name: string]: unknown };
        };
        "422": {
            content: {
                "application/json": {
                    detail?: { loc: (string | number)[]; msg: string; type: string }[];
                };
            };
            headers: { [name: string]: unknown };
        };
    };
}