Galileo Technologies annotation_queue_records API

The annotation_queue_records API from Galileo Technologies — 13 operation(s) for annotation_queue_records.

OpenAPI Specification

galileo-technologies-annotation-queue-records-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Galileo API Server annotation annotation_queue_records API
  version: 1.1085.0
servers:
- url: https://api.galileo.ai
  description: Galileo API Server - galileo-v2
tags:
- name: annotation_queue_records
paths:
  /annotation_queues/{queue_id}/partial_search:
    post:
      tags:
      - annotation_queue_records
      summary: Partial Search Annotation Queue Records
      description: 'Search records in an annotation queue with partial field selection.


        This endpoint queries all project/run pairs associated with the queue and returns

        records that are in the annotation queue, with only the requested fields included.


        Permission checks:

        - User must have READ permission on the annotation queue


        Note: This endpoint queries across all projects/runs in the queue.'
      operationId: partial_search_annotation_queue_records_annotation_queues__queue_id__partial_search_post
      security:
      - ClassicAPIKeyHeader: []
      - APIKeyHeader: []
      - OAuth2PasswordBearer: []
      - HTTPBasic: []
      parameters:
      - name: queue_id
        in: path
        required: true
        schema:
          type: string
          format: uuid4
          title: Queue Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AnnotationQueuePartialSearchRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LogRecordsPartialQueryResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /annotation_queues/{queue_id}/records:
    post:
      tags:
      - annotation_queue_records
      summary: Add Records To Annotation Queue
      description: 'Add records to an annotation queue.


        The request must specify either a list of record IDs or a filter tree to select records.

        All specified records must exist within the given project and run.


        Permission checks:

        - User must have UPDATE permission on the annotation queue

        - User must have READ permission on the project containing the records


        Returns 200 OK with the count of records added on success.'
      operationId: add_records_to_annotation_queue_annotation_queues__queue_id__records_post
      security:
      - ClassicAPIKeyHeader: []
      - APIKeyHeader: []
      - OAuth2PasswordBearer: []
      - HTTPBasic: []
      parameters:
      - name: queue_id
        in: path
        required: true
        schema:
          type: string
          format: uuid4
          title: Queue Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AddRecordsToQueueRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AddRecordsToQueueResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /annotation_queues/{queue_id}/records/export:
    post:
      tags:
      - annotation_queue_records
      summary: Export Annotation Queue Records
      description: 'Export selected records from an annotation queue.


        The request must specify either a list of record IDs or a filter tree to select queue records.


        Permission checks:

        - User must have READ permission on the annotation queue'
      operationId: export_annotation_queue_records_annotation_queues__queue_id__records_export_post
      security:
      - ClassicAPIKeyHeader: []
      - APIKeyHeader: []
      - OAuth2PasswordBearer: []
      - HTTPBasic: []
      parameters:
      - name: queue_id
        in: path
        required: true
        schema:
          type: string
          format: uuid4
          title: Queue Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AnnotationQueueExportRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /annotation_queues/{queue_id}/records/export/url:
    post:
      tags:
      - annotation_queue_records
      summary: Export Annotation Queue Records Url
      description: 'Export selected records from an annotation queue and return a presigned download URL.


        The request must specify either a list of record IDs or a filter tree to select queue records.


        Permission checks:

        - User must have READ permission on the annotation queue'
      operationId: export_annotation_queue_records_url_annotation_queues__queue_id__records_export_url_post
      security:
      - ClassicAPIKeyHeader: []
      - APIKeyHeader: []
      - OAuth2PasswordBearer: []
      - HTTPBasic: []
      parameters:
      - name: queue_id
        in: path
        required: true
        schema:
          type: string
          format: uuid4
          title: Queue Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AnnotationQueueExportRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExportPresignedUrlResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /annotation_queues/{queue_id}/records/remove:
    post:
      tags:
      - annotation_queue_records
      summary: Remove Records From Annotation Queue
      description: 'Remove records from an annotation queue.


        The request must specify either a list of record IDs or a filter tree to select records.

        Selection is applied across all project/run pairs currently tracked in the queue.


        Permission checks:

        - User must have UPDATE permission on the annotation queue'
      operationId: remove_records_from_annotation_queue_annotation_queues__queue_id__records_remove_post
      security:
      - ClassicAPIKeyHeader: []
      - APIKeyHeader: []
      - OAuth2PasswordBearer: []
      - HTTPBasic: []
      parameters:
      - name: queue_id
        in: path
        required: true
        schema:
          type: string
          format: uuid4
          title: Queue Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RemoveRecordsFromQueueRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RemoveRecordsFromQueueResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /annotation_queues/{queue_id}/records/count:
    post:
      tags:
      - annotation_queue_records
      summary: Count Annotation Queue Records
      description: 'Count records in an annotation queue.


        Permission checks:

        - User must have READ permission on the annotation queue'
      operationId: count_annotation_queue_records_annotation_queues__queue_id__records_count_post
      security:
      - ClassicAPIKeyHeader: []
      - APIKeyHeader: []
      - OAuth2PasswordBearer: []
      - HTTPBasic: []
      parameters:
      - name: queue_id
        in: path
        required: true
        schema:
          type: string
          format: uuid4
          title: Queue Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AnnotationQueueCountRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LogRecordsQueryCountResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /annotation_queues/{queue_id}/records/{record_id}:
    get:
      tags:
      - annotation_queue_records
      summary: Get Annotation Queue Record
      description: 'Get a single record in an annotation queue.


        Permission checks:

        - User must have READ permission on the annotation queue'
      operationId: get_annotation_queue_record_annotation_queues__queue_id__records__record_id__get
      security:
      - ClassicAPIKeyHeader: []
      - APIKeyHeader: []
      - OAuth2PasswordBearer: []
      - HTTPBasic: []
      parameters:
      - name: record_id
        in: path
        required: true
        schema:
          type: string
          format: uuid4
          title: Record Id
      - name: queue_id
        in: path
        required: true
        schema:
          type: string
          format: uuid4
          title: Queue Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                oneOf:
                - $ref: '#/components/schemas/PartialExtendedTraceRecord'
                - $ref: '#/components/schemas/PartialExtendedAgentSpanRecord'
                - $ref: '#/components/schemas/PartialExtendedWorkflowSpanRecord'
                - $ref: '#/components/schemas/PartialExtendedLlmSpanRecord'
                - $ref: '#/components/schemas/PartialExtendedToolSpanRecord'
                - $ref: '#/components/schemas/PartialExtendedRetrieverSpanRecord'
                - $ref: '#/components/schemas/PartialExtendedControlSpanRecord'
                - $ref: '#/components/schemas/PartialExtendedSessionRecord'
                discriminator:
                  propertyName: type
                  mapping:
                    trace: '#/components/schemas/PartialExtendedTraceRecord'
                    agent: '#/components/schemas/PartialExtendedAgentSpanRecord'
                    workflow: '#/components/schemas/PartialExtendedWorkflowSpanRecord'
                    llm: '#/components/schemas/PartialExtendedLlmSpanRecord'
                    tool: '#/components/schemas/PartialExtendedToolSpanRecord'
                    retriever: '#/components/schemas/PartialExtendedRetrieverSpanRecord'
                    control: '#/components/schemas/PartialExtendedControlSpanRecord'
                    session: '#/components/schemas/PartialExtendedSessionRecord'
                title: Response Get Annotation Queue Record Annotation Queues  Queue Id  Records  Record Id  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /annotation_queues/{queue_id}/records/{record_id}/rating:
    put:
      tags:
      - annotation_queue_records
      summary: Create Annotation Queue Record Rating
      description: 'Create an annotation rating for a record in an annotation queue.


        This endpoint is project-unaware and takes the template_id in the query params.'
      operationId: create_annotation_queue_record_rating_annotation_queues__queue_id__records__record_id__rating_put
      security:
      - ClassicAPIKeyHeader: []
      - APIKeyHeader: []
      - OAuth2PasswordBearer: []
      - HTTPBasic: []
      parameters:
      - name: queue_id
        in: path
        required: true
        schema:
          type: string
          format: uuid4
          title: Queue Id
      - name: record_id
        in: path
        required: true
        schema:
          type: string
          format: uuid4
          title: Record Id
      - name: annotation_template_id
        in: query
        required: true
        schema:
          type: string
          format: uuid4
          title: Annotation Template Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AnnotationRatingCreate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AnnotationRatingDB'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - annotation_queue_records
      summary: Delete Annotation Queue Record Rating
      description: 'Delete an annotation rating for a record in an annotation queue.


        This soft-deletes the rating by inserting a new row with is_deleted=1.'
      operationId: delete_annotation_queue_record_rating_annotation_queues__queue_id__records__record_id__rating_delete
      security:
      - ClassicAPIKeyHeader: []
      - APIKeyHeader: []
      - OAuth2PasswordBearer: []
      - HTTPBasic: []
      parameters:
      - name: queue_id
        in: path
        required: true
        schema:
          type: string
          format: uuid4
          title: Queue Id
      - name: record_id
        in: path
        required: true
        schema:
          type: string
          format: uuid4
          title: Record Id
      - name: annotation_template_id
        in: query
        required: true
        schema:
          type: string
          format: uuid4
          title: Annotation Template Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /annotation_queues/{queue_id}/records/available_columns:
    post:
      tags:
      - annotation_queue_records
      summary: Get Annotation Queue Records Available Columns
      description: 'Get available columns for records in an annotation queue.


        Annotation queues can contain records from multiple projects/runs, so this endpoint

        returns the standard columns common across all records plus any metric columns present

        in the queue''s active project/run membership and any user metadata columns present

        on those runs.


        Permission checks:

        - User must have READ permission on the annotation queue


        Returns:

        - Standard columns (id, created_at, input, output, etc.)

        - Metric columns available in the queue''s active project/run pairs

        - User metadata columns available in the queue''s active project/run pairs

        - Annotation aggregate feedback columns for queue owners/editors and org admins


        Excludes:

        - Dataset metadata columns (project/run-specific)'
      operationId: get_annotation_queue_records_available_columns_annotation_queues__queue_id__records_available_columns_post
      security:
      - ClassicAPIKeyHeader: []
      - APIKeyHeader: []
      - OAuth2PasswordBearer: []
      - HTTPBasic: []
      parameters:
      - name: queue_id
        in: path
        required: true
        schema:
          type: string
          format: uuid4
          title: Queue Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LogRecordsAvailableColumnsResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v2/annotation_queues/{queue_id}/records/export:
    post:
      tags:
      - annotation_queue_records
      summary: Export Annotation Queue Records
      description: 'Export selected records from an annotation queue.


        The request must specify either a list of record IDs or a filter tree to select queue records.


        Permission checks:

        - User must have READ permission on the annotation queue'
      operationId: export_annotation_queue_records_v2_annotation_queues__queue_id__records_export_post
      security:
      - ClassicAPIKeyHeader: []
      - APIKeyHeader: []
      - OAuth2PasswordBearer: []
      - HTTPBasic: []
      parameters:
      - name: queue_id
        in: path
        required: true
        schema:
          type: string
          format: uuid4
          title: Queue Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AnnotationQueueExportRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v2/annotation_queues/{queue_id}/records/export/url:
    post:
      tags:
      - annotation_queue_records
      summary: Export Annotation Queue Records Url
      description: 'Export selected records from an annotation queue and return a presigned download URL.


        The request must specify either a list of record IDs or a filter tree to select queue records.


        Permission checks:

        - User must have READ permission on the annotation queue'
      operationId: export_annotation_queue_records_url_v2_annotation_queues__queue_id__records_export_url_post
      security:
      - ClassicAPIKeyHeader: []
      - APIKeyHeader: []
      - OAuth2PasswordBearer: []
      - HTTPBasic: []
      parameters:
      - name: queue_id
        in: path
        required: true
        schema:
          type: string
          format: uuid4
          title: Queue Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AnnotationQueueExportRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExportPresignedUrlResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /public/v2/annotation_queues/{queue_id}/records/export:
    post:
      tags:
      - annotation_queue_records
      summary: Export Annotation Queue Records
      description: 'Export selected records from an annotation queue.


        The request must specify either a list of record IDs or a filter tree to select queue records.


        Permission checks:

        - User must have READ permission on the annotation queue'
      operationId: export_annotation_queue_records_public_v2_annotation_queues__queue_id__records_export_post
      security:
      - ClassicAPIKeyHeader: []
      - APIKeyHeader: []
      - OAuth2PasswordBearer: []
      - HTTPBasic: []
      parameters:
      - name: queue_id
        in: path
        required: true
        schema:
          type: string
          format: uuid4
          title: Queue Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AnnotationQueueExportRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /public/v2/annotation_queues/{queue_id}/records/export/url:
    post:
      tags:
      - annotation_queue_records
      summary: Export Annotation Queue Records Url
      description: 'Export selected records from an annotation queue and return a presigned download URL.


        The request must specify either a list of record IDs or a filter tree to select queue records.


        Permission checks:

        - User must have READ permission on the annotation queue'
      operationId: export_annotation_queue_records_url_public_v2_annotation_queues__queue_id__records_export_url_post
      security:
      - ClassicAPIKeyHeader: []
      - APIKeyHeader: []
      - OAuth2PasswordBearer: []
      - HTTPBasic: []
      parameters:
      - name: queue_id
        in: path
        required: true
        schema:
          type: string
          format: uuid4
          title: Queue Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AnnotationQueueExportRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExportPresignedUrlResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    MCPCallEvent:
      properties:
        type:
          type: string
          const: mcp_call
          title: Type
          default: mcp_call
        id:
          anyOf:
          - type: string
          - type: 'null'
          title: Id
          description: Unique identifier for the event
        status:
          anyOf:
          - $ref: '#/components/schemas/EventStatus'
          - type: 'null'
          description: Status of the event
        metadata:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Metadata
          description: Provider-specific metadata and additional fields
        error_message:
          anyOf:
          - type: string
          - type: 'null'
          title: Error Message
          description: Error message if the event failed
        tool_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Tool Name
          description: Name of the MCP tool being called
        server_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Server Name
          description: Name of the MCP server
        arguments:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Arguments
          description: Arguments for the MCP tool call
        result:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Result
          description: Result from the MCP tool call
      type: object
      title: MCPCallEvent
      description: 'A Model Context Protocol (MCP) tool call.


        MCP is a protocol for connecting LLMs to external tools/data sources.

        This is distinct from internal tools because it involves external integrations.'
    ? NotNode_Annotated_Union_LogRecordsIDFilter__LogRecordsDateFilter__LogRecordsNumberFilter__LogRecordsBooleanFilter__LogRecordsCollectionFilter__LogRecordsTextFilter__LogRecordsFullyAnnotatedFilter___FieldInfo_annotation_NoneType__required_True__discriminator__type____-Input
    : properties:
        not:
          anyOf:
          - $ref: '#/components/schemas/FilterLeaf_Annotated_Union_LogRecordsIDFilter__LogRecordsDateFilter__LogRecordsNumberFilter__LogRecordsBooleanFilter__LogRecordsCollectionFilter__LogRecordsTextFilter__LogRecordsFullyAnnotatedFilter___FieldInfo_annotation_NoneType__required_True__discriminator__type____'
          - $ref: '#/components/schemas/AndNode_Annotated_Union_LogRecordsIDFilter__LogRecordsDateFilter__LogRecordsNumberFilter__LogRecordsBooleanFilter__LogRecordsCollectionFilter__LogRecordsTextFilter__LogRecordsFullyAnnotatedFilter___FieldInfo_annotation_NoneType__required_True__discriminator__type____-Input'
          - $ref: '#/components/schemas/OrNode_Annotated_Union_LogRecordsIDFilter__LogRecordsDateFilter__LogRecordsNumberFilter__LogRecordsBooleanFilter__LogRecordsCollectionFilter__LogRecordsTextFilter__LogRecordsFullyAnnotatedFilter___FieldInfo_annotation_NoneType__required_True__discriminator__type____-Input'
          - $ref: '#/components/schemas/NotNode_Annotated_Union_LogRecordsIDFilter__LogRecordsDateFilter__LogRecordsNumberFilter__LogRecordsBooleanFilter__LogRecordsCollectionFilter__LogRecordsTextFilter__LogRecordsFullyAnnotatedFilter___FieldInfo_annotation_NoneType__required_True__discriminator__type____-Input'
          title: Not
      type: object
      required:
      - not
      title: NotNode[Annotated[Union[LogRecordsIDFilter, LogRecordsDateFilter, LogRecordsNumberFilter, LogRecordsBooleanFilter, LogRecordsCollectionFilter, LogRecordsTextFilter, LogRecordsFullyAnnotatedFilter], FieldInfo(annotation=NoneType, required=True, discriminator='type')]]
    AnnotationQueuePartialSearchRequest:
      properties:
        starting_token:
          type: integer
          title: Starting Token
          default: 0
        limit:
          type: integer
          title: Limit
          default: 100
        previous_last_row_id:
          anyOf:
          - type: string
            format: uuid4
          - type: 'null'
          title: Previous Last Row Id
        filter_tree:
          anyOf:
          - $ref: '#/components/schemas/FilterExpression_Annotated_Union_LogRecordsIDFilter__LogRecordsDateFilter__LogRecordsNumberFilter__LogRecordsBooleanFilter__LogRecordsCollectionFilter__LogRecordsTextFilter__LogRecordsFullyAnnotatedFilter___FieldInfo_annotation_NoneType__required_True__discriminator__type____-Input'
          - type: 'null'
          description: Filter tree to apply when searching records in the queue. The `fully_annotated` filter is only supported on this queue-scoped path.
        sort:
          anyOf:
          - $ref: '#/components/schemas/LogRecordsSortClause'
          - type: 'null'
          description: Sort for the query. Defaults to native sort (created_at, id descending).
        select_columns:
          $ref: '#/components/schemas/SelectColumns'
          description: Columns to include in the response
        truncate_fields:
          type: boolean
          title: Truncate Fields
          description: Whether to truncate long text fields
          default: false
        include_counts:
          type: boolean
          title: Include Counts
          description: If True, include computed child counts (e.g., num_traces for sessions, num_spans for traces).
          default: false
      type: object
      required:
      - select_columns
      title: AnnotationQueuePartialSearchRequest
      description: 'Request to search records in an annotation queue with partial field selection.


        Similar to LogRecordsPartialQueryRequest but doesn''t require log_stream_id/experiment_id

        since the queue determines which project/run pairs to search. This is also

        the queue-scoped search path where the `fully_annotated` filter is supported.'
    LlmMetrics:
      properties:
        duration_ns:
          anyOf:
          - type: integer
          - type: 'null'
          title: Duration Ns
          description: Duration of the trace or span in nanoseconds.  Displayed as 'Latency' in Galileo.
        num_input_tokens:
          anyOf:
          - type: integer
          - type: 'null'
          title: Num Input Tokens
          description: Number of input tokens.
        num_output_tokens:
          anyOf:
          - type: integer
          - type: 'null'
          title: Num Output Tokens
          description: Number of output tokens.
        num_total_tokens:
          anyOf:
          - type: integer
          - type: 'null'
          title: Num Total Tokens
          description: Total number of tokens.
        time_to_first_token_ns:
          anyOf:
          - type: integer
          - type: 'null'
          title: Time To First Token Ns
          description: Time until the first token was generated in nanoseconds.
        num_image_input_tokens:
          anyOf:
          - type: integer
          - type: 'null'
          title: Num Image Input Tokens
          description: Number of image input tokens.
        num_audio_input_tokens:
          anyOf:
          - type: integer
          - type: 'null'
          title: Num Audio Input Tokens
          description: Number of audio input tokens.
        num_audio_output_tokens:
          anyOf:
          - type: integer
          - type: 'null'
          title: Num Audio Output Tokens
          description: Number of audio output tokens.
        num_image_output_tokens:
          anyOf:
          - type: integer
          - type: 'null'
          title: Num Image Output Tokens
          description: Number of image output tokens.
      additionalProperties: true
      type: object
      title: LlmMetrics
    LogRecordsCollectionFilter:
      properties:
        column_id:
          type: string
          title: Column Id
          description: ID of the column to filter.
        operator:
          type: string
          enum:
          - eq
          - 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:
          type: string
          const: collection
          title: Type
          default: collection
      type: object
      required:
      - column_id
      - operator
      - value
      title: LogRecordsCollectionFilter
    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: 

# --- truncated at 32 KB (242 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/galileo-technologies/refs/heads/main/openapi/galileo-technologies-annotation-queue-records-api-openapi.yml