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

Properties

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

Type declaration

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

    AnnotateSpansRequestBody

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

      Data

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

    AnnotateSpansResponseBody

    • data: { id: string }[]

      Data

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

    CategoricalAnnotationConfig

    • Optionaldescription?: null | string

      Description

    • id: string

      Id

    • name: string

      Name

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

      discriminator enum property added by openapi-typescript

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

      Values

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

    CategoricalAnnotationConfigData

    • Optionaldescription?: null | string

      Description

    • name: string

      Name

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

      discriminator enum property added by openapi-typescript

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

      Values

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

    CategoricalAnnotationValue

    • label: string

      Label

    • Optionalscore?: null | number

      Score

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

    ContinuousAnnotationConfig

    • Optionaldescription?: null | string

      Description

    • id: string

      Id

    • Optionallower_bound?: null | number

      Lower Bound

    • name: string

      Name

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

      discriminator enum property added by openapi-typescript

    • Optionalupper_bound?: null | number

      Upper Bound

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

    ContinuousAnnotationConfigData

    • Optionaldescription?: null | string

      Description

    • Optionallower_bound?: null | number

      Lower Bound

    • name: string

      Name

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

      discriminator enum property added by openapi-typescript

    • Optionalupper_bound?: null | number

      Upper Bound

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

    CreateAnnotationConfigData

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

    CreateAnnotationConfigResponseBody

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

      Data

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

    CreateExperimentRequestBody

    Details of the experiment to be created

    • Optionaldescription?: null | string

      Description

      An optional description of the experiment

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

      Metadata

      Metadata for the experiment

    • Optionalname?: null | string

      Name

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

    • Optionalrepetitions?: number

      Repetitions

      Number of times the experiment should be repeated for each example

      1
      
    • Optionalversion_id?: null | string

      Version Id

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

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

    CreateExperimentResponseBody

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

        Created At Format: date-time

        The creation timestamp of the experiment

      • dataset_id: string

        Dataset Id

        The ID of the dataset associated with the experiment

      • dataset_version_id: string

        Dataset Version Id

        The ID of the dataset version associated with the experiment

      • id: string

        Id

        The ID of the experiment

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

        Metadata

        Metadata of the experiment

      • project_name: null | string

        Project Name

        The name of the project associated with the experiment

      • repetitions: number

        Repetitions

        Number of times the experiment is repeated

      • updated_at: string

        Updated At Format: date-time

        The last update timestamp of the experiment

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

    CreateExperimentRunRequestBody

    • dataset_example_id: string

      Dataset Example Id

      The ID of the dataset example used in the experiment run

    • end_time: string

      End Time Format: date-time

      The end time of the experiment run

    • Optionalerror?: null | string

      Error

      Optional error message if the experiment run encountered an error

    • output: unknown

      Output

      The output of the experiment task

    • repetition_number: number

      Repetition Number

      The repetition number of the experiment run

    • start_time: string

      Start Time Format: date-time

      The start time of the experiment run

    • Optionaltrace_id?: null | string

      Trace Id

      The ID of the corresponding trace (if one exists)

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

    CreateExperimentRunResponseBody

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

        Id

        The ID of the newly created experiment run

  • CreateExperimentRunResponseBodyData: { id: string }

    CreateExperimentRunResponseBodyData

    • id: string

      Id

      The ID of the newly created experiment run

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

    CreateProjectRequestBody

    • Optionaldescription?: null | string

      Description

    • name: string

      Name

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

    CreateProjectResponseBody

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

        Description

      • id: string

        Id

      • name: string

        Name

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

    CreatePromptRequestBody

    • prompt: { description?: null | string; name: string; source_prompt_id?: null | string }
      • Optionaldescription?: null | string

        Description

      • name: string
      • Optionalsource_prompt_id?: null | string

        Source Prompt Id

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

        Description

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

        Invocation Parameters

      • model_name: string

        Model Name

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

        Response Format

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

        Template

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

    CreatePromptResponseBody

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

        Description

      • id: string

        Id

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

        Invocation Parameters

      • model_name: string

        Model Name

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

        Response Format

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

        Template

      • template_format: "NONE" | "MUSTACHE" | "F_STRING"
      • template_type: "STR" | "CHAT"
      • Optionaltools?:
            | null
            | {
                disable_parallel_tool_calls?: boolean;
                tool_choice?: | { type: "none" }
                | { type: "one_or_more" }
                | { function_name: string; type: "specific_function" }
                | { type: "zero_or_more" };
                tools: {
                    function: {
                        description?: string;
                        name: string;
                        parameters?: { [key: string]: unknown };
                        strict?: boolean;
                    };
                    type: "function";
                }[];
                type: "tools";
            }
  • CreateSpansRequestBody: {
        data: {
            attributes?: { [key: string]: unknown };
            context: { span_id: string; trace_id: string };
            end_time: string;
            events?: {
                attributes?: { [key: string]: unknown };
                name: string;
                timestamp: string;
            }[];
            id?: string;
            name: string;
            parent_id?: null
            | string;
            span_kind: string;
            start_time: string;
            status_code: string;
            status_message?: string;
        }[];
    }

    CreateSpansRequestBody

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

      Data

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

    CreateSpansResponseBody

    • total_queued: number

      Total Queued

      Number of spans successfully queued for insertion

    • total_received: number

      Total Received

      Total number of spans received

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

    CreateUserRequestBody

    • Optionalsend_welcome_email?: boolean

      Send Welcome Email

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

      User

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

    CreateUserResponseBody

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

      Data

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

    Dataset

    • created_at: string

      Created At Format: date-time

    • description: null | string

      Description

    • example_count: number

      Example Count

    • id: string

      Id

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

      Metadata

    • name: string

      Name

    • updated_at: string

      Updated At Format: date-time

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

    DatasetExample

    • id: string

      Id

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

      Input

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

      Metadata

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

      Output

    • updated_at: string

      Updated At Format: date-time

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

    DatasetVersion

    • created_at: string

      Created At Format: date-time

    • description: null | string

      Description

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

      Metadata

    • version_id: string

      Version Id

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

    DatasetWithExampleCount

    • created_at: string

      Created At Format: date-time

    • description: null | string

      Description

    • example_count: number

      Example Count

    • id: string

      Id

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

      Metadata

    • name: string

      Name

    • updated_at: string

      Updated At Format: date-time

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

    DeleteAnnotationConfigResponseBody

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

      Data

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

    Experiment

    • created_at: string

      Created At Format: date-time

      The creation timestamp of the experiment

    • dataset_id: string

      Dataset Id

      The ID of the dataset associated with the experiment

    • dataset_version_id: string

      Dataset Version Id

      The ID of the dataset version associated with the experiment

    • id: string

      Id

      The ID of the experiment

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

      Metadata

      Metadata of the experiment

    • project_name: null | string

      Project Name

      The name of the project associated with the experiment

    • repetitions: number

      Repetitions

      Number of times the experiment is repeated

    • updated_at: string

      Updated At Format: date-time

      The last update timestamp of the experiment

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

    ExperimentEvaluationResult

    • Optionalexplanation?: null | string

      Explanation

      Explanation of the evaluation result

    • Optionallabel?: null | string

      Label

      The label assigned by the evaluation

    • Optionalscore?: null | number

      Score

      The score assigned by the evaluation

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

    ExperimentRunResponse

    • dataset_example_id: string

      Dataset Example Id

      The ID of the dataset example used in the experiment run

    • end_time: string

      End Time Format: date-time

      The end time of the experiment run

    • Optionalerror?: null | string

      Error

      Optional error message if the experiment run encountered an error

    • experiment_id: string

      Experiment Id

      The ID of the experiment

    • id: string

      Id

      The ID of the experiment run

    • output: unknown

      Output

      The output of the experiment task

    • repetition_number: number

      Repetition Number

      The repetition number of the experiment run

    • start_time: string

      Start Time Format: date-time

      The start time of the experiment run

    • Optionaltrace_id?: null | string

      Trace Id

      The ID of the corresponding trace (if one exists)

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

    FreeformAnnotationConfig

    • Optionaldescription?: null | string

      Description

    • id: string

      Id

    • name: string

      Name

    • type: "FREEFORM"

      discriminator enum property added by openapi-typescript

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

    FreeformAnnotationConfigData

    • Optionaldescription?: null | string

      Description

    • name: string

      Name

    • type: "FREEFORM"

      discriminator enum property added by openapi-typescript

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

    GetAnnotationConfigResponseBody

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

      Data

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

    GetAnnotationConfigsResponseBody

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

      Data

    • next_cursor: null | string

      Next Cursor

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

    GetDatasetResponseBody

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

        Created At Format: date-time

      • description: null | string

        Description

      • example_count: number

        Example Count

      • id: string

        Id

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

        Metadata

      • name: string

        Name

      • updated_at: string

        Updated At Format: date-time

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

    GetExperimentResponseBody

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

        Created At Format: date-time

        The creation timestamp of the experiment

      • dataset_id: string

        Dataset Id

        The ID of the dataset associated with the experiment

      • dataset_version_id: string

        Dataset Version Id

        The ID of the dataset version associated with the experiment

      • id: string

        Id

        The ID of the experiment

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

        Metadata

        Metadata of the experiment

      • project_name: null | string

        Project Name

        The name of the project associated with the experiment

      • repetitions: number

        Repetitions

        Number of times the experiment is repeated

      • updated_at: string

        Updated At Format: date-time

        The last update timestamp of the experiment

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

    GetProjectResponseBody

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

        Description

      • id: string

        Id

      • name: string

        Name

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

    GetProjectsResponseBody

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

      Data

    • next_cursor: null | string

      Next Cursor

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

    GetPromptResponseBody

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

        Description

      • id: string

        Id

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

        Invocation Parameters

      • model_name: string

        Model Name

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

        Response Format

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

        Template

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

    GetPromptsResponseBody

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

      Data

    • next_cursor: null | string

      Next Cursor

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

    GetPromptVersionsResponseBody

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

      Data

    • next_cursor: null | string

      Next Cursor

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

    GetPromptVersionTagsResponseBody

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

      Data

    • next_cursor: null | string

      Next Cursor

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

    GetUsersResponseBody

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

      Data

    • next_cursor: null | string

      Next Cursor

  • HTTPValidationError: { detail?: { loc: (string | number)[]; msg: string; type: string }[] }

    HTTPValidationError

    • Optionaldetail?: { loc: (string | number)[]; msg: string; type: string }[]

      Detail

  • Identifier: string

    Identifier

  • InsertedSpanAnnotation: { id: string }

    InsertedSpanAnnotation

    • id: string

      Id

      The ID of the inserted span annotation

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

    ListDatasetExamplesData

    • dataset_id: string

      Dataset Id

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

      Examples

    • version_id: string

      Version Id

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

    ListDatasetExamplesResponseBody

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

        Dataset Id

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

        Examples

      • version_id: string

        Version Id

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

    ListDatasetsResponseBody

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

      Data

    • next_cursor: null | string

      Next Cursor

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

    ListDatasetVersionsResponseBody

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

      Data

    • next_cursor: null | string

      Next Cursor

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

    ListExperimentRunsResponseBody

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

      Data

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

    ListExperimentsResponseBody

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

      Data

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

    LocalUser

    • auth_method: "LOCAL"

      discriminator enum property added by openapi-typescript

    • created_at: string

      Created At Format: date-time

    • email: string

      Email

    • id: string

      Id

    • Optionalpassword?: string

      Password

    • password_needs_reset: boolean

      Password Needs Reset

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

      Role

    • updated_at: string

      Updated At Format: date-time

    • username: string

      Username

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

    LocalUserData

    • auth_method: "LOCAL"

      discriminator enum property added by openapi-typescript

    • email: string

      Email

    • Optionalpassword?: string

      Password

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

      Role

    • username: string

      Username

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

    ModelProvider

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

    OAuth2User

    • auth_method: "OAUTH2"

      discriminator enum property added by openapi-typescript

    • created_at: string

      Created At Format: date-time

    • email: string

      Email

    • id: string

      Id

    • Optionaloauth2_client_id?: string

      Oauth2 Client Id

    • Optionaloauth2_user_id?: string

      Oauth2 User Id

    • Optionalprofile_picture_url?: string

      Profile Picture Url

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

      Role

    • updated_at: string

      Updated At Format: date-time

    • username: string

      Username

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

    OAuth2UserData

    • auth_method: "OAUTH2"

      discriminator enum property added by openapi-typescript

    • email: string

      Email

    • Optionaloauth2_client_id?: string

      Oauth2 Client Id

    • Optionaloauth2_user_id?: string

      Oauth2 User Id

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

      Role

    • username: string

      Username

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

    OptimizationDirection

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

    OtlpAnyValue

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

      Bool Value

    • Optionalbytes_value?: null | string

      Bytes Value

    • Optionaldouble_value?: null | string | number

      Double Value

    • Optionalint_value?: null | string | number

      Int Value

    • Optionalkvlist_value?: null

      Kvlist Value

    • Optionalstring_value?: null | string

      String Value

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

    OtlpArrayValue

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

      Values

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

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

    OtlpDoubleValue

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

    OtlpEvent

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

      Attributes

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

    • Optionaldropped_attributes_count?: null | number

      Dropped Attributes Count

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

    • Optionalname?: null | string

      Name

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

    • Optionaltime_unix_nano?: null | string | number

      Time Unix Nano

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

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

    OtlpKeyValue

    • Optionalkey?: null | string

      Key

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

    OtlpKind

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

    OtlpSpan

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

      Attributes

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

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

      Dropped Attributes Count

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

    • Optionaldropped_events_count?: null | number

      Dropped Events Count

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

    • Optionaldropped_links_count?: null | number

      Dropped Links Count

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

    • Optionalend_time_unix_nano?: null | string | number

      End Time Unix Nano

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

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

      Events

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

    • Optionalflags?: null | number

      Flags

      Flags, a bit field.

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

      Kind

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

      SPAN_KIND_INTERNAL
      
    • Optionallinks?: null

      Links

    • Optionalname?: null | string

      Name

      A description of the span's operation.

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

      Parent Span Id

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

    • Optionalspan_id?: null | string

      Span Id

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

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

      Start Time Unix Nano

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

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

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

    • Optionaltrace_id?: null | string

      Trace Id

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

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

      Trace State

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

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

    OtlpSpansResponseBody

    Paginated response where each span follows OTLP JSON structure.

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

      Data

    • next_cursor: null | string

      Next Cursor

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

    OtlpStatus

    • Optionalcode?: null | number

      Code

      The status code.

    • Optionalmessage?: null | string

      Message

      A developer-facing human readable error message.

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

    Project

    • Optionaldescription?: null | string

      Description

    • id: string

      Id

    • name: string

      Name

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

    Prompt

    • Optionaldescription?: null | string

      Description

    • id: string

      Id

    • name: string
    • Optionalsource_prompt_id?: null | string

      Source Prompt Id

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

    PromptAnthropicInvocationParameters

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

        Max Tokens

      • Optionalstop_sequences?: string[]

        Stop Sequences

      • Optionaltemperature?: number

        Temperature

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

        Thinking

      • Optionaltop_p?: number

        Top P

    • type: "anthropic"

      discriminator enum property added by openapi-typescript

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

    PromptAnthropicInvocationParametersContent

    • max_tokens: number

      Max Tokens

    • Optionalstop_sequences?: string[]

      Stop Sequences

    • Optionaltemperature?: number

      Temperature

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

      Thinking

    • Optionaltop_p?: number

      Top P

  • PromptAnthropicThinkingConfigDisabled: { type: "disabled" }

    PromptAnthropicThinkingConfigDisabled

    • type: "disabled"

      discriminator enum property added by openapi-typescript

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

    PromptAnthropicThinkingConfigEnabled

    • budget_tokens: number

      Budget Tokens

    • type: "enabled"

      discriminator enum property added by openapi-typescript

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

    PromptAwsInvocationParameters

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

        Max Tokens

      • Optionaltemperature?: number

        Temperature

      • Optionaltop_p?: number

        Top P

    • type: "aws"

      discriminator enum property added by openapi-typescript

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

    PromptAwsInvocationParametersContent

    • Optionalmax_tokens?: number

      Max Tokens

    • Optionaltemperature?: number

      Temperature

    • Optionaltop_p?: number

      Top P

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

    PromptAzureOpenAIInvocationParameters

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

        Frequency Penalty

      • Optionalmax_completion_tokens?: number

        Max Completion Tokens

      • Optionalmax_tokens?: number

        Max Tokens

      • Optionalpresence_penalty?: number

        Presence Penalty

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

        Reasoning Effort

      • Optionalseed?: number

        Seed

      • Optionaltemperature?: number

        Temperature

      • Optionaltop_p?: number

        Top P

    • type: "azure_openai"

      discriminator enum property added by openapi-typescript

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

    PromptAzureOpenAIInvocationParametersContent

    • Optionalfrequency_penalty?: number

      Frequency Penalty

    • Optionalmax_completion_tokens?: number

      Max Completion Tokens

    • Optionalmax_tokens?: number

      Max Tokens

    • Optionalpresence_penalty?: number

      Presence Penalty

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

      Reasoning Effort

    • Optionalseed?: number

      Seed

    • Optionaltemperature?: number

      Temperature

    • Optionaltop_p?: number

      Top P

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

    PromptChatTemplate

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

      Messages

    • type: "chat"

      discriminator enum property added by openapi-typescript

  • PromptData: { description?: null | string; name: string; source_prompt_id?: null | string }

    PromptData

    • Optionaldescription?: null | string

      Description

    • name: string
    • Optionalsource_prompt_id?: null | string

      Source Prompt Id

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

    PromptDeepSeekInvocationParameters

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

        Frequency Penalty

      • Optionalmax_completion_tokens?: number

        Max Completion Tokens

      • Optionalmax_tokens?: number

        Max Tokens

      • Optionalpresence_penalty?: number

        Presence Penalty

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

        Reasoning Effort

      • Optionalseed?: number

        Seed

      • Optionaltemperature?: number

        Temperature

      • Optionaltop_p?: number

        Top P

    • type: "deepseek"

      discriminator enum property added by openapi-typescript

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

    PromptDeepSeekInvocationParametersContent

    • Optionalfrequency_penalty?: number

      Frequency Penalty

    • Optionalmax_completion_tokens?: number

      Max Completion Tokens

    • Optionalmax_tokens?: number

      Max Tokens

    • Optionalpresence_penalty?: number

      Presence Penalty

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

      Reasoning Effort

    • Optionalseed?: number

      Seed

    • Optionaltemperature?: number

      Temperature

    • Optionaltop_p?: number

      Top P

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

    PromptGoogleInvocationParameters

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

        Frequency Penalty

      • Optionalmax_output_tokens?: number

        Max Output Tokens

      • Optionalpresence_penalty?: number

        Presence Penalty

      • Optionalstop_sequences?: string[]

        Stop Sequences

      • Optionaltemperature?: number

        Temperature

      • Optionaltop_k?: number

        Top K

      • Optionaltop_p?: number

        Top P

    • type: "google"

      discriminator enum property added by openapi-typescript

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

    PromptGoogleInvocationParametersContent

    • Optionalfrequency_penalty?: number

      Frequency Penalty

    • Optionalmax_output_tokens?: number

      Max Output Tokens

    • Optionalpresence_penalty?: number

      Presence Penalty

    • Optionalstop_sequences?: string[]

      Stop Sequences

    • Optionaltemperature?: number

      Temperature

    • Optionaltop_k?: number

      Top K

    • Optionaltop_p?: number

      Top P

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

    PromptMessage

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

      Content

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

      Role

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

    PromptOllamaInvocationParameters

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

        Frequency Penalty

      • Optionalmax_completion_tokens?: number

        Max Completion Tokens

      • Optionalmax_tokens?: number

        Max Tokens

      • Optionalpresence_penalty?: number

        Presence Penalty

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

        Reasoning Effort

      • Optionalseed?: number

        Seed

      • Optionaltemperature?: number

        Temperature

      • Optionaltop_p?: number

        Top P

    • type: "ollama"

      discriminator enum property added by openapi-typescript

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

    PromptOllamaInvocationParametersContent

    • Optionalfrequency_penalty?: number

      Frequency Penalty

    • Optionalmax_completion_tokens?: number

      Max Completion Tokens

    • Optionalmax_tokens?: number

      Max Tokens

    • Optionalpresence_penalty?: number

      Presence Penalty

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

      Reasoning Effort

    • Optionalseed?: number

      Seed

    • Optionaltemperature?: number

      Temperature

    • Optionaltop_p?: number

      Top P

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

    PromptOpenAIInvocationParameters

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

        Frequency Penalty

      • Optionalmax_completion_tokens?: number

        Max Completion Tokens

      • Optionalmax_tokens?: number

        Max Tokens

      • Optionalpresence_penalty?: number

        Presence Penalty

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

        Reasoning Effort

      • Optionalseed?: number

        Seed

      • Optionaltemperature?: number

        Temperature

      • Optionaltop_p?: number

        Top P

    • type: "openai"

      discriminator enum property added by openapi-typescript

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

    PromptOpenAIInvocationParametersContent

    • Optionalfrequency_penalty?: number

      Frequency Penalty

    • Optionalmax_completion_tokens?: number

      Max Completion Tokens

    • Optionalmax_tokens?: number

      Max Tokens

    • Optionalpresence_penalty?: number

      Presence Penalty

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

      Reasoning Effort

    • Optionalseed?: number

      Seed

    • Optionaltemperature?: number

      Temperature

    • Optionaltop_p?: number

      Top P

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

    PromptResponseFormatJSONSchema

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

        Description

      • name: string

        Name

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

        Schema

      • Optionalstrict?: boolean

        Strict

    • type: "json_schema"

      discriminator enum property added by openapi-typescript

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

    PromptResponseFormatJSONSchemaDefinition

    • Optionaldescription?: string

      Description

    • name: string

      Name

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

      Schema

    • Optionalstrict?: boolean

      Strict

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

    PromptStringTemplate

    • template: string

      Template

    • type: "string"

      discriminator enum property added by openapi-typescript

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

    PromptTemplateFormat

  • PromptTemplateType: "STR" | "CHAT"

    PromptTemplateType

  • PromptToolChoiceNone: { type: "none" }

    PromptToolChoiceNone

    • type: "none"

      discriminator enum property added by openapi-typescript

  • PromptToolChoiceOneOrMore: { type: "one_or_more" }

    PromptToolChoiceOneOrMore

    • type: "one_or_more"

      discriminator enum property added by openapi-typescript

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

    PromptToolChoiceSpecificFunctionTool

    • function_name: string

      Function Name

    • type: "specific_function"

      discriminator enum property added by openapi-typescript

  • PromptToolChoiceZeroOrMore: { type: "zero_or_more" }

    PromptToolChoiceZeroOrMore

    • type: "zero_or_more"

      discriminator enum property added by openapi-typescript

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

    PromptToolFunction

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

        Description

      • name: string

        Name

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

        Parameters

      • Optionalstrict?: boolean

        Strict

    • type: "function"

      discriminator enum property added by openapi-typescript

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

    PromptToolFunctionDefinition

    • Optionaldescription?: string

      Description

    • name: string

      Name

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

      Parameters

    • Optionalstrict?: boolean

      Strict

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

    PromptTools

    • Optionaldisable_parallel_tool_calls?: boolean

      Disable Parallel Tool Calls

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

      Tool Choice

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

      Tools

    • type: "tools"

      Type

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

    PromptVersion

    • Optionaldescription?: null | string

      Description

    • id: string

      Id

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

      Invocation Parameters

    • model_name: string

      Model Name

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

      Response Format

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

      Template

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

    PromptVersionData

    • Optionaldescription?: null | string

      Description

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

      Invocation Parameters

    • model_name: string

      Model Name

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

      Response Format

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

      Template

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

    PromptVersionTag

    • Optionaldescription?: null | string

      Description

    • id: string

      Id

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

    PromptVersionTagData

    • Optionaldescription?: null | string

      Description

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

    PromptXAIInvocationParameters

    • type: "xai"

      discriminator enum property added by openapi-typescript

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

        Frequency Penalty

      • Optionalmax_completion_tokens?: number

        Max Completion Tokens

      • Optionalmax_tokens?: number

        Max Tokens

      • Optionalpresence_penalty?: number

        Presence Penalty

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

        Reasoning Effort

      • Optionalseed?: number

        Seed

      • Optionaltemperature?: number

        Temperature

      • Optionaltop_p?: number

        Top P

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

    PromptXAIInvocationParametersContent

    • Optionalfrequency_penalty?: number

      Frequency Penalty

    • Optionalmax_completion_tokens?: number

      Max Completion Tokens

    • Optionalmax_tokens?: number

      Max Tokens

    • Optionalpresence_penalty?: number

      Presence Penalty

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

      Reasoning Effort

    • Optionalseed?: number

      Seed

    • Optionaltemperature?: number

      Temperature

    • Optionaltop_p?: number

      Top P

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

    Span

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

      Attributes

      Span attributes

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

      Span context containing trace_id and span_id

      • span_id: string

        Span Id

        OpenTelemetry span ID

      • trace_id: string

        Trace Id

        OpenTelemetry trace ID

    • end_time: string

      End Time Format: date-time

      End time of the span

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

      Events

      Span events

    • Optionalid?: string

      Id

      Span Global ID, distinct from the OpenTelemetry span ID

      
      
    • name: string

      Name

      Name of the span operation

    • Optionalparent_id?: null | string

      Parent Id

      OpenTelemetry span ID of the parent span

    • span_kind: string

      Span Kind

      Type of work that the span encapsulates

    • start_time: string

      Start Time Format: date-time

      Start time of the span

    • status_code: string

      Status Code

      Status code of the span

    • Optionalstatus_message?: string

      Status Message

      Status message

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

    SpanAnnotation

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

      Annotator Kind

      The kind of annotator used for the annotation

    • created_at: string

      Created At Format: date-time

    • id: string

      Id

    • Optionalidentifier?: string

      Identifier

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

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

      Metadata

      Metadata for the annotation

    • name: string

      Name

      The name of the annotation

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

      The result of the annotation

    • source: "API" | "APP"

      Source

    • span_id: string

      Span Id

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

    • updated_at: string

      Updated At Format: date-time

    • user_id: null | string

      User Id

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

    SpanAnnotationData

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

      Annotator Kind

      The kind of annotator used for the annotation

    • Optionalidentifier?: string

      Identifier

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

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

      Metadata

      Metadata for the annotation

    • name: string

      Name

      The name of the annotation

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

      The result of the annotation

    • span_id: string

      Span Id

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

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

    SpanAnnotationResult

    • Optionalexplanation?: null | string

      Explanation

      Explanation of the annotation result

    • Optionallabel?: null | string

      Label

      The label assigned by the annotation

    • Optionalscore?: null | number

      Score

      The score assigned by the annotation

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

    SpanAnnotationsResponseBody

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

      Data

    • next_cursor: null | string

      Next Cursor

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

    SpanContext

    • span_id: string

      Span Id

      OpenTelemetry span ID

    • trace_id: string

      Trace Id

      OpenTelemetry trace ID

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

    SpanEvent

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

      Attributes

      Event attributes

    • name: string

      Name

      Name of the event

    • timestamp: string

      Timestamp Format: date-time

      When the event occurred

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

    SpansResponseBody

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

      Data

    • next_cursor: null | string

      Next Cursor

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

    TextContentPart

    • text: string

      Text

    • type: "text"

      discriminator enum property added by openapi-typescript

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

    ToolCallContentPart

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

      Tool Call

      • arguments: string

        Arguments

      • name: string

        Name

      • type: "function"

        discriminator enum property added by openapi-typescript

    • tool_call_id: string

      Tool Call Id

    • type: "tool_call"

      discriminator enum property added by openapi-typescript

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

    ToolCallFunction

    • arguments: string

      Arguments

    • name: string

      Name

    • type: "function"

      discriminator enum property added by openapi-typescript

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

    ToolResultContentPart

    • tool_call_id: string

      Tool Call Id

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

      Tool Result

    • type: "tool_result"

      discriminator enum property added by openapi-typescript

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

    UpdateAnnotationConfigResponseBody

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

      Data

  • UpdateProjectRequestBody: { description?: null | string }

    UpdateProjectRequestBody

    • Optionaldescription?: null | string

      Description

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

    UpdateProjectResponseBody

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

        Description

      • id: string

        Id

      • name: string

        Name

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

    UploadDatasetData

    • dataset_id: string

      Dataset Id

    • version_id: string

      Version Id

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

    UploadDatasetResponseBody

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

        Dataset Id

      • version_id: string

        Version Id

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

    UpsertExperimentEvaluationRequestBody

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

      Annotator Kind

      The kind of annotator used for the evaluation

    • end_time: string

      End Time Format: date-time

      The end time of the evaluation in ISO format

    • Optionalerror?: null | string

      Error

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

    • experiment_run_id: string

      Experiment Run Id

      The ID of the experiment run being evaluated

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

      Metadata

      Metadata for the evaluation

    • name: string

      Name

      The name of the evaluation

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

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

    • start_time: string

      Start Time Format: date-time

      The start time of the evaluation in ISO format

    • Optionaltrace_id?: null | string

      Trace Id

      Optional trace ID for tracking

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

    UpsertExperimentEvaluationResponseBody

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

        Id

        The ID of the upserted experiment evaluation

  • UpsertExperimentEvaluationResponseBodyData: { id: string }

    UpsertExperimentEvaluationResponseBodyData

    • id: string

      Id

      The ID of the upserted experiment evaluation

  • ValidationError: { loc: (string | number)[]; msg: string; type: string }

    ValidationError

    • loc: (string | number)[]

      Location

    • msg: string

      Message

    • type: string

      Error Type