Galileo Technologies annotation_queue_records API

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

Operations 14

POST /annotation_queues/{queue_id}/partial_search Partial Search Annotation Queue Records #
POST /annotation_queues/{queue_id}/records Add Records To Annotation Queue #
POST /annotation_queues/{queue_id}/records/export Export Annotation Queue Records #
POST /annotation_queues/{queue_id}/records/export/url Export Annotation Queue Records Url #
POST /annotation_queues/{queue_id}/records/remove Remove Records From Annotation Queue #
POST /annotation_queues/{queue_id}/records/count Count Annotation Queue Records #
GET /annotation_queues/{queue_id}/records/{record_id} Get Annotation Queue Record #
PUT /annotation_queues/{queue_id}/records/{record_id}/rating Create Annotation Queue Record Rating #
DELETE /annotation_queues/{queue_id}/records/{record_id}/rating Delete Annotation Queue Record Rating #
POST /annotation_queues/{queue_id}/records/available_columns Get Annotation Queue Records Available Columns #
POST /v2/annotation_queues/{queue_id}/records/export Export Annotation Queue Records #
POST /v2/annotation_queues/{queue_id}/records/export/url Export Annotation Queue Records Url #
POST /public/v2/annotation_queues/{queue_id}/records/export Export Annotation Queue Records #
POST /public/v2/annotation_queues/{queue_id}/records/export/url Export Annotation Queue Records Url #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/galileo-technologies-annotation-queue-records-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

galileo-technologies-annotation-queue-records-api-openapi.yml Raw ↑
openapi: 3.2.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:
    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.'
    FeedbackRatingDB:
      properties:
        explanation:
          anyOf:
          - type: string
            minLength: 1
          - type: 'null'
          title: Explanation
        rating:
          oneOf:
          - $ref: '#/components/schemas/libs__python__schemas__log_records__feedback__LikeDislikeRating'
          - $ref: '#/components/schemas/libs__python__schemas__log_records__feedback__StarRating'
          - $ref: '#/components/schemas/libs__python__schemas__log_records__feedback__ScoreRating'
          - $ref: '#/components/schemas/libs__python__schemas__log_records__feedback__TagsRating'
          - $ref: '#/components/schemas/libs__python__schemas__log_records__feedback__TextRating'
          - $ref: '#/components/schemas/libs__python__schemas__log_records__feedback__ChoiceRating'
          - $ref: '#/components/schemas/libs__python__schemas__log_records__feedback__TreeChoiceRating'
          title: Rating
          discriminator:
            propertyName: feedback_type
            mapping:
              choice: '#/components/schemas/libs__python__schemas__log_records__feedback__ChoiceRating'
              like_dislike: '#/components/schemas/libs__python__schemas__log_records__feedback__LikeDislikeRating'
              score: '#/components/schemas/libs__python__schemas__log_records__feedback__ScoreRating'
              star: '#/components/schemas/libs__python__schemas__log_records__feedback__StarRating'
              tags: '#/components/schemas/libs__python__schemas__log_records__feedback__TagsRating'
              text: '#/components/schemas/libs__python__schemas__log_records__feedback__TextRating'
              tree_choice: '#/components/schemas/libs__python__schemas__log_records__feedback__TreeChoiceRating'
        created_at:
          type: string
          format: date-time
          title: Created At
        created_by:
          anyOf:
          - type: string
            format: uuid4
          - type: 'null'
          title: Created By
      type: object
      required:
      - rating
      - created_at
      - created_by
      title: FeedbackRatingDB
    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.'
    PartialExtendedWorkflowSpanRecord:
      properties:
        type:
          type: string
          const: workflow
          title: Type
          description: Type of the trace, span or session.
          default: workflow
        input:
          anyOf:
          - type: string
          - items:
              $ref: '#/components/schemas/galileo_core__schemas__logging__llm__Message'
            type: array
          - items:
              oneOf:
              - $ref: '#/components/schemas/TextContentPart'
              - $ref: '#/components/schemas/FileContentPart'
              discriminator:
                propertyName: type
                mapping:
                  file: '#/components/schemas/FileContentPart'
                  text: '#/components/schemas/TextContentPart'
            type: array
          title: Input
          description: Input to the trace or span.
          default: ''
        redacted_input:
          anyOf:
          - type: string
          - items:
              $ref: '#/components/schemas/galileo_core__schemas__logging__llm__Message'
            type: array
          - items:
              oneOf:
              - $ref: '#/components/schemas/TextContentPart'
              - $ref: '#/components/schemas/FileContentPart'
              discriminator:
                propertyName: type
                mapping:
                  file: '#/components/schemas/FileContentPart'
                  text: '#/components/schemas/TextContentPart'
            type: array
          - type: 'null'
          title: Redacted Input
          description: Redacted input of the trace or span.
        output:
          anyOf:
          - type: string
          - $ref: '#/components/schemas/galileo_core__schemas__logging__llm__Message'
          - items:
              $ref: '#/components/schemas/Document-Output'
            type: array
          - items:
              oneOf:
              - $ref: '#/components/schemas/TextContentPart'
              - $ref: '#/components/schemas/FileContentPart'
              discriminator:
                propertyName: type
                mapping:
                  file: '#/components/schemas/FileContentPart'
                  text: '#/components/schemas/TextContentPart'
            type: array
          - $ref: '#/components/schemas/ControlResult'
          - type: 'null'
          title: Output
          description: Output of the trace or span.
        redacted_output:
          anyOf:
          - type: string
          - $ref: '#/components/schemas/galileo_core__schemas__logging__llm__Message'
          - items:
              $ref: '#/components/schemas/Document-Output'
            type: array
          - items:
              oneOf:
              - $ref: '#/components/schemas/TextContentPart'
              - $ref: '#/components/schemas/FileContentPart'
              discriminator:
                propertyName: type
                mapping:
                  file: '#/components/schemas/FileContentPart'
                  text: '#/components/schemas/TextContentPart'
            type: array
          - $ref: '#/components/schemas/ControlResult'
          - type: 'null'
          title: Redacted Output
          description: Redacted output of the trace or span.
        name:
          type: string
          title: Name
          description: Name of the trace, span or session.
          default: ''
        created_at:
          type: string
          format: date-time
          title: Created
          description: Timestamp of the trace or span's creation.
        user_metadata:
          additionalProperties:
            type: string
          type: object
          title: User Metadata
          description: Metadata associated with this trace or span.
        tags:
          items:
            type: string
          type: array
          title: Tags
          description: Tags associated with this trace or span.
        status_code:
          anyOf:
          - type: integer
          - type: 'null'
          title: Status Code
          description: Status code of the trace or span. Used for logging failure or error states.
        metrics:
          $ref: '#/components/schemas/Metrics'
          description: Metrics associated with this trace or span.
        external_id:
          anyOf:
          - type: string
          - type: 'null'
          title: External Id
          description: A user-provided session, trace or span ID.
        dataset_input:
          anyOf:
          - type: string
          - type: 'null'
          title: Dataset Input
          description: Input to the dataset associated with this trace
        dataset_output:
          anyOf:
          - type: string
          - type: 'null'
          title: Dataset Output
          description: Output from the dataset associated with this trace
        dataset_metadata:
          additionalProperties:
            type: string
          type: object
          title: Dataset Metadata
          description: Metadata from the dataset associated with this trace
        id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: ID
          description: Galileo ID of the session, trace or span
        session_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Session ID
          description: Galileo ID of the session containing the trace (or the same value as id for a trace)
        trace_id:
          anyOf:
          - type: string
            format: uuid4
          - type: 'null'
          title: Trace ID
          description: Galileo ID of the trace containing the span (or the same value as id for a trace)
        project_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Project ID
          description: Galileo ID of the project associated with this trace or span
        run_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Run ID
          description: Galileo ID of the run (log stream or experiment) associated with this trace or span
        updated_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Last Updated
          description: Timestamp of the session or trace or span's last update
        has_children:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Has Children
          description: Whether or not this trace or span has child spans
        metrics_batch_id:
          anyOf:
          - type: string
            format: uuid4
   

# --- 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