Arize Phoenix TS
    Preparing search index...
    interface operations {
        _initiate_password_reset_auth_password_reset_email_post: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: { "application/json": unknown };
                    headers: { [name: string]: unknown };
                };
            };
        };
        _ldap_login_auth_ldap_login_post: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: { "application/json": unknown };
                    headers: { [name: string]: unknown };
                };
            };
        };
        _login_auth_login_post: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: { "application/json": unknown };
                    headers: { [name: string]: unknown };
                };
            };
        };
        _logout_auth_logout_get: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: { "application/json": unknown };
                    headers: { [name: string]: unknown };
                };
            };
        };
        _refresh_tokens_auth_refresh_post: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: { "application/json": unknown };
                    headers: { [name: string]: unknown };
                };
            };
        };
        _reset_password_auth_password_reset_post: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: { "application/json": unknown };
                    headers: { [name: string]: unknown };
                };
            };
        };
        annotateSessions: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: { sync?: boolean };
            };
            requestBody: {
                content: {
                    "application/json": {
                        data: {
                            annotator_kind: "LLM"
                            | "CODE"
                            | "HUMAN";
                            identifier?: string;
                            metadata?: { [key: string]: unknown } | null;
                            name: string;
                            result?:
                                | {
                                    explanation?: string
                                    | null;
                                    label?: string | null;
                                    score?: number | null;
                                }
                                | null;
                            session_id: string;
                        }[];
                    };
                };
            };
            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?: {
                                ctx?: Record<string, unknown>;
                                input?: unknown;
                                loc: (string | number)[];
                                msg: string;
                                type: string;
                            }[];
                        };
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        annotateSpanDocuments: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: { sync?: boolean };
            };
            requestBody: {
                content: {
                    "application/json": {
                        data: {
                            annotator_kind: "LLM"
                            | "CODE"
                            | "HUMAN";
                            document_position: number;
                            identifier?: string;
                            metadata?: { [key: string]: unknown } | null;
                            name: string;
                            result?:
                                | {
                                    explanation?: string
                                    | null;
                                    label?: string | null;
                                    score?: number | null;
                                }
                                | null;
                            span_id: string;
                        }[];
                    };
                };
            };
            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: { "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?: { [key: string]: unknown } | null;
                            name: string;
                            result?:
                                | {
                                    explanation?: string
                                    | null;
                                    label?: string | null;
                                    score?: number | null;
                                }
                                | null;
                            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?: {
                                ctx?: Record<string, unknown>;
                                input?: unknown;
                                loc: (string | number)[];
                                msg: string;
                                type: string;
                            }[];
                        };
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        annotateTraces: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: { sync?: boolean };
            };
            requestBody: {
                content: {
                    "application/json": {
                        data: {
                            annotator_kind: "LLM"
                            | "CODE"
                            | "HUMAN";
                            identifier?: string;
                            metadata?: { [key: string]: unknown } | null;
                            name: string;
                            result?:
                                | {
                                    explanation?: string
                                    | null;
                                    label?: string | null;
                                    score?: number | null;
                                }
                                | null;
                            trace_id: string;
                        }[];
                    };
                };
            };
            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?: {
                                ctx?: Record<string, unknown>;
                                input?: unknown;
                                loc: (string | number)[];
                                msg: string;
                                type: string;
                            }[];
                        };
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        chat_agents__agent_id__sessions__session_id__chat_post: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { agent_id: string; session_id: string };
                query?: undefined;
            };
            requestBody: {
                content: {
                    "application/json": | {
                        contexts?: (
                            | {
                                otelSpanId?: (...)
                                | (...)
                                | (...);
                                projectNodeId?: (...) | (...) | (...);
                                spanNodeId?: (...) | (...) | (...);
                                type: "span";
                            }
                            | { currentDateTime: string; timeZone: string; type: "app" }
                            | {
                                projectNodeId: string;
                                rootSpansOnly?: (...) | (...) | (...) | (...);
                                spanFilter?: (...) | (...) | (...);
                                type: "project";
                            }
                            | { otelTraceId: string; projectNodeId: string; type: "trace" }
                            | { instanceIds: (...)[]; type: "playground" }
                            | { mutationsEnabled: boolean; type: "graphql" }
                            | { enabled: boolean; type: "web_access" }
                        )[];
                        exportRemoteTraces?: boolean;
                        id: string;
                        ingestTraces?: boolean;
                        messageId?: string | null;
                        messages: {
                            id: string;
                            metadata?:
                                | {
                                    sessionId: string;
                                    trace?: (...)
                                    | (...)
                                    | (...);
                                    usage?: (...) | (...) | (...);
                                }
                                | null;
                            parts: (
                                | { providerMetadata?: ...; state?: ...; text: ...; type?: ... }
                                | { providerMetadata?: ...; state?: ...; text: ...; type?: ... }
                                | {
                                    approval?: ...;
                                    callProviderMetadata?: ...;
                                    input?: ...;
                                    providerExecuted?: ...;
                                    state?: ...;
                                    toolCallId: ...;
                                    type: ...;
                                }
                                | {
                                    approval?: ...;
                                    callProviderMetadata?: ...;
                                    input?: ...;
                                    providerExecuted?: ...;
                                    state?: ...;
                                    toolCallId: ...;
                                    type: ...;
                                }
                                | {
                                    approval?: ...;
                                    callProviderMetadata?: ...;
                                    input?: ...;
                                    output?: ...;
                                    preliminary?: ...;
                                    providerExecuted?: ...;
                                    state?: ...;
                                    toolCallId: ...;
                                    type: ...;
                                }
                                | {
                                    approval?: ...;
                                    callProviderMetadata?: ...;
                                    errorText: ...;
                                    input?: ...;
                                    providerExecuted?: ...;
                                    rawInput?: ...;
                                    state?: ...;
                                    toolCallId: ...;
                                    type: ...;
                                }
                                | {
                                    approval?: ...;
                                    callProviderMetadata?: ...;
                                    input?: ...;
                                    providerExecuted?: ...;
                                    state?: ...;
                                    toolCallId: ...;
                                    type: ...;
                                }
                                | {
                                    approval?: ...;
                                    callProviderMetadata?: ...;
                                    input?: ...;
                                    providerExecuted?: ...;
                                    state?: ...;
                                    toolCallId: ...;
                                    type: ...;
                                }
                                | {
                                    approval?: ...;
                                    callProviderMetadata?: ...;
                                    input?: ...;
                                    providerExecuted?: ...;
                                    state?: ...;
                                    toolCallId: ...;
                                    type: ...;
                                }
                                | {
                                    approval?: ...;
                                    callProviderMetadata?: ...;
                                    input?: ...;
                                    state?: ...;
                                    toolCallId: ...;
                                    toolName: ...;
                                    type?: ...;
                                }
                                | {
                                    approval?: ...;
                                    callProviderMetadata?: ...;
                                    input: ...;
                                    state?: ...;
                                    toolCallId: ...;
                                    toolName: ...;
                                    type?: ...;
                                }
                                | {
                                    approval?: ...;
                                    callProviderMetadata?: ...;
                                    input: ...;
                                    output: ...;
                                    preliminary?: ...;
                                    state?: ...;
                                    toolCallId: ...;
                                    toolName: ...;
                                    type?: ...;
                                }
                                | {
                                    approval?: ...;
                                    callProviderMetadata?: ...;
                                    errorText: ...;
                                    input: ...;
                                    state?: ...;
                                    toolCallId: ...;
                                    toolName: ...;
                                    type?: ...;
                                }
                                | {
                                    approval?: ...;
                                    callProviderMetadata?: ...;
                                    input: ...;
                                    state?: ...;
                                    toolCallId: ...;
                                    toolName: ...;
                                    type?: ...;
                                }
                                | {
                                    approval?: ...;
                                    callProviderMetadata?: ...;
                                    input: ...;
                                    state?: ...;
                                    toolCallId: ...;
                                    toolName: ...;
                                    type?: ...;
                                }
                                | {
                                    approval?: ...;
                                    callProviderMetadata?: ...;
                                    input: ...;
                                    state?: ...;
                                    toolCallId: ...;
                                    toolName: ...;
                                    type?: ...;
                                }
                                | {
                                    providerMetadata?: ...;
                                    sourceId: ...;
                                    title?: ...;
                                    type?: ...;
                                    url: ...;
                                }
                                | {
                                    filename?: ...;
                                    mediaType: ...;
                                    providerMetadata?: ...;
                                    sourceId: ...;
                                    title: ...;
                                    type?: ...;
                                }
                                | {
                                    filename?: ...;
                                    mediaType: ...;
                                    providerMetadata?: ...;
                                    type?: ...;
                                    url: ...;
                                }
                                | { data: ...; id?: ...; type: ... }
                                | { type?: ... }
                            )[];
                            role: "system" | "user" | "assistant";
                        }[];
                        model: | {
                            modelName: string;
                            openaiApiType?: "chat_completions"
                            | "responses";
                            provider:
                                | "OPENAI"
                                | "AZURE_OPENAI"
                                | "ANTHROPIC"
                                | "GOOGLE"
                                | "DEEPSEEK"
                                | "XAI"
                                | "OLLAMA"
                                | "AWS"
                                | "CEREBRAS"
                                | "FIREWORKS"
                                | "GROQ"
                                | "MOONSHOT"
                                | "PERPLEXITY"
                                | "TOGETHER";
                            providerType: "builtin";
                        }
                        | { modelName: string; providerId: string; providerType: "custom" };
                        trigger: "regenerate-message";
                    } & { [key: string]: unknown }
                    | {
                        contexts?: (
                            | {
                                otelSpanId?: (...)
                                | (...)
                                | (...);
                                projectNodeId?: (...) | (...) | (...);
                                spanNodeId?: (...) | (...) | (...);
                                type: "span";
                            }
                            | { currentDateTime: string; timeZone: string; type: "app" }
                            | {
                                projectNodeId: string;
                                rootSpansOnly?: (...) | (...) | (...) | (...);
                                spanFilter?: (...) | (...) | (...);
                                type: "project";
                            }
                            | { otelTraceId: string; projectNodeId: string; type: "trace" }
                            | { instanceIds: (...)[]; type: "playground" }
                            | { mutationsEnabled: boolean; type: "graphql" }
                            | { enabled: boolean; type: "web_access" }
                        )[];
                        exportRemoteTraces?: boolean;
                        id: string;
                        ingestTraces?: boolean;
                        messages: {
                            id: string;
                            metadata?:
                                | {
                                    sessionId: string;
                                    trace?: (...)
                                    | (...)
                                    | (...);
                                    usage?: (...) | (...) | (...);
                                }
                                | null;
                            parts: (
                                | { providerMetadata?: ...; state?: ...; text: ...; type?: ... }
                                | { providerMetadata?: ...; state?: ...; text: ...; type?: ... }
                                | {
                                    approval?: ...;
                                    callProviderMetadata?: ...;
                                    input?: ...;
                                    providerExecuted?: ...;
                                    state?: ...;
                                    toolCallId: ...;
                                    type: ...;
                                }
                                | {
                                    approval?: ...;
                                    callProviderMetadata?: ...;
                                    input?: ...;
                                    providerExecuted?: ...;
                                    state?: ...;
                                    toolCallId: ...;
                                    type: ...;
                                }
                                | {
                                    approval?: ...;
                                    callProviderMetadata?: ...;
                                    input?: ...;
                                    output?: ...;
                                    preliminary?: ...;
                                    providerExecuted?: ...;
                                    state?: ...;
                                    toolCallId: ...;
                                    type: ...;
                                }
                                | {
                                    approval?: ...;
                                    callProviderMetadata?: ...;
                                    errorText: ...;
                                    input?: ...;
                                    providerExecuted?: ...;
                                    rawInput?: ...;
                                    state?: ...;
                                    toolCallId: ...;
                                    type: ...;
                                }
                                | {
                                    approval?: ...;
                                    callProviderMetadata?: ...;
                                    input?: ...;
                                    providerExecuted?: ...;
                                    state?: ...;
                                    toolCallId: ...;
                                    type: ...;
                                }
                                | {
                                    approval?: ...;
                                    callProviderMetadata?: ...;
                                    input?: ...;
                                    providerExecuted?: ...;
                                    state?: ...;
                                    toolCallId: ...;
                                    type: ...;
                                }
                                | {
                                    approval?: ...;
                                    callProviderMetadata?: ...;
                                    input?: ...;
                                    providerExecuted?: ...;
                                    state?: ...;
                                    toolCallId: ...;
                                    type: ...;
                                }
                                | {
                                    approval?: ...;
                                    callProviderMetadata?: ...;
                                    input?: ...;
                                    state?: ...;
                                    toolCallId: ...;
                                    toolName: ...;
                                    type?: ...;
                                }
                                | {
                                    approval?: ...;
                                    callProviderMetadata?: ...;
                                    input: ...;
                                    state?: ...;
                                    toolCallId: ...;
                                    toolName: ...;
                                    type?: ...;
                                }
                                | {
                                    approval?: ...;
                                    callProviderMetadata?: ...;
                                    input: ...;
                                    output: ...;
                                    preliminary?: ...;
                                    state?: ...;
                                    toolCallId: ...;
                                    toolName: ...;
                                    type?: ...;
                                }
                                | {
                                    approval?: ...;
                                    callProviderMetadata?: ...;
                                    errorText: ...;
                                    input: ...;
                                    state?: ...;
                                    toolCallId: ...;
                                    toolName: ...;
                                    type?: ...;
                                }
                                | {
                                    approval?: ...;
                                    callProviderMetadata?: ...;
                                    input: ...;
                                    state?: ...;
                                    toolCallId: ...;
                                    toolName: ...;
                                    type?: ...;
                                }
                                | {
                                    approval?: ...;
                                    callProviderMetadata?: ...;
                                    input: ...;
                                    state?: ...;
                                    toolCallId: ...;
                                    toolName: ...;
                                    type?: ...;
                                }
                                | {
                                    approval?: ...;
                                    callProviderMetadata?: ...;
                                    input: ...;
                                    state?: ...;
                                    toolCallId: ...;
                                    toolName: ...;
                                    type?: ...;
                                }
                                | {
                                    providerMetadata?: ...;
                                    sourceId: ...;
                                    title?: ...;
                                    type?: ...;
                                    url: ...;
                                }
                                | {
                                    filename?: ...;
                                    mediaType: ...;
                                    providerMetadata?: ...;
                                    sourceId: ...;
                                    title: ...;
                                    type?: ...;
                                }
                                | {
                                    filename?: ...;
                                    mediaType: ...;
                                    providerMetadata?: ...;
                                    type?: ...;
                                    url: ...;
                                }
                                | { data: ...; id?: ...; type: ... }
                                | { type?: ... }
                            )[];
                            role: "system" | "user" | "assistant";
                        }[];
                        model: | {
                            modelName: string;
                            openaiApiType?: "chat_completions"
                            | "responses";
                            provider:
                                | "OPENAI"
                                | "AZURE_OPENAI"
                                | "ANTHROPIC"
                                | "GOOGLE"
                                | "DEEPSEEK"
                                | "XAI"
                                | "OLLAMA"
                                | "AWS"
                                | "CEREBRAS"
                                | "FIREWORKS"
                                | "GROQ"
                                | "MOONSHOT"
                                | "PERPLEXITY"
                                | "TOGETHER";
                            providerType: "builtin";
                        }
                        | { modelName: string; providerId: string; providerType: "custom" };
                        trigger: "submit-message";
                    } & { [key: string]: unknown };
                };
            };
            responses: {
                "200": {
                    content: { "application/json": unknown };
                    headers: { [name: string]: unknown };
                };
                "422": {
                    content: {
                        "application/json": {
                            detail?: {
                                ctx?: Record<string, unknown>;
                                input?: unknown;
                                loc: (string | number)[];
                                msg: string;
                                type: string;
                            }[];
                        };
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        check_healthz_healthz_get: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: { "application/json": unknown };
                    headers: { [name: string]: unknown };
                };
            };
        };
        check_readyz_readyz_get: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: { "application/json": unknown };
                    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?: string
                        | null;
                        name: string;
                        optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                        type: "CATEGORICAL";
                        values: { label: string; score?: number | null }[];
                    }
                    | {
                        description?: string
                        | null;
                        lower_bound?: number | null;
                        name: string;
                        optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                        type: "CONTINUOUS";
                        upper_bound?: number | null;
                    }
                    | {
                        description?: string
                        | null;
                        lower_bound?: number | null;
                        name: string;
                        optimization_direction?: "MINIMIZE" | "MAXIMIZE" | "NONE" | null;
                        threshold?: number | null;
                        type: "FREEFORM";
                        upper_bound?: number | null;
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            data: | {
                                description?: string
                                | null;
                                id: string;
                                name: string;
                                optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                                type: "CATEGORICAL";
                                values: { label: string; score?: number | null }[];
                            }
                            | {
                                description?: string
                                | null;
                                id: string;
                                lower_bound?: number | null;
                                name: string;
                                optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                                type: "CONTINUOUS";
                                upper_bound?: number | null;
                            }
                            | {
                                description?: string
                                | null;
                                id: string;
                                lower_bound?: number | null;
                                name: string;
                                optimization_direction?: "MINIMIZE" | "MAXIMIZE" | "NONE" | null;
                                threshold?: number | null;
                                type: "FREEFORM";
                                upper_bound?: number | null;
                            };
                        };
                    };
                    headers: { [name: string]: unknown };
                };
                "403": {
                    content: { "text/plain": string };
                    headers: { [name: string]: unknown };
                };
                "422": {
                    content: {
                        "application/json": {
                            detail?: {
                                ctx?: Record<string, unknown>;
                                input?: unknown;
                                loc: (string | number)[];
                                msg: string;
                                type: string;
                            }[];
                        };
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        create_tokens_oauth2__idp_name__tokens_get: {
            parameters: {
                cookie: {
                    "phoenix-oauth2-code-verifier"?: string
                    | null;
                    "phoenix-oauth2-nonce": string;
                    "phoenix-oauth2-state": string;
                };
                header?: undefined;
                path: { idp_name: string };
                query: {
                    code?: string | null;
                    error?: string | null;
                    error_description?: string | null;
                    state: string;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: { "application/json": unknown };
                    headers: { [name: string]: unknown };
                };
                "422": {
                    content: {
                        "application/json": {
                            detail?: {
                                ctx?: Record<string, unknown>;
                                input?: unknown;
                                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?: string
                        | null;
                        metadata?: { [key: string]: unknown } | null;
                        name?: string | null;
                        repetitions?: number;
                        splits?: string[] | null;
                        version_id?: string | null;
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            data: {
                                created_at: string;
                                dataset_id: string;
                                dataset_version_id: string;
                                example_count: number;
                                failed_run_count: number;
                                id: string;
                                metadata: { [key: string]: unknown };
                                missing_run_count: number;
                                project_name: string | null;
                                repetitions: number;
                                successful_run_count: number;
                                updated_at: string;
                            };
                        };
                    };
                    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?: {
                                ctx?: Record<string, unknown>;
                                input?: unknown;
                                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?: string
                        | null;
                        output: unknown;
                        repetition_number: number;
                        start_time: string;
                        trace_id?: string | null;
                    };
                };
            };
            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?: {
                                ctx?: Record<string, unknown>;
                                input?: unknown;
                                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?: string
                    | null; name: string };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            data: { description?: string
                            | null; 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?: string
                    | null; 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 };
                };
            };
        };
        createSessionNote: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody: {
                content: {
                    "application/json": {
                        data: { identifier?: string; note: string; session_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?: {
                                ctx?: Record<string, unknown>;
                                input?: unknown;
                                loc: (string | number)[];
                                msg: string;
                                type: string;
                            }[];
                        };
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        createSpanNote: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody: {
                content: {
                    "application/json": {
                        data: { identifier?: string; note: string; 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?: {
                                ctx?: Record<string, unknown>;
                                input?: unknown;
                                loc: (string | number)[];
                                msg: string;
                                type: 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?: string
                            | null;
                            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?: {
                                ctx?: Record<string, unknown>;
                                input?: unknown;
                                loc: (string | number)[];
                                msg: string;
                                type: string;
                            }[];
                        };
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        createTraceNote: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody: {
                content: {
                    "application/json": {
                        data: { identifier?: string; note: string; trace_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?: {
                                ctx?: Record<string, unknown>;
                                input?: unknown;
                                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"
                            | "VIEWER";
                            username: string;
                        }
                        | {
                            auth_method: "OAUTH2";
                            email: string;
                            oauth2_client_id?: string;
                            oauth2_user_id?: string;
                            role: "SYSTEM"
                            | "ADMIN"
                            | "MEMBER"
                            | "VIEWER";
                            username: string;
                        }
                        | {
                            auth_method: "LDAP";
                            email: string;
                            role: "SYSTEM"
                            | "ADMIN"
                            | "MEMBER"
                            | "VIEWER";
                            username: string;
                        };
                    };
                };
            };
            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"
                                | "VIEWER";
                                updated_at: string;
                                username: string;
                            }
                            | {
                                auth_method: "OAUTH2";
                                created_at: string;
                                email: string;
                                id: string;
                                oauth2_client_id?: string;
                                oauth2_user_id?: string;
                                profile_picture_url?: string;
                                role: "SYSTEM"
                                | "ADMIN"
                                | "MEMBER"
                                | "VIEWER";
                                updated_at: string;
                                username: string;
                            }
                            | {
                                auth_method: "LDAP";
                                created_at: string;
                                email: string;
                                id: string;
                                role: "SYSTEM"
                                | "ADMIN"
                                | "MEMBER"
                                | "VIEWER";
                                updated_at: string;
                                username: string;
                            };
                        };
                    };
                    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?: string
                                | null;
                                id: string;
                                name: string;
                                optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                                type: "CATEGORICAL";
                                values: { label: string; score?: number | null }[];
                            }
                            | {
                                description?: string
                                | null;
                                id: string;
                                lower_bound?: number | null;
                                name: string;
                                optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                                type: "CONTINUOUS";
                                upper_bound?: number | null;
                            }
                            | {
                                description?: string
                                | null;
                                id: string;
                                lower_bound?: number | null;
                                name: string;
                                optimization_direction?: "MINIMIZE" | "MAXIMIZE" | "NONE" | null;
                                threshold?: number | null;
                                type: "FREEFORM";
                                upper_bound?: number | null;
                            };
                        };
                    };
                    headers: { [name: string]: unknown };
                };
                "403": {
                    content: { "text/plain": string };
                    headers: { [name: string]: unknown };
                };
                "422": {
                    content: {
                        "application/json": {
                            detail?: {
                                ctx?: Record<string, unknown>;
                                input?: unknown;
                                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 };
                };
            };
        };
        deleteExperiment: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { experiment_id: string };
                query?: { delete_project?: boolean };
            };
            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?: {
                                ctx?: Record<string, unknown>;
                                input?: unknown;
                                loc: (string | number)[];
                                msg: string;
                                type: 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 };
                };
            };
        };
        deletePrompt: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { prompt_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 };
                };
            };
        };
        deletePromptVersionTag: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { prompt_version_id: string; tag_name: 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 };
                };
            };
        };
        deleteSession: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { session_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?: {
                                ctx?: Record<string, unknown>;
                                input?: unknown;
                                loc: (string | number)[];
                                msg: string;
                                type: string;
                            }[];
                        };
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        deleteSessionAnnotations: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { project_identifier: string };
                query?: {
                    annotator_kind?: "LLM" | "CODE" | "HUMAN" | null;
                    delete_all?: boolean;
                    end_time?: string | null;
                    identifier?: string | null;
                    name?: string | null;
                    start_time?: string | null;
                };
            };
            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 };
                };
            };
        };
        deleteSessions: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody: {
                content: { "application/json": { session_identifiers: string[] } };
            };
            responses: {
                "204": { content?: undefined; headers: { [name: string]: unknown } };
                "403": {
                    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?: {
                                ctx?: Record<string, unknown>;
                                input?: unknown;
                                loc: (string | number)[];
                                msg: string;
                                type: string;
                            }[];
                        };
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        deleteSpanAnnotations: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { project_identifier: string };
                query?: {
                    annotator_kind?: "LLM" | "CODE" | "HUMAN" | null;
                    delete_all?: boolean;
                    end_time?: string | null;
                    identifier?: string | null;
                    name?: string | null;
                    start_time?: string | null;
                };
            };
            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 };
                };
            };
        };
        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?: {
                                ctx?: Record<string, unknown>;
                                input?: unknown;
                                loc: (string | number)[];
                                msg: string;
                                type: string;
                            }[];
                        };
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        deleteTraceAnnotations: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { project_identifier: string };
                query?: {
                    annotator_kind?: "LLM" | "CODE" | "HUMAN" | null;
                    delete_all?: boolean;
                    end_time?: string | null;
                    identifier?: string | null;
                    name?: string | null;
                    start_time?: string | null;
                };
            };
            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 };
                };
            };
        };
        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?: string
                                | null;
                                id: string;
                                name: string;
                                optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                                type: "CATEGORICAL";
                                values: { label: string; score?: number | null }[];
                            }
                            | {
                                description?: string
                                | null;
                                id: string;
                                lower_bound?: number | null;
                                name: string;
                                optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                                type: "CONTINUOUS";
                                upper_bound?: number | null;
                            }
                            | {
                                description?: string
                                | null;
                                id: string;
                                lower_bound?: number | null;
                                name: string;
                                optimization_direction?: "MINIMIZE" | "MAXIMIZE" | "NONE" | null;
                                threshold?: number | null;
                                type: "FREEFORM";
                                upper_bound?: number | null;
                            };
                        };
                    };
                    headers: { [name: string]: unknown };
                };
                "403": {
                    content: { "text/plain": string };
                    headers: { [name: string]: unknown };
                };
                "422": {
                    content: {
                        "application/json": {
                            detail?: {
                                ctx?: Record<string, unknown>;
                                input?: unknown;
                                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: string
                                | null;
                                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?: {
                                ctx?: Record<string, unknown>;
                                input?: unknown;
                                loc: (string | number)[];
                                msg: string;
                                type: string;
                            }[];
                        };
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        getDatasetCsv: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { id: string };
                query?: { version_id?: string | null };
            };
            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?: { split?: string[] | null; version_id?: string | null };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            data: {
                                dataset_id: string;
                                examples: {
                                    id: string;
                                    input: { [key: string]: unknown };
                                    metadata: { [key: string]: unknown };
                                    node_id: string;
                                    output: { [key: string]: unknown };
                                    updated_at: string;
                                }[];
                                filtered_splits?: 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?: {
                                ctx?: Record<string, unknown>;
                                input?: unknown;
                                loc: (string | number)[];
                                msg: string;
                                type: string;
                            }[];
                        };
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        getDatasetJSONL: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { id: string };
                query?: { version_id?: string | null };
            };
            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 };
                };
            };
        };
        getDatasetJSONLOpenAIEvals: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { id: string };
                query?: { version_id?: string | null };
            };
            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?: string | null };
            };
            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 };
                };
            };
        };
        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;
                                example_count: number;
                                failed_run_count: number;
                                id: string;
                                metadata: { [key: string]: unknown };
                                missing_run_count: number;
                                project_name: string | null;
                                repetitions: number;
                                successful_run_count: number;
                                updated_at: string;
                            };
                        };
                    };
                    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?: {
                                ctx?: Record<string, unknown>;
                                input?: unknown;
                                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?: {
                                ctx?: Record<string, unknown>;
                                input?: unknown;
                                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?: {
                                ctx?: Record<string, unknown>;
                                input?: unknown;
                                loc: (string | number)[];
                                msg: string;
                                type: string;
                            }[];
                        };
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        getIncompleteExperimentEvaluations: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { experiment_id: string };
                query?: {
                    cursor?: string | null;
                    evaluation_name?: string[];
                    limit?: number;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            data: {
                                dataset_example: {
                                    id: string;
                                    input: { [key: string]: unknown };
                                    metadata: { [key: string]: unknown };
                                    node_id: string;
                                    output: { [key: string]: unknown };
                                    updated_at: string;
                                };
                                evaluation_names: string[];
                                experiment_run: {
                                    dataset_example_id: string;
                                    end_time: string;
                                    error?: string
                                    | null;
                                    experiment_id: string;
                                    id: string;
                                    output: unknown;
                                    repetition_number: number;
                                    start_time: string;
                                    trace_id?: string | null;
                                };
                            }[];
                            next_cursor: string
                            | null;
                        };
                    };
                    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: { "text/plain": string };
                    headers: { [name: string]: unknown };
                };
            };
        };
        getIncompleteExperimentRuns: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { experiment_id: string };
                query?: { cursor?: string | null; limit?: number };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            data: {
                                dataset_example: {
                                    id: string;
                                    input: { [key: string]: unknown };
                                    metadata: { [key: string]: unknown };
                                    node_id: string;
                                    output: { [key: string]: unknown };
                                    updated_at: string;
                                };
                                repetition_numbers: number[];
                            }[];
                            next_cursor: string
                            | null;
                        };
                    };
                    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 };
                };
            };
        };
        getProject: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { project_identifier: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            data: { description?: string
                            | null; 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?: string
                    | null;
                    include_dataset_evaluator_projects?: boolean;
                    include_experiment_projects?: boolean;
                    limit?: number;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            data: { description?: string
                            | null; id: string; name: string }[];
                            next_cursor: string | null;
                        };
                    };
                    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?: string
                | null; limit?: number };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            data: {
                                description?: string
                                | null;
                                id: string;
                                metadata?: { [key: string]: unknown } | null;
                                name: string;
                                source_prompt_id?: string | null;
                            }[];
                            next_cursor: string
                            | null;
                        };
                    };
                    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?: string
                                | null;
                                id: string;
                                invocation_parameters:
                                    | {
                                        anthropic: {
                                            extra_body?: { [key: ...]: ... };
                                            max_tokens: number;
                                            output_config?: { effort?: ... };
                                            stop_sequences?: (...)[];
                                            temperature?: number;
                                            thinking?:
                                                | { type: ... }
                                                | { budget_tokens: ...; display?: ...; type: ... }
                                                | { display?: ...; type: ... };
                                            top_p?: number;
                                        };
                                        type: "anthropic";
                                    }
                                    | {
                                        aws: {
                                            max_tokens?: number;
                                            stop_sequences?: (...)[];
                                            temperature?: number;
                                            top_p?: number;
                                        };
                                        type: "aws";
                                    }
                                    | {
                                        azure_openai: {
                                            extra_body?: { [key: ...]: ... };
                                            frequency_penalty?: number;
                                            max_completion_tokens?: number;
                                            max_tokens?: number;
                                            presence_penalty?: number;
                                            reasoning_effort?:
                                                | "low"
                                                | "medium"
                                                | "high"
                                                | "xhigh"
                                                | "none"
                                                | "minimal";
                                            seed?: number;
                                            stop?: (...)[];
                                            temperature?: number;
                                            top_p?: number;
                                        };
                                        type: "azure_openai";
                                    }
                                    | {
                                        cerebras: {
                                            extra_body?: { [key: ...]: ... };
                                            frequency_penalty?: number;
                                            max_completion_tokens?: number;
                                            max_tokens?: number;
                                            presence_penalty?: number;
                                            reasoning_effort?:
                                                | "low"
                                                | "medium"
                                                | "high"
                                                | "xhigh"
                                                | "none"
                                                | "minimal";
                                            seed?: number;
                                            stop?: (...)[];
                                            temperature?: number;
                                            top_p?: number;
                                        };
                                        type: "cerebras";
                                    }
                                    | {
                                        deepseek: {
                                            extra_body?: { [key: ...]: ... };
                                            frequency_penalty?: number;
                                            max_completion_tokens?: number;
                                            max_tokens?: number;
                                            presence_penalty?: number;
                                            reasoning_effort?:
                                                | "low"
                                                | "medium"
                                                | "high"
                                                | "xhigh"
                                                | "none"
                                                | "minimal";
                                            seed?: number;
                                            stop?: (...)[];
                                            temperature?: number;
                                            top_p?: number;
                                        };
                                        type: "deepseek";
                                    }
                                    | {
                                        fireworks: {
                                            extra_body?: { [key: ...]: ... };
                                            frequency_penalty?: number;
                                            max_completion_tokens?: number;
                                            max_tokens?: number;
                                            presence_penalty?: number;
                                            reasoning_effort?:
                                                | "low"
                                                | "medium"
                                                | "high"
                                                | "xhigh"
                                                | "none"
                                                | "minimal";
                                            seed?: number;
                                            stop?: (...)[];
                                            temperature?: number;
                                            top_p?: number;
                                        };
                                        type: "fireworks";
                                    }
                                    | {
                                        google: {
                                            frequency_penalty?: number;
                                            max_output_tokens?: number;
                                            presence_penalty?: number;
                                            stop_sequences?: (...)[];
                                            temperature?: number;
                                            thinking_config?: {
                                                include_thoughts?: ...;
                                                thinking_budget?: ...;
                                                thinking_level?: ...;
                                            };
                                            top_k?: number;
                                            top_p?: number;
                                        };
                                        type: "google";
                                    }
                                    | {
                                        groq: {
                                            extra_body?: { [key: ...]: ... };
                                            frequency_penalty?: number;
                                            max_completion_tokens?: number;
                                            max_tokens?: number;
                                            presence_penalty?: number;
                                            reasoning_effort?:
                                                | "low"
                                                | "medium"
                                                | "high"
                                                | "xhigh"
                                                | "none"
                                                | "minimal";
                                            seed?: number;
                                            stop?: (...)[];
                                            temperature?: number;
                                            top_p?: number;
                                        };
                                        type: "groq";
                                    }
                                    | {
                                        moonshot: {
                                            extra_body?: { [key: ...]: ... };
                                            frequency_penalty?: number;
                                            max_completion_tokens?: number;
                                            max_tokens?: number;
                                            presence_penalty?: number;
                                            reasoning_effort?:
                                                | "low"
                                                | "medium"
                                                | "high"
                                                | "xhigh"
                                                | "none"
                                                | "minimal";
                                            seed?: number;
                                            stop?: (...)[];
                                            temperature?: number;
                                            top_p?: number;
                                        };
                                        type: "moonshot";
                                    }
                                    | {
                                        ollama: {
                                            extra_body?: { [key: ...]: ... };
                                            frequency_penalty?: number;
                                            max_completion_tokens?: number;
                                            max_tokens?: number;
                                            presence_penalty?: number;
                                            reasoning_effort?:
                                                | "low"
                                                | "medium"
                                                | "high"
                                                | "xhigh"
                                                | "none"
                                                | "minimal";
                                            seed?: number;
                                            stop?: (...)[];
                                            temperature?: number;
                                            top_p?: number;
                                        };
                                        type: "ollama";
                                    }
                                    | {
                                        openai: {
                                            extra_body?: { [key: ...]: ... };
                                            frequency_penalty?: number;
                                            max_completion_tokens?: number;
                                            max_tokens?: number;
                                            presence_penalty?: number;
                                            reasoning_effort?:
                                                | "low"
                                                | "medium"
                                                | "high"
                                                | "xhigh"
                                                | "none"
                                                | "minimal";
                                            seed?: number;
                                            stop?: (...)[];
                                            temperature?: number;
                                            top_p?: number;
                                        };
                                        type: "openai";
                                    }
                                    | {
                                        perplexity: {
                                            extra_body?: { [key: ...]: ... };
                                            frequency_penalty?: number;
                                            max_completion_tokens?: number;
                                            max_tokens?: number;
                                            presence_penalty?: number;
                                            reasoning_effort?:
                                                | "low"
                                                | "medium"
                                                | "high"
                                                | "xhigh"
                                                | "none"
                                                | "minimal";
                                            seed?: number;
                                            stop?: (...)[];
                                            temperature?: number;
                                            top_p?: number;
                                        };
                                        type: "perplexity";
                                    }
                                    | {
                                        together: {
                                            extra_body?: { [key: ...]: ... };
                                            frequency_penalty?: number;
                                            max_completion_tokens?: number;
                                            max_tokens?: number;
                                            presence_penalty?: number;
                                            reasoning_effort?:
                                                | "low"
                                                | "medium"
                                                | "high"
                                                | "xhigh"
                                                | "none"
                                                | "minimal";
                                            seed?: number;
                                            stop?: (...)[];
                                            temperature?: number;
                                            top_p?: number;
                                        };
                                        type: "together";
                                    }
                                    | {
                                        type: "xai";
                                        xai: {
                                            extra_body?: { [key: ...]: ... };
                                            frequency_penalty?: number;
                                            max_completion_tokens?: number;
                                            max_tokens?: number;
                                            presence_penalty?: number;
                                            reasoning_effort?:
                                                | "low"
                                                | "medium"
                                                | "high"
                                                | "xhigh"
                                                | "none"
                                                | "minimal";
                                            seed?: number;
                                            stop?: (...)[];
                                            temperature?: number;
                                            top_p?: number;
                                        };
                                    };
                                model_name: string;
                                model_provider: | "OPENAI"
                                | "AZURE_OPENAI"
                                | "ANTHROPIC"
                                | "GOOGLE"
                                | "DEEPSEEK"
                                | "XAI"
                                | "OLLAMA"
                                | "AWS"
                                | "CEREBRAS"
                                | "FIREWORKS"
                                | "GROQ"
                                | "MOONSHOT"
                                | "PERPLEXITY"
                                | "TOGETHER";
                                response_format?: | {
                                    json_schema: {
                                        description?: string;
                                        name: string;
                                        schema?: { [key: ...]: ... };
                                        strict?: boolean;
                                    };
                                    type: "json_schema";
                                }
                                | null;
                                template: | {
                                    messages: {
                                        content: (...)
                                        | (...);
                                        role: (...) | (...) | (...) | (...) | (...) | (...) | (...);
                                    }[];
                                    type: "chat";
                                }
                                | { template: string; type: "string" };
                                template_format: "NONE" | "MUSTACHE" | "F_STRING";
                                template_type: "STR" | "CHAT";
                                tools?:
                                    | {
                                        disable_parallel_tool_calls?: boolean;
                                        tool_choice?: | { type: "none" }
                                        | { type: "one_or_more" }
                                        | { function_name: string; type: "specific_function" }
                                        | { type: "zero_or_more" };
                                        tools: ({ function: ...; type: ... } | { raw: ...; type: ... })[];
                                        type: "tools";
                                    }
                                    | null;
                            };
                        };
                    };
                    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?: string
                                | null;
                                id: string;
                                invocation_parameters:
                                    | {
                                        anthropic: {
                                            extra_body?: { [key: ...]: ... };
                                            max_tokens: number;
                                            output_config?: { effort?: ... };
                                            stop_sequences?: (...)[];
                                            temperature?: number;
                                            thinking?:
                                                | { type: ... }
                                                | { budget_tokens: ...; display?: ...; type: ... }
                                                | { display?: ...; type: ... };
                                            top_p?: number;
                                        };
                                        type: "anthropic";
                                    }
                                    | {
                                        aws: {
                                            max_tokens?: number;
                                            stop_sequences?: (...)[];
                                            temperature?: number;
                                            top_p?: number;
                                        };
                                        type: "aws";
                                    }
                                    | {
                                        azure_openai: {
                                            extra_body?: { [key: ...]: ... };
                                            frequency_penalty?: number;
                                            max_completion_tokens?: number;
                                            max_tokens?: number;
                                            presence_penalty?: number;
                                            reasoning_effort?:
                                                | "low"
                                                | "medium"
                                                | "high"
                                                | "xhigh"
                                                | "none"
                                                | "minimal";
                                            seed?: number;
                                            stop?: (...)[];
                                            temperature?: number;
                                            top_p?: number;
                                        };
                                        type: "azure_openai";
                                    }
                                    | {
                                        cerebras: {
                                            extra_body?: { [key: ...]: ... };
                                            frequency_penalty?: number;
                                            max_completion_tokens?: number;
                                            max_tokens?: number;
                                            presence_penalty?: number;
                                            reasoning_effort?:
                                                | "low"
                                                | "medium"
                                                | "high"
                                                | "xhigh"
                                                | "none"
                                                | "minimal";
                                            seed?: number;
                                            stop?: (...)[];
                                            temperature?: number;
                                            top_p?: number;
                                        };
                                        type: "cerebras";
                                    }
                                    | {
                                        deepseek: {
                                            extra_body?: { [key: ...]: ... };
                                            frequency_penalty?: number;
                                            max_completion_tokens?: number;
                                            max_tokens?: number;
                                            presence_penalty?: number;
                                            reasoning_effort?:
                                                | "low"
                                                | "medium"
                                                | "high"
                                                | "xhigh"
                                                | "none"
                                                | "minimal";
                                            seed?: number;
                                            stop?: (...)[];
                                            temperature?: number;
                                            top_p?: number;
                                        };
                                        type: "deepseek";
                                    }
                                    | {
                                        fireworks: {
                                            extra_body?: { [key: ...]: ... };
                                            frequency_penalty?: number;
                                            max_completion_tokens?: number;
                                            max_tokens?: number;
                                            presence_penalty?: number;
                                            reasoning_effort?:
                                                | "low"
                                                | "medium"
                                                | "high"
                                                | "xhigh"
                                                | "none"
                                                | "minimal";
                                            seed?: number;
                                            stop?: (...)[];
                                            temperature?: number;
                                            top_p?: number;
                                        };
                                        type: "fireworks";
                                    }
                                    | {
                                        google: {
                                            frequency_penalty?: number;
                                            max_output_tokens?: number;
                                            presence_penalty?: number;
                                            stop_sequences?: (...)[];
                                            temperature?: number;
                                            thinking_config?: {
                                                include_thoughts?: ...;
                                                thinking_budget?: ...;
                                                thinking_level?: ...;
                                            };
                                            top_k?: number;
                                            top_p?: number;
                                        };
                                        type: "google";
                                    }
                                    | {
                                        groq: {
                                            extra_body?: { [key: ...]: ... };
                                            frequency_penalty?: number;
                                            max_completion_tokens?: number;
                                            max_tokens?: number;
                                            presence_penalty?: number;
                                            reasoning_effort?:
                                                | "low"
                                                | "medium"
                                                | "high"
                                                | "xhigh"
                                                | "none"
                                                | "minimal";
                                            seed?: number;
                                            stop?: (...)[];
                                            temperature?: number;
                                            top_p?: number;
                                        };
                                        type: "groq";
                                    }
                                    | {
                                        moonshot: {
                                            extra_body?: { [key: ...]: ... };
                                            frequency_penalty?: number;
                                            max_completion_tokens?: number;
                                            max_tokens?: number;
                                            presence_penalty?: number;
                                            reasoning_effort?:
                                                | "low"
                                                | "medium"
                                                | "high"
                                                | "xhigh"
                                                | "none"
                                                | "minimal";
                                            seed?: number;
                                            stop?: (...)[];
                                            temperature?: number;
                                            top_p?: number;
                                        };
                                        type: "moonshot";
                                    }
                                    | {
                                        ollama: {
                                            extra_body?: { [key: ...]: ... };
                                            frequency_penalty?: number;
                                            max_completion_tokens?: number;
                                            max_tokens?: number;
                                            presence_penalty?: number;
                                            reasoning_effort?:
                                                | "low"
                                                | "medium"
                                                | "high"
                                                | "xhigh"
                                                | "none"
                                                | "minimal";
                                            seed?: number;
                                            stop?: (...)[];
                                            temperature?: number;
                                            top_p?: number;
                                        };
                                        type: "ollama";
                                    }
                                    | {
                                        openai: {
                                            extra_body?: { [key: ...]: ... };
                                            frequency_penalty?: number;
                                            max_completion_tokens?: number;
                                            max_tokens?: number;
                                            presence_penalty?: number;
                                            reasoning_effort?:
                                                | "low"
                                                | "medium"
                                                | "high"
                                                | "xhigh"
                                                | "none"
                                                | "minimal";
                                            seed?: number;
                                            stop?: (...)[];
                                            temperature?: number;
                                            top_p?: number;
                                        };
                                        type: "openai";
                                    }
                                    | {
                                        perplexity: {
                                            extra_body?: { [key: ...]: ... };
                                            frequency_penalty?: number;
                                            max_completion_tokens?: number;
                                            max_tokens?: number;
                                            presence_penalty?: number;
                                            reasoning_effort?:
                                                | "low"
                                                | "medium"
                                                | "high"
                                                | "xhigh"
                                                | "none"
                                                | "minimal";
                                            seed?: number;
                                            stop?: (...)[];
                                            temperature?: number;
                                            top_p?: number;
                                        };
                                        type: "perplexity";
                                    }
                                    | {
                                        together: {
                                            extra_body?: { [key: ...]: ... };
                                            frequency_penalty?: number;
                                            max_completion_tokens?: number;
                                            max_tokens?: number;
                                            presence_penalty?: number;
                                            reasoning_effort?:
                                                | "low"
                                                | "medium"
                                                | "high"
                                                | "xhigh"
                                                | "none"
                                                | "minimal";
                                            seed?: number;
                                            stop?: (...)[];
                                            temperature?: number;
                                            top_p?: number;
                                        };
                                        type: "together";
                                    }
                                    | {
                                        type: "xai";
                                        xai: {
                                            extra_body?: { [key: ...]: ... };
                                            frequency_penalty?: number;
                                            max_completion_tokens?: number;
                                            max_tokens?: number;
                                            presence_penalty?: number;
                                            reasoning_effort?:
                                                | "low"
                                                | "medium"
                                                | "high"
                                                | "xhigh"
                                                | "none"
                                                | "minimal";
                                            seed?: number;
                                            stop?: (...)[];
                                            temperature?: number;
                                            top_p?: number;
                                        };
                                    };
                                model_name: string;
                                model_provider: | "OPENAI"
                                | "AZURE_OPENAI"
                                | "ANTHROPIC"
                                | "GOOGLE"
                                | "DEEPSEEK"
                                | "XAI"
                                | "OLLAMA"
                                | "AWS"
                                | "CEREBRAS"
                                | "FIREWORKS"
                                | "GROQ"
                                | "MOONSHOT"
                                | "PERPLEXITY"
                                | "TOGETHER";
                                response_format?: | {
                                    json_schema: {
                                        description?: string;
                                        name: string;
                                        schema?: { [key: ...]: ... };
                                        strict?: boolean;
                                    };
                                    type: "json_schema";
                                }
                                | null;
                                template: | {
                                    messages: {
                                        content: (...)
                                        | (...);
                                        role: (...) | (...) | (...) | (...) | (...) | (...) | (...);
                                    }[];
                                    type: "chat";
                                }
                                | { template: string; type: "string" };
                                template_format: "NONE" | "MUSTACHE" | "F_STRING";
                                template_type: "STR" | "CHAT";
                                tools?:
                                    | {
                                        disable_parallel_tool_calls?: boolean;
                                        tool_choice?: | { type: "none" }
                                        | { type: "one_or_more" }
                                        | { function_name: string; type: "specific_function" }
                                        | { type: "zero_or_more" };
                                        tools: ({ function: ...; type: ... } | { raw: ...; type: ... })[];
                                        type: "tools";
                                    }
                                    | null;
                            };
                        };
                    };
                    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?: string
                                | null;
                                id: string;
                                invocation_parameters:
                                    | {
                                        anthropic: {
                                            extra_body?: { [key: ...]: ... };
                                            max_tokens: number;
                                            output_config?: { effort?: ... };
                                            stop_sequences?: (...)[];
                                            temperature?: number;
                                            thinking?:
                                                | { type: ... }
                                                | { budget_tokens: ...; display?: ...; type: ... }
                                                | { display?: ...; type: ... };
                                            top_p?: number;
                                        };
                                        type: "anthropic";
                                    }
                                    | {
                                        aws: {
                                            max_tokens?: number;
                                            stop_sequences?: (...)[];
                                            temperature?: number;
                                            top_p?: number;
                                        };
                                        type: "aws";
                                    }
                                    | {
                                        azure_openai: {
                                            extra_body?: { [key: ...]: ... };
                                            frequency_penalty?: number;
                                            max_completion_tokens?: number;
                                            max_tokens?: number;
                                            presence_penalty?: number;
                                            reasoning_effort?:
                                                | "low"
                                                | "medium"
                                                | "high"
                                                | "xhigh"
                                                | "none"
                                                | "minimal";
                                            seed?: number;
                                            stop?: (...)[];
                                            temperature?: number;
                                            top_p?: number;
                                        };
                                        type: "azure_openai";
                                    }
                                    | {
                                        cerebras: {
                                            extra_body?: { [key: ...]: ... };
                                            frequency_penalty?: number;
                                            max_completion_tokens?: number;
                                            max_tokens?: number;
                                            presence_penalty?: number;
                                            reasoning_effort?:
                                                | "low"
                                                | "medium"
                                                | "high"
                                                | "xhigh"
                                                | "none"
                                                | "minimal";
                                            seed?: number;
                                            stop?: (...)[];
                                            temperature?: number;
                                            top_p?: number;
                                        };
                                        type: "cerebras";
                                    }
                                    | {
                                        deepseek: {
                                            extra_body?: { [key: ...]: ... };
                                            frequency_penalty?: number;
                                            max_completion_tokens?: number;
                                            max_tokens?: number;
                                            presence_penalty?: number;
                                            reasoning_effort?:
                                                | "low"
                                                | "medium"
                                                | "high"
                                                | "xhigh"
                                                | "none"
                                                | "minimal";
                                            seed?: number;
                                            stop?: (...)[];
                                            temperature?: number;
                                            top_p?: number;
                                        };
                                        type: "deepseek";
                                    }
                                    | {
                                        fireworks: {
                                            extra_body?: { [key: ...]: ... };
                                            frequency_penalty?: number;
                                            max_completion_tokens?: number;
                                            max_tokens?: number;
                                            presence_penalty?: number;
                                            reasoning_effort?:
                                                | "low"
                                                | "medium"
                                                | "high"
                                                | "xhigh"
                                                | "none"
                                                | "minimal";
                                            seed?: number;
                                            stop?: (...)[];
                                            temperature?: number;
                                            top_p?: number;
                                        };
                                        type: "fireworks";
                                    }
                                    | {
                                        google: {
                                            frequency_penalty?: number;
                                            max_output_tokens?: number;
                                            presence_penalty?: number;
                                            stop_sequences?: (...)[];
                                            temperature?: number;
                                            thinking_config?: {
                                                include_thoughts?: ...;
                                                thinking_budget?: ...;
                                                thinking_level?: ...;
                                            };
                                            top_k?: number;
                                            top_p?: number;
                                        };
                                        type: "google";
                                    }
                                    | {
                                        groq: {
                                            extra_body?: { [key: ...]: ... };
                                            frequency_penalty?: number;
                                            max_completion_tokens?: number;
                                            max_tokens?: number;
                                            presence_penalty?: number;
                                            reasoning_effort?:
                                                | "low"
                                                | "medium"
                                                | "high"
                                                | "xhigh"
                                                | "none"
                                                | "minimal";
                                            seed?: number;
                                            stop?: (...)[];
                                            temperature?: number;
                                            top_p?: number;
                                        };
                                        type: "groq";
                                    }
                                    | {
                                        moonshot: {
                                            extra_body?: { [key: ...]: ... };
                                            frequency_penalty?: number;
                                            max_completion_tokens?: number;
                                            max_tokens?: number;
                                            presence_penalty?: number;
                                            reasoning_effort?:
                                                | "low"
                                                | "medium"
                                                | "high"
                                                | "xhigh"
                                                | "none"
                                                | "minimal";
                                            seed?: number;
                                            stop?: (...)[];
                                            temperature?: number;
                                            top_p?: number;
                                        };
                                        type: "moonshot";
                                    }
                                    | {
                                        ollama: {
                                            extra_body?: { [key: ...]: ... };
                                            frequency_penalty?: number;
                                            max_completion_tokens?: number;
                                            max_tokens?: number;
                                            presence_penalty?: number;
                                            reasoning_effort?:
                                                | "low"
                                                | "medium"
                                                | "high"
                                                | "xhigh"
                                                | "none"
                                                | "minimal";
                                            seed?: number;
                                            stop?: (...)[];
                                            temperature?: number;
                                            top_p?: number;
                                        };
                                        type: "ollama";
                                    }
                                    | {
                                        openai: {
                                            extra_body?: { [key: ...]: ... };
                                            frequency_penalty?: number;
                                            max_completion_tokens?: number;
                                            max_tokens?: number;
                                            presence_penalty?: number;
                                            reasoning_effort?:
                                                | "low"
                                                | "medium"
                                                | "high"
                                                | "xhigh"
                                                | "none"
                                                | "minimal";
                                            seed?: number;
                                            stop?: (...)[];
                                            temperature?: number;
                                            top_p?: number;
                                        };
                                        type: "openai";
                                    }
                                    | {
                                        perplexity: {
                                            extra_body?: { [key: ...]: ... };
                                            frequency_penalty?: number;
                                            max_completion_tokens?: number;
                                            max_tokens?: number;
                                            presence_penalty?: number;
                                            reasoning_effort?:
                                                | "low"
                                                | "medium"
                                                | "high"
                                                | "xhigh"
                                                | "none"
                                                | "minimal";
                                            seed?: number;
                                            stop?: (...)[];
                                            temperature?: number;
                                            top_p?: number;
                                        };
                                        type: "perplexity";
                                    }
                                    | {
                                        together: {
                                            extra_body?: { [key: ...]: ... };
                                            frequency_penalty?: number;
                                            max_completion_tokens?: number;
                                            max_tokens?: number;
                                            presence_penalty?: number;
                                            reasoning_effort?:
                                                | "low"
                                                | "medium"
                                                | "high"
                                                | "xhigh"
                                                | "none"
                                                | "minimal";
                                            seed?: number;
                                            stop?: (...)[];
                                            temperature?: number;
                                            top_p?: number;
                                        };
                                        type: "together";
                                    }
                                    | {
                                        type: "xai";
                                        xai: {
                                            extra_body?: { [key: ...]: ... };
                                            frequency_penalty?: number;
                                            max_completion_tokens?: number;
                                            max_tokens?: number;
                                            presence_penalty?: number;
                                            reasoning_effort?:
                                                | "low"
                                                | "medium"
                                                | "high"
                                                | "xhigh"
                                                | "none"
                                                | "minimal";
                                            seed?: number;
                                            stop?: (...)[];
                                            temperature?: number;
                                            top_p?: number;
                                        };
                                    };
                                model_name: string;
                                model_provider: | "OPENAI"
                                | "AZURE_OPENAI"
                                | "ANTHROPIC"
                                | "GOOGLE"
                                | "DEEPSEEK"
                                | "XAI"
                                | "OLLAMA"
                                | "AWS"
                                | "CEREBRAS"
                                | "FIREWORKS"
                                | "GROQ"
                                | "MOONSHOT"
                                | "PERPLEXITY"
                                | "TOGETHER";
                                response_format?: | {
                                    json_schema: {
                                        description?: string;
                                        name: string;
                                        schema?: { [key: ...]: ... };
                                        strict?: boolean;
                                    };
                                    type: "json_schema";
                                }
                                | null;
                                template: | {
                                    messages: {
                                        content: (...)
                                        | (...);
                                        role: (...) | (...) | (...) | (...) | (...) | (...) | (...);
                                    }[];
                                    type: "chat";
                                }
                                | { template: string; type: "string" };
                                template_format: "NONE" | "MUSTACHE" | "F_STRING";
                                template_type: "STR" | "CHAT";
                                tools?:
                                    | {
                                        disable_parallel_tool_calls?: boolean;
                                        tool_choice?: | { type: "none" }
                                        | { type: "one_or_more" }
                                        | { function_name: string; type: "specific_function" }
                                        | { type: "zero_or_more" };
                                        tools: ({ function: ...; type: ... } | { raw: ...; type: ... })[];
                                        type: "tools";
                                    }
                                    | null;
                            };
                        };
                    };
                    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?: string | null; limit?: number };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            data: { description?: string
                            | null; id: string; name: string }[];
                            next_cursor: string | null;
                        };
                    };
                    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 };
                };
            };
        };
        getSession: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { session_identifier: string };
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            data: {
                                end_time: string;
                                id: string;
                                project_id: string;
                                session_id: string;
                                start_time: string;
                                token_count_completion?: number;
                                token_count_prompt?: number;
                                token_count_total?: number;
                                traces: {
                                    end_time: string;
                                    id: string;
                                    start_time: string;
                                    trace_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: { "text/plain": string };
                    headers: { [name: string]: unknown };
                };
            };
        };
        getSpans: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { project_identifier: string };
                query?: {
                    attribute?: string[] | null;
                    cursor?: string | null;
                    end_time?: string | null;
                    limit?: number;
                    name?: string[] | null;
                    parent_id?: string | null;
                    span_kind?: string[] | null;
                    start_time?: string | null;
                    status_code?: string[] | null;
                    trace_id?: string[] | null;
                };
            };
            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?: string
                                | null;
                                span_kind: string;
                                start_time: string;
                                status_code: string;
                                status_message?: string;
                            }[];
                            next_cursor: string
                            | null;
                        };
                    };
                    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"
                                    | "VIEWER";
                                    updated_at: string;
                                    username: string;
                                }
                                | {
                                    auth_method: "OAUTH2";
                                    created_at: string;
                                    email: string;
                                    id: string;
                                    oauth2_client_id?: string;
                                    oauth2_user_id?: string;
                                    profile_picture_url?: string;
                                    role: "SYSTEM"
                                    | "ADMIN"
                                    | "MEMBER"
                                    | "VIEWER";
                                    updated_at: string;
                                    username: string;
                                }
                                | {
                                    auth_method: "LDAP";
                                    created_at: string;
                                    email: string;
                                    id: string;
                                    role: "SYSTEM"
                                    | "ADMIN"
                                    | "MEMBER"
                                    | "VIEWER";
                                    updated_at: string;
                                    username: string;
                                }
                            )[];
                            next_cursor: string
                            | null;
                        };
                    };
                    headers: { [name: string]: unknown };
                };
                "403": {
                    content: { "text/plain": string };
                    headers: { [name: string]: unknown };
                };
                "422": {
                    content: { "text/plain": string };
                    headers: { [name: string]: unknown };
                };
            };
        };
        getViewer: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            data: | { auth_method: "ANONYMOUS" }
                            | {
                                auth_method: "LOCAL";
                                created_at: string;
                                email: string;
                                id: string;
                                password?: string;
                                password_needs_reset: boolean;
                                role: "SYSTEM" | "ADMIN" | "MEMBER" | "VIEWER";
                                updated_at: string;
                                username: string;
                            }
                            | {
                                auth_method: "OAUTH2";
                                created_at: string;
                                email: string;
                                id: string;
                                oauth2_client_id?: string;
                                oauth2_user_id?: string;
                                profile_picture_url?: string;
                                role: "SYSTEM"
                                | "ADMIN"
                                | "MEMBER"
                                | "VIEWER";
                                updated_at: string;
                                username: string;
                            }
                            | {
                                auth_method: "LDAP";
                                created_at: string;
                                email: string;
                                id: string;
                                role: "SYSTEM"
                                | "ADMIN"
                                | "MEMBER"
                                | "VIEWER";
                                updated_at: string;
                                username: string;
                            };
                        };
                    };
                    headers: { [name: string]: unknown };
                };
                "401": {
                    content: { "text/plain": string };
                    headers: { [name: string]: unknown };
                };
                "403": {
                    content: { "text/plain": string };
                    headers: { [name: string]: unknown };
                };
            };
        };
        list_annotation_configs_v1_annotation_configs_get: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: { cursor?: string
                | null; limit?: number };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            data: (
                                | {
                                    description?: string
                                    | null;
                                    id: string;
                                    name: string;
                                    optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                                    type: "CATEGORICAL";
                                    values: { label: string; score?: (...) | (...) | (...) }[];
                                }
                                | {
                                    description?: string
                                    | null;
                                    id: string;
                                    lower_bound?: number | null;
                                    name: string;
                                    optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                                    type: "CONTINUOUS";
                                    upper_bound?: number | null;
                                }
                                | {
                                    description?: string
                                    | null;
                                    id: string;
                                    lower_bound?: number | null;
                                    name: string;
                                    optimization_direction?: "MINIMIZE" | "MAXIMIZE" | "NONE" | null;
                                    threshold?: number | null;
                                    type: "FREEFORM";
                                    upper_bound?: number | null;
                                }
                            )[];
                            next_cursor: string
                            | null;
                        };
                    };
                    headers: { [name: string]: unknown };
                };
                "403": {
                    content: { "text/plain": string };
                    headers: { [name: string]: unknown };
                };
                "422": {
                    content: {
                        "application/json": {
                            detail?: {
                                ctx?: Record<string, unknown>;
                                input?: unknown;
                                loc: (string | number)[];
                                msg: string;
                                type: string;
                            }[];
                        };
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        listDatasets: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: { cursor?: string
                | null; limit?: number; name?: string | null };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            data: {
                                created_at: string;
                                description: string
                                | null;
                                example_count: number;
                                id: string;
                                metadata: { [key: string]: unknown };
                                name: string;
                                updated_at: string;
                            }[];
                            next_cursor: string
                            | null;
                        };
                    };
                    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?: string | null; limit?: number };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            data: {
                                created_at: string;
                                description: string
                                | null;
                                metadata: { [key: string]: unknown };
                                version_id: string;
                            }[];
                            next_cursor: string
                            | null;
                        };
                    };
                    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?: { cursor?: string | null; limit?: number | null };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            data: {
                                dataset_example_id: string;
                                end_time: string;
                                error?: string
                                | null;
                                experiment_id: string;
                                id: string;
                                output: unknown;
                                repetition_number: number;
                                start_time: string;
                                trace_id?: string | null;
                            }[];
                            next_cursor: string
                            | null;
                        };
                    };
                    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 };
                };
            };
        };
        listExperiments: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { dataset_id: string };
                query?: { cursor?: string | null; limit?: number };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            data: {
                                created_at: string;
                                dataset_id: string;
                                dataset_version_id: string;
                                example_count: number;
                                failed_run_count: number;
                                id: string;
                                metadata: { [key: string]: unknown };
                                missing_run_count: number;
                                project_name: string | null;
                                repetitions: number;
                                successful_run_count: number;
                                updated_at: string;
                            }[];
                            next_cursor: string
                            | null;
                        };
                    };
                    headers: { [name: string]: unknown };
                };
                "403": {
                    content: { "text/plain": string };
                    headers: { [name: string]: unknown };
                };
                "422": {
                    content: { "text/plain": string };
                    headers: { [name: string]: unknown };
                };
            };
        };
        listProjectSessions: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { project_identifier: string };
                query?: {
                    cursor?: string | null;
                    limit?: number;
                    order?: "asc" | "desc";
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            data: {
                                end_time: string;
                                id: string;
                                project_id: string;
                                session_id: string;
                                start_time: string;
                                token_count_completion?: number;
                                token_count_prompt?: number;
                                token_count_total?: number;
                                traces: {
                                    end_time: string;
                                    id: string;
                                    start_time: string;
                                    trace_id: string;
                                }[];
                            }[];
                            next_cursor: string
                            | null;
                        };
                    };
                    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 };
                };
            };
        };
        listProjectTraces: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { project_identifier: string };
                query?: {
                    cursor?: string | null;
                    end_time?: string | null;
                    include_spans?: boolean;
                    limit?: number;
                    order?: "asc" | "desc";
                    session_identifier?: string[] | null;
                    sort?: "start_time" | "latency_ms";
                    start_time?: string | null;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            data: {
                                end_time: string;
                                id: string;
                                project_id: string;
                                spans?: | {
                                    end_time: string;
                                    id: string;
                                    name: string;
                                    parent_id: (...)
                                    | (...);
                                    span_id: string;
                                    span_kind: string;
                                    start_time: string;
                                    status_code: string;
                                }[]
                                | null;
                                start_time: string;
                                token_count_completion?: number;
                                token_count_prompt?: number;
                                token_count_total?: number;
                                trace_id: string;
                            }[];
                            next_cursor: string
                            | null;
                        };
                    };
                    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 };
                };
            };
        };
        listPromptVersions: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { prompt_identifier: string };
                query?: { cursor?: string | null; limit?: number };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            data: {
                                description?: string
                                | null;
                                id: string;
                                invocation_parameters:
                                    | {
                                        anthropic: {
                                            extra_body?: (...)
                                            | (...);
                                            max_tokens: number;
                                            output_config?: (...) | (...);
                                            stop_sequences?: (...) | (...);
                                            temperature?: (...) | (...);
                                            thinking?: (...) | (...) | (...) | (...);
                                            top_p?: (...) | (...);
                                        };
                                        type: "anthropic";
                                    }
                                    | {
                                        aws: {
                                            max_tokens?: (...)
                                            | (...);
                                            stop_sequences?: (...) | (...);
                                            temperature?: (...) | (...);
                                            top_p?: (...) | (...);
                                        };
                                        type: "aws";
                                    }
                                    | {
                                        azure_openai: {
                                            extra_body?: (...)
                                            | (...);
                                            frequency_penalty?: (...) | (...);
                                            max_completion_tokens?: (...) | (...);
                                            max_tokens?: (...) | (...);
                                            presence_penalty?: (...) | (...);
                                            reasoning_effort?:
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...);
                                            seed?: (...) | (...);
                                            stop?: (...) | (...);
                                            temperature?: (...) | (...);
                                            top_p?: (...) | (...);
                                        };
                                        type: "azure_openai";
                                    }
                                    | {
                                        cerebras: {
                                            extra_body?: (...)
                                            | (...);
                                            frequency_penalty?: (...) | (...);
                                            max_completion_tokens?: (...) | (...);
                                            max_tokens?: (...) | (...);
                                            presence_penalty?: (...) | (...);
                                            reasoning_effort?:
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...);
                                            seed?: (...) | (...);
                                            stop?: (...) | (...);
                                            temperature?: (...) | (...);
                                            top_p?: (...) | (...);
                                        };
                                        type: "cerebras";
                                    }
                                    | {
                                        deepseek: {
                                            extra_body?: (...)
                                            | (...);
                                            frequency_penalty?: (...) | (...);
                                            max_completion_tokens?: (...) | (...);
                                            max_tokens?: (...) | (...);
                                            presence_penalty?: (...) | (...);
                                            reasoning_effort?:
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...);
                                            seed?: (...) | (...);
                                            stop?: (...) | (...);
                                            temperature?: (...) | (...);
                                            top_p?: (...) | (...);
                                        };
                                        type: "deepseek";
                                    }
                                    | {
                                        fireworks: {
                                            extra_body?: (...)
                                            | (...);
                                            frequency_penalty?: (...) | (...);
                                            max_completion_tokens?: (...) | (...);
                                            max_tokens?: (...) | (...);
                                            presence_penalty?: (...) | (...);
                                            reasoning_effort?:
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...);
                                            seed?: (...) | (...);
                                            stop?: (...) | (...);
                                            temperature?: (...) | (...);
                                            top_p?: (...) | (...);
                                        };
                                        type: "fireworks";
                                    }
                                    | {
                                        google: {
                                            frequency_penalty?: (...)
                                            | (...);
                                            max_output_tokens?: (...) | (...);
                                            presence_penalty?: (...) | (...);
                                            stop_sequences?: (...) | (...);
                                            temperature?: (...) | (...);
                                            thinking_config?: (...) | (...);
                                            top_k?: (...) | (...);
                                            top_p?: (...) | (...);
                                        };
                                        type: "google";
                                    }
                                    | {
                                        groq: {
                                            extra_body?: (...)
                                            | (...);
                                            frequency_penalty?: (...) | (...);
                                            max_completion_tokens?: (...) | (...);
                                            max_tokens?: (...) | (...);
                                            presence_penalty?: (...) | (...);
                                            reasoning_effort?:
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...);
                                            seed?: (...) | (...);
                                            stop?: (...) | (...);
                                            temperature?: (...) | (...);
                                            top_p?: (...) | (...);
                                        };
                                        type: "groq";
                                    }
                                    | {
                                        moonshot: {
                                            extra_body?: (...)
                                            | (...);
                                            frequency_penalty?: (...) | (...);
                                            max_completion_tokens?: (...) | (...);
                                            max_tokens?: (...) | (...);
                                            presence_penalty?: (...) | (...);
                                            reasoning_effort?:
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...);
                                            seed?: (...) | (...);
                                            stop?: (...) | (...);
                                            temperature?: (...) | (...);
                                            top_p?: (...) | (...);
                                        };
                                        type: "moonshot";
                                    }
                                    | {
                                        ollama: {
                                            extra_body?: (...)
                                            | (...);
                                            frequency_penalty?: (...) | (...);
                                            max_completion_tokens?: (...) | (...);
                                            max_tokens?: (...) | (...);
                                            presence_penalty?: (...) | (...);
                                            reasoning_effort?:
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...);
                                            seed?: (...) | (...);
                                            stop?: (...) | (...);
                                            temperature?: (...) | (...);
                                            top_p?: (...) | (...);
                                        };
                                        type: "ollama";
                                    }
                                    | {
                                        openai: {
                                            extra_body?: (...)
                                            | (...);
                                            frequency_penalty?: (...) | (...);
                                            max_completion_tokens?: (...) | (...);
                                            max_tokens?: (...) | (...);
                                            presence_penalty?: (...) | (...);
                                            reasoning_effort?:
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...);
                                            seed?: (...) | (...);
                                            stop?: (...) | (...);
                                            temperature?: (...) | (...);
                                            top_p?: (...) | (...);
                                        };
                                        type: "openai";
                                    }
                                    | {
                                        perplexity: {
                                            extra_body?: (...)
                                            | (...);
                                            frequency_penalty?: (...) | (...);
                                            max_completion_tokens?: (...) | (...);
                                            max_tokens?: (...) | (...);
                                            presence_penalty?: (...) | (...);
                                            reasoning_effort?:
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...);
                                            seed?: (...) | (...);
                                            stop?: (...) | (...);
                                            temperature?: (...) | (...);
                                            top_p?: (...) | (...);
                                        };
                                        type: "perplexity";
                                    }
                                    | {
                                        together: {
                                            extra_body?: (...)
                                            | (...);
                                            frequency_penalty?: (...) | (...);
                                            max_completion_tokens?: (...) | (...);
                                            max_tokens?: (...) | (...);
                                            presence_penalty?: (...) | (...);
                                            reasoning_effort?:
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...);
                                            seed?: (...) | (...);
                                            stop?: (...) | (...);
                                            temperature?: (...) | (...);
                                            top_p?: (...) | (...);
                                        };
                                        type: "together";
                                    }
                                    | {
                                        type: "xai";
                                        xai: {
                                            extra_body?: (...)
                                            | (...);
                                            frequency_penalty?: (...) | (...);
                                            max_completion_tokens?: (...) | (...);
                                            max_tokens?: (...) | (...);
                                            presence_penalty?: (...) | (...);
                                            reasoning_effort?:
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...)
                                                | (...);
                                            seed?: (...) | (...);
                                            stop?: (...) | (...);
                                            temperature?: (...) | (...);
                                            top_p?: (...) | (...);
                                        };
                                    };
                                model_name: string;
                                model_provider: | "OPENAI"
                                | "AZURE_OPENAI"
                                | "ANTHROPIC"
                                | "GOOGLE"
                                | "DEEPSEEK"
                                | "XAI"
                                | "OLLAMA"
                                | "AWS"
                                | "CEREBRAS"
                                | "FIREWORKS"
                                | "GROQ"
                                | "MOONSHOT"
                                | "PERPLEXITY"
                                | "TOGETHER";
                                response_format?: | {
                                    json_schema: {
                                        description?: (...)
                                        | (...);
                                        name: string;
                                        schema?: (...) | (...);
                                        strict?: (...) | (...) | (...);
                                    };
                                    type: "json_schema";
                                }
                                | null;
                                template: | { messages: { content: ...; role: ... }[]; type: "chat" }
                                | { template: string; type: "string" };
                                template_format: "NONE" | "MUSTACHE" | "F_STRING";
                                template_type: "STR" | "CHAT";
                                tools?:
                                    | {
                                        disable_parallel_tool_calls?: boolean;
                                        tool_choice?: | { type: ... }
                                        | { type: ... }
                                        | { function_name: ...; type: ... }
                                        | { type: ... };
                                        tools: ((...) | (...))[];
                                        type: "tools";
                                    }
                                    | null;
                            }[];
                            next_cursor: string
                            | null;
                        };
                    };
                    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 };
                };
            };
        };
        listSessionAnnotationsBySessionIds: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { project_identifier: string };
                query?: {
                    cursor?: string | null;
                    exclude_annotation_names?: string[] | null;
                    identifier?: string[] | null;
                    include_annotation_names?: string[] | null;
                    limit?: number;
                    session_ids?: string[] | null;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            data: {
                                annotator_kind: "LLM"
                                | "CODE"
                                | "HUMAN";
                                created_at: string;
                                id: string;
                                identifier?: string;
                                metadata?: { [key: string]: unknown } | null;
                                name: string;
                                result?:
                                    | {
                                        explanation?: string
                                        | null;
                                        label?: string | null;
                                        score?: number | null;
                                    }
                                    | null;
                                session_id: string;
                                source: "API"
                                | "APP";
                                updated_at: string;
                                user_id: string | null;
                            }[];
                            next_cursor: string
                            | null;
                        };
                    };
                    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?: string | null;
                    exclude_annotation_names?: string[] | null;
                    identifier?: string[] | null;
                    include_annotation_names?: string[] | null;
                    limit?: number;
                    span_ids?: string[] | null;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            data: {
                                annotator_kind: "LLM"
                                | "CODE"
                                | "HUMAN";
                                created_at: string;
                                id: string;
                                identifier?: string;
                                metadata?: { [key: string]: unknown } | null;
                                name: string;
                                result?:
                                    | {
                                        explanation?: string
                                        | null;
                                        label?: string | null;
                                        score?: number | null;
                                    }
                                    | null;
                                source: "API"
                                | "APP";
                                span_id: string;
                                updated_at: string;
                                user_id: string | null;
                            }[];
                            next_cursor: string
                            | null;
                        };
                    };
                    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 };
                };
            };
        };
        listTraceAnnotationsByTraceIds: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { project_identifier: string };
                query?: {
                    cursor?: string | null;
                    exclude_annotation_names?: string[] | null;
                    identifier?: string[] | null;
                    include_annotation_names?: string[] | null;
                    limit?: number;
                    trace_ids?: string[] | null;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            data: {
                                annotator_kind: "LLM"
                                | "CODE"
                                | "HUMAN";
                                created_at: string;
                                id: string;
                                identifier?: string;
                                metadata?: { [key: string]: unknown } | null;
                                name: string;
                                result?:
                                    | {
                                        explanation?: string
                                        | null;
                                        label?: string | null;
                                        score?: number | null;
                                    }
                                    | null;
                                source: "API"
                                | "APP";
                                trace_id: string;
                                updated_at: string;
                                user_id: string | null;
                            }[];
                            next_cursor: string
                            | null;
                        };
                    };
                    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 };
                };
            };
        };
        login_oauth2__idp_name__login_get: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { idp_name: string };
                query?: { returnUrl?: string | null };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: { "application/json": unknown };
                    headers: { [name: string]: unknown };
                };
                "422": {
                    content: {
                        "application/json": {
                            detail?: {
                                ctx?: Record<string, unknown>;
                                input?: unknown;
                                loc: (string | number)[];
                                msg: string;
                                type: string;
                            }[];
                        };
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        login_oauth2__idp_name__login_post: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { idp_name: string };
                query?: { returnUrl?: string | null };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: { "application/json": unknown };
                    headers: { [name: string]: unknown };
                };
                "422": {
                    content: {
                        "application/json": {
                            detail?: {
                                ctx?: Record<string, unknown>;
                                input?: unknown;
                                loc: (string | number)[];
                                msg: string;
                                type: string;
                            }[];
                        };
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        postPromptVersion: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody: {
                content: {
                    "application/json": {
                        prompt: {
                            description?: string
                            | null;
                            metadata?: { [key: string]: unknown } | null;
                            name: string;
                            source_prompt_id?: string | null;
                        };
                        version: {
                            description?: string
                            | null;
                            invocation_parameters:
                                | {
                                    anthropic: {
                                        extra_body?: { [key: string]: unknown };
                                        max_tokens: number;
                                        output_config?: {
                                            effort?: (...) | (...) | (...) | (...) | (...) | (...);
                                        };
                                        stop_sequences?: string[];
                                        temperature?: number;
                                        thinking?: | { type: "disabled" }
                                        | {
                                            budget_tokens: number;
                                            display?: (...) | (...) | (...);
                                            type: "enabled";
                                        }
                                        | { display?: (...)
                                        | (...)
                                        | (...); type: "adaptive" };
                                        top_p?: number;
                                    };
                                    type: "anthropic";
                                }
                                | {
                                    aws: {
                                        max_tokens?: number;
                                        stop_sequences?: string[];
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                    type: "aws";
                                }
                                | {
                                    azure_openai: {
                                        extra_body?: { [key: string]: unknown };
                                        frequency_penalty?: number;
                                        max_completion_tokens?: number;
                                        max_tokens?: number;
                                        presence_penalty?: number;
                                        reasoning_effort?:
                                            | "low"
                                            | "medium"
                                            | "high"
                                            | "xhigh"
                                            | "none"
                                            | "minimal";
                                        seed?: number;
                                        stop?: string[];
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                    type: "azure_openai";
                                }
                                | {
                                    cerebras: {
                                        extra_body?: { [key: string]: unknown };
                                        frequency_penalty?: number;
                                        max_completion_tokens?: number;
                                        max_tokens?: number;
                                        presence_penalty?: number;
                                        reasoning_effort?:
                                            | "low"
                                            | "medium"
                                            | "high"
                                            | "xhigh"
                                            | "none"
                                            | "minimal";
                                        seed?: number;
                                        stop?: string[];
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                    type: "cerebras";
                                }
                                | {
                                    deepseek: {
                                        extra_body?: { [key: string]: unknown };
                                        frequency_penalty?: number;
                                        max_completion_tokens?: number;
                                        max_tokens?: number;
                                        presence_penalty?: number;
                                        reasoning_effort?:
                                            | "low"
                                            | "medium"
                                            | "high"
                                            | "xhigh"
                                            | "none"
                                            | "minimal";
                                        seed?: number;
                                        stop?: string[];
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                    type: "deepseek";
                                }
                                | {
                                    fireworks: {
                                        extra_body?: { [key: string]: unknown };
                                        frequency_penalty?: number;
                                        max_completion_tokens?: number;
                                        max_tokens?: number;
                                        presence_penalty?: number;
                                        reasoning_effort?:
                                            | "low"
                                            | "medium"
                                            | "high"
                                            | "xhigh"
                                            | "none"
                                            | "minimal";
                                        seed?: number;
                                        stop?: string[];
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                    type: "fireworks";
                                }
                                | {
                                    google: {
                                        frequency_penalty?: number;
                                        max_output_tokens?: number;
                                        presence_penalty?: number;
                                        stop_sequences?: string[];
                                        temperature?: number;
                                        thinking_config?: {
                                            include_thoughts?: (...)
                                            | (...)
                                            | (...);
                                            thinking_budget?: (...) | (...);
                                            thinking_level?: (...) | (...) | (...) | (...) | (...);
                                        };
                                        top_k?: number;
                                        top_p?: number;
                                    };
                                    type: "google";
                                }
                                | {
                                    groq: {
                                        extra_body?: { [key: string]: unknown };
                                        frequency_penalty?: number;
                                        max_completion_tokens?: number;
                                        max_tokens?: number;
                                        presence_penalty?: number;
                                        reasoning_effort?:
                                            | "low"
                                            | "medium"
                                            | "high"
                                            | "xhigh"
                                            | "none"
                                            | "minimal";
                                        seed?: number;
                                        stop?: string[];
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                    type: "groq";
                                }
                                | {
                                    moonshot: {
                                        extra_body?: { [key: string]: unknown };
                                        frequency_penalty?: number;
                                        max_completion_tokens?: number;
                                        max_tokens?: number;
                                        presence_penalty?: number;
                                        reasoning_effort?:
                                            | "low"
                                            | "medium"
                                            | "high"
                                            | "xhigh"
                                            | "none"
                                            | "minimal";
                                        seed?: number;
                                        stop?: string[];
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                    type: "moonshot";
                                }
                                | {
                                    ollama: {
                                        extra_body?: { [key: string]: unknown };
                                        frequency_penalty?: number;
                                        max_completion_tokens?: number;
                                        max_tokens?: number;
                                        presence_penalty?: number;
                                        reasoning_effort?:
                                            | "low"
                                            | "medium"
                                            | "high"
                                            | "xhigh"
                                            | "none"
                                            | "minimal";
                                        seed?: number;
                                        stop?: string[];
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                    type: "ollama";
                                }
                                | {
                                    openai: {
                                        extra_body?: { [key: string]: unknown };
                                        frequency_penalty?: number;
                                        max_completion_tokens?: number;
                                        max_tokens?: number;
                                        presence_penalty?: number;
                                        reasoning_effort?:
                                            | "low"
                                            | "medium"
                                            | "high"
                                            | "xhigh"
                                            | "none"
                                            | "minimal";
                                        seed?: number;
                                        stop?: string[];
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                    type: "openai";
                                }
                                | {
                                    perplexity: {
                                        extra_body?: { [key: string]: unknown };
                                        frequency_penalty?: number;
                                        max_completion_tokens?: number;
                                        max_tokens?: number;
                                        presence_penalty?: number;
                                        reasoning_effort?:
                                            | "low"
                                            | "medium"
                                            | "high"
                                            | "xhigh"
                                            | "none"
                                            | "minimal";
                                        seed?: number;
                                        stop?: string[];
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                    type: "perplexity";
                                }
                                | {
                                    together: {
                                        extra_body?: { [key: string]: unknown };
                                        frequency_penalty?: number;
                                        max_completion_tokens?: number;
                                        max_tokens?: number;
                                        presence_penalty?: number;
                                        reasoning_effort?:
                                            | "low"
                                            | "medium"
                                            | "high"
                                            | "xhigh"
                                            | "none"
                                            | "minimal";
                                        seed?: number;
                                        stop?: string[];
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                    type: "together";
                                }
                                | {
                                    type: "xai";
                                    xai: {
                                        extra_body?: { [key: string]: unknown };
                                        frequency_penalty?: number;
                                        max_completion_tokens?: number;
                                        max_tokens?: number;
                                        presence_penalty?: number;
                                        reasoning_effort?:
                                            | "low"
                                            | "medium"
                                            | "high"
                                            | "xhigh"
                                            | "none"
                                            | "minimal";
                                        seed?: number;
                                        stop?: string[];
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                };
                            model_name: string;
                            model_provider: | "OPENAI"
                            | "AZURE_OPENAI"
                            | "ANTHROPIC"
                            | "GOOGLE"
                            | "DEEPSEEK"
                            | "XAI"
                            | "OLLAMA"
                            | "AWS"
                            | "CEREBRAS"
                            | "FIREWORKS"
                            | "GROQ"
                            | "MOONSHOT"
                            | "PERPLEXITY"
                            | "TOGETHER";
                            response_format?: | {
                                json_schema: {
                                    description?: string;
                                    name: string;
                                    schema?: { [key: string]: unknown };
                                    strict?: boolean;
                                };
                                type: "json_schema";
                            }
                            | null;
                            template: | {
                                messages: {
                                    content: string
                                    | (...)[];
                                    role:
                                        | "system"
                                        | "user"
                                        | "assistant"
                                        | "model"
                                        | "ai"
                                        | "tool"
                                        | "developer";
                                }[];
                                type: "chat";
                            }
                            | { template: string; type: "string" };
                            template_format: "NONE" | "MUSTACHE" | "F_STRING";
                            template_type: "STR" | "CHAT";
                            tools?:
                                | {
                                    disable_parallel_tool_calls?: boolean;
                                    tool_choice?: | { type: "none" }
                                    | { type: "one_or_more" }
                                    | { function_name: string; type: "specific_function" }
                                    | { type: "zero_or_more" };
                                    tools: (
                                        | {
                                            function: {
                                                description?: ...;
                                                name: ...;
                                                parameters?: ...;
                                                strict?: ...;
                                            };
                                            type: "function";
                                        }
                                        | { raw: { [key: ...]: ... }; type: "raw" }
                                    )[];
                                    type: "tools";
                                }
                                | null;
                        };
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            data: {
                                description?: string
                                | null;
                                id: string;
                                invocation_parameters:
                                    | {
                                        anthropic: {
                                            extra_body?: { [key: ...]: ... };
                                            max_tokens: number;
                                            output_config?: { effort?: ... };
                                            stop_sequences?: (...)[];
                                            temperature?: number;
                                            thinking?:
                                                | { type: ... }
                                                | { budget_tokens: ...; display?: ...; type: ... }
                                                | { display?: ...; type: ... };
                                            top_p?: number;
                                        };
                                        type: "anthropic";
                                    }
                                    | {
                                        aws: {
                                            max_tokens?: number;
                                            stop_sequences?: (...)[];
                                            temperature?: number;
                                            top_p?: number;
                                        };
                                        type: "aws";
                                    }
                                    | {
                                        azure_openai: {
                                            extra_body?: { [key: ...]: ... };
                                            frequency_penalty?: number;
                                            max_completion_tokens?: number;
                                            max_tokens?: number;
                                            presence_penalty?: number;
                                            reasoning_effort?:
                                                | "low"
                                                | "medium"
                                                | "high"
                                                | "xhigh"
                                                | "none"
                                                | "minimal";
                                            seed?: number;
                                            stop?: (...)[];
                                            temperature?: number;
                                            top_p?: number;
                                        };
                                        type: "azure_openai";
                                    }
                                    | {
                                        cerebras: {
                                            extra_body?: { [key: ...]: ... };
                                            frequency_penalty?: number;
                                            max_completion_tokens?: number;
                                            max_tokens?: number;
                                            presence_penalty?: number;
                                            reasoning_effort?:
                                                | "low"
                                                | "medium"
                                                | "high"
                                                | "xhigh"
                                                | "none"
                                                | "minimal";
                                            seed?: number;
                                            stop?: (...)[];
                                            temperature?: number;
                                            top_p?: number;
                                        };
                                        type: "cerebras";
                                    }
                                    | {
                                        deepseek: {
                                            extra_body?: { [key: ...]: ... };
                                            frequency_penalty?: number;
                                            max_completion_tokens?: number;
                                            max_tokens?: number;
                                            presence_penalty?: number;
                                            reasoning_effort?:
                                                | "low"
                                                | "medium"
                                                | "high"
                                                | "xhigh"
                                                | "none"
                                                | "minimal";
                                            seed?: number;
                                            stop?: (...)[];
                                            temperature?: number;
                                            top_p?: number;
                                        };
                                        type: "deepseek";
                                    }
                                    | {
                                        fireworks: {
                                            extra_body?: { [key: ...]: ... };
                                            frequency_penalty?: number;
                                            max_completion_tokens?: number;
                                            max_tokens?: number;
                                            presence_penalty?: number;
                                            reasoning_effort?:
                                                | "low"
                                                | "medium"
                                                | "high"
                                                | "xhigh"
                                                | "none"
                                                | "minimal";
                                            seed?: number;
                                            stop?: (...)[];
                                            temperature?: number;
                                            top_p?: number;
                                        };
                                        type: "fireworks";
                                    }
                                    | {
                                        google: {
                                            frequency_penalty?: number;
                                            max_output_tokens?: number;
                                            presence_penalty?: number;
                                            stop_sequences?: (...)[];
                                            temperature?: number;
                                            thinking_config?: {
                                                include_thoughts?: ...;
                                                thinking_budget?: ...;
                                                thinking_level?: ...;
                                            };
                                            top_k?: number;
                                            top_p?: number;
                                        };
                                        type: "google";
                                    }
                                    | {
                                        groq: {
                                            extra_body?: { [key: ...]: ... };
                                            frequency_penalty?: number;
                                            max_completion_tokens?: number;
                                            max_tokens?: number;
                                            presence_penalty?: number;
                                            reasoning_effort?:
                                                | "low"
                                                | "medium"
                                                | "high"
                                                | "xhigh"
                                                | "none"
                                                | "minimal";
                                            seed?: number;
                                            stop?: (...)[];
                                            temperature?: number;
                                            top_p?: number;
                                        };
                                        type: "groq";
                                    }
                                    | {
                                        moonshot: {
                                            extra_body?: { [key: ...]: ... };
                                            frequency_penalty?: number;
                                            max_completion_tokens?: number;
                                            max_tokens?: number;
                                            presence_penalty?: number;
                                            reasoning_effort?:
                                                | "low"
                                                | "medium"
                                                | "high"
                                                | "xhigh"
                                                | "none"
                                                | "minimal";
                                            seed?: number;
                                            stop?: (...)[];
                                            temperature?: number;
                                            top_p?: number;
                                        };
                                        type: "moonshot";
                                    }
                                    | {
                                        ollama: {
                                            extra_body?: { [key: ...]: ... };
                                            frequency_penalty?: number;
                                            max_completion_tokens?: number;
                                            max_tokens?: number;
                                            presence_penalty?: number;
                                            reasoning_effort?:
                                                | "low"
                                                | "medium"
                                                | "high"
                                                | "xhigh"
                                                | "none"
                                                | "minimal";
                                            seed?: number;
                                            stop?: (...)[];
                                            temperature?: number;
                                            top_p?: number;
                                        };
                                        type: "ollama";
                                    }
                                    | {
                                        openai: {
                                            extra_body?: { [key: ...]: ... };
                                            frequency_penalty?: number;
                                            max_completion_tokens?: number;
                                            max_tokens?: number;
                                            presence_penalty?: number;
                                            reasoning_effort?:
                                                | "low"
                                                | "medium"
                                                | "high"
                                                | "xhigh"
                                                | "none"
                                                | "minimal";
                                            seed?: number;
                                            stop?: (...)[];
                                            temperature?: number;
                                            top_p?: number;
                                        };
                                        type: "openai";
                                    }
                                    | {
                                        perplexity: {
                                            extra_body?: { [key: ...]: ... };
                                            frequency_penalty?: number;
                                            max_completion_tokens?: number;
                                            max_tokens?: number;
                                            presence_penalty?: number;
                                            reasoning_effort?:
                                                | "low"
                                                | "medium"
                                                | "high"
                                                | "xhigh"
                                                | "none"
                                                | "minimal";
                                            seed?: number;
                                            stop?: (...)[];
                                            temperature?: number;
                                            top_p?: number;
                                        };
                                        type: "perplexity";
                                    }
                                    | {
                                        together: {
                                            extra_body?: { [key: ...]: ... };
                                            frequency_penalty?: number;
                                            max_completion_tokens?: number;
                                            max_tokens?: number;
                                            presence_penalty?: number;
                                            reasoning_effort?:
                                                | "low"
                                                | "medium"
                                                | "high"
                                                | "xhigh"
                                                | "none"
                                                | "minimal";
                                            seed?: number;
                                            stop?: (...)[];
                                            temperature?: number;
                                            top_p?: number;
                                        };
                                        type: "together";
                                    }
                                    | {
                                        type: "xai";
                                        xai: {
                                            extra_body?: { [key: ...]: ... };
                                            frequency_penalty?: number;
                                            max_completion_tokens?: number;
                                            max_tokens?: number;
                                            presence_penalty?: number;
                                            reasoning_effort?:
                                                | "low"
                                                | "medium"
                                                | "high"
                                                | "xhigh"
                                                | "none"
                                                | "minimal";
                                            seed?: number;
                                            stop?: (...)[];
                                            temperature?: number;
                                            top_p?: number;
                                        };
                                    };
                                model_name: string;
                                model_provider: | "OPENAI"
                                | "AZURE_OPENAI"
                                | "ANTHROPIC"
                                | "GOOGLE"
                                | "DEEPSEEK"
                                | "XAI"
                                | "OLLAMA"
                                | "AWS"
                                | "CEREBRAS"
                                | "FIREWORKS"
                                | "GROQ"
                                | "MOONSHOT"
                                | "PERPLEXITY"
                                | "TOGETHER";
                                response_format?: | {
                                    json_schema: {
                                        description?: string;
                                        name: string;
                                        schema?: { [key: ...]: ... };
                                        strict?: boolean;
                                    };
                                    type: "json_schema";
                                }
                                | null;
                                template: | {
                                    messages: {
                                        content: (...)
                                        | (...);
                                        role: (...) | (...) | (...) | (...) | (...) | (...) | (...);
                                    }[];
                                    type: "chat";
                                }
                                | { template: string; type: "string" };
                                template_format: "NONE" | "MUSTACHE" | "F_STRING";
                                template_type: "STR" | "CHAT";
                                tools?:
                                    | {
                                        disable_parallel_tool_calls?: boolean;
                                        tool_choice?: | { type: "none" }
                                        | { type: "one_or_more" }
                                        | { function_name: string; type: "specific_function" }
                                        | { type: "zero_or_more" };
                                        tools: ({ function: ...; type: ... } | { raw: ...; type: ... })[];
                                        type: "tools";
                                    }
                                    | null;
                            };
                        };
                    };
                    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?: {
                    attribute?: string[] | null;
                    cursor?: string | null;
                    end_time?: string | null;
                    limit?: number;
                    name?: string[] | null;
                    parent_id?: string | null;
                    start_time?: string | null;
                    status_code?: string[] | null;
                    trace_id?: string[] | null;
                };
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            data: {
                                attributes?: | {
                                    key?: (...)
                                    | (...)
                                    | (...);
                                    value?: (...) | (...) | (...);
                                }[]
                                | null;
                                dropped_attributes_count?: number
                                | null;
                                dropped_events_count?: number | null;
                                dropped_links_count?: number | null;
                                end_time_unix_nano?: string | number | null;
                                events?:
                                    | {
                                        attributes?: (...)
                                        | (...)
                                        | (...);
                                        dropped_attributes_count?: (...) | (...) | (...);
                                        name?: (...) | (...) | (...);
                                        time_unix_nano?: (...) | (...) | (...) | (...);
                                    }[]
                                    | null;
                                flags?: number
                                | null;
                                kind?:
                                    | number
                                    | "SPAN_KIND_UNSPECIFIED"
                                    | "SPAN_KIND_INTERNAL"
                                    | "SPAN_KIND_SERVER"
                                    | "SPAN_KIND_CLIENT"
                                    | "SPAN_KIND_PRODUCER"
                                    | "SPAN_KIND_CONSUMER"
                                    | null;
                                links?: null;
                                name?: string
                                | null;
                                parent_span_id?: string | null;
                                span_id?: string | null;
                                start_time_unix_nano?: string | number | null;
                                status?: { code?: number | null; message?: string | null } | null;
                                trace_id?: string | null;
                                trace_state?: string | null;
                            }[];
                            next_cursor: string
                            | null;
                        };
                    };
                    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 };
                };
            };
        };
        summarize_endpoint_agents__agent_id__sessions__session_id__summary_post: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { agent_id: string; session_id: string };
                query?: undefined;
            };
            requestBody: {
                content: {
                    "application/json": {
                        exportRemoteTraces?: boolean;
                        ingestTraces?: boolean;
                        messages: {
                            id: string;
                            metadata?: unknown;
                            parts: (
                                | {
                                    providerMetadata?: { [key: ...]: ... }
                                    | null;
                                    state?: "streaming" | "done" | null;
                                    text: string;
                                    type?: "text";
                                }
                                | {
                                    providerMetadata?: { [key: ...]: ... }
                                    | null;
                                    state?: "streaming" | "done" | null;
                                    text: string;
                                    type?: "reasoning";
                                }
                                | {
                                    approval?: | { id: ... }
                                    | { approved: ...; id: ...; reason?: ... }
                                    | null;
                                    callProviderMetadata?: { [key: ...]: ... } | null;
                                    input?: unknown;
                                    providerExecuted?: boolean | null;
                                    state?: "input-streaming";
                                    toolCallId: string;
                                    type: string;
                                }
                                | {
                                    approval?: | { id: ... }
                                    | { approved: ...; id: ...; reason?: ... }
                                    | null;
                                    callProviderMetadata?: { [key: ...]: ... } | null;
                                    input?: unknown;
                                    providerExecuted?: boolean | null;
                                    state?: "input-available";
                                    toolCallId: string;
                                    type: string;
                                }
                                | {
                                    approval?: | { id: ... }
                                    | { approved: ...; id: ...; reason?: ... }
                                    | null;
                                    callProviderMetadata?: { [key: ...]: ... } | null;
                                    input?: unknown;
                                    output?: unknown;
                                    preliminary?: boolean | null;
                                    providerExecuted?: boolean | null;
                                    state?: "output-available";
                                    toolCallId: string;
                                    type: string;
                                }
                                | {
                                    approval?: | { id: ... }
                                    | { approved: ...; id: ...; reason?: ... }
                                    | null;
                                    callProviderMetadata?: { [key: ...]: ... } | null;
                                    errorText: string;
                                    input?: unknown;
                                    providerExecuted?: boolean | null;
                                    rawInput?: unknown;
                                    state?: "output-error";
                                    toolCallId: string;
                                    type: string;
                                }
                                | {
                                    approval?: | { id: ... }
                                    | { approved: ...; id: ...; reason?: ... }
                                    | null;
                                    callProviderMetadata?: { [key: ...]: ... } | null;
                                    input?: unknown;
                                    providerExecuted?: boolean | null;
                                    state?: "approval-requested";
                                    toolCallId: string;
                                    type: string;
                                }
                                | {
                                    approval?: | { id: ... }
                                    | { approved: ...; id: ...; reason?: ... }
                                    | null;
                                    callProviderMetadata?: { [key: ...]: ... } | null;
                                    input?: unknown;
                                    providerExecuted?: boolean | null;
                                    state?: "approval-responded";
                                    toolCallId: string;
                                    type: string;
                                }
                                | {
                                    approval?: | { id: ... }
                                    | { approved: ...; id: ...; reason?: ... }
                                    | null;
                                    callProviderMetadata?: { [key: ...]: ... } | null;
                                    input?: unknown;
                                    providerExecuted?: boolean | null;
                                    state?: "output-denied";
                                    toolCallId: string;
                                    type: string;
                                }
                                | {
                                    approval?: | { id: ... }
                                    | { approved: ...; id: ...; reason?: ... }
                                    | null;
                                    callProviderMetadata?: { [key: ...]: ... } | null;
                                    input?: unknown;
                                    state?: "input-streaming";
                                    toolCallId: string;
                                    toolName: string;
                                    type?: "dynamic-tool";
                                }
                                | {
                                    approval?: | { id: ... }
                                    | { approved: ...; id: ...; reason?: ... }
                                    | null;
                                    callProviderMetadata?: { [key: ...]: ... } | null;
                                    input: unknown;
                                    state?: "input-available";
                                    toolCallId: string;
                                    toolName: string;
                                    type?: "dynamic-tool";
                                }
                                | {
                                    approval?: | { id: ... }
                                    | { approved: ...; id: ...; reason?: ... }
                                    | null;
                                    callProviderMetadata?: { [key: ...]: ... } | null;
                                    input: unknown;
                                    output: unknown;
                                    preliminary?: boolean | null;
                                    state?: "output-available";
                                    toolCallId: string;
                                    toolName: string;
                                    type?: "dynamic-tool";
                                }
                                | {
                                    approval?: | { id: ... }
                                    | { approved: ...; id: ...; reason?: ... }
                                    | null;
                                    callProviderMetadata?: { [key: ...]: ... } | null;
                                    errorText: string;
                                    input: unknown;
                                    state?: "output-error";
                                    toolCallId: string;
                                    toolName: string;
                                    type?: "dynamic-tool";
                                }
                                | {
                                    approval?: | { id: ... }
                                    | { approved: ...; id: ...; reason?: ... }
                                    | null;
                                    callProviderMetadata?: { [key: ...]: ... } | null;
                                    input: unknown;
                                    state?: "approval-requested";
                                    toolCallId: string;
                                    toolName: string;
                                    type?: "dynamic-tool";
                                }
                                | {
                                    approval?: | { id: ... }
                                    | { approved: ...; id: ...; reason?: ... }
                                    | null;
                                    callProviderMetadata?: { [key: ...]: ... } | null;
                                    input: unknown;
                                    state?: "approval-responded";
                                    toolCallId: string;
                                    toolName: string;
                                    type?: "dynamic-tool";
                                }
                                | {
                                    approval?: | { id: ... }
                                    | { approved: ...; id: ...; reason?: ... }
                                    | null;
                                    callProviderMetadata?: { [key: ...]: ... } | null;
                                    input: unknown;
                                    state?: "output-denied";
                                    toolCallId: string;
                                    toolName: string;
                                    type?: "dynamic-tool";
                                }
                                | {
                                    providerMetadata?: { [key: ...]: ... }
                                    | null;
                                    sourceId: string;
                                    title?: string | null;
                                    type?: "source-url";
                                    url: string;
                                }
                                | {
                                    filename?: string
                                    | null;
                                    mediaType: string;
                                    providerMetadata?: { [key: ...]: ... } | null;
                                    sourceId: string;
                                    title: string;
                                    type?: "source-document";
                                }
                                | {
                                    filename?: string
                                    | null;
                                    mediaType: string;
                                    providerMetadata?: { [key: ...]: ... } | null;
                                    type?: "file";
                                    url: string;
                                }
                                | { data: unknown; id?: string
                                | null; type: string }
                                | { type?: "step-start" }
                            )[];
                            role: "system" | "user" | "assistant";
                        }[];
                        model: | {
                            modelName: string;
                            openaiApiType?: "chat_completions"
                            | "responses";
                            provider:
                                | "OPENAI"
                                | "AZURE_OPENAI"
                                | "ANTHROPIC"
                                | "GOOGLE"
                                | "DEEPSEEK"
                                | "XAI"
                                | "OLLAMA"
                                | "AWS"
                                | "CEREBRAS"
                                | "FIREWORKS"
                                | "GROQ"
                                | "MOONSHOT"
                                | "PERPLEXITY"
                                | "TOGETHER";
                            providerType: "builtin";
                        }
                        | { modelName: string; providerId: string; providerType: "custom" };
                    };
                };
            };
            responses: {
                "200": {
                    content: { "application/json": { summary: string } };
                    headers: { [name: string]: unknown };
                };
                "422": {
                    content: {
                        "application/json": {
                            detail?: {
                                ctx?: Record<string, unknown>;
                                input?: unknown;
                                loc: (string | number)[];
                                msg: string;
                                type: 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?: string
                        | null;
                        name: string;
                        optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                        type: "CATEGORICAL";
                        values: { label: string; score?: number | null }[];
                    }
                    | {
                        description?: string
                        | null;
                        lower_bound?: number | null;
                        name: string;
                        optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                        type: "CONTINUOUS";
                        upper_bound?: number | null;
                    }
                    | {
                        description?: string
                        | null;
                        lower_bound?: number | null;
                        name: string;
                        optimization_direction?: "MINIMIZE" | "MAXIMIZE" | "NONE" | null;
                        threshold?: number | null;
                        type: "FREEFORM";
                        upper_bound?: number | null;
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            data: | {
                                description?: string
                                | null;
                                id: string;
                                name: string;
                                optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                                type: "CATEGORICAL";
                                values: { label: string; score?: number | null }[];
                            }
                            | {
                                description?: string
                                | null;
                                id: string;
                                lower_bound?: number | null;
                                name: string;
                                optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                                type: "CONTINUOUS";
                                upper_bound?: number | null;
                            }
                            | {
                                description?: string
                                | null;
                                id: string;
                                lower_bound?: number | null;
                                name: string;
                                optimization_direction?: "MINIMIZE" | "MAXIMIZE" | "NONE" | null;
                                threshold?: number | null;
                                type: "FREEFORM";
                                upper_bound?: number | null;
                            };
                        };
                    };
                    headers: { [name: string]: unknown };
                };
                "403": {
                    content: { "text/plain": string };
                    headers: { [name: string]: unknown };
                };
                "422": {
                    content: {
                        "application/json": {
                            detail?: {
                                ctx?: Record<string, unknown>;
                                input?: unknown;
                                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?: string
                | null } };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            data: { description?: string
                            | null; 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"
                        | "update";
                        description?: string;
                        example_ids?: (string | null)[];
                        inputs: Record<string, unknown>[];
                        metadata?: Record<string, unknown>[];
                        name: string;
                        outputs?: Record<string, unknown>[];
                        span_ids?: (string | null)[];
                        splits?: (string | string[] | null)[];
                    };
                    "multipart/form-data": {
                        action?: "create"
                        | "append"
                        | "update";
                        description?: string;
                        example_id_key?: string;
                        file: string;
                        "flatten_keys[]"?: string[];
                        "input_keys[]": string[];
                        "metadata_keys[]"?: string[];
                        name: string;
                        "output_keys[]": string[];
                        span_id_key?: string;
                        split_key?: string;
                        "split_keys[]"?: string[];
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": | {
                            data: {
                                dataset_id: string;
                                num_created_examples: number;
                                num_deleted_examples: number;
                                num_updated_examples: number;
                                version_id: string;
                            };
                        }
                        | null;
                    };
                    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?: string | null;
                        experiment_run_id: string;
                        metadata?: { [key: string]: unknown } | null;
                        name: string;
                        result?:
                            | {
                                explanation?: string
                                | null;
                                label?: string | null;
                                score?: number | null;
                            }
                            | null;
                        start_time: string;
                        trace_id?: string
                        | null;
                    };
                };
            };
            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?: {
                                ctx?: Record<string, unknown>;
                                input?: unknown;
                                loc: (string | number)[];
                                msg: string;
                                type: string;
                            }[];
                        };
                    };
                    headers: { [name: string]: unknown };
                };
            };
        };
        upsertOrDeleteSecrets: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody: {
                content: {
                    "application/json": {
                        secrets: { key: string; value: string
                        | null }[];
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            data: { deleted_keys: string[]; upserted_keys: string[] };
                        };
                    };
                    headers: { [name: string]: unknown };
                };
                "403": {
                    content: { "text/plain": string };
                    headers: { [name: string]: unknown };
                };
                "422": {
                    content: { "text/plain": string };
                    headers: { [name: string]: unknown };
                };
                "507": {
                    content: { "text/plain": string };
                    headers: { [name: string]: unknown };
                };
            };
        };
        version_arize_phoenix_version_get: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: { "application/json": unknown };
                    headers: { [name: string]: unknown };
                };
            };
        };
    }
    Index

    Properties

    _initiate_password_reset_auth_password_reset_email_post _ldap_login_auth_ldap_login_post _login_auth_login_post _logout_auth_logout_get _refresh_tokens_auth_refresh_post _reset_password_auth_password_reset_post annotateSessions annotateSpanDocuments annotateSpans annotateTraces chat_agents__agent_id__sessions__session_id__chat_post check_healthz_healthz_get check_readyz_readyz_get create_annotation_config_v1_annotation_configs_post create_tokens_oauth2__idp_name__tokens_get createExperiment createExperimentRun createProject createPromptVersionTag createSessionNote createSpanNote createSpans createTraceNote createUser delete_annotation_config_v1_annotation_configs__config_id__delete deleteDatasetById deleteExperiment deleteProject deletePrompt deletePromptVersionTag deleteSession deleteSessionAnnotations deleteSessions deleteSpan deleteSpanAnnotations deleteTrace deleteTraceAnnotations deleteUser get_annotation_config_by_name_or_id_v1_annotation_configs__config_identifier__get getDataset getDatasetCsv getDatasetExamples getDatasetJSONL getDatasetJSONLOpenAIEvals getDatasetJSONLOpenAIFineTuning getExperiment getExperimentCSV getExperimentJSON getIncompleteExperimentEvaluations getIncompleteExperimentRuns getProject getProjects getPrompts getPromptVersionByPromptVersionId getPromptVersionByTagName getPromptVersionLatest getPromptVersionTags getSession getSpans getUsers getViewer list_annotation_configs_v1_annotation_configs_get listDatasets listDatasetVersionsByDatasetId listExperimentRuns listExperiments listProjectSessions listProjectTraces listPromptVersions listSessionAnnotationsBySessionIds listSpanAnnotationsBySpanIds listTraceAnnotationsByTraceIds login_oauth2__idp_name__login_get login_oauth2__idp_name__login_post postPromptVersion spanSearch summarize_endpoint_agents__agent_id__sessions__session_id__summary_post update_annotation_config_v1_annotation_configs__config_id__put updateProject uploadDataset upsertExperimentEvaluation upsertOrDeleteSecrets version_arize_phoenix_version_get

    Properties

    _initiate_password_reset_auth_password_reset_email_post

    _initiate_password_reset_auth_password_reset_email_post: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": unknown };
                headers: { [name: string]: unknown };
            };
        };
    }

    _ldap_login_auth_ldap_login_post

    _ldap_login_auth_ldap_login_post: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": unknown };
                headers: { [name: string]: unknown };
            };
        };
    }

    _login_auth_login_post

    _login_auth_login_post: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": unknown };
                headers: { [name: string]: unknown };
            };
        };
    }
    _logout_auth_logout_get: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": unknown };
                headers: { [name: string]: unknown };
            };
        };
    }

    _refresh_tokens_auth_refresh_post

    _refresh_tokens_auth_refresh_post: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": unknown };
                headers: { [name: string]: unknown };
            };
        };
    }

    _reset_password_auth_password_reset_post

    _reset_password_auth_password_reset_post: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": unknown };
                headers: { [name: string]: unknown };
            };
        };
    }
    annotateSessions: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: { sync?: boolean };
        };
        requestBody: {
            content: {
                "application/json": {
                    data: {
                        annotator_kind: "LLM"
                        | "CODE"
                        | "HUMAN";
                        identifier?: string;
                        metadata?: { [key: string]: unknown } | null;
                        name: string;
                        result?:
                            | {
                                explanation?: string
                                | null;
                                label?: string | null;
                                score?: number | null;
                            }
                            | null;
                        session_id: string;
                    }[];
                };
            };
        };
        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?: {
                            ctx?: Record<string, unknown>;
                            input?: unknown;
                            loc: (string | number)[];
                            msg: string;
                            type: string;
                        }[];
                    };
                };
                headers: { [name: string]: unknown };
            };
        };
    }
    annotateSpanDocuments: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: { sync?: boolean };
        };
        requestBody: {
            content: {
                "application/json": {
                    data: {
                        annotator_kind: "LLM"
                        | "CODE"
                        | "HUMAN";
                        document_position: number;
                        identifier?: string;
                        metadata?: { [key: string]: unknown } | null;
                        name: string;
                        result?:
                            | {
                                explanation?: string
                                | null;
                                label?: string | null;
                                score?: number | null;
                            }
                            | null;
                        span_id: string;
                    }[];
                };
            };
        };
        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: { "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?: { [key: string]: unknown } | null;
                        name: string;
                        result?:
                            | {
                                explanation?: string
                                | null;
                                label?: string | null;
                                score?: number | null;
                            }
                            | null;
                        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?: {
                            ctx?: Record<string, unknown>;
                            input?: unknown;
                            loc: (string | number)[];
                            msg: string;
                            type: string;
                        }[];
                    };
                };
                headers: { [name: string]: unknown };
            };
        };
    }
    annotateTraces: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: { sync?: boolean };
        };
        requestBody: {
            content: {
                "application/json": {
                    data: {
                        annotator_kind: "LLM"
                        | "CODE"
                        | "HUMAN";
                        identifier?: string;
                        metadata?: { [key: string]: unknown } | null;
                        name: string;
                        result?:
                            | {
                                explanation?: string
                                | null;
                                label?: string | null;
                                score?: number | null;
                            }
                            | null;
                        trace_id: string;
                    }[];
                };
            };
        };
        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?: {
                            ctx?: Record<string, unknown>;
                            input?: unknown;
                            loc: (string | number)[];
                            msg: string;
                            type: string;
                        }[];
                    };
                };
                headers: { [name: string]: unknown };
            };
        };
    }

    chat_agents__agent_id__sessions__session_id__chat_post

    chat_agents__agent_id__sessions__session_id__chat_post: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { agent_id: string; session_id: string };
            query?: undefined;
        };
        requestBody: {
            content: {
                "application/json": | {
                    contexts?: (
                        | {
                            otelSpanId?: (...)
                            | (...)
                            | (...);
                            projectNodeId?: (...) | (...) | (...);
                            spanNodeId?: (...) | (...) | (...);
                            type: "span";
                        }
                        | { currentDateTime: string; timeZone: string; type: "app" }
                        | {
                            projectNodeId: string;
                            rootSpansOnly?: (...) | (...) | (...) | (...);
                            spanFilter?: (...) | (...) | (...);
                            type: "project";
                        }
                        | { otelTraceId: string; projectNodeId: string; type: "trace" }
                        | { instanceIds: (...)[]; type: "playground" }
                        | { mutationsEnabled: boolean; type: "graphql" }
                        | { enabled: boolean; type: "web_access" }
                    )[];
                    exportRemoteTraces?: boolean;
                    id: string;
                    ingestTraces?: boolean;
                    messageId?: string | null;
                    messages: {
                        id: string;
                        metadata?:
                            | {
                                sessionId: string;
                                trace?: (...)
                                | (...)
                                | (...);
                                usage?: (...) | (...) | (...);
                            }
                            | null;
                        parts: (
                            | { providerMetadata?: ...; state?: ...; text: ...; type?: ... }
                            | { providerMetadata?: ...; state?: ...; text: ...; type?: ... }
                            | {
                                approval?: ...;
                                callProviderMetadata?: ...;
                                input?: ...;
                                providerExecuted?: ...;
                                state?: ...;
                                toolCallId: ...;
                                type: ...;
                            }
                            | {
                                approval?: ...;
                                callProviderMetadata?: ...;
                                input?: ...;
                                providerExecuted?: ...;
                                state?: ...;
                                toolCallId: ...;
                                type: ...;
                            }
                            | {
                                approval?: ...;
                                callProviderMetadata?: ...;
                                input?: ...;
                                output?: ...;
                                preliminary?: ...;
                                providerExecuted?: ...;
                                state?: ...;
                                toolCallId: ...;
                                type: ...;
                            }
                            | {
                                approval?: ...;
                                callProviderMetadata?: ...;
                                errorText: ...;
                                input?: ...;
                                providerExecuted?: ...;
                                rawInput?: ...;
                                state?: ...;
                                toolCallId: ...;
                                type: ...;
                            }
                            | {
                                approval?: ...;
                                callProviderMetadata?: ...;
                                input?: ...;
                                providerExecuted?: ...;
                                state?: ...;
                                toolCallId: ...;
                                type: ...;
                            }
                            | {
                                approval?: ...;
                                callProviderMetadata?: ...;
                                input?: ...;
                                providerExecuted?: ...;
                                state?: ...;
                                toolCallId: ...;
                                type: ...;
                            }
                            | {
                                approval?: ...;
                                callProviderMetadata?: ...;
                                input?: ...;
                                providerExecuted?: ...;
                                state?: ...;
                                toolCallId: ...;
                                type: ...;
                            }
                            | {
                                approval?: ...;
                                callProviderMetadata?: ...;
                                input?: ...;
                                state?: ...;
                                toolCallId: ...;
                                toolName: ...;
                                type?: ...;
                            }
                            | {
                                approval?: ...;
                                callProviderMetadata?: ...;
                                input: ...;
                                state?: ...;
                                toolCallId: ...;
                                toolName: ...;
                                type?: ...;
                            }
                            | {
                                approval?: ...;
                                callProviderMetadata?: ...;
                                input: ...;
                                output: ...;
                                preliminary?: ...;
                                state?: ...;
                                toolCallId: ...;
                                toolName: ...;
                                type?: ...;
                            }
                            | {
                                approval?: ...;
                                callProviderMetadata?: ...;
                                errorText: ...;
                                input: ...;
                                state?: ...;
                                toolCallId: ...;
                                toolName: ...;
                                type?: ...;
                            }
                            | {
                                approval?: ...;
                                callProviderMetadata?: ...;
                                input: ...;
                                state?: ...;
                                toolCallId: ...;
                                toolName: ...;
                                type?: ...;
                            }
                            | {
                                approval?: ...;
                                callProviderMetadata?: ...;
                                input: ...;
                                state?: ...;
                                toolCallId: ...;
                                toolName: ...;
                                type?: ...;
                            }
                            | {
                                approval?: ...;
                                callProviderMetadata?: ...;
                                input: ...;
                                state?: ...;
                                toolCallId: ...;
                                toolName: ...;
                                type?: ...;
                            }
                            | {
                                providerMetadata?: ...;
                                sourceId: ...;
                                title?: ...;
                                type?: ...;
                                url: ...;
                            }
                            | {
                                filename?: ...;
                                mediaType: ...;
                                providerMetadata?: ...;
                                sourceId: ...;
                                title: ...;
                                type?: ...;
                            }
                            | {
                                filename?: ...;
                                mediaType: ...;
                                providerMetadata?: ...;
                                type?: ...;
                                url: ...;
                            }
                            | { data: ...; id?: ...; type: ... }
                            | { type?: ... }
                        )[];
                        role: "system" | "user" | "assistant";
                    }[];
                    model: | {
                        modelName: string;
                        openaiApiType?: "chat_completions"
                        | "responses";
                        provider:
                            | "OPENAI"
                            | "AZURE_OPENAI"
                            | "ANTHROPIC"
                            | "GOOGLE"
                            | "DEEPSEEK"
                            | "XAI"
                            | "OLLAMA"
                            | "AWS"
                            | "CEREBRAS"
                            | "FIREWORKS"
                            | "GROQ"
                            | "MOONSHOT"
                            | "PERPLEXITY"
                            | "TOGETHER";
                        providerType: "builtin";
                    }
                    | { modelName: string; providerId: string; providerType: "custom" };
                    trigger: "regenerate-message";
                } & { [key: string]: unknown }
                | {
                    contexts?: (
                        | {
                            otelSpanId?: (...)
                            | (...)
                            | (...);
                            projectNodeId?: (...) | (...) | (...);
                            spanNodeId?: (...) | (...) | (...);
                            type: "span";
                        }
                        | { currentDateTime: string; timeZone: string; type: "app" }
                        | {
                            projectNodeId: string;
                            rootSpansOnly?: (...) | (...) | (...) | (...);
                            spanFilter?: (...) | (...) | (...);
                            type: "project";
                        }
                        | { otelTraceId: string; projectNodeId: string; type: "trace" }
                        | { instanceIds: (...)[]; type: "playground" }
                        | { mutationsEnabled: boolean; type: "graphql" }
                        | { enabled: boolean; type: "web_access" }
                    )[];
                    exportRemoteTraces?: boolean;
                    id: string;
                    ingestTraces?: boolean;
                    messages: {
                        id: string;
                        metadata?:
                            | {
                                sessionId: string;
                                trace?: (...)
                                | (...)
                                | (...);
                                usage?: (...) | (...) | (...);
                            }
                            | null;
                        parts: (
                            | { providerMetadata?: ...; state?: ...; text: ...; type?: ... }
                            | { providerMetadata?: ...; state?: ...; text: ...; type?: ... }
                            | {
                                approval?: ...;
                                callProviderMetadata?: ...;
                                input?: ...;
                                providerExecuted?: ...;
                                state?: ...;
                                toolCallId: ...;
                                type: ...;
                            }
                            | {
                                approval?: ...;
                                callProviderMetadata?: ...;
                                input?: ...;
                                providerExecuted?: ...;
                                state?: ...;
                                toolCallId: ...;
                                type: ...;
                            }
                            | {
                                approval?: ...;
                                callProviderMetadata?: ...;
                                input?: ...;
                                output?: ...;
                                preliminary?: ...;
                                providerExecuted?: ...;
                                state?: ...;
                                toolCallId: ...;
                                type: ...;
                            }
                            | {
                                approval?: ...;
                                callProviderMetadata?: ...;
                                errorText: ...;
                                input?: ...;
                                providerExecuted?: ...;
                                rawInput?: ...;
                                state?: ...;
                                toolCallId: ...;
                                type: ...;
                            }
                            | {
                                approval?: ...;
                                callProviderMetadata?: ...;
                                input?: ...;
                                providerExecuted?: ...;
                                state?: ...;
                                toolCallId: ...;
                                type: ...;
                            }
                            | {
                                approval?: ...;
                                callProviderMetadata?: ...;
                                input?: ...;
                                providerExecuted?: ...;
                                state?: ...;
                                toolCallId: ...;
                                type: ...;
                            }
                            | {
                                approval?: ...;
                                callProviderMetadata?: ...;
                                input?: ...;
                                providerExecuted?: ...;
                                state?: ...;
                                toolCallId: ...;
                                type: ...;
                            }
                            | {
                                approval?: ...;
                                callProviderMetadata?: ...;
                                input?: ...;
                                state?: ...;
                                toolCallId: ...;
                                toolName: ...;
                                type?: ...;
                            }
                            | {
                                approval?: ...;
                                callProviderMetadata?: ...;
                                input: ...;
                                state?: ...;
                                toolCallId: ...;
                                toolName: ...;
                                type?: ...;
                            }
                            | {
                                approval?: ...;
                                callProviderMetadata?: ...;
                                input: ...;
                                output: ...;
                                preliminary?: ...;
                                state?: ...;
                                toolCallId: ...;
                                toolName: ...;
                                type?: ...;
                            }
                            | {
                                approval?: ...;
                                callProviderMetadata?: ...;
                                errorText: ...;
                                input: ...;
                                state?: ...;
                                toolCallId: ...;
                                toolName: ...;
                                type?: ...;
                            }
                            | {
                                approval?: ...;
                                callProviderMetadata?: ...;
                                input: ...;
                                state?: ...;
                                toolCallId: ...;
                                toolName: ...;
                                type?: ...;
                            }
                            | {
                                approval?: ...;
                                callProviderMetadata?: ...;
                                input: ...;
                                state?: ...;
                                toolCallId: ...;
                                toolName: ...;
                                type?: ...;
                            }
                            | {
                                approval?: ...;
                                callProviderMetadata?: ...;
                                input: ...;
                                state?: ...;
                                toolCallId: ...;
                                toolName: ...;
                                type?: ...;
                            }
                            | {
                                providerMetadata?: ...;
                                sourceId: ...;
                                title?: ...;
                                type?: ...;
                                url: ...;
                            }
                            | {
                                filename?: ...;
                                mediaType: ...;
                                providerMetadata?: ...;
                                sourceId: ...;
                                title: ...;
                                type?: ...;
                            }
                            | {
                                filename?: ...;
                                mediaType: ...;
                                providerMetadata?: ...;
                                type?: ...;
                                url: ...;
                            }
                            | { data: ...; id?: ...; type: ... }
                            | { type?: ... }
                        )[];
                        role: "system" | "user" | "assistant";
                    }[];
                    model: | {
                        modelName: string;
                        openaiApiType?: "chat_completions"
                        | "responses";
                        provider:
                            | "OPENAI"
                            | "AZURE_OPENAI"
                            | "ANTHROPIC"
                            | "GOOGLE"
                            | "DEEPSEEK"
                            | "XAI"
                            | "OLLAMA"
                            | "AWS"
                            | "CEREBRAS"
                            | "FIREWORKS"
                            | "GROQ"
                            | "MOONSHOT"
                            | "PERPLEXITY"
                            | "TOGETHER";
                        providerType: "builtin";
                    }
                    | { modelName: string; providerId: string; providerType: "custom" };
                    trigger: "submit-message";
                } & { [key: string]: unknown };
            };
        };
        responses: {
            "200": {
                content: { "application/json": unknown };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        detail?: {
                            ctx?: Record<string, unknown>;
                            input?: unknown;
                            loc: (string | number)[];
                            msg: string;
                            type: string;
                        }[];
                    };
                };
                headers: { [name: string]: unknown };
            };
        };
    }
    check_healthz_healthz_get: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": unknown };
                headers: { [name: string]: unknown };
            };
        };
    }
    check_readyz_readyz_get: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": unknown };
                headers: { [name: string]: unknown };
            };
        };
    }

    create_annotation_config_v1_annotation_configs_post

    create_annotation_config_v1_annotation_configs_post: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody: {
            content: {
                "application/json": | {
                    description?: string
                    | null;
                    name: string;
                    optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                    type: "CATEGORICAL";
                    values: { label: string; score?: number | null }[];
                }
                | {
                    description?: string
                    | null;
                    lower_bound?: number | null;
                    name: string;
                    optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                    type: "CONTINUOUS";
                    upper_bound?: number | null;
                }
                | {
                    description?: string
                    | null;
                    lower_bound?: number | null;
                    name: string;
                    optimization_direction?: "MINIMIZE" | "MAXIMIZE" | "NONE" | null;
                    threshold?: number | null;
                    type: "FREEFORM";
                    upper_bound?: number | null;
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        data: | {
                            description?: string
                            | null;
                            id: string;
                            name: string;
                            optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                            type: "CATEGORICAL";
                            values: { label: string; score?: number | null }[];
                        }
                        | {
                            description?: string
                            | null;
                            id: string;
                            lower_bound?: number | null;
                            name: string;
                            optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                            type: "CONTINUOUS";
                            upper_bound?: number | null;
                        }
                        | {
                            description?: string
                            | null;
                            id: string;
                            lower_bound?: number | null;
                            name: string;
                            optimization_direction?: "MINIMIZE" | "MAXIMIZE" | "NONE" | null;
                            threshold?: number | null;
                            type: "FREEFORM";
                            upper_bound?: number | null;
                        };
                    };
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        detail?: {
                            ctx?: Record<string, unknown>;
                            input?: unknown;
                            loc: (string | number)[];
                            msg: string;
                            type: string;
                        }[];
                    };
                };
                headers: { [name: string]: unknown };
            };
        };
    }
    create_tokens_oauth2__idp_name__tokens_get: {
        parameters: {
            cookie: {
                "phoenix-oauth2-code-verifier"?: string | null;
                "phoenix-oauth2-nonce": string;
                "phoenix-oauth2-state": string;
            };
            header?: undefined;
            path: { idp_name: string };
            query: {
                code?: string | null;
                error?: string | null;
                error_description?: string | null;
                state: string;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": unknown };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        detail?: {
                            ctx?: Record<string, unknown>;
                            input?: unknown;
                            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?: string
                    | null;
                    metadata?: { [key: string]: unknown } | null;
                    name?: string | null;
                    repetitions?: number;
                    splits?: string[] | null;
                    version_id?: string | null;
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        data: {
                            created_at: string;
                            dataset_id: string;
                            dataset_version_id: string;
                            example_count: number;
                            failed_run_count: number;
                            id: string;
                            metadata: { [key: string]: unknown };
                            missing_run_count: number;
                            project_name: string | null;
                            repetitions: number;
                            successful_run_count: number;
                            updated_at: string;
                        };
                    };
                };
                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?: {
                            ctx?: Record<string, unknown>;
                            input?: unknown;
                            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?: string
                    | null;
                    output: unknown;
                    repetition_number: number;
                    start_time: string;
                    trace_id?: string | null;
                };
            };
        };
        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?: {
                            ctx?: Record<string, unknown>;
                            input?: unknown;
                            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?: string
                | null; name: string };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        data: { description?: string
                        | null; 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?: string
                | null; 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 };
            };
        };
    }
    createSessionNote: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody: {
            content: {
                "application/json": {
                    data: { identifier?: string; note: string; session_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?: {
                            ctx?: Record<string, unknown>;
                            input?: unknown;
                            loc: (string | number)[];
                            msg: string;
                            type: string;
                        }[];
                    };
                };
                headers: { [name: string]: unknown };
            };
        };
    }
    createSpanNote: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody: {
            content: {
                "application/json": {
                    data: { identifier?: string; note: string; 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?: {
                            ctx?: Record<string, unknown>;
                            input?: unknown;
                            loc: (string | number)[];
                            msg: string;
                            type: 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?: string
                        | null;
                        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?: {
                            ctx?: Record<string, unknown>;
                            input?: unknown;
                            loc: (string | number)[];
                            msg: string;
                            type: string;
                        }[];
                    };
                };
                headers: { [name: string]: unknown };
            };
        };
    }
    createTraceNote: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody: {
            content: {
                "application/json": {
                    data: { identifier?: string; note: string; trace_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?: {
                            ctx?: Record<string, unknown>;
                            input?: unknown;
                            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"
                        | "VIEWER";
                        username: string;
                    }
                    | {
                        auth_method: "OAUTH2";
                        email: string;
                        oauth2_client_id?: string;
                        oauth2_user_id?: string;
                        role: "SYSTEM"
                        | "ADMIN"
                        | "MEMBER"
                        | "VIEWER";
                        username: string;
                    }
                    | {
                        auth_method: "LDAP";
                        email: string;
                        role: "SYSTEM"
                        | "ADMIN"
                        | "MEMBER"
                        | "VIEWER";
                        username: string;
                    };
                };
            };
        };
        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"
                            | "VIEWER";
                            updated_at: string;
                            username: string;
                        }
                        | {
                            auth_method: "OAUTH2";
                            created_at: string;
                            email: string;
                            id: string;
                            oauth2_client_id?: string;
                            oauth2_user_id?: string;
                            profile_picture_url?: string;
                            role: "SYSTEM"
                            | "ADMIN"
                            | "MEMBER"
                            | "VIEWER";
                            updated_at: string;
                            username: string;
                        }
                        | {
                            auth_method: "LDAP";
                            created_at: string;
                            email: string;
                            id: string;
                            role: "SYSTEM"
                            | "ADMIN"
                            | "MEMBER"
                            | "VIEWER";
                            updated_at: string;
                            username: string;
                        };
                    };
                };
                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?: string
                            | null;
                            id: string;
                            name: string;
                            optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                            type: "CATEGORICAL";
                            values: { label: string; score?: number | null }[];
                        }
                        | {
                            description?: string
                            | null;
                            id: string;
                            lower_bound?: number | null;
                            name: string;
                            optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                            type: "CONTINUOUS";
                            upper_bound?: number | null;
                        }
                        | {
                            description?: string
                            | null;
                            id: string;
                            lower_bound?: number | null;
                            name: string;
                            optimization_direction?: "MINIMIZE" | "MAXIMIZE" | "NONE" | null;
                            threshold?: number | null;
                            type: "FREEFORM";
                            upper_bound?: number | null;
                        };
                    };
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        detail?: {
                            ctx?: Record<string, unknown>;
                            input?: unknown;
                            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 };
            };
        };
    }
    deleteExperiment: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { experiment_id: string };
            query?: { delete_project?: boolean };
        };
        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?: {
                            ctx?: Record<string, unknown>;
                            input?: unknown;
                            loc: (string | number)[];
                            msg: string;
                            type: 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 };
            };
        };
    }
    deletePrompt: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { prompt_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 };
            };
        };
    }
    deletePromptVersionTag: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { prompt_version_id: string; tag_name: 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 };
            };
        };
    }
    deleteSession: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { session_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?: {
                            ctx?: Record<string, unknown>;
                            input?: unknown;
                            loc: (string | number)[];
                            msg: string;
                            type: string;
                        }[];
                    };
                };
                headers: { [name: string]: unknown };
            };
        };
    }
    deleteSessionAnnotations: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { project_identifier: string };
            query?: {
                annotator_kind?: "LLM" | "CODE" | "HUMAN" | null;
                delete_all?: boolean;
                end_time?: string | null;
                identifier?: string | null;
                name?: string | null;
                start_time?: string | null;
            };
        };
        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 };
            };
        };
    }
    deleteSessions: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody: {
            content: { "application/json": { session_identifiers: string[] } };
        };
        responses: {
            "204": { content?: undefined; headers: { [name: string]: unknown } };
            "403": {
                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?: {
                            ctx?: Record<string, unknown>;
                            input?: unknown;
                            loc: (string | number)[];
                            msg: string;
                            type: string;
                        }[];
                    };
                };
                headers: { [name: string]: unknown };
            };
        };
    }
    deleteSpanAnnotations: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { project_identifier: string };
            query?: {
                annotator_kind?: "LLM" | "CODE" | "HUMAN" | null;
                delete_all?: boolean;
                end_time?: string | null;
                identifier?: string | null;
                name?: string | null;
                start_time?: string | null;
            };
        };
        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 };
            };
        };
    }
    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?: {
                            ctx?: Record<string, unknown>;
                            input?: unknown;
                            loc: (string | number)[];
                            msg: string;
                            type: string;
                        }[];
                    };
                };
                headers: { [name: string]: unknown };
            };
        };
    }
    deleteTraceAnnotations: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { project_identifier: string };
            query?: {
                annotator_kind?: "LLM" | "CODE" | "HUMAN" | null;
                delete_all?: boolean;
                end_time?: string | null;
                identifier?: string | null;
                name?: string | null;
                start_time?: string | null;
            };
        };
        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 };
            };
        };
    }
    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?: string
                            | null;
                            id: string;
                            name: string;
                            optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                            type: "CATEGORICAL";
                            values: { label: string; score?: number | null }[];
                        }
                        | {
                            description?: string
                            | null;
                            id: string;
                            lower_bound?: number | null;
                            name: string;
                            optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                            type: "CONTINUOUS";
                            upper_bound?: number | null;
                        }
                        | {
                            description?: string
                            | null;
                            id: string;
                            lower_bound?: number | null;
                            name: string;
                            optimization_direction?: "MINIMIZE" | "MAXIMIZE" | "NONE" | null;
                            threshold?: number | null;
                            type: "FREEFORM";
                            upper_bound?: number | null;
                        };
                    };
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        detail?: {
                            ctx?: Record<string, unknown>;
                            input?: unknown;
                            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: string
                            | null;
                            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?: {
                            ctx?: Record<string, unknown>;
                            input?: unknown;
                            loc: (string | number)[];
                            msg: string;
                            type: string;
                        }[];
                    };
                };
                headers: { [name: string]: unknown };
            };
        };
    }
    getDatasetCsv: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { id: string };
            query?: { version_id?: string | null };
        };
        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?: { split?: string[] | null; version_id?: string | null };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        data: {
                            dataset_id: string;
                            examples: {
                                id: string;
                                input: { [key: string]: unknown };
                                metadata: { [key: string]: unknown };
                                node_id: string;
                                output: { [key: string]: unknown };
                                updated_at: string;
                            }[];
                            filtered_splits?: 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?: {
                            ctx?: Record<string, unknown>;
                            input?: unknown;
                            loc: (string | number)[];
                            msg: string;
                            type: string;
                        }[];
                    };
                };
                headers: { [name: string]: unknown };
            };
        };
    }
    getDatasetJSONL: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { id: string };
            query?: { version_id?: string | null };
        };
        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 };
            };
        };
    }
    getDatasetJSONLOpenAIEvals: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { id: string };
            query?: { version_id?: string | null };
        };
        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?: string | null };
        };
        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 };
            };
        };
    }
    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;
                            example_count: number;
                            failed_run_count: number;
                            id: string;
                            metadata: { [key: string]: unknown };
                            missing_run_count: number;
                            project_name: string | null;
                            repetitions: number;
                            successful_run_count: number;
                            updated_at: string;
                        };
                    };
                };
                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?: {
                            ctx?: Record<string, unknown>;
                            input?: unknown;
                            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?: {
                            ctx?: Record<string, unknown>;
                            input?: unknown;
                            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?: {
                            ctx?: Record<string, unknown>;
                            input?: unknown;
                            loc: (string | number)[];
                            msg: string;
                            type: string;
                        }[];
                    };
                };
                headers: { [name: string]: unknown };
            };
        };
    }
    getIncompleteExperimentEvaluations: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { experiment_id: string };
            query?: {
                cursor?: string | null;
                evaluation_name?: string[];
                limit?: number;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        data: {
                            dataset_example: {
                                id: string;
                                input: { [key: string]: unknown };
                                metadata: { [key: string]: unknown };
                                node_id: string;
                                output: { [key: string]: unknown };
                                updated_at: string;
                            };
                            evaluation_names: string[];
                            experiment_run: {
                                dataset_example_id: string;
                                end_time: string;
                                error?: string
                                | null;
                                experiment_id: string;
                                id: string;
                                output: unknown;
                                repetition_number: number;
                                start_time: string;
                                trace_id?: string | null;
                            };
                        }[];
                        next_cursor: string
                        | null;
                    };
                };
                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: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
        };
    }
    getIncompleteExperimentRuns: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { experiment_id: string };
            query?: { cursor?: string | null; limit?: number };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        data: {
                            dataset_example: {
                                id: string;
                                input: { [key: string]: unknown };
                                metadata: { [key: string]: unknown };
                                node_id: string;
                                output: { [key: string]: unknown };
                                updated_at: string;
                            };
                            repetition_numbers: number[];
                        }[];
                        next_cursor: string
                        | null;
                    };
                };
                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 };
            };
        };
    }
    getProject: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { project_identifier: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        data: { description?: string
                        | null; 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?: string | null;
                include_dataset_evaluator_projects?: boolean;
                include_experiment_projects?: boolean;
                limit?: number;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        data: { description?: string
                        | null; id: string; name: string }[];
                        next_cursor: string | null;
                    };
                };
                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?: string | null; limit?: number };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        data: {
                            description?: string
                            | null;
                            id: string;
                            metadata?: { [key: string]: unknown } | null;
                            name: string;
                            source_prompt_id?: string | null;
                        }[];
                        next_cursor: string
                        | null;
                    };
                };
                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?: string
                            | null;
                            id: string;
                            invocation_parameters:
                                | {
                                    anthropic: {
                                        extra_body?: { [key: ...]: ... };
                                        max_tokens: number;
                                        output_config?: { effort?: ... };
                                        stop_sequences?: (...)[];
                                        temperature?: number;
                                        thinking?:
                                            | { type: ... }
                                            | { budget_tokens: ...; display?: ...; type: ... }
                                            | { display?: ...; type: ... };
                                        top_p?: number;
                                    };
                                    type: "anthropic";
                                }
                                | {
                                    aws: {
                                        max_tokens?: number;
                                        stop_sequences?: (...)[];
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                    type: "aws";
                                }
                                | {
                                    azure_openai: {
                                        extra_body?: { [key: ...]: ... };
                                        frequency_penalty?: number;
                                        max_completion_tokens?: number;
                                        max_tokens?: number;
                                        presence_penalty?: number;
                                        reasoning_effort?:
                                            | "low"
                                            | "medium"
                                            | "high"
                                            | "xhigh"
                                            | "none"
                                            | "minimal";
                                        seed?: number;
                                        stop?: (...)[];
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                    type: "azure_openai";
                                }
                                | {
                                    cerebras: {
                                        extra_body?: { [key: ...]: ... };
                                        frequency_penalty?: number;
                                        max_completion_tokens?: number;
                                        max_tokens?: number;
                                        presence_penalty?: number;
                                        reasoning_effort?:
                                            | "low"
                                            | "medium"
                                            | "high"
                                            | "xhigh"
                                            | "none"
                                            | "minimal";
                                        seed?: number;
                                        stop?: (...)[];
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                    type: "cerebras";
                                }
                                | {
                                    deepseek: {
                                        extra_body?: { [key: ...]: ... };
                                        frequency_penalty?: number;
                                        max_completion_tokens?: number;
                                        max_tokens?: number;
                                        presence_penalty?: number;
                                        reasoning_effort?:
                                            | "low"
                                            | "medium"
                                            | "high"
                                            | "xhigh"
                                            | "none"
                                            | "minimal";
                                        seed?: number;
                                        stop?: (...)[];
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                    type: "deepseek";
                                }
                                | {
                                    fireworks: {
                                        extra_body?: { [key: ...]: ... };
                                        frequency_penalty?: number;
                                        max_completion_tokens?: number;
                                        max_tokens?: number;
                                        presence_penalty?: number;
                                        reasoning_effort?:
                                            | "low"
                                            | "medium"
                                            | "high"
                                            | "xhigh"
                                            | "none"
                                            | "minimal";
                                        seed?: number;
                                        stop?: (...)[];
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                    type: "fireworks";
                                }
                                | {
                                    google: {
                                        frequency_penalty?: number;
                                        max_output_tokens?: number;
                                        presence_penalty?: number;
                                        stop_sequences?: (...)[];
                                        temperature?: number;
                                        thinking_config?: {
                                            include_thoughts?: ...;
                                            thinking_budget?: ...;
                                            thinking_level?: ...;
                                        };
                                        top_k?: number;
                                        top_p?: number;
                                    };
                                    type: "google";
                                }
                                | {
                                    groq: {
                                        extra_body?: { [key: ...]: ... };
                                        frequency_penalty?: number;
                                        max_completion_tokens?: number;
                                        max_tokens?: number;
                                        presence_penalty?: number;
                                        reasoning_effort?:
                                            | "low"
                                            | "medium"
                                            | "high"
                                            | "xhigh"
                                            | "none"
                                            | "minimal";
                                        seed?: number;
                                        stop?: (...)[];
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                    type: "groq";
                                }
                                | {
                                    moonshot: {
                                        extra_body?: { [key: ...]: ... };
                                        frequency_penalty?: number;
                                        max_completion_tokens?: number;
                                        max_tokens?: number;
                                        presence_penalty?: number;
                                        reasoning_effort?:
                                            | "low"
                                            | "medium"
                                            | "high"
                                            | "xhigh"
                                            | "none"
                                            | "minimal";
                                        seed?: number;
                                        stop?: (...)[];
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                    type: "moonshot";
                                }
                                | {
                                    ollama: {
                                        extra_body?: { [key: ...]: ... };
                                        frequency_penalty?: number;
                                        max_completion_tokens?: number;
                                        max_tokens?: number;
                                        presence_penalty?: number;
                                        reasoning_effort?:
                                            | "low"
                                            | "medium"
                                            | "high"
                                            | "xhigh"
                                            | "none"
                                            | "minimal";
                                        seed?: number;
                                        stop?: (...)[];
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                    type: "ollama";
                                }
                                | {
                                    openai: {
                                        extra_body?: { [key: ...]: ... };
                                        frequency_penalty?: number;
                                        max_completion_tokens?: number;
                                        max_tokens?: number;
                                        presence_penalty?: number;
                                        reasoning_effort?:
                                            | "low"
                                            | "medium"
                                            | "high"
                                            | "xhigh"
                                            | "none"
                                            | "minimal";
                                        seed?: number;
                                        stop?: (...)[];
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                    type: "openai";
                                }
                                | {
                                    perplexity: {
                                        extra_body?: { [key: ...]: ... };
                                        frequency_penalty?: number;
                                        max_completion_tokens?: number;
                                        max_tokens?: number;
                                        presence_penalty?: number;
                                        reasoning_effort?:
                                            | "low"
                                            | "medium"
                                            | "high"
                                            | "xhigh"
                                            | "none"
                                            | "minimal";
                                        seed?: number;
                                        stop?: (...)[];
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                    type: "perplexity";
                                }
                                | {
                                    together: {
                                        extra_body?: { [key: ...]: ... };
                                        frequency_penalty?: number;
                                        max_completion_tokens?: number;
                                        max_tokens?: number;
                                        presence_penalty?: number;
                                        reasoning_effort?:
                                            | "low"
                                            | "medium"
                                            | "high"
                                            | "xhigh"
                                            | "none"
                                            | "minimal";
                                        seed?: number;
                                        stop?: (...)[];
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                    type: "together";
                                }
                                | {
                                    type: "xai";
                                    xai: {
                                        extra_body?: { [key: ...]: ... };
                                        frequency_penalty?: number;
                                        max_completion_tokens?: number;
                                        max_tokens?: number;
                                        presence_penalty?: number;
                                        reasoning_effort?:
                                            | "low"
                                            | "medium"
                                            | "high"
                                            | "xhigh"
                                            | "none"
                                            | "minimal";
                                        seed?: number;
                                        stop?: (...)[];
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                };
                            model_name: string;
                            model_provider: | "OPENAI"
                            | "AZURE_OPENAI"
                            | "ANTHROPIC"
                            | "GOOGLE"
                            | "DEEPSEEK"
                            | "XAI"
                            | "OLLAMA"
                            | "AWS"
                            | "CEREBRAS"
                            | "FIREWORKS"
                            | "GROQ"
                            | "MOONSHOT"
                            | "PERPLEXITY"
                            | "TOGETHER";
                            response_format?: | {
                                json_schema: {
                                    description?: string;
                                    name: string;
                                    schema?: { [key: ...]: ... };
                                    strict?: boolean;
                                };
                                type: "json_schema";
                            }
                            | null;
                            template: | {
                                messages: {
                                    content: (...)
                                    | (...);
                                    role: (...) | (...) | (...) | (...) | (...) | (...) | (...);
                                }[];
                                type: "chat";
                            }
                            | { template: string; type: "string" };
                            template_format: "NONE" | "MUSTACHE" | "F_STRING";
                            template_type: "STR" | "CHAT";
                            tools?:
                                | {
                                    disable_parallel_tool_calls?: boolean;
                                    tool_choice?: | { type: "none" }
                                    | { type: "one_or_more" }
                                    | { function_name: string; type: "specific_function" }
                                    | { type: "zero_or_more" };
                                    tools: ({ function: ...; type: ... } | { raw: ...; type: ... })[];
                                    type: "tools";
                                }
                                | null;
                        };
                    };
                };
                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?: string
                            | null;
                            id: string;
                            invocation_parameters:
                                | {
                                    anthropic: {
                                        extra_body?: { [key: ...]: ... };
                                        max_tokens: number;
                                        output_config?: { effort?: ... };
                                        stop_sequences?: (...)[];
                                        temperature?: number;
                                        thinking?:
                                            | { type: ... }
                                            | { budget_tokens: ...; display?: ...; type: ... }
                                            | { display?: ...; type: ... };
                                        top_p?: number;
                                    };
                                    type: "anthropic";
                                }
                                | {
                                    aws: {
                                        max_tokens?: number;
                                        stop_sequences?: (...)[];
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                    type: "aws";
                                }
                                | {
                                    azure_openai: {
                                        extra_body?: { [key: ...]: ... };
                                        frequency_penalty?: number;
                                        max_completion_tokens?: number;
                                        max_tokens?: number;
                                        presence_penalty?: number;
                                        reasoning_effort?:
                                            | "low"
                                            | "medium"
                                            | "high"
                                            | "xhigh"
                                            | "none"
                                            | "minimal";
                                        seed?: number;
                                        stop?: (...)[];
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                    type: "azure_openai";
                                }
                                | {
                                    cerebras: {
                                        extra_body?: { [key: ...]: ... };
                                        frequency_penalty?: number;
                                        max_completion_tokens?: number;
                                        max_tokens?: number;
                                        presence_penalty?: number;
                                        reasoning_effort?:
                                            | "low"
                                            | "medium"
                                            | "high"
                                            | "xhigh"
                                            | "none"
                                            | "minimal";
                                        seed?: number;
                                        stop?: (...)[];
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                    type: "cerebras";
                                }
                                | {
                                    deepseek: {
                                        extra_body?: { [key: ...]: ... };
                                        frequency_penalty?: number;
                                        max_completion_tokens?: number;
                                        max_tokens?: number;
                                        presence_penalty?: number;
                                        reasoning_effort?:
                                            | "low"
                                            | "medium"
                                            | "high"
                                            | "xhigh"
                                            | "none"
                                            | "minimal";
                                        seed?: number;
                                        stop?: (...)[];
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                    type: "deepseek";
                                }
                                | {
                                    fireworks: {
                                        extra_body?: { [key: ...]: ... };
                                        frequency_penalty?: number;
                                        max_completion_tokens?: number;
                                        max_tokens?: number;
                                        presence_penalty?: number;
                                        reasoning_effort?:
                                            | "low"
                                            | "medium"
                                            | "high"
                                            | "xhigh"
                                            | "none"
                                            | "minimal";
                                        seed?: number;
                                        stop?: (...)[];
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                    type: "fireworks";
                                }
                                | {
                                    google: {
                                        frequency_penalty?: number;
                                        max_output_tokens?: number;
                                        presence_penalty?: number;
                                        stop_sequences?: (...)[];
                                        temperature?: number;
                                        thinking_config?: {
                                            include_thoughts?: ...;
                                            thinking_budget?: ...;
                                            thinking_level?: ...;
                                        };
                                        top_k?: number;
                                        top_p?: number;
                                    };
                                    type: "google";
                                }
                                | {
                                    groq: {
                                        extra_body?: { [key: ...]: ... };
                                        frequency_penalty?: number;
                                        max_completion_tokens?: number;
                                        max_tokens?: number;
                                        presence_penalty?: number;
                                        reasoning_effort?:
                                            | "low"
                                            | "medium"
                                            | "high"
                                            | "xhigh"
                                            | "none"
                                            | "minimal";
                                        seed?: number;
                                        stop?: (...)[];
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                    type: "groq";
                                }
                                | {
                                    moonshot: {
                                        extra_body?: { [key: ...]: ... };
                                        frequency_penalty?: number;
                                        max_completion_tokens?: number;
                                        max_tokens?: number;
                                        presence_penalty?: number;
                                        reasoning_effort?:
                                            | "low"
                                            | "medium"
                                            | "high"
                                            | "xhigh"
                                            | "none"
                                            | "minimal";
                                        seed?: number;
                                        stop?: (...)[];
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                    type: "moonshot";
                                }
                                | {
                                    ollama: {
                                        extra_body?: { [key: ...]: ... };
                                        frequency_penalty?: number;
                                        max_completion_tokens?: number;
                                        max_tokens?: number;
                                        presence_penalty?: number;
                                        reasoning_effort?:
                                            | "low"
                                            | "medium"
                                            | "high"
                                            | "xhigh"
                                            | "none"
                                            | "minimal";
                                        seed?: number;
                                        stop?: (...)[];
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                    type: "ollama";
                                }
                                | {
                                    openai: {
                                        extra_body?: { [key: ...]: ... };
                                        frequency_penalty?: number;
                                        max_completion_tokens?: number;
                                        max_tokens?: number;
                                        presence_penalty?: number;
                                        reasoning_effort?:
                                            | "low"
                                            | "medium"
                                            | "high"
                                            | "xhigh"
                                            | "none"
                                            | "minimal";
                                        seed?: number;
                                        stop?: (...)[];
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                    type: "openai";
                                }
                                | {
                                    perplexity: {
                                        extra_body?: { [key: ...]: ... };
                                        frequency_penalty?: number;
                                        max_completion_tokens?: number;
                                        max_tokens?: number;
                                        presence_penalty?: number;
                                        reasoning_effort?:
                                            | "low"
                                            | "medium"
                                            | "high"
                                            | "xhigh"
                                            | "none"
                                            | "minimal";
                                        seed?: number;
                                        stop?: (...)[];
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                    type: "perplexity";
                                }
                                | {
                                    together: {
                                        extra_body?: { [key: ...]: ... };
                                        frequency_penalty?: number;
                                        max_completion_tokens?: number;
                                        max_tokens?: number;
                                        presence_penalty?: number;
                                        reasoning_effort?:
                                            | "low"
                                            | "medium"
                                            | "high"
                                            | "xhigh"
                                            | "none"
                                            | "minimal";
                                        seed?: number;
                                        stop?: (...)[];
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                    type: "together";
                                }
                                | {
                                    type: "xai";
                                    xai: {
                                        extra_body?: { [key: ...]: ... };
                                        frequency_penalty?: number;
                                        max_completion_tokens?: number;
                                        max_tokens?: number;
                                        presence_penalty?: number;
                                        reasoning_effort?:
                                            | "low"
                                            | "medium"
                                            | "high"
                                            | "xhigh"
                                            | "none"
                                            | "minimal";
                                        seed?: number;
                                        stop?: (...)[];
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                };
                            model_name: string;
                            model_provider: | "OPENAI"
                            | "AZURE_OPENAI"
                            | "ANTHROPIC"
                            | "GOOGLE"
                            | "DEEPSEEK"
                            | "XAI"
                            | "OLLAMA"
                            | "AWS"
                            | "CEREBRAS"
                            | "FIREWORKS"
                            | "GROQ"
                            | "MOONSHOT"
                            | "PERPLEXITY"
                            | "TOGETHER";
                            response_format?: | {
                                json_schema: {
                                    description?: string;
                                    name: string;
                                    schema?: { [key: ...]: ... };
                                    strict?: boolean;
                                };
                                type: "json_schema";
                            }
                            | null;
                            template: | {
                                messages: {
                                    content: (...)
                                    | (...);
                                    role: (...) | (...) | (...) | (...) | (...) | (...) | (...);
                                }[];
                                type: "chat";
                            }
                            | { template: string; type: "string" };
                            template_format: "NONE" | "MUSTACHE" | "F_STRING";
                            template_type: "STR" | "CHAT";
                            tools?:
                                | {
                                    disable_parallel_tool_calls?: boolean;
                                    tool_choice?: | { type: "none" }
                                    | { type: "one_or_more" }
                                    | { function_name: string; type: "specific_function" }
                                    | { type: "zero_or_more" };
                                    tools: ({ function: ...; type: ... } | { raw: ...; type: ... })[];
                                    type: "tools";
                                }
                                | null;
                        };
                    };
                };
                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?: string
                            | null;
                            id: string;
                            invocation_parameters:
                                | {
                                    anthropic: {
                                        extra_body?: { [key: ...]: ... };
                                        max_tokens: number;
                                        output_config?: { effort?: ... };
                                        stop_sequences?: (...)[];
                                        temperature?: number;
                                        thinking?:
                                            | { type: ... }
                                            | { budget_tokens: ...; display?: ...; type: ... }
                                            | { display?: ...; type: ... };
                                        top_p?: number;
                                    };
                                    type: "anthropic";
                                }
                                | {
                                    aws: {
                                        max_tokens?: number;
                                        stop_sequences?: (...)[];
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                    type: "aws";
                                }
                                | {
                                    azure_openai: {
                                        extra_body?: { [key: ...]: ... };
                                        frequency_penalty?: number;
                                        max_completion_tokens?: number;
                                        max_tokens?: number;
                                        presence_penalty?: number;
                                        reasoning_effort?:
                                            | "low"
                                            | "medium"
                                            | "high"
                                            | "xhigh"
                                            | "none"
                                            | "minimal";
                                        seed?: number;
                                        stop?: (...)[];
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                    type: "azure_openai";
                                }
                                | {
                                    cerebras: {
                                        extra_body?: { [key: ...]: ... };
                                        frequency_penalty?: number;
                                        max_completion_tokens?: number;
                                        max_tokens?: number;
                                        presence_penalty?: number;
                                        reasoning_effort?:
                                            | "low"
                                            | "medium"
                                            | "high"
                                            | "xhigh"
                                            | "none"
                                            | "minimal";
                                        seed?: number;
                                        stop?: (...)[];
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                    type: "cerebras";
                                }
                                | {
                                    deepseek: {
                                        extra_body?: { [key: ...]: ... };
                                        frequency_penalty?: number;
                                        max_completion_tokens?: number;
                                        max_tokens?: number;
                                        presence_penalty?: number;
                                        reasoning_effort?:
                                            | "low"
                                            | "medium"
                                            | "high"
                                            | "xhigh"
                                            | "none"
                                            | "minimal";
                                        seed?: number;
                                        stop?: (...)[];
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                    type: "deepseek";
                                }
                                | {
                                    fireworks: {
                                        extra_body?: { [key: ...]: ... };
                                        frequency_penalty?: number;
                                        max_completion_tokens?: number;
                                        max_tokens?: number;
                                        presence_penalty?: number;
                                        reasoning_effort?:
                                            | "low"
                                            | "medium"
                                            | "high"
                                            | "xhigh"
                                            | "none"
                                            | "minimal";
                                        seed?: number;
                                        stop?: (...)[];
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                    type: "fireworks";
                                }
                                | {
                                    google: {
                                        frequency_penalty?: number;
                                        max_output_tokens?: number;
                                        presence_penalty?: number;
                                        stop_sequences?: (...)[];
                                        temperature?: number;
                                        thinking_config?: {
                                            include_thoughts?: ...;
                                            thinking_budget?: ...;
                                            thinking_level?: ...;
                                        };
                                        top_k?: number;
                                        top_p?: number;
                                    };
                                    type: "google";
                                }
                                | {
                                    groq: {
                                        extra_body?: { [key: ...]: ... };
                                        frequency_penalty?: number;
                                        max_completion_tokens?: number;
                                        max_tokens?: number;
                                        presence_penalty?: number;
                                        reasoning_effort?:
                                            | "low"
                                            | "medium"
                                            | "high"
                                            | "xhigh"
                                            | "none"
                                            | "minimal";
                                        seed?: number;
                                        stop?: (...)[];
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                    type: "groq";
                                }
                                | {
                                    moonshot: {
                                        extra_body?: { [key: ...]: ... };
                                        frequency_penalty?: number;
                                        max_completion_tokens?: number;
                                        max_tokens?: number;
                                        presence_penalty?: number;
                                        reasoning_effort?:
                                            | "low"
                                            | "medium"
                                            | "high"
                                            | "xhigh"
                                            | "none"
                                            | "minimal";
                                        seed?: number;
                                        stop?: (...)[];
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                    type: "moonshot";
                                }
                                | {
                                    ollama: {
                                        extra_body?: { [key: ...]: ... };
                                        frequency_penalty?: number;
                                        max_completion_tokens?: number;
                                        max_tokens?: number;
                                        presence_penalty?: number;
                                        reasoning_effort?:
                                            | "low"
                                            | "medium"
                                            | "high"
                                            | "xhigh"
                                            | "none"
                                            | "minimal";
                                        seed?: number;
                                        stop?: (...)[];
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                    type: "ollama";
                                }
                                | {
                                    openai: {
                                        extra_body?: { [key: ...]: ... };
                                        frequency_penalty?: number;
                                        max_completion_tokens?: number;
                                        max_tokens?: number;
                                        presence_penalty?: number;
                                        reasoning_effort?:
                                            | "low"
                                            | "medium"
                                            | "high"
                                            | "xhigh"
                                            | "none"
                                            | "minimal";
                                        seed?: number;
                                        stop?: (...)[];
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                    type: "openai";
                                }
                                | {
                                    perplexity: {
                                        extra_body?: { [key: ...]: ... };
                                        frequency_penalty?: number;
                                        max_completion_tokens?: number;
                                        max_tokens?: number;
                                        presence_penalty?: number;
                                        reasoning_effort?:
                                            | "low"
                                            | "medium"
                                            | "high"
                                            | "xhigh"
                                            | "none"
                                            | "minimal";
                                        seed?: number;
                                        stop?: (...)[];
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                    type: "perplexity";
                                }
                                | {
                                    together: {
                                        extra_body?: { [key: ...]: ... };
                                        frequency_penalty?: number;
                                        max_completion_tokens?: number;
                                        max_tokens?: number;
                                        presence_penalty?: number;
                                        reasoning_effort?:
                                            | "low"
                                            | "medium"
                                            | "high"
                                            | "xhigh"
                                            | "none"
                                            | "minimal";
                                        seed?: number;
                                        stop?: (...)[];
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                    type: "together";
                                }
                                | {
                                    type: "xai";
                                    xai: {
                                        extra_body?: { [key: ...]: ... };
                                        frequency_penalty?: number;
                                        max_completion_tokens?: number;
                                        max_tokens?: number;
                                        presence_penalty?: number;
                                        reasoning_effort?:
                                            | "low"
                                            | "medium"
                                            | "high"
                                            | "xhigh"
                                            | "none"
                                            | "minimal";
                                        seed?: number;
                                        stop?: (...)[];
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                };
                            model_name: string;
                            model_provider: | "OPENAI"
                            | "AZURE_OPENAI"
                            | "ANTHROPIC"
                            | "GOOGLE"
                            | "DEEPSEEK"
                            | "XAI"
                            | "OLLAMA"
                            | "AWS"
                            | "CEREBRAS"
                            | "FIREWORKS"
                            | "GROQ"
                            | "MOONSHOT"
                            | "PERPLEXITY"
                            | "TOGETHER";
                            response_format?: | {
                                json_schema: {
                                    description?: string;
                                    name: string;
                                    schema?: { [key: ...]: ... };
                                    strict?: boolean;
                                };
                                type: "json_schema";
                            }
                            | null;
                            template: | {
                                messages: {
                                    content: (...)
                                    | (...);
                                    role: (...) | (...) | (...) | (...) | (...) | (...) | (...);
                                }[];
                                type: "chat";
                            }
                            | { template: string; type: "string" };
                            template_format: "NONE" | "MUSTACHE" | "F_STRING";
                            template_type: "STR" | "CHAT";
                            tools?:
                                | {
                                    disable_parallel_tool_calls?: boolean;
                                    tool_choice?: | { type: "none" }
                                    | { type: "one_or_more" }
                                    | { function_name: string; type: "specific_function" }
                                    | { type: "zero_or_more" };
                                    tools: ({ function: ...; type: ... } | { raw: ...; type: ... })[];
                                    type: "tools";
                                }
                                | null;
                        };
                    };
                };
                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?: string | null; limit?: number };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        data: { description?: string
                        | null; id: string; name: string }[];
                        next_cursor: string | null;
                    };
                };
                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 };
            };
        };
    }
    getSession: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { session_identifier: string };
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        data: {
                            end_time: string;
                            id: string;
                            project_id: string;
                            session_id: string;
                            start_time: string;
                            token_count_completion?: number;
                            token_count_prompt?: number;
                            token_count_total?: number;
                            traces: {
                                end_time: string;
                                id: string;
                                start_time: string;
                                trace_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: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
        };
    }
    getSpans: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { project_identifier: string };
            query?: {
                attribute?: string[] | null;
                cursor?: string | null;
                end_time?: string | null;
                limit?: number;
                name?: string[] | null;
                parent_id?: string | null;
                span_kind?: string[] | null;
                start_time?: string | null;
                status_code?: string[] | null;
                trace_id?: string[] | null;
            };
        };
        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?: string
                            | null;
                            span_kind: string;
                            start_time: string;
                            status_code: string;
                            status_message?: string;
                        }[];
                        next_cursor: string
                        | null;
                    };
                };
                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"
                                | "VIEWER";
                                updated_at: string;
                                username: string;
                            }
                            | {
                                auth_method: "OAUTH2";
                                created_at: string;
                                email: string;
                                id: string;
                                oauth2_client_id?: string;
                                oauth2_user_id?: string;
                                profile_picture_url?: string;
                                role: "SYSTEM"
                                | "ADMIN"
                                | "MEMBER"
                                | "VIEWER";
                                updated_at: string;
                                username: string;
                            }
                            | {
                                auth_method: "LDAP";
                                created_at: string;
                                email: string;
                                id: string;
                                role: "SYSTEM"
                                | "ADMIN"
                                | "MEMBER"
                                | "VIEWER";
                                updated_at: string;
                                username: string;
                            }
                        )[];
                        next_cursor: string
                        | null;
                    };
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
        };
    }
    getViewer: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        data: | { auth_method: "ANONYMOUS" }
                        | {
                            auth_method: "LOCAL";
                            created_at: string;
                            email: string;
                            id: string;
                            password?: string;
                            password_needs_reset: boolean;
                            role: "SYSTEM" | "ADMIN" | "MEMBER" | "VIEWER";
                            updated_at: string;
                            username: string;
                        }
                        | {
                            auth_method: "OAUTH2";
                            created_at: string;
                            email: string;
                            id: string;
                            oauth2_client_id?: string;
                            oauth2_user_id?: string;
                            profile_picture_url?: string;
                            role: "SYSTEM"
                            | "ADMIN"
                            | "MEMBER"
                            | "VIEWER";
                            updated_at: string;
                            username: string;
                        }
                        | {
                            auth_method: "LDAP";
                            created_at: string;
                            email: string;
                            id: string;
                            role: "SYSTEM"
                            | "ADMIN"
                            | "MEMBER"
                            | "VIEWER";
                            updated_at: string;
                            username: string;
                        };
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
        };
    }
    list_annotation_configs_v1_annotation_configs_get: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: { cursor?: string | null; limit?: number };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        data: (
                            | {
                                description?: string
                                | null;
                                id: string;
                                name: string;
                                optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                                type: "CATEGORICAL";
                                values: { label: string; score?: (...) | (...) | (...) }[];
                            }
                            | {
                                description?: string
                                | null;
                                id: string;
                                lower_bound?: number | null;
                                name: string;
                                optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                                type: "CONTINUOUS";
                                upper_bound?: number | null;
                            }
                            | {
                                description?: string
                                | null;
                                id: string;
                                lower_bound?: number | null;
                                name: string;
                                optimization_direction?: "MINIMIZE" | "MAXIMIZE" | "NONE" | null;
                                threshold?: number | null;
                                type: "FREEFORM";
                                upper_bound?: number | null;
                            }
                        )[];
                        next_cursor: string
                        | null;
                    };
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        detail?: {
                            ctx?: Record<string, unknown>;
                            input?: unknown;
                            loc: (string | number)[];
                            msg: string;
                            type: string;
                        }[];
                    };
                };
                headers: { [name: string]: unknown };
            };
        };
    }
    listDatasets: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: { cursor?: string | null; limit?: number; name?: string | null };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        data: {
                            created_at: string;
                            description: string
                            | null;
                            example_count: number;
                            id: string;
                            metadata: { [key: string]: unknown };
                            name: string;
                            updated_at: string;
                        }[];
                        next_cursor: string
                        | null;
                    };
                };
                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?: string | null; limit?: number };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        data: {
                            created_at: string;
                            description: string
                            | null;
                            metadata: { [key: string]: unknown };
                            version_id: string;
                        }[];
                        next_cursor: string
                        | null;
                    };
                };
                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?: { cursor?: string | null; limit?: number | null };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        data: {
                            dataset_example_id: string;
                            end_time: string;
                            error?: string
                            | null;
                            experiment_id: string;
                            id: string;
                            output: unknown;
                            repetition_number: number;
                            start_time: string;
                            trace_id?: string | null;
                        }[];
                        next_cursor: string
                        | null;
                    };
                };
                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 };
            };
        };
    }
    listExperiments: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { dataset_id: string };
            query?: { cursor?: string | null; limit?: number };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        data: {
                            created_at: string;
                            dataset_id: string;
                            dataset_version_id: string;
                            example_count: number;
                            failed_run_count: number;
                            id: string;
                            metadata: { [key: string]: unknown };
                            missing_run_count: number;
                            project_name: string | null;
                            repetitions: number;
                            successful_run_count: number;
                            updated_at: string;
                        }[];
                        next_cursor: string
                        | null;
                    };
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
        };
    }
    listProjectSessions: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { project_identifier: string };
            query?: { cursor?: string | null; limit?: number; order?: "asc" | "desc" };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        data: {
                            end_time: string;
                            id: string;
                            project_id: string;
                            session_id: string;
                            start_time: string;
                            token_count_completion?: number;
                            token_count_prompt?: number;
                            token_count_total?: number;
                            traces: {
                                end_time: string;
                                id: string;
                                start_time: string;
                                trace_id: string;
                            }[];
                        }[];
                        next_cursor: string
                        | null;
                    };
                };
                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 };
            };
        };
    }
    listProjectTraces: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { project_identifier: string };
            query?: {
                cursor?: string | null;
                end_time?: string | null;
                include_spans?: boolean;
                limit?: number;
                order?: "asc" | "desc";
                session_identifier?: string[] | null;
                sort?: "start_time" | "latency_ms";
                start_time?: string | null;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        data: {
                            end_time: string;
                            id: string;
                            project_id: string;
                            spans?: | {
                                end_time: string;
                                id: string;
                                name: string;
                                parent_id: (...)
                                | (...);
                                span_id: string;
                                span_kind: string;
                                start_time: string;
                                status_code: string;
                            }[]
                            | null;
                            start_time: string;
                            token_count_completion?: number;
                            token_count_prompt?: number;
                            token_count_total?: number;
                            trace_id: string;
                        }[];
                        next_cursor: string
                        | null;
                    };
                };
                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 };
            };
        };
    }
    listPromptVersions: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { prompt_identifier: string };
            query?: { cursor?: string | null; limit?: number };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        data: {
                            description?: string
                            | null;
                            id: string;
                            invocation_parameters:
                                | {
                                    anthropic: {
                                        extra_body?: (...)
                                        | (...);
                                        max_tokens: number;
                                        output_config?: (...) | (...);
                                        stop_sequences?: (...) | (...);
                                        temperature?: (...) | (...);
                                        thinking?: (...) | (...) | (...) | (...);
                                        top_p?: (...) | (...);
                                    };
                                    type: "anthropic";
                                }
                                | {
                                    aws: {
                                        max_tokens?: (...)
                                        | (...);
                                        stop_sequences?: (...) | (...);
                                        temperature?: (...) | (...);
                                        top_p?: (...) | (...);
                                    };
                                    type: "aws";
                                }
                                | {
                                    azure_openai: {
                                        extra_body?: (...)
                                        | (...);
                                        frequency_penalty?: (...) | (...);
                                        max_completion_tokens?: (...) | (...);
                                        max_tokens?: (...) | (...);
                                        presence_penalty?: (...) | (...);
                                        reasoning_effort?:
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...);
                                        seed?: (...) | (...);
                                        stop?: (...) | (...);
                                        temperature?: (...) | (...);
                                        top_p?: (...) | (...);
                                    };
                                    type: "azure_openai";
                                }
                                | {
                                    cerebras: {
                                        extra_body?: (...)
                                        | (...);
                                        frequency_penalty?: (...) | (...);
                                        max_completion_tokens?: (...) | (...);
                                        max_tokens?: (...) | (...);
                                        presence_penalty?: (...) | (...);
                                        reasoning_effort?:
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...);
                                        seed?: (...) | (...);
                                        stop?: (...) | (...);
                                        temperature?: (...) | (...);
                                        top_p?: (...) | (...);
                                    };
                                    type: "cerebras";
                                }
                                | {
                                    deepseek: {
                                        extra_body?: (...)
                                        | (...);
                                        frequency_penalty?: (...) | (...);
                                        max_completion_tokens?: (...) | (...);
                                        max_tokens?: (...) | (...);
                                        presence_penalty?: (...) | (...);
                                        reasoning_effort?:
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...);
                                        seed?: (...) | (...);
                                        stop?: (...) | (...);
                                        temperature?: (...) | (...);
                                        top_p?: (...) | (...);
                                    };
                                    type: "deepseek";
                                }
                                | {
                                    fireworks: {
                                        extra_body?: (...)
                                        | (...);
                                        frequency_penalty?: (...) | (...);
                                        max_completion_tokens?: (...) | (...);
                                        max_tokens?: (...) | (...);
                                        presence_penalty?: (...) | (...);
                                        reasoning_effort?:
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...);
                                        seed?: (...) | (...);
                                        stop?: (...) | (...);
                                        temperature?: (...) | (...);
                                        top_p?: (...) | (...);
                                    };
                                    type: "fireworks";
                                }
                                | {
                                    google: {
                                        frequency_penalty?: (...)
                                        | (...);
                                        max_output_tokens?: (...) | (...);
                                        presence_penalty?: (...) | (...);
                                        stop_sequences?: (...) | (...);
                                        temperature?: (...) | (...);
                                        thinking_config?: (...) | (...);
                                        top_k?: (...) | (...);
                                        top_p?: (...) | (...);
                                    };
                                    type: "google";
                                }
                                | {
                                    groq: {
                                        extra_body?: (...)
                                        | (...);
                                        frequency_penalty?: (...) | (...);
                                        max_completion_tokens?: (...) | (...);
                                        max_tokens?: (...) | (...);
                                        presence_penalty?: (...) | (...);
                                        reasoning_effort?:
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...);
                                        seed?: (...) | (...);
                                        stop?: (...) | (...);
                                        temperature?: (...) | (...);
                                        top_p?: (...) | (...);
                                    };
                                    type: "groq";
                                }
                                | {
                                    moonshot: {
                                        extra_body?: (...)
                                        | (...);
                                        frequency_penalty?: (...) | (...);
                                        max_completion_tokens?: (...) | (...);
                                        max_tokens?: (...) | (...);
                                        presence_penalty?: (...) | (...);
                                        reasoning_effort?:
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...);
                                        seed?: (...) | (...);
                                        stop?: (...) | (...);
                                        temperature?: (...) | (...);
                                        top_p?: (...) | (...);
                                    };
                                    type: "moonshot";
                                }
                                | {
                                    ollama: {
                                        extra_body?: (...)
                                        | (...);
                                        frequency_penalty?: (...) | (...);
                                        max_completion_tokens?: (...) | (...);
                                        max_tokens?: (...) | (...);
                                        presence_penalty?: (...) | (...);
                                        reasoning_effort?:
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...);
                                        seed?: (...) | (...);
                                        stop?: (...) | (...);
                                        temperature?: (...) | (...);
                                        top_p?: (...) | (...);
                                    };
                                    type: "ollama";
                                }
                                | {
                                    openai: {
                                        extra_body?: (...)
                                        | (...);
                                        frequency_penalty?: (...) | (...);
                                        max_completion_tokens?: (...) | (...);
                                        max_tokens?: (...) | (...);
                                        presence_penalty?: (...) | (...);
                                        reasoning_effort?:
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...);
                                        seed?: (...) | (...);
                                        stop?: (...) | (...);
                                        temperature?: (...) | (...);
                                        top_p?: (...) | (...);
                                    };
                                    type: "openai";
                                }
                                | {
                                    perplexity: {
                                        extra_body?: (...)
                                        | (...);
                                        frequency_penalty?: (...) | (...);
                                        max_completion_tokens?: (...) | (...);
                                        max_tokens?: (...) | (...);
                                        presence_penalty?: (...) | (...);
                                        reasoning_effort?:
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...);
                                        seed?: (...) | (...);
                                        stop?: (...) | (...);
                                        temperature?: (...) | (...);
                                        top_p?: (...) | (...);
                                    };
                                    type: "perplexity";
                                }
                                | {
                                    together: {
                                        extra_body?: (...)
                                        | (...);
                                        frequency_penalty?: (...) | (...);
                                        max_completion_tokens?: (...) | (...);
                                        max_tokens?: (...) | (...);
                                        presence_penalty?: (...) | (...);
                                        reasoning_effort?:
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...);
                                        seed?: (...) | (...);
                                        stop?: (...) | (...);
                                        temperature?: (...) | (...);
                                        top_p?: (...) | (...);
                                    };
                                    type: "together";
                                }
                                | {
                                    type: "xai";
                                    xai: {
                                        extra_body?: (...)
                                        | (...);
                                        frequency_penalty?: (...) | (...);
                                        max_completion_tokens?: (...) | (...);
                                        max_tokens?: (...) | (...);
                                        presence_penalty?: (...) | (...);
                                        reasoning_effort?:
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...);
                                        seed?: (...) | (...);
                                        stop?: (...) | (...);
                                        temperature?: (...) | (...);
                                        top_p?: (...) | (...);
                                    };
                                };
                            model_name: string;
                            model_provider: | "OPENAI"
                            | "AZURE_OPENAI"
                            | "ANTHROPIC"
                            | "GOOGLE"
                            | "DEEPSEEK"
                            | "XAI"
                            | "OLLAMA"
                            | "AWS"
                            | "CEREBRAS"
                            | "FIREWORKS"
                            | "GROQ"
                            | "MOONSHOT"
                            | "PERPLEXITY"
                            | "TOGETHER";
                            response_format?: | {
                                json_schema: {
                                    description?: (...)
                                    | (...);
                                    name: string;
                                    schema?: (...) | (...);
                                    strict?: (...) | (...) | (...);
                                };
                                type: "json_schema";
                            }
                            | null;
                            template: | { messages: { content: ...; role: ... }[]; type: "chat" }
                            | { template: string; type: "string" };
                            template_format: "NONE" | "MUSTACHE" | "F_STRING";
                            template_type: "STR" | "CHAT";
                            tools?:
                                | {
                                    disable_parallel_tool_calls?: boolean;
                                    tool_choice?: | { type: ... }
                                    | { type: ... }
                                    | { function_name: ...; type: ... }
                                    | { type: ... };
                                    tools: ((...) | (...))[];
                                    type: "tools";
                                }
                                | null;
                        }[];
                        next_cursor: string
                        | null;
                    };
                };
                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 };
            };
        };
    }
    listSessionAnnotationsBySessionIds: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { project_identifier: string };
            query?: {
                cursor?: string | null;
                exclude_annotation_names?: string[] | null;
                identifier?: string[] | null;
                include_annotation_names?: string[] | null;
                limit?: number;
                session_ids?: string[] | null;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        data: {
                            annotator_kind: "LLM"
                            | "CODE"
                            | "HUMAN";
                            created_at: string;
                            id: string;
                            identifier?: string;
                            metadata?: { [key: string]: unknown } | null;
                            name: string;
                            result?:
                                | {
                                    explanation?: string
                                    | null;
                                    label?: string | null;
                                    score?: number | null;
                                }
                                | null;
                            session_id: string;
                            source: "API"
                            | "APP";
                            updated_at: string;
                            user_id: string | null;
                        }[];
                        next_cursor: string
                        | null;
                    };
                };
                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?: string | null;
                exclude_annotation_names?: string[] | null;
                identifier?: string[] | null;
                include_annotation_names?: string[] | null;
                limit?: number;
                span_ids?: string[] | null;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        data: {
                            annotator_kind: "LLM"
                            | "CODE"
                            | "HUMAN";
                            created_at: string;
                            id: string;
                            identifier?: string;
                            metadata?: { [key: string]: unknown } | null;
                            name: string;
                            result?:
                                | {
                                    explanation?: string
                                    | null;
                                    label?: string | null;
                                    score?: number | null;
                                }
                                | null;
                            source: "API"
                            | "APP";
                            span_id: string;
                            updated_at: string;
                            user_id: string | null;
                        }[];
                        next_cursor: string
                        | null;
                    };
                };
                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 };
            };
        };
    }
    listTraceAnnotationsByTraceIds: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { project_identifier: string };
            query?: {
                cursor?: string | null;
                exclude_annotation_names?: string[] | null;
                identifier?: string[] | null;
                include_annotation_names?: string[] | null;
                limit?: number;
                trace_ids?: string[] | null;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        data: {
                            annotator_kind: "LLM"
                            | "CODE"
                            | "HUMAN";
                            created_at: string;
                            id: string;
                            identifier?: string;
                            metadata?: { [key: string]: unknown } | null;
                            name: string;
                            result?:
                                | {
                                    explanation?: string
                                    | null;
                                    label?: string | null;
                                    score?: number | null;
                                }
                                | null;
                            source: "API"
                            | "APP";
                            trace_id: string;
                            updated_at: string;
                            user_id: string | null;
                        }[];
                        next_cursor: string
                        | null;
                    };
                };
                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 };
            };
        };
    }
    login_oauth2__idp_name__login_get: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { idp_name: string };
            query?: { returnUrl?: string | null };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": unknown };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        detail?: {
                            ctx?: Record<string, unknown>;
                            input?: unknown;
                            loc: (string | number)[];
                            msg: string;
                            type: string;
                        }[];
                    };
                };
                headers: { [name: string]: unknown };
            };
        };
    }

    login_oauth2__idp_name__login_post

    login_oauth2__idp_name__login_post: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { idp_name: string };
            query?: { returnUrl?: string | null };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": unknown };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        detail?: {
                            ctx?: Record<string, unknown>;
                            input?: unknown;
                            loc: (string | number)[];
                            msg: string;
                            type: string;
                        }[];
                    };
                };
                headers: { [name: string]: unknown };
            };
        };
    }
    postPromptVersion: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody: {
            content: {
                "application/json": {
                    prompt: {
                        description?: string
                        | null;
                        metadata?: { [key: string]: unknown } | null;
                        name: string;
                        source_prompt_id?: string | null;
                    };
                    version: {
                        description?: string
                        | null;
                        invocation_parameters:
                            | {
                                anthropic: {
                                    extra_body?: { [key: string]: unknown };
                                    max_tokens: number;
                                    output_config?: {
                                        effort?: (...) | (...) | (...) | (...) | (...) | (...);
                                    };
                                    stop_sequences?: string[];
                                    temperature?: number;
                                    thinking?: | { type: "disabled" }
                                    | {
                                        budget_tokens: number;
                                        display?: (...) | (...) | (...);
                                        type: "enabled";
                                    }
                                    | { display?: (...)
                                    | (...)
                                    | (...); type: "adaptive" };
                                    top_p?: number;
                                };
                                type: "anthropic";
                            }
                            | {
                                aws: {
                                    max_tokens?: number;
                                    stop_sequences?: string[];
                                    temperature?: number;
                                    top_p?: number;
                                };
                                type: "aws";
                            }
                            | {
                                azure_openai: {
                                    extra_body?: { [key: string]: unknown };
                                    frequency_penalty?: number;
                                    max_completion_tokens?: number;
                                    max_tokens?: number;
                                    presence_penalty?: number;
                                    reasoning_effort?:
                                        | "low"
                                        | "medium"
                                        | "high"
                                        | "xhigh"
                                        | "none"
                                        | "minimal";
                                    seed?: number;
                                    stop?: string[];
                                    temperature?: number;
                                    top_p?: number;
                                };
                                type: "azure_openai";
                            }
                            | {
                                cerebras: {
                                    extra_body?: { [key: string]: unknown };
                                    frequency_penalty?: number;
                                    max_completion_tokens?: number;
                                    max_tokens?: number;
                                    presence_penalty?: number;
                                    reasoning_effort?:
                                        | "low"
                                        | "medium"
                                        | "high"
                                        | "xhigh"
                                        | "none"
                                        | "minimal";
                                    seed?: number;
                                    stop?: string[];
                                    temperature?: number;
                                    top_p?: number;
                                };
                                type: "cerebras";
                            }
                            | {
                                deepseek: {
                                    extra_body?: { [key: string]: unknown };
                                    frequency_penalty?: number;
                                    max_completion_tokens?: number;
                                    max_tokens?: number;
                                    presence_penalty?: number;
                                    reasoning_effort?:
                                        | "low"
                                        | "medium"
                                        | "high"
                                        | "xhigh"
                                        | "none"
                                        | "minimal";
                                    seed?: number;
                                    stop?: string[];
                                    temperature?: number;
                                    top_p?: number;
                                };
                                type: "deepseek";
                            }
                            | {
                                fireworks: {
                                    extra_body?: { [key: string]: unknown };
                                    frequency_penalty?: number;
                                    max_completion_tokens?: number;
                                    max_tokens?: number;
                                    presence_penalty?: number;
                                    reasoning_effort?:
                                        | "low"
                                        | "medium"
                                        | "high"
                                        | "xhigh"
                                        | "none"
                                        | "minimal";
                                    seed?: number;
                                    stop?: string[];
                                    temperature?: number;
                                    top_p?: number;
                                };
                                type: "fireworks";
                            }
                            | {
                                google: {
                                    frequency_penalty?: number;
                                    max_output_tokens?: number;
                                    presence_penalty?: number;
                                    stop_sequences?: string[];
                                    temperature?: number;
                                    thinking_config?: {
                                        include_thoughts?: (...)
                                        | (...)
                                        | (...);
                                        thinking_budget?: (...) | (...);
                                        thinking_level?: (...) | (...) | (...) | (...) | (...);
                                    };
                                    top_k?: number;
                                    top_p?: number;
                                };
                                type: "google";
                            }
                            | {
                                groq: {
                                    extra_body?: { [key: string]: unknown };
                                    frequency_penalty?: number;
                                    max_completion_tokens?: number;
                                    max_tokens?: number;
                                    presence_penalty?: number;
                                    reasoning_effort?:
                                        | "low"
                                        | "medium"
                                        | "high"
                                        | "xhigh"
                                        | "none"
                                        | "minimal";
                                    seed?: number;
                                    stop?: string[];
                                    temperature?: number;
                                    top_p?: number;
                                };
                                type: "groq";
                            }
                            | {
                                moonshot: {
                                    extra_body?: { [key: string]: unknown };
                                    frequency_penalty?: number;
                                    max_completion_tokens?: number;
                                    max_tokens?: number;
                                    presence_penalty?: number;
                                    reasoning_effort?:
                                        | "low"
                                        | "medium"
                                        | "high"
                                        | "xhigh"
                                        | "none"
                                        | "minimal";
                                    seed?: number;
                                    stop?: string[];
                                    temperature?: number;
                                    top_p?: number;
                                };
                                type: "moonshot";
                            }
                            | {
                                ollama: {
                                    extra_body?: { [key: string]: unknown };
                                    frequency_penalty?: number;
                                    max_completion_tokens?: number;
                                    max_tokens?: number;
                                    presence_penalty?: number;
                                    reasoning_effort?:
                                        | "low"
                                        | "medium"
                                        | "high"
                                        | "xhigh"
                                        | "none"
                                        | "minimal";
                                    seed?: number;
                                    stop?: string[];
                                    temperature?: number;
                                    top_p?: number;
                                };
                                type: "ollama";
                            }
                            | {
                                openai: {
                                    extra_body?: { [key: string]: unknown };
                                    frequency_penalty?: number;
                                    max_completion_tokens?: number;
                                    max_tokens?: number;
                                    presence_penalty?: number;
                                    reasoning_effort?:
                                        | "low"
                                        | "medium"
                                        | "high"
                                        | "xhigh"
                                        | "none"
                                        | "minimal";
                                    seed?: number;
                                    stop?: string[];
                                    temperature?: number;
                                    top_p?: number;
                                };
                                type: "openai";
                            }
                            | {
                                perplexity: {
                                    extra_body?: { [key: string]: unknown };
                                    frequency_penalty?: number;
                                    max_completion_tokens?: number;
                                    max_tokens?: number;
                                    presence_penalty?: number;
                                    reasoning_effort?:
                                        | "low"
                                        | "medium"
                                        | "high"
                                        | "xhigh"
                                        | "none"
                                        | "minimal";
                                    seed?: number;
                                    stop?: string[];
                                    temperature?: number;
                                    top_p?: number;
                                };
                                type: "perplexity";
                            }
                            | {
                                together: {
                                    extra_body?: { [key: string]: unknown };
                                    frequency_penalty?: number;
                                    max_completion_tokens?: number;
                                    max_tokens?: number;
                                    presence_penalty?: number;
                                    reasoning_effort?:
                                        | "low"
                                        | "medium"
                                        | "high"
                                        | "xhigh"
                                        | "none"
                                        | "minimal";
                                    seed?: number;
                                    stop?: string[];
                                    temperature?: number;
                                    top_p?: number;
                                };
                                type: "together";
                            }
                            | {
                                type: "xai";
                                xai: {
                                    extra_body?: { [key: string]: unknown };
                                    frequency_penalty?: number;
                                    max_completion_tokens?: number;
                                    max_tokens?: number;
                                    presence_penalty?: number;
                                    reasoning_effort?:
                                        | "low"
                                        | "medium"
                                        | "high"
                                        | "xhigh"
                                        | "none"
                                        | "minimal";
                                    seed?: number;
                                    stop?: string[];
                                    temperature?: number;
                                    top_p?: number;
                                };
                            };
                        model_name: string;
                        model_provider: | "OPENAI"
                        | "AZURE_OPENAI"
                        | "ANTHROPIC"
                        | "GOOGLE"
                        | "DEEPSEEK"
                        | "XAI"
                        | "OLLAMA"
                        | "AWS"
                        | "CEREBRAS"
                        | "FIREWORKS"
                        | "GROQ"
                        | "MOONSHOT"
                        | "PERPLEXITY"
                        | "TOGETHER";
                        response_format?: | {
                            json_schema: {
                                description?: string;
                                name: string;
                                schema?: { [key: string]: unknown };
                                strict?: boolean;
                            };
                            type: "json_schema";
                        }
                        | null;
                        template: | {
                            messages: {
                                content: string
                                | (...)[];
                                role:
                                    | "system"
                                    | "user"
                                    | "assistant"
                                    | "model"
                                    | "ai"
                                    | "tool"
                                    | "developer";
                            }[];
                            type: "chat";
                        }
                        | { template: string; type: "string" };
                        template_format: "NONE" | "MUSTACHE" | "F_STRING";
                        template_type: "STR" | "CHAT";
                        tools?:
                            | {
                                disable_parallel_tool_calls?: boolean;
                                tool_choice?: | { type: "none" }
                                | { type: "one_or_more" }
                                | { function_name: string; type: "specific_function" }
                                | { type: "zero_or_more" };
                                tools: (
                                    | {
                                        function: {
                                            description?: ...;
                                            name: ...;
                                            parameters?: ...;
                                            strict?: ...;
                                        };
                                        type: "function";
                                    }
                                    | { raw: { [key: ...]: ... }; type: "raw" }
                                )[];
                                type: "tools";
                            }
                            | null;
                    };
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        data: {
                            description?: string
                            | null;
                            id: string;
                            invocation_parameters:
                                | {
                                    anthropic: {
                                        extra_body?: { [key: ...]: ... };
                                        max_tokens: number;
                                        output_config?: { effort?: ... };
                                        stop_sequences?: (...)[];
                                        temperature?: number;
                                        thinking?:
                                            | { type: ... }
                                            | { budget_tokens: ...; display?: ...; type: ... }
                                            | { display?: ...; type: ... };
                                        top_p?: number;
                                    };
                                    type: "anthropic";
                                }
                                | {
                                    aws: {
                                        max_tokens?: number;
                                        stop_sequences?: (...)[];
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                    type: "aws";
                                }
                                | {
                                    azure_openai: {
                                        extra_body?: { [key: ...]: ... };
                                        frequency_penalty?: number;
                                        max_completion_tokens?: number;
                                        max_tokens?: number;
                                        presence_penalty?: number;
                                        reasoning_effort?:
                                            | "low"
                                            | "medium"
                                            | "high"
                                            | "xhigh"
                                            | "none"
                                            | "minimal";
                                        seed?: number;
                                        stop?: (...)[];
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                    type: "azure_openai";
                                }
                                | {
                                    cerebras: {
                                        extra_body?: { [key: ...]: ... };
                                        frequency_penalty?: number;
                                        max_completion_tokens?: number;
                                        max_tokens?: number;
                                        presence_penalty?: number;
                                        reasoning_effort?:
                                            | "low"
                                            | "medium"
                                            | "high"
                                            | "xhigh"
                                            | "none"
                                            | "minimal";
                                        seed?: number;
                                        stop?: (...)[];
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                    type: "cerebras";
                                }
                                | {
                                    deepseek: {
                                        extra_body?: { [key: ...]: ... };
                                        frequency_penalty?: number;
                                        max_completion_tokens?: number;
                                        max_tokens?: number;
                                        presence_penalty?: number;
                                        reasoning_effort?:
                                            | "low"
                                            | "medium"
                                            | "high"
                                            | "xhigh"
                                            | "none"
                                            | "minimal";
                                        seed?: number;
                                        stop?: (...)[];
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                    type: "deepseek";
                                }
                                | {
                                    fireworks: {
                                        extra_body?: { [key: ...]: ... };
                                        frequency_penalty?: number;
                                        max_completion_tokens?: number;
                                        max_tokens?: number;
                                        presence_penalty?: number;
                                        reasoning_effort?:
                                            | "low"
                                            | "medium"
                                            | "high"
                                            | "xhigh"
                                            | "none"
                                            | "minimal";
                                        seed?: number;
                                        stop?: (...)[];
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                    type: "fireworks";
                                }
                                | {
                                    google: {
                                        frequency_penalty?: number;
                                        max_output_tokens?: number;
                                        presence_penalty?: number;
                                        stop_sequences?: (...)[];
                                        temperature?: number;
                                        thinking_config?: {
                                            include_thoughts?: ...;
                                            thinking_budget?: ...;
                                            thinking_level?: ...;
                                        };
                                        top_k?: number;
                                        top_p?: number;
                                    };
                                    type: "google";
                                }
                                | {
                                    groq: {
                                        extra_body?: { [key: ...]: ... };
                                        frequency_penalty?: number;
                                        max_completion_tokens?: number;
                                        max_tokens?: number;
                                        presence_penalty?: number;
                                        reasoning_effort?:
                                            | "low"
                                            | "medium"
                                            | "high"
                                            | "xhigh"
                                            | "none"
                                            | "minimal";
                                        seed?: number;
                                        stop?: (...)[];
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                    type: "groq";
                                }
                                | {
                                    moonshot: {
                                        extra_body?: { [key: ...]: ... };
                                        frequency_penalty?: number;
                                        max_completion_tokens?: number;
                                        max_tokens?: number;
                                        presence_penalty?: number;
                                        reasoning_effort?:
                                            | "low"
                                            | "medium"
                                            | "high"
                                            | "xhigh"
                                            | "none"
                                            | "minimal";
                                        seed?: number;
                                        stop?: (...)[];
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                    type: "moonshot";
                                }
                                | {
                                    ollama: {
                                        extra_body?: { [key: ...]: ... };
                                        frequency_penalty?: number;
                                        max_completion_tokens?: number;
                                        max_tokens?: number;
                                        presence_penalty?: number;
                                        reasoning_effort?:
                                            | "low"
                                            | "medium"
                                            | "high"
                                            | "xhigh"
                                            | "none"
                                            | "minimal";
                                        seed?: number;
                                        stop?: (...)[];
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                    type: "ollama";
                                }
                                | {
                                    openai: {
                                        extra_body?: { [key: ...]: ... };
                                        frequency_penalty?: number;
                                        max_completion_tokens?: number;
                                        max_tokens?: number;
                                        presence_penalty?: number;
                                        reasoning_effort?:
                                            | "low"
                                            | "medium"
                                            | "high"
                                            | "xhigh"
                                            | "none"
                                            | "minimal";
                                        seed?: number;
                                        stop?: (...)[];
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                    type: "openai";
                                }
                                | {
                                    perplexity: {
                                        extra_body?: { [key: ...]: ... };
                                        frequency_penalty?: number;
                                        max_completion_tokens?: number;
                                        max_tokens?: number;
                                        presence_penalty?: number;
                                        reasoning_effort?:
                                            | "low"
                                            | "medium"
                                            | "high"
                                            | "xhigh"
                                            | "none"
                                            | "minimal";
                                        seed?: number;
                                        stop?: (...)[];
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                    type: "perplexity";
                                }
                                | {
                                    together: {
                                        extra_body?: { [key: ...]: ... };
                                        frequency_penalty?: number;
                                        max_completion_tokens?: number;
                                        max_tokens?: number;
                                        presence_penalty?: number;
                                        reasoning_effort?:
                                            | "low"
                                            | "medium"
                                            | "high"
                                            | "xhigh"
                                            | "none"
                                            | "minimal";
                                        seed?: number;
                                        stop?: (...)[];
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                    type: "together";
                                }
                                | {
                                    type: "xai";
                                    xai: {
                                        extra_body?: { [key: ...]: ... };
                                        frequency_penalty?: number;
                                        max_completion_tokens?: number;
                                        max_tokens?: number;
                                        presence_penalty?: number;
                                        reasoning_effort?:
                                            | "low"
                                            | "medium"
                                            | "high"
                                            | "xhigh"
                                            | "none"
                                            | "minimal";
                                        seed?: number;
                                        stop?: (...)[];
                                        temperature?: number;
                                        top_p?: number;
                                    };
                                };
                            model_name: string;
                            model_provider: | "OPENAI"
                            | "AZURE_OPENAI"
                            | "ANTHROPIC"
                            | "GOOGLE"
                            | "DEEPSEEK"
                            | "XAI"
                            | "OLLAMA"
                            | "AWS"
                            | "CEREBRAS"
                            | "FIREWORKS"
                            | "GROQ"
                            | "MOONSHOT"
                            | "PERPLEXITY"
                            | "TOGETHER";
                            response_format?: | {
                                json_schema: {
                                    description?: string;
                                    name: string;
                                    schema?: { [key: ...]: ... };
                                    strict?: boolean;
                                };
                                type: "json_schema";
                            }
                            | null;
                            template: | {
                                messages: {
                                    content: (...)
                                    | (...);
                                    role: (...) | (...) | (...) | (...) | (...) | (...) | (...);
                                }[];
                                type: "chat";
                            }
                            | { template: string; type: "string" };
                            template_format: "NONE" | "MUSTACHE" | "F_STRING";
                            template_type: "STR" | "CHAT";
                            tools?:
                                | {
                                    disable_parallel_tool_calls?: boolean;
                                    tool_choice?: | { type: "none" }
                                    | { type: "one_or_more" }
                                    | { function_name: string; type: "specific_function" }
                                    | { type: "zero_or_more" };
                                    tools: ({ function: ...; type: ... } | { raw: ...; type: ... })[];
                                    type: "tools";
                                }
                                | null;
                        };
                    };
                };
                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?: {
                attribute?: string[] | null;
                cursor?: string | null;
                end_time?: string | null;
                limit?: number;
                name?: string[] | null;
                parent_id?: string | null;
                start_time?: string | null;
                status_code?: string[] | null;
                trace_id?: string[] | null;
            };
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        data: {
                            attributes?: | {
                                key?: (...)
                                | (...)
                                | (...);
                                value?: (...) | (...) | (...);
                            }[]
                            | null;
                            dropped_attributes_count?: number
                            | null;
                            dropped_events_count?: number | null;
                            dropped_links_count?: number | null;
                            end_time_unix_nano?: string | number | null;
                            events?:
                                | {
                                    attributes?: (...)
                                    | (...)
                                    | (...);
                                    dropped_attributes_count?: (...) | (...) | (...);
                                    name?: (...) | (...) | (...);
                                    time_unix_nano?: (...) | (...) | (...) | (...);
                                }[]
                                | null;
                            flags?: number
                            | null;
                            kind?:
                                | number
                                | "SPAN_KIND_UNSPECIFIED"
                                | "SPAN_KIND_INTERNAL"
                                | "SPAN_KIND_SERVER"
                                | "SPAN_KIND_CLIENT"
                                | "SPAN_KIND_PRODUCER"
                                | "SPAN_KIND_CONSUMER"
                                | null;
                            links?: null;
                            name?: string
                            | null;
                            parent_span_id?: string | null;
                            span_id?: string | null;
                            start_time_unix_nano?: string | number | null;
                            status?: { code?: number | null; message?: string | null } | null;
                            trace_id?: string | null;
                            trace_state?: string | null;
                        }[];
                        next_cursor: string
                        | null;
                    };
                };
                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 };
            };
        };
    }

    summarize_endpoint_agents__agent_id__sessions__session_id__summary_post

    summarize_endpoint_agents__agent_id__sessions__session_id__summary_post: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { agent_id: string; session_id: string };
            query?: undefined;
        };
        requestBody: {
            content: {
                "application/json": {
                    exportRemoteTraces?: boolean;
                    ingestTraces?: boolean;
                    messages: {
                        id: string;
                        metadata?: unknown;
                        parts: (
                            | {
                                providerMetadata?: { [key: ...]: ... }
                                | null;
                                state?: "streaming" | "done" | null;
                                text: string;
                                type?: "text";
                            }
                            | {
                                providerMetadata?: { [key: ...]: ... }
                                | null;
                                state?: "streaming" | "done" | null;
                                text: string;
                                type?: "reasoning";
                            }
                            | {
                                approval?: | { id: ... }
                                | { approved: ...; id: ...; reason?: ... }
                                | null;
                                callProviderMetadata?: { [key: ...]: ... } | null;
                                input?: unknown;
                                providerExecuted?: boolean | null;
                                state?: "input-streaming";
                                toolCallId: string;
                                type: string;
                            }
                            | {
                                approval?: | { id: ... }
                                | { approved: ...; id: ...; reason?: ... }
                                | null;
                                callProviderMetadata?: { [key: ...]: ... } | null;
                                input?: unknown;
                                providerExecuted?: boolean | null;
                                state?: "input-available";
                                toolCallId: string;
                                type: string;
                            }
                            | {
                                approval?: | { id: ... }
                                | { approved: ...; id: ...; reason?: ... }
                                | null;
                                callProviderMetadata?: { [key: ...]: ... } | null;
                                input?: unknown;
                                output?: unknown;
                                preliminary?: boolean | null;
                                providerExecuted?: boolean | null;
                                state?: "output-available";
                                toolCallId: string;
                                type: string;
                            }
                            | {
                                approval?: | { id: ... }
                                | { approved: ...; id: ...; reason?: ... }
                                | null;
                                callProviderMetadata?: { [key: ...]: ... } | null;
                                errorText: string;
                                input?: unknown;
                                providerExecuted?: boolean | null;
                                rawInput?: unknown;
                                state?: "output-error";
                                toolCallId: string;
                                type: string;
                            }
                            | {
                                approval?: | { id: ... }
                                | { approved: ...; id: ...; reason?: ... }
                                | null;
                                callProviderMetadata?: { [key: ...]: ... } | null;
                                input?: unknown;
                                providerExecuted?: boolean | null;
                                state?: "approval-requested";
                                toolCallId: string;
                                type: string;
                            }
                            | {
                                approval?: | { id: ... }
                                | { approved: ...; id: ...; reason?: ... }
                                | null;
                                callProviderMetadata?: { [key: ...]: ... } | null;
                                input?: unknown;
                                providerExecuted?: boolean | null;
                                state?: "approval-responded";
                                toolCallId: string;
                                type: string;
                            }
                            | {
                                approval?: | { id: ... }
                                | { approved: ...; id: ...; reason?: ... }
                                | null;
                                callProviderMetadata?: { [key: ...]: ... } | null;
                                input?: unknown;
                                providerExecuted?: boolean | null;
                                state?: "output-denied";
                                toolCallId: string;
                                type: string;
                            }
                            | {
                                approval?: | { id: ... }
                                | { approved: ...; id: ...; reason?: ... }
                                | null;
                                callProviderMetadata?: { [key: ...]: ... } | null;
                                input?: unknown;
                                state?: "input-streaming";
                                toolCallId: string;
                                toolName: string;
                                type?: "dynamic-tool";
                            }
                            | {
                                approval?: | { id: ... }
                                | { approved: ...; id: ...; reason?: ... }
                                | null;
                                callProviderMetadata?: { [key: ...]: ... } | null;
                                input: unknown;
                                state?: "input-available";
                                toolCallId: string;
                                toolName: string;
                                type?: "dynamic-tool";
                            }
                            | {
                                approval?: | { id: ... }
                                | { approved: ...; id: ...; reason?: ... }
                                | null;
                                callProviderMetadata?: { [key: ...]: ... } | null;
                                input: unknown;
                                output: unknown;
                                preliminary?: boolean | null;
                                state?: "output-available";
                                toolCallId: string;
                                toolName: string;
                                type?: "dynamic-tool";
                            }
                            | {
                                approval?: | { id: ... }
                                | { approved: ...; id: ...; reason?: ... }
                                | null;
                                callProviderMetadata?: { [key: ...]: ... } | null;
                                errorText: string;
                                input: unknown;
                                state?: "output-error";
                                toolCallId: string;
                                toolName: string;
                                type?: "dynamic-tool";
                            }
                            | {
                                approval?: | { id: ... }
                                | { approved: ...; id: ...; reason?: ... }
                                | null;
                                callProviderMetadata?: { [key: ...]: ... } | null;
                                input: unknown;
                                state?: "approval-requested";
                                toolCallId: string;
                                toolName: string;
                                type?: "dynamic-tool";
                            }
                            | {
                                approval?: | { id: ... }
                                | { approved: ...; id: ...; reason?: ... }
                                | null;
                                callProviderMetadata?: { [key: ...]: ... } | null;
                                input: unknown;
                                state?: "approval-responded";
                                toolCallId: string;
                                toolName: string;
                                type?: "dynamic-tool";
                            }
                            | {
                                approval?: | { id: ... }
                                | { approved: ...; id: ...; reason?: ... }
                                | null;
                                callProviderMetadata?: { [key: ...]: ... } | null;
                                input: unknown;
                                state?: "output-denied";
                                toolCallId: string;
                                toolName: string;
                                type?: "dynamic-tool";
                            }
                            | {
                                providerMetadata?: { [key: ...]: ... }
                                | null;
                                sourceId: string;
                                title?: string | null;
                                type?: "source-url";
                                url: string;
                            }
                            | {
                                filename?: string
                                | null;
                                mediaType: string;
                                providerMetadata?: { [key: ...]: ... } | null;
                                sourceId: string;
                                title: string;
                                type?: "source-document";
                            }
                            | {
                                filename?: string
                                | null;
                                mediaType: string;
                                providerMetadata?: { [key: ...]: ... } | null;
                                type?: "file";
                                url: string;
                            }
                            | { data: unknown; id?: string
                            | null; type: string }
                            | { type?: "step-start" }
                        )[];
                        role: "system" | "user" | "assistant";
                    }[];
                    model: | {
                        modelName: string;
                        openaiApiType?: "chat_completions"
                        | "responses";
                        provider:
                            | "OPENAI"
                            | "AZURE_OPENAI"
                            | "ANTHROPIC"
                            | "GOOGLE"
                            | "DEEPSEEK"
                            | "XAI"
                            | "OLLAMA"
                            | "AWS"
                            | "CEREBRAS"
                            | "FIREWORKS"
                            | "GROQ"
                            | "MOONSHOT"
                            | "PERPLEXITY"
                            | "TOGETHER";
                        providerType: "builtin";
                    }
                    | { modelName: string; providerId: string; providerType: "custom" };
                };
            };
        };
        responses: {
            "200": {
                content: { "application/json": { summary: string } };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        detail?: {
                            ctx?: Record<string, unknown>;
                            input?: unknown;
                            loc: (string | number)[];
                            msg: string;
                            type: 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?: string
                    | null;
                    name: string;
                    optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                    type: "CATEGORICAL";
                    values: { label: string; score?: number | null }[];
                }
                | {
                    description?: string
                    | null;
                    lower_bound?: number | null;
                    name: string;
                    optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                    type: "CONTINUOUS";
                    upper_bound?: number | null;
                }
                | {
                    description?: string
                    | null;
                    lower_bound?: number | null;
                    name: string;
                    optimization_direction?: "MINIMIZE" | "MAXIMIZE" | "NONE" | null;
                    threshold?: number | null;
                    type: "FREEFORM";
                    upper_bound?: number | null;
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        data: | {
                            description?: string
                            | null;
                            id: string;
                            name: string;
                            optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                            type: "CATEGORICAL";
                            values: { label: string; score?: number | null }[];
                        }
                        | {
                            description?: string
                            | null;
                            id: string;
                            lower_bound?: number | null;
                            name: string;
                            optimization_direction: "MINIMIZE" | "MAXIMIZE" | "NONE";
                            type: "CONTINUOUS";
                            upper_bound?: number | null;
                        }
                        | {
                            description?: string
                            | null;
                            id: string;
                            lower_bound?: number | null;
                            name: string;
                            optimization_direction?: "MINIMIZE" | "MAXIMIZE" | "NONE" | null;
                            threshold?: number | null;
                            type: "FREEFORM";
                            upper_bound?: number | null;
                        };
                    };
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: {
                    "application/json": {
                        detail?: {
                            ctx?: Record<string, unknown>;
                            input?: unknown;
                            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?: string
            | null } };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        data: { description?: string
                        | null; 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"
                    | "update";
                    description?: string;
                    example_ids?: (string | null)[];
                    inputs: Record<string, unknown>[];
                    metadata?: Record<string, unknown>[];
                    name: string;
                    outputs?: Record<string, unknown>[];
                    span_ids?: (string | null)[];
                    splits?: (string | string[] | null)[];
                };
                "multipart/form-data": {
                    action?: "create"
                    | "append"
                    | "update";
                    description?: string;
                    example_id_key?: string;
                    file: string;
                    "flatten_keys[]"?: string[];
                    "input_keys[]": string[];
                    "metadata_keys[]"?: string[];
                    name: string;
                    "output_keys[]": string[];
                    span_id_key?: string;
                    split_key?: string;
                    "split_keys[]"?: string[];
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": | {
                        data: {
                            dataset_id: string;
                            num_created_examples: number;
                            num_deleted_examples: number;
                            num_updated_examples: number;
                            version_id: string;
                        };
                    }
                    | null;
                };
                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?: string | null;
                    experiment_run_id: string;
                    metadata?: { [key: string]: unknown } | null;
                    name: string;
                    result?:
                        | {
                            explanation?: string
                            | null;
                            label?: string | null;
                            score?: number | null;
                        }
                        | null;
                    start_time: string;
                    trace_id?: string
                    | null;
                };
            };
        };
        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?: {
                            ctx?: Record<string, unknown>;
                            input?: unknown;
                            loc: (string | number)[];
                            msg: string;
                            type: string;
                        }[];
                    };
                };
                headers: { [name: string]: unknown };
            };
        };
    }
    upsertOrDeleteSecrets: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody: {
            content: {
                "application/json": {
                    secrets: { key: string; value: string
                    | null }[];
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        data: { deleted_keys: string[]; upserted_keys: string[] };
                    };
                };
                headers: { [name: string]: unknown };
            };
            "403": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "422": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
            "507": {
                content: { "text/plain": string };
                headers: { [name: string]: unknown };
            };
        };
    }
    version_arize_phoenix_version_get: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: { "application/json": unknown };
                headers: { [name: string]: unknown };
            };
        };
    }