openapi: 3.1.0 info: title: Galileo API Server annotation log_stream API version: 1.1085.0 servers: - url: https://api.galileo.ai description: Galileo API Server - galileo-v2 tags: - name: log_stream paths: /projects/{project_id}/log_streams: post: tags: - log_stream summary: Create Log Stream description: Create a new log stream for a project. operationId: create_log_stream_projects__project_id__log_streams_post security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: project_id in: path required: true schema: type: string format: uuid4 title: Project Id requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/LogStreamCreateRequest' examples: - name: my_first_log_stream responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/LogStreamResponse' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' get: tags: - log_stream summary: List Log Streams description: 'Retrieve all log streams for a project. DEPRECATED in favor of `list_log_streams_paginated`.' operationId: list_log_streams_projects__project_id__log_streams_get deprecated: true security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: project_id in: path required: true schema: type: string format: uuid4 title: Project Id - name: include_counts in: query required: false schema: type: boolean default: false title: Include Counts responses: '200': description: Successful Response content: application/json: schema: type: array items: $ref: '#/components/schemas/LogStreamResponse' title: Response List Log Streams Projects Project Id Log Streams Get '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /projects/{project_id}/log_streams/paginated: get: tags: - log_stream summary: List Log Streams Paginated description: Retrieve all log streams for a project paginated. operationId: list_log_streams_paginated_projects__project_id__log_streams_paginated_get security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: project_id in: path required: true schema: type: string format: uuid4 title: Project Id - name: include_counts in: query required: false schema: type: boolean default: false title: Include Counts - name: starting_token in: query required: false schema: type: integer default: 0 title: Starting Token - name: limit in: query required: false schema: type: integer default: 100 title: Limit responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/ListLogStreamResponse' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /projects/{project_id}/log_streams/search: post: tags: - log_stream summary: Search Log Streams description: Search log streams for a project. operationId: search_log_streams_projects__project_id__log_streams_search_post security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: project_id in: path required: true schema: type: string format: uuid4 title: Project Id requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/LogStreamSearchRequest' responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/ListLogStreamResponse' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /projects/{project_id}/log_streams/{log_stream_id}: get: tags: - log_stream summary: Get Log Stream description: Retrieve a specific log stream. operationId: get_log_stream_projects__project_id__log_streams__log_stream_id__get security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: log_stream_id in: path required: true schema: type: string format: uuid4 title: Log Stream Id - name: project_id in: path required: true schema: type: string format: uuid4 title: Project Id responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/LogStreamResponse' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' put: tags: - log_stream summary: Update Log Stream description: Update a specific log stream. operationId: update_log_stream_projects__project_id__log_streams__log_stream_id__put security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: log_stream_id in: path required: true schema: type: string format: uuid4 title: Log Stream Id - name: project_id in: path required: true schema: type: string format: uuid4 title: Project Id requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/LogStreamUpdateRequest' examples: - name: my_first_log_stream responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/LogStreamResponse' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' delete: tags: - log_stream summary: Delete Log Stream description: Delete a specific log stream. operationId: delete_log_stream_projects__project_id__log_streams__log_stream_id__delete security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: log_stream_id in: path required: true schema: type: string format: uuid4 title: Log Stream Id - name: project_id in: path required: true schema: type: string format: uuid4 title: Project Id responses: '204': description: Successful Response '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /projects/{project_id}/log_streams/{log_stream_id}/metric_settings: patch: tags: - log_stream summary: Update Metric Settings operationId: update_metric_settings_projects__project_id__log_streams__log_stream_id__metric_settings_patch security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: project_id in: path required: true schema: type: string format: uuid4 title: Project Id - name: log_stream_id in: path required: true schema: type: string format: uuid4 title: Log Stream Id requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/MetricSettingsRequest' responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/MetricSettingsResponse' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' get: tags: - log_stream summary: Get Metric Settings operationId: get_metric_settings_projects__project_id__log_streams__log_stream_id__metric_settings_get security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: log_stream_id in: path required: true schema: type: string format: uuid4 title: Log Stream Id - name: project_id in: path required: true schema: type: string format: uuid4 title: Project Id responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/MetricSettingsResponse' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /v2/projects/{project_id}/log_streams: post: tags: - log_stream summary: Create Log Stream description: Create a new log stream for a project. operationId: create_log_stream_v2_projects__project_id__log_streams_post security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: project_id in: path required: true schema: type: string format: uuid4 title: Project Id requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/LogStreamCreateRequest' examples: - name: my_first_log_stream responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/LogStreamResponse' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' get: tags: - log_stream summary: List Log Streams description: 'Retrieve all log streams for a project. DEPRECATED in favor of `list_log_streams_paginated`.' operationId: list_log_streams_v2_projects__project_id__log_streams_get deprecated: true security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: project_id in: path required: true schema: type: string format: uuid4 title: Project Id - name: include_counts in: query required: false schema: type: boolean default: false title: Include Counts responses: '200': description: Successful Response content: application/json: schema: type: array items: $ref: '#/components/schemas/LogStreamResponse' title: Response List Log Streams V2 Projects Project Id Log Streams Get '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /v2/projects/{project_id}/log_streams/paginated: get: tags: - log_stream summary: List Log Streams Paginated description: Retrieve all log streams for a project paginated. operationId: list_log_streams_paginated_v2_projects__project_id__log_streams_paginated_get security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: project_id in: path required: true schema: type: string format: uuid4 title: Project Id - name: include_counts in: query required: false schema: type: boolean default: false title: Include Counts - name: starting_token in: query required: false schema: type: integer default: 0 title: Starting Token - name: limit in: query required: false schema: type: integer default: 100 title: Limit responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/ListLogStreamResponse' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /v2/projects/{project_id}/log_streams/search: post: tags: - log_stream summary: Search Log Streams description: Search log streams for a project. operationId: search_log_streams_v2_projects__project_id__log_streams_search_post security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: project_id in: path required: true schema: type: string format: uuid4 title: Project Id requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/LogStreamSearchRequest' responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/ListLogStreamResponse' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /v2/projects/{project_id}/log_streams/{log_stream_id}: get: tags: - log_stream summary: Get Log Stream description: Retrieve a specific log stream. operationId: get_log_stream_v2_projects__project_id__log_streams__log_stream_id__get security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: log_stream_id in: path required: true schema: type: string format: uuid4 title: Log Stream Id - name: project_id in: path required: true schema: type: string format: uuid4 title: Project Id responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/LogStreamResponse' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' put: tags: - log_stream summary: Update Log Stream description: Update a specific log stream. operationId: update_log_stream_v2_projects__project_id__log_streams__log_stream_id__put security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: log_stream_id in: path required: true schema: type: string format: uuid4 title: Log Stream Id - name: project_id in: path required: true schema: type: string format: uuid4 title: Project Id requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/LogStreamUpdateRequest' examples: - name: my_first_log_stream responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/LogStreamResponse' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' delete: tags: - log_stream summary: Delete Log Stream description: Delete a specific log stream. operationId: delete_log_stream_v2_projects__project_id__log_streams__log_stream_id__delete security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: log_stream_id in: path required: true schema: type: string format: uuid4 title: Log Stream Id - name: project_id in: path required: true schema: type: string format: uuid4 title: Project Id responses: '204': description: Successful Response '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /v2/projects/{project_id}/log_streams/{log_stream_id}/metric_settings: patch: tags: - log_stream summary: Update Metric Settings operationId: update_metric_settings_v2_projects__project_id__log_streams__log_stream_id__metric_settings_patch security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: project_id in: path required: true schema: type: string format: uuid4 title: Project Id - name: log_stream_id in: path required: true schema: type: string format: uuid4 title: Log Stream Id requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/MetricSettingsRequest' responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/MetricSettingsResponse' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' get: tags: - log_stream summary: Get Metric Settings operationId: get_metric_settings_v2_projects__project_id__log_streams__log_stream_id__metric_settings_get security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: log_stream_id in: path required: true schema: type: string format: uuid4 title: Log Stream Id - name: project_id in: path required: true schema: type: string format: uuid4 title: Project Id responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/MetricSettingsResponse' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /public/v2/projects/{project_id}/log_streams: post: tags: - log_stream summary: Create Log Stream description: Create a new log stream for a project. operationId: create_log_stream_public_v2_projects__project_id__log_streams_post security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: project_id in: path required: true schema: type: string format: uuid4 title: Project Id requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/LogStreamCreateRequest' examples: - name: my_first_log_stream responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/LogStreamResponse' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' get: tags: - log_stream summary: List Log Streams description: 'Retrieve all log streams for a project. DEPRECATED in favor of `list_log_streams_paginated`.' operationId: list_log_streams_public_v2_projects__project_id__log_streams_get deprecated: true security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: project_id in: path required: true schema: type: string format: uuid4 title: Project Id - name: include_counts in: query required: false schema: type: boolean default: false title: Include Counts responses: '200': description: Successful Response content: application/json: schema: type: array items: $ref: '#/components/schemas/LogStreamResponse' title: Response List Log Streams Public V2 Projects Project Id Log Streams Get '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /public/v2/projects/{project_id}/log_streams/paginated: get: tags: - log_stream summary: List Log Streams Paginated description: Retrieve all log streams for a project paginated. operationId: list_log_streams_paginated_public_v2_projects__project_id__log_streams_paginated_get security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: project_id in: path required: true schema: type: string format: uuid4 title: Project Id - name: include_counts in: query required: false schema: type: boolean default: false title: Include Counts - name: starting_token in: query required: false schema: type: integer default: 0 title: Starting Token - name: limit in: query required: false schema: type: integer default: 100 title: Limit responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/ListLogStreamResponse' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /public/v2/projects/{project_id}/log_streams/search: post: tags: - log_stream summary: Search Log Streams description: Search log streams for a project. operationId: search_log_streams_public_v2_projects__project_id__log_streams_search_post security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: project_id in: path required: true schema: type: string format: uuid4 title: Project Id requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/LogStreamSearchRequest' responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/ListLogStreamResponse' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /public/v2/projects/{project_id}/log_streams/{log_stream_id}: get: tags: - log_stream summary: Get Log Stream description: Retrieve a specific log stream. operationId: get_log_stream_public_v2_projects__project_id__log_streams__log_stream_id__get security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: log_stream_id in: path required: true schema: type: string format: uuid4 title: Log Stream Id - name: project_id in: path required: true schema: type: string format: uuid4 title: Project Id responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/LogStreamResponse' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' put: tags: - log_stream summary: Update Log Stream description: Update a specific log stream. operationId: update_log_stream_public_v2_projects__project_id__log_streams__log_stream_id__put security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: log_stream_id in: path required: true schema: type: string format: uuid4 title: Log Stream Id - name: project_id in: path required: true schema: type: string format: uuid4 title: Project Id requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/LogStreamUpdateRequest' examples: - name: my_first_log_stream responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/LogStreamResponse' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' delete: tags: - log_stream summary: Delete Log Stream description: Delete a specific log stream. operationId: delete_log_stream_public_v2_projects__project_id__log_streams__log_stream_id__delete security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: log_stream_id in: path required: true schema: type: string format: uuid4 title: Log Stream Id - name: project_id in: path required: true schema: type: string format: uuid4 title: Project Id responses: '204': description: Successful Response '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /public/v2/projects/{project_id}/log_streams/{log_stream_id}/metric_settings: patch: tags: - log_stream summary: Update Metric Settings operationId: update_metric_settings_public_v2_projects__project_id__log_streams__log_stream_id__metric_settings_patch security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: project_id in: path required: true schema: type: string format: uuid4 title: Project Id - name: log_stream_id in: path required: true schema: type: string format: uuid4 title: Log Stream Id requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/MetricSettingsRequest' responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/MetricSettingsResponse' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' get: tags: - log_stream summary: Get Metric Settings operationId: get_metric_settings_public_v2_projects__project_id__log_streams__log_stream_id__metric_settings_get security: - ClassicAPIKeyHeader: [] - APIKeyHeader: [] - OAuth2PasswordBearer: [] - HTTPBasic: [] parameters: - name: log_stream_id in: path required: true schema: type: string format: uuid4 title: Log Stream Id - name: project_id in: path required: true schema: type: string format: uuid4 title: Project Id responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/MetricSettingsResponse' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' components: schemas: LogStreamUpdatedAtFilter: properties: name: type: string const: updated_at title: Name default: updated_at operator: type: string enum: - eq - ne - gt - gte - lt - lte title: Operator value: type: string format: date-time title: Value type: object required: - operator - value title: RunUpdatedAtFilter LogStreamNameSort: properties: name: type: string const: name title: Name default: name ascending: type: boolean title: Ascending default: true sort_type: type: string const: column title: Sort Type default: column type: object title: RunNameSort MetricSettingsRequest: properties: scorers: anyOf: - items: $ref: '#/components/schemas/ScorerConfig' type: array - type: 'null' title: Scorers description: List of Galileo scorers to enable. segment_filters: anyOf: - items: $ref: '#/components/schemas/SegmentFilter' type: array - type: 'null' title: Segment Filters description: List of segment filters to apply to the run. type: object title: MetricSettingsRequest InputTypeEnum: type: string enum: - basic - llm_spans - retriever_spans - sessions_normalized - sessions_trace_io_only - tool_spans - trace_input_only - trace_io_only - trace_normalized - trace_output_only - agent_spans - workflow_spans title: InputTypeEnum description: Enumeration of input types. BaseGeneratedScorerDB: properties: id: type: string format: uuid4 title: Id name: type: string title: Name instructions: anyOf: - type: string - type: 'null' title: Instructions chain_poll_template: $ref: '#/components/schemas/ChainPollTemplate' user_prompt: anyOf: - type: string - type: 'null' title: User Prompt type: object required: - id - name - chain_poll_template title: BaseGeneratedScorerDB BaseScorerVersionDB: properties: id: type: string format: uuid4 title: Id version: type: integer title: Version scorer_id: type: string format: uuid4 title: Scorer Id generated_scorer: anyOf: - $ref: '#/components/schemas/BaseGeneratedScorerDB' - type: 'null' registered_scorer: anyOf: - $ref: '#/components/schemas/BaseRegisteredScorerDB' - type: 'null' finetuned_scorer: anyOf: - $ref: '#/components/schemas/BaseFinetunedScorerDB' - type: 'null' model_name: anyOf: - type: string - type: 'null' title: Model Name num_judges: anyOf: - type: integer - type: 'null' title: Num Judges scoreable_node_types: anyOf: - items: type: string type: array - type: 'null' title: Scoreable Node Types description: List of node types that can be scored by this scorer. Defaults to llm/chat. cot_enabled: anyOf: - type: boolean - type: 'null' title: Cot Enabled description: Whether to enable chain of thought for this scorer. Defaults to False for llm scorers. output_type: anyOf: - $ref: '#/components/schemas/OutputTypeEnum' - type: 'null' description: What type of output to use for model-based scorers (sessions_normalized, trace_io_only, etc.). input_type: anyOf: - $ref: '#/components/schemas/InputTypeEnum' - type: 'null' description: What type of input to use for model-based scorers (sessions_normalized, trace_io_only, etc.). type: object required: - id - version - scorer_id title: BaseScorerVersionDB description: Scorer version from the scorer_versions table. LogStreamNameFilter: properties: name: type: string const: name title: Name default: name operator: type: string enum: - eq - ne - contains - one_of - not_in title: Operator value: anyOf: - type: string - items: type: string type: array title: Value case_sensitive: type: boolean title: Case Sensitive default: true type: object required: - operator - value title: RunNameFilter OutputTypeEnum: type: string enum: - boolean - categorical - count - discrete - freeform - percentage - multilabel - retrieved_chunk_list_boolean - boolean_multilabel title: OutputTypeEnum description: Enumeration of output types. RollUpMethodDisplayOptions: type: string enum: - average - sum - max - min - category_count - percentage_true - percentage_false title: RollUpMethodDisplayOptions description: 'Display options for roll up methods when showing rolled up metrics in the UI. Separates display intent from computation methods. The computation methods (NumericRollUpMethod, CategoricalRollUpMethod) control what aggregations are available. This enum controls how the UI displays the selected roll-up value for a scorer.' HTTPValidationError: properties: detail: items: $ref: '#/components/schemas/ValidationError' type: array title: Detail type: object title: HTTPValidationError MetricSettingsResponse: properties: scorers: items: $ref: '#/components/schemas/ScorerConfig' type: array title: Scorers segment_filters: anyOf: - items: $ref: '#/components/schemas/SegmentFilter' type: array - type: 'null' title: Segment Filters description: List of segment filters to apply to the run. type: object required: - scorers title: MetricSettingsResponse NodeNameFilter: properties: name: type: string const: node_name title: Name default: node_name operator: type: string enum: - eq - ne - contains - one_of - not_in title: Operator value: anyOf: - type: string - items: type: string type: array title: Value case_sensitive: type: boolean title: Case Sensitive default: true type: object required: - operator - value title: NodeNameFilter description: Filters on node names in scorer jobs. SegmentFilter: properties: filter: anyOf: - oneOf: - $ref: '#/components/schemas/NodeNameFilter' - $ref: '#/components/schemas/MetadataFilter' - $ref: '#/components/schemas/ModalityFilter' discriminator: propertyName: name mapping: metadata: '#/components/schemas/MetadataFilter' modality: '#/components/schemas/ModalityFilter' node_name: '#/components/schemas/NodeNameFilter' - type: 'null' title: Filter description: Filter to apply to the segment. By default sample on all data. sample_rate: type: number maximum: 1.0 minimum: 0.0 title: Sample Rate description: The fraction of the data to sample. Must be between 0 and 1, inclusive. llm_scorers: type: boolean title: Llm Scorers description: Whether to sample only on LLM scorers. default: false multimodal_scorers: type: boolean title: Multimodal Scorers description: Whether to sample only on multimodal scorers. default: false type: object required: - sample_rate title: SegmentFilter FewShotExample: properties: generation_prompt_and_response: type: string title: Generation Prompt And Response evaluating_response: type: string title: Evaluating Response type: object required: - generation_prompt_and_response - evaluating_response title: FewShotExample description: Few-shot example for a chainpoll metric prompt. ModelType: type: string enum: - slm - llm - code title: ModelType LogStreamResponse: properties: id: type: string format: uuid4 title: Id created_at: type: string format: date-time title: Created At updated_at: type: string format: date-time title: Updated At name: type: string title: Name project_id: type: string format: uuid4 title: Project Id created_by: anyOf: - type: string format: uuid4 - type: 'null' title: Created By created_by_user: anyOf: - $ref: '#/components/schemas/UserInfo' - type: 'null' num_spans: anyOf: - type: integer - type: 'null' title: Num Spans num_traces: anyOf: - type: integer - type: 'null' title: Num Traces has_user_created_sessions: type: boolean title: Has User Created Sessions default: false type: object required: - id - created_at - updated_at - name - project_id title: LogStreamResponse LunaOutputTypeEnum: type: string enum: - float - string - string_list - bool_list title: LunaOutputTypeEnum MultimodalCapability: type: string enum: - vision - audio title: MultimodalCapability LogStreamSearchRequest: properties: starting_token: type: integer title: Starting Token default: 0 limit: type: integer title: Limit default: 100 filters: items: oneOf: - $ref: '#/components/schemas/LogStreamIDFilter' - $ref: '#/components/schemas/LogStreamNameFilter' - $ref: '#/components/schemas/LogStreamCreatedByFilter' - $ref: '#/components/schemas/LogStreamCreatedAtFilter' - $ref: '#/components/schemas/LogStreamUpdatedAtFilter' discriminator: propertyName: name mapping: created_at: '#/components/schemas/LogStreamCreatedAtFilter' created_by: '#/components/schemas/LogStreamCreatedByFilter' id: '#/components/schemas/LogStreamIDFilter' name: '#/components/schemas/LogStreamNameFilter' updated_at: '#/components/schemas/LogStreamUpdatedAtFilter' type: array title: Filters sort: anyOf: - oneOf: - $ref: '#/components/schemas/LogStreamNameSort' - $ref: '#/components/schemas/LogStreamCreatedAtSort' - $ref: '#/components/schemas/LogStreamUpdatedAtSort' discriminator: propertyName: name mapping: created_at: '#/components/schemas/LogStreamCreatedAtSort' name: '#/components/schemas/LogStreamNameSort' updated_at: '#/components/schemas/LogStreamUpdatedAtSort' - type: 'null' title: Sort default: name: created_at ascending: false sort_type: column include_counts: type: boolean title: Include Counts default: false type: object title: LogStreamSearchRequest LogStreamIDFilter: properties: name: type: string const: id title: Name default: id operator: type: string enum: - eq - ne - one_of - not_in - contains title: Operator default: eq value: anyOf: - type: string format: uuid4 - items: anyOf: - type: string format: uuid4 - type: string type: array - type: string title: Value type: object required: - value title: RunIDFilter galileo_core__schemas__shared__scorers__scorer_name__ScorerName: type: string enum: - action_completion_luna - action_advancement_luna - agentic_session_success - agentic_session_success - action_completion_vision - action_completion_audio - agentic_workflow_success - agentic_workflow_success - agent_efficiency - agent_flow - chunk_attribution_utilization_luna - chunk_attribution_utilization - chunk_relevance - chunk_relevance_luna - context_precision - precision_at_k - completeness_luna - completeness - context_adherence - context_adherence_luna - context_adherence_vision - context_adherence_audio - context_relevance - context_relevance_luna - conversation_quality - correctness - correctness_vision - correctness_audio - ground_truth_adherence - ground_truth_adherence_vision - ground_truth_adherence_audio - visual_fidelity - visual_quality - input_pii - input_pii_gpt - input_sexist - input_sexist - input_sexist_luna - input_sexist_luna - input_tone - input_tone_gpt - input_toxicity - input_toxicity_luna - input_toxicity_vision - input_toxicity_audio - instruction_adherence - output_pii - output_pii_gpt - output_sexist - output_sexist - output_sexist_luna - output_sexist_luna - output_tone - output_tone_gpt - output_toxicity - output_toxicity_luna - output_toxicity_vision - output_toxicity_audio - prompt_injection - prompt_injection_luna - reasoning_coherence - reasoning_coherence_vision - reasoning_coherence_audio - sql_efficiency - sql_adherence - sql_injection - sql_correctness - tool_error_rate - tool_error_rate_luna - tool_selection_quality - tool_selection_quality_luna - user_intent_change - user_intent_change_vision - user_intent_change_audio - interruption_detection title: ScorerName LogStreamCreatedAtFilter: properties: name: type: string const: created_at title: Name default: created_at operator: type: string enum: - eq - ne - gt - gte - lt - lte title: Operator value: type: string format: date-time title: Value type: object required: - operator - value title: RunCreatedAtFilter BaseFinetunedScorerDB: properties: id: type: string format: uuid4 title: Id name: type: string title: Name lora_task_id: type: integer title: Lora Task Id lora_weights_path: anyOf: - type: string - type: 'null' title: Lora Weights Path prompt: type: string title: Prompt luna_input_type: anyOf: - $ref: '#/components/schemas/LunaInputTypeEnum' - type: 'null' luna_output_type: anyOf: - $ref: '#/components/schemas/LunaOutputTypeEnum' - type: 'null' class_name_to_vocab_ix: anyOf: - additionalProperties: items: type: integer type: array uniqueItems: true type: object - additionalProperties: type: integer type: object - type: 'null' title: Class Name To Vocab Ix executor: anyOf: - $ref: '#/components/schemas/galileo_core__schemas__shared__scorers__scorer_name__ScorerName' - type: 'null' description: Executor pipeline. Defaults to finetuned scorer pipeline but can run custom galileo score pipelines. type: object required: - id - name - lora_task_id - prompt title: BaseFinetunedScorerDB LogStreamCreatedByFilter: properties: name: type: string const: created_by title: Name default: created_by operator: type: string enum: - eq - ne - one_of - not_in - contains title: Operator default: eq value: anyOf: - type: string format: uuid4 - items: anyOf: - type: string format: uuid4 - type: string type: array - type: string title: Value type: object required: - value title: RunCreatedByFilter ListLogStreamResponse: properties: starting_token: type: integer title: Starting Token default: 0 limit: type: integer title: Limit default: 100 paginated: type: boolean title: Paginated default: false next_starting_token: anyOf: - type: integer - type: 'null' title: Next Starting Token log_streams: items: $ref: '#/components/schemas/LogStreamResponse' type: array title: Log Streams type: object required: - log_streams title: ListLogStreamResponse ValidationError: properties: loc: items: anyOf: - type: string - type: integer type: array title: Location msg: type: string title: Message type: type: string title: Error Type input: title: Input ctx: type: object title: Context type: object required: - loc - msg - type title: ValidationError ChainPollTemplate: properties: metric_system_prompt: anyOf: - type: string - type: 'null' title: Metric System Prompt description: System prompt for the metric. metric_description: anyOf: - type: string - type: 'null' title: Metric Description description: Description of what the metric should do. value_field_name: type: string title: Value Field Name description: Field name to look for in the chainpoll response, for the rating. default: rating explanation_field_name: type: string title: Explanation Field Name description: Field name to look for in the chainpoll response, for the explanation. default: explanation template: type: string title: Template description: Chainpoll prompt template. metric_few_shot_examples: items: $ref: '#/components/schemas/FewShotExample' type: array title: Metric Few Shot Examples description: Few-shot examples for the metric. response_schema: anyOf: - additionalProperties: true type: object - type: 'null' title: Response Schema description: Response schema for the output type: object required: - template title: ChainPollTemplate description: 'Template for a chainpoll metric prompt, containing all the info necessary to send a chainpoll prompt.' MetadataFilter: properties: name: type: string const: metadata title: Name default: metadata operator: type: string enum: - one_of - not_in - eq - ne title: Operator key: type: string title: Key value: anyOf: - type: string - items: type: string type: array title: Value type: object required: - operator - key - value title: MetadataFilter description: Filters on metadata key-value pairs in scorer jobs. LogStreamUpdatedAtSort: properties: name: type: string const: updated_at title: Name default: updated_at ascending: type: boolean title: Ascending default: true sort_type: type: string const: column title: Sort Type default: column type: object title: RunUpdatedAtSort BaseRegisteredScorerDB: properties: id: type: string format: uuid4 title: Id name: type: string title: Name score_type: anyOf: - type: string - type: 'null' title: Score Type type: object required: - id - name title: BaseRegisteredScorerDB ModalityFilter: properties: name: type: string const: modality title: Name default: modality operator: type: string enum: - eq - ne - one_of - not_in title: Operator value: anyOf: - type: string description: Single enum value - specific options depend on the concrete enum type used example: ENUM_VALUE - items: type: string example: ENUM_VALUE type: array description: Array of enum values example: - ENUM_VALUE_1 - ENUM_VALUE_2 title: Value type: object required: - operator - value title: ModalityFilter description: 'Filters on content modalities in scorer jobs. Matches if at least one of the specified modalities is present.' LogStreamUpdateRequest: properties: name: type: string minLength: 1 title: Name type: object required: - name title: LogStreamUpdateRequest ScorerConfig: properties: model_name: anyOf: - type: string - type: 'null' title: Model Name num_judges: anyOf: - type: integer - type: 'null' title: Num Judges filters: anyOf: - items: oneOf: - $ref: '#/components/schemas/NodeNameFilter' - $ref: '#/components/schemas/MetadataFilter' - $ref: '#/components/schemas/ModalityFilter' discriminator: propertyName: name mapping: metadata: '#/components/schemas/MetadataFilter' modality: '#/components/schemas/ModalityFilter' node_name: '#/components/schemas/NodeNameFilter' type: array - type: 'null' title: Filters description: List of filters to apply to the scorer. scoreable_node_types: anyOf: - items: type: string type: array - type: 'null' title: Scoreable Node Types description: List of node types that can be scored by this scorer. Defaults to llm/chat. cot_enabled: anyOf: - type: boolean - type: 'null' title: Cot Enabled description: Whether to enable chain of thought for this scorer. Defaults to False for llm scorers. output_type: anyOf: - $ref: '#/components/schemas/OutputTypeEnum' - type: 'null' description: What type of output to use for model-based scorers (boolean, categorical, etc.). input_type: anyOf: - $ref: '#/components/schemas/InputTypeEnum' - type: 'null' description: What type of input to use for model-based scorers (sessions_normalized, trace_io_only, etc..). id: type: string format: uuid4 title: Id name: anyOf: - type: string - type: 'null' title: Name scorer_type: $ref: '#/components/schemas/ScorerTypes' model_type: anyOf: - $ref: '#/components/schemas/ModelType' - type: 'null' description: Type of model to use for this scorer. slm maps to luna, and llm maps to plus scorer_version: anyOf: - $ref: '#/components/schemas/BaseScorerVersionDB' - type: 'null' description: ScorerVersion to use for this scorer. If not provided, the latest version will be used. multimodal_capabilities: anyOf: - items: $ref: '#/components/schemas/MultimodalCapability' type: array - type: 'null' title: Multimodal Capabilities description: Multimodal capabilities which this scorer can utilize in its evaluation. roll_up_method: anyOf: - $ref: '#/components/schemas/RollUpMethodDisplayOptions' - type: 'null' score_type: anyOf: - type: string - type: 'null' title: Score Type description: Return type of code scorers (e.g., 'bool', 'int', 'float', 'str'). type: object required: - id - scorer_type title: ScorerConfig description: Used for configuring a scorer for a scorer job. LogStreamCreatedAtSort: properties: name: type: string const: created_at title: Name default: created_at ascending: type: boolean title: Ascending default: true sort_type: type: string const: column title: Sort Type default: column type: object title: RunCreatedAtSort LogStreamCreateRequest: properties: name: type: string minLength: 1 title: Name type: object required: - name title: LogStreamCreateRequest UserInfo: properties: id: type: string format: uuid4 title: Id email: type: string title: Email first_name: anyOf: - type: string - type: 'null' title: First Name last_name: anyOf: - type: string - type: 'null' title: Last Name type: object required: - id - email title: UserInfo description: A user's basic information, used for display purposes. ScorerTypes: type: string enum: - llm - code - luna - preset title: ScorerTypes LunaInputTypeEnum: type: string enum: - span - trace_object - trace_input_output_only title: LunaInputTypeEnum securitySchemes: ClassicAPIKeyHeader: type: apiKey in: header name: Galileo-API-Key APIKeyHeader: type: apiKey in: header name: Splunk-AO-API-Key OAuth2PasswordBearer: type: oauth2 flows: password: scopes: {} tokenUrl: https://api.galileo.ai/login HTTPBasic: type: http scheme: basic