Galileo Technologies logstream-insights API

The logstream-insights API from Galileo Technologies — 19 operation(s) for logstream-insights.

OpenAPI Specification

galileo-technologies-logstream-insights-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Galileo API Server annotation logstream-insights API
  version: 1.1085.0
servers:
- url: https://api.galileo.ai
  description: Galileo API Server - galileo-v2
tags:
- name: logstream-insights
paths:
  /experimental/projects/{project_id}/log_streams/{log_stream_id}/logstream_insights:
    delete:
      tags:
      - logstream-insights
      summary: Delete Logstream Insights
      description: Delete logstream insights for a specific project and log stream.
      operationId: delete_logstream_insights_experimental_projects__project_id__log_streams__log_stream_id__logstream_insights_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:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmptyResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    get:
      tags:
      - logstream-insights
      summary: Get Logstream Insights
      description: Get logstream insights for a specific project and log stream.
      operationId: get_logstream_insights_experimental_projects__project_id__log_streams__log_stream_id__logstream_insights_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/LogstreamInsightsResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    put:
      tags:
      - logstream-insights
      summary: Create Or Update Logstream Insights
      description: Create or update logstream insights for a specific project and run.
      operationId: create_or_update_logstream_insights_experimental_projects__project_id__log_streams__log_stream_id__logstream_insights_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/LogstreamInsightsCreateOrUpdate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmptyResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /experimental/projects/{project_id}/experiments/{experiment_id}/insights/create_insights_job:
    post:
      tags:
      - logstream-insights
      summary: Create Experiment Insights Job
      description: 'Create an insights job for an experiment.

        Endpoint: POST /experimental/projects/{project_id}/experiments/{experiment_id}/insights/create_insights_job'
      operationId: create_experiment_insights_job_experimental_projects__project_id__experiments__experiment_id__insights_create_insights_job_post
      security:
      - ClassicAPIKeyHeader: []
      - APIKeyHeader: []
      - OAuth2PasswordBearer: []
      - HTTPBasic: []
      parameters:
      - name: experiment_id
        in: path
        required: true
        schema:
          type: string
          format: uuid4
          title: Experiment Id
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          format: uuid4
          title: Project Id
      requestBody:
        content:
          application/json:
            schema:
              anyOf:
              - $ref: '#/components/schemas/LogstreamInsightsCreateJobRequest'
              - type: 'null'
              title: Request
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LogstreamInsightsResponseCreateJobResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /experimental/projects/{project_id}/experiments/{experiment_id}/insights/job_status:
    get:
      tags:
      - logstream-insights
      summary: Get Experiment Insights Job Status
      description: Get the latest insights job status for an experiment.
      operationId: get_experiment_insights_job_status_experimental_projects__project_id__experiments__experiment_id__insights_job_status_get
      security:
      - ClassicAPIKeyHeader: []
      - APIKeyHeader: []
      - OAuth2PasswordBearer: []
      - HTTPBasic: []
      parameters:
      - name: experiment_id
        in: path
        required: true
        schema:
          type: string
          format: uuid4
          title: Experiment 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/InsightsJobStatusResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /experimental/projects/{project_id}/experiments/{experiment_id}/insights:
    get:
      tags:
      - logstream-insights
      summary: Get Experiment Insights
      description: Get insights for a specific experiment.
      operationId: get_experiment_insights_experimental_projects__project_id__experiments__experiment_id__insights_get
      security:
      - ClassicAPIKeyHeader: []
      - APIKeyHeader: []
      - OAuth2PasswordBearer: []
      - HTTPBasic: []
      parameters:
      - name: experiment_id
        in: path
        required: true
        schema:
          type: string
          format: uuid4
          title: Experiment 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/LogstreamInsightsResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /experimental/projects/{project_id}/experiments/{experiment_id}/insights/job_statuses:
    get:
      tags:
      - logstream-insights
      summary: Get Experiment Job Statuses
      description: Get job statuses for a specific experiment, optionally filtered by status.
      operationId: get_experiment_job_statuses_experimental_projects__project_id__experiments__experiment_id__insights_job_statuses_get
      security:
      - ClassicAPIKeyHeader: []
      - APIKeyHeader: []
      - OAuth2PasswordBearer: []
      - HTTPBasic: []
      parameters:
      - name: experiment_id
        in: path
        required: true
        schema:
          type: string
          format: uuid4
          title: Experiment Id
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          format: uuid4
          title: Project Id
      - name: status
        in: query
        required: false
        schema:
          anyOf:
          - $ref: '#/components/schemas/JobStatus'
          - type: 'null'
          title: Status
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/InsightsJobStatusResponse'
                title: Response Get Experiment Job Statuses Experimental Projects  Project Id  Experiments  Experiment Id  Insights Job Statuses Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /experimental/projects/{project_id}/log_streams/{log_stream_id}/logstream_insights/create_insights_job:
    post:
      tags:
      - logstream-insights
      summary: Create Insights Job
      description: Create an insights job for a specific project and log stream.
      operationId: create_insights_job_experimental_projects__project_id__log_streams__log_stream_id__logstream_insights_create_insights_job_post
      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:
        content:
          application/json:
            schema:
              anyOf:
              - $ref: '#/components/schemas/LogstreamInsightsCreateJobRequest'
              - type: 'null'
              title: Request
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LogstreamInsightsResponseCreateJobResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /experimental/projects/{project_id}/log_streams/{log_stream_id}/logstream_insights/job_status:
    get:
      tags:
      - logstream-insights
      summary: Get Log Stream Insights Job Status
      description: Get the latest insights job status for a logstream.
      operationId: get_log_stream_insights_job_status_experimental_projects__project_id__log_streams__log_stream_id__logstream_insights_job_status_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/InsightsJobStatusResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /experimental/projects/{project_id}/log_streams/{log_stream_id}/logstream_insights/job_statuses:
    get:
      tags:
      - logstream-insights
      summary: Get Job Statuses
      description: Get job statuses for a specific project and log stream, optionally filtered by status.
      operationId: get_job_statuses_experimental_projects__project_id__log_streams__log_stream_id__logstream_insights_job_statuses_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
      - name: status
        in: query
        required: false
        schema:
          anyOf:
          - $ref: '#/components/schemas/JobStatus'
          - type: 'null'
          title: Status
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/InsightsJobStatusResponse'
                title: Response Get Job Statuses Experimental Projects  Project Id  Log Streams  Log Stream Id  Logstream Insights Job Statuses Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /experimental/projects/{project_id}/log_streams/{log_stream_id}/logstream_insights/trace_notes:
    get:
      tags:
      - logstream-insights
      summary: Get Trace Notes
      description: Get trace notes for a specific project and log stream.
      operationId: get_trace_notes_experimental_projects__project_id__log_streams__log_stream_id__logstream_insights_trace_notes_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/TraceNotesResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /experimental/projects/{project_id}/log_streams/{log_stream_id}/logstream_insights/trace_notes/{trace_id}:
    get:
      tags:
      - logstream-insights
      summary: Get Trace Notes For Trace
      description: Get trace notes for a specific trace in a project and log stream.
      operationId: get_trace_notes_for_trace_experimental_projects__project_id__log_streams__log_stream_id__logstream_insights_trace_notes__trace_id__get
      security:
      - ClassicAPIKeyHeader: []
      - APIKeyHeader: []
      - OAuth2PasswordBearer: []
      - HTTPBasic: []
      parameters:
      - name: trace_id
        in: path
        required: true
        schema:
          type: string
          format: uuid4
          title: Trace Id
      - 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/TraceNotesResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /experimental/projects/{project_id}/log_streams/{log_stream_id}/logstream_insights/session_notes:
    get:
      tags:
      - logstream-insights
      summary: Get Session Notes
      description: Get session notes for a specific project and log stream.
      operationId: get_session_notes_experimental_projects__project_id__log_streams__log_stream_id__logstream_insights_session_notes_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/SessionNotesResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /experimental/projects/{project_id}/log_streams/{log_stream_id}/logstream_insights/session_notes/{session_id}:
    get:
      tags:
      - logstream-insights
      summary: Get Session Notes For Session
      description: Get session notes for a specific session in a project and log stream.
      operationId: get_session_notes_for_session_experimental_projects__project_id__log_streams__log_stream_id__logstream_insights_session_notes__session_id__get
      security:
      - ClassicAPIKeyHeader: []
      - APIKeyHeader: []
      - OAuth2PasswordBearer: []
      - HTTPBasic: []
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: string
          format: uuid4
          title: Session Id
      - 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/SessionNotesResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /experimental/projects/{project_id}/log_streams/{log_stream_id}/logstream_insights/session_titles:
    get:
      tags:
      - logstream-insights
      summary: Get Session Titles
      description: Get session titles for a specific project and log stream.
      operationId: get_session_titles_experimental_projects__project_id__log_streams__log_stream_id__logstream_insights_session_titles_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/SessionTitlesResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /experimental/projects/{project_id}/log_streams/{log_stream_id}/logstream_insights/session_titles/{session_id}:
    get:
      tags:
      - logstream-insights
      summary: Get Session Titles For Session
      description: Get session titles for a specific session in a project and log stream.
      operationId: get_session_titles_for_session_experimental_projects__project_id__log_streams__log_stream_id__logstream_insights_session_titles__session_id__get
      security:
      - ClassicAPIKeyHeader: []
      - APIKeyHeader: []
      - OAuth2PasswordBearer: []
      - HTTPBasic: []
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: string
          format: uuid4
          title: Session Id
      - 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/SessionTitlesResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /experimental/projects/{project_id}/log_streams/{log_stream_id}/logstream_insights/trace_titles:
    get:
      tags:
      - logstream-insights
      summary: Get Trace Titles
      description: Get trace titles for a specific project and log stream.
      operationId: get_trace_titles_experimental_projects__project_id__log_streams__log_stream_id__logstream_insights_trace_titles_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/TraceTitlesResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /experimental/projects/{project_id}/log_streams/{log_stream_id}/logstream_insights/trace_titles/{trace_id}:
    get:
      tags:
      - logstream-insights
      summary: Get Trace Titles For Trace
      description: Get trace titles for a specific trace in a project and log stream.
      operationId: get_trace_titles_for_trace_experimental_projects__project_id__log_streams__log_stream_id__logstream_insights_trace_titles__trace_id__get
      security:
      - ClassicAPIKeyHeader: []
      - APIKeyHeader: []
      - OAuth2PasswordBearer: []
      - HTTPBasic: []
      parameters:
      - name: trace_id
        in: path
        required: true
        schema:
          type: string
          format: uuid4
          title: Trace Id
      - 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/TraceTitlesResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /projects/{project_id}/log_streams/{log_stream_id}/logstream_insights/token_usage:
    post:
      tags:
      - logstream-insights
      summary: Get Logstream Insights Token Usages
      description: Get token usage records for a logstream insight.
      operationId: get_logstream_insights_token_usages_projects__project_id__log_streams__log_stream_id__logstream_insights_token_usage_post
      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:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LogstreamInsightTokenUsageRequest'
              default:
                starting_token: 0
                limit: 100
                filters: []
                sort:
                  name: created_at
                  ascending: false
                  sort_type: column
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LogstreamInsightTokenUsageResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v2/projects/{project_id}/log_streams/{log_stream_id}/logstream_insights/token_usage:
    post:
      tags:
      - logstream-insights
      summary: Get Logstream Insights Token Usages
      description: Get token usage records for a logstream insight.
      operationId: get_logstream_insights_token_usages_v2_projects__project_id__log_streams__log_stream_id__logstream_insights_token_usage_post
      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:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LogstreamInsightTokenUsageRequest'
              default:
                starting_token: 0
                limit: 100
                filters: []
                sort:
                  name: created_at
                  ascending: false
                  sort_type: column
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LogstreamInsightTokenUsageResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /public/v2/projects/{project_id}/log_streams/{log_stream_id}/logstream_insights/token_usage:
    post:
      tags:
      - logstream-insights
      summary: Get Logstream Insights Token Usages
      description: Get token usage records for a logstream insight.
      operationId: get_logstream_insights_token_usages_public_v2_projects__project_id__log_streams__log_stream_id__logstream_insights_token_usage_post
      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:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LogstreamInsightTokenUsageRequest'
              default:
                starting_token: 0
                limit: 100
                filters: []
                sort:
                  name: created_at
                  ascending: false
                  sort_type: column
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LogstreamInsightTokenUsageResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    LogstreamInsightsResponse:
      properties:
        insights:
          anyOf:
          - items:
              $ref: '#/components/schemas/InsightDBV2'
            type: array
          - items:
              $ref: '#/components/schemas/InsightDB'
            type: array
          - type: 'null'
          title: Insights
        job_status:
          anyOf:
          - $ref: '#/components/schemas/JobStatus'
          - type: 'null'
        is_update_job:
          type: boolean
          title: Is Update Job
        job_updated_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Job Updated At
        job_run_summary:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Job Run Summary
      type: object
      required:
      - insights
      - job_status
      - is_update_job
      - job_updated_at
      title: LogstreamInsightsResponse
    LogstreamInsightsResponseCreateJobResponse:
      properties:
        job_created:
          type: boolean
          title: Job Created
        is_update_job:
          type: boolean
          title: Is Update Job
      type: object
      required:
      - job_created
      - is_update_job
      title: LogstreamInsightsResponseCreateJobResponse
    LogstreamInsightTokenUsageResponse:
      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
        token_usages:
          items:
            $ref: '#/components/schemas/LogStreamInsightTokenUsageDB'
          type: array
          title: Token Usages
      type: object
      title: LogstreamInsightTokenUsageResponse
    SessionNote:
      properties:
        note_text:
          type: string
          title: Note Text
        spans_involved:
          items:
            $ref: '#/components/schemas/SpanNoteV2'
          type: array
          title: Spans Involved
      type: object
      required:
      - note_text
      - spans_involved
      title: SessionNote
    Insight:
      prop

# --- truncated at 32 KB (47 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/galileo-technologies/refs/heads/main/openapi/galileo-technologies-logstream-insights-api-openapi.yml