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 } ; } ; } Propertiesparameters parameters : never
path Items pathItems : never
request Bodies requestBodies : never
responses responses : never
schemas 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 } ; }
AnnotateSpansRequestBody