Galileo Technologies trace API

The trace API from Galileo Technologies — 89 operation(s) for trace.

Operations 95

POST /projects/{project_id}/traces/aggregated Get Aggregated Trace View #
POST /projects/{project_id}/recompute-metrics Recompute Metrics #
POST /projects/{project_id}/traces Log Traces #
PATCH /projects/{project_id}/traces/{trace_id} Update Trace #
GET /projects/{project_id}/traces/{trace_id} Get Trace #
PATCH /projects/{project_id}/spans/{span_id} Update Span #
GET /projects/{project_id}/spans/{span_id} Get Span #
POST /projects/{project_id}/traces/available_columns Traces Available Columns #
POST /projects/{project_id}/metrics-testing/available_columns Metrics Testing Available Columns #
POST /projects/{project_id}/spans/available_columns Spans Available Columns #
POST /projects/{project_id}/sessions/available_columns Sessions Available Columns #
POST /projects/{project_id}/traces/search Query Traces #
POST /projects/{project_id}/traces/partial_search Query Partial Traces #
POST /projects/{project_id}/traces/count Count Traces #
POST /projects/{project_id}/spans Log Spans #
POST /projects/{project_id}/spans/search Query Spans #
POST /projects/{project_id}/spans/partial_search Query Partial Spans #
POST /projects/{project_id}/spans/count Count Spans #
POST /projects/{project_id}/metrics/search Query Metrics #
POST /projects/{project_id}/metrics/search/v2 Query Metrics V2 #
POST /projects/{project_id}/metrics/custom_search Query Custom Metrics #
POST /projects/{project_id}/sessions Create Session #
POST /projects/{project_id}/sessions/search Query Sessions #
POST /projects/{project_id}/sessions/partial_search Query Partial Sessions #
POST /projects/{project_id}/sessions/count Count Sessions #
GET /projects/{project_id}/sessions/{session_id} Get Session #
POST /projects/{project_id}/export_records Export Records #
POST /projects/{project_id}/export_records/url Export Records Url #
POST /projects/{project_id}/traces/delete Delete Traces #
POST /projects/{project_id}/spans/delete Delete Spans #
POST /projects/{project_id}/sessions/delete Delete Sessions #
POST /otel/traces Traces Open Telemetry #
POST /otel/v1/traces Traces Open Telemetry #
POST /v2/projects/{project_id}/traces/aggregated Get Aggregated Trace View #
POST /v2/projects/{project_id}/recompute-metrics Recompute Metrics #
POST /v2/projects/{project_id}/traces Log Traces #
PATCH /v2/projects/{project_id}/traces/{trace_id} Update Trace #
GET /v2/projects/{project_id}/traces/{trace_id} Get Trace #
PATCH /v2/projects/{project_id}/spans/{span_id} Update Span #
GET /v2/projects/{project_id}/spans/{span_id} Get Span #
POST /v2/projects/{project_id}/traces/available_columns Traces Available Columns #
POST /v2/projects/{project_id}/metrics-testing/available_columns Metrics Testing Available Columns #
POST /v2/projects/{project_id}/spans/available_columns Spans Available Columns #
POST /v2/projects/{project_id}/sessions/available_columns Sessions Available Columns #
POST /v2/projects/{project_id}/traces/search Query Traces #
POST /v2/projects/{project_id}/traces/partial_search Query Partial Traces #
POST /v2/projects/{project_id}/traces/count Count Traces #
POST /v2/projects/{project_id}/spans Log Spans #
POST /v2/projects/{project_id}/spans/search Query Spans #
POST /v2/projects/{project_id}/spans/partial_search Query Partial Spans #
POST /v2/projects/{project_id}/spans/count Count Spans #
POST /v2/projects/{project_id}/metrics/search Query Metrics #
POST /v2/projects/{project_id}/metrics/search/v2 Query Metrics V2 #
POST /v2/projects/{project_id}/metrics/custom_search Query Custom Metrics #
POST /v2/projects/{project_id}/sessions Create Session #
POST /v2/projects/{project_id}/sessions/search Query Sessions #
POST /v2/projects/{project_id}/sessions/partial_search Query Partial Sessions #
POST /v2/projects/{project_id}/sessions/count Count Sessions #
GET /v2/projects/{project_id}/sessions/{session_id} Get Session #
POST /v2/projects/{project_id}/export_records Export Records #
POST /v2/projects/{project_id}/export_records/url Export Records Url #
POST /v2/projects/{project_id}/traces/delete Delete Traces #
POST /v2/projects/{project_id}/spans/delete Delete Spans #
POST /v2/projects/{project_id}/sessions/delete Delete Sessions #
POST /public/v2/projects/{project_id}/traces/aggregated Get Aggregated Trace View #
POST /public/v2/projects/{project_id}/recompute-metrics Recompute Metrics #
POST /public/v2/projects/{project_id}/traces Log Traces #
PATCH /public/v2/projects/{project_id}/traces/{trace_id} Update Trace #
GET /public/v2/projects/{project_id}/traces/{trace_id} Get Trace #
PATCH /public/v2/projects/{project_id}/spans/{span_id} Update Span #
GET /public/v2/projects/{project_id}/spans/{span_id} Get Span #
POST /public/v2/projects/{project_id}/traces/available_columns Traces Available Columns #
POST /public/v2/projects/{project_id}/metrics-testing/available_columns Metrics Testing Available Columns #
POST /public/v2/projects/{project_id}/spans/available_columns Spans Available Columns #
POST /public/v2/projects/{project_id}/sessions/available_columns Sessions Available Columns #
POST /public/v2/projects/{project_id}/traces/search Query Traces #
POST /public/v2/projects/{project_id}/traces/partial_search Query Partial Traces #
POST /public/v2/projects/{project_id}/traces/count Count Traces #
POST /public/v2/projects/{project_id}/spans Log Spans #
POST /public/v2/projects/{project_id}/spans/search Query Spans #
POST /public/v2/projects/{project_id}/spans/partial_search Query Partial Spans #
POST /public/v2/projects/{project_id}/spans/count Count Spans #
POST /public/v2/projects/{project_id}/metrics/search Query Metrics #
POST /public/v2/projects/{project_id}/metrics/search/v2 Query Metrics V2 #
POST /public/v2/projects/{project_id}/metrics/custom_search Query Custom Metrics #
POST /public/v2/projects/{project_id}/sessions Create Session #
POST /public/v2/projects/{project_id}/sessions/search Query Sessions #
POST /public/v2/projects/{project_id}/sessions/partial_search Query Partial Sessions #
POST /public/v2/projects/{project_id}/sessions/count Count Sessions #
GET /public/v2/projects/{project_id}/sessions/{session_id} Get Session #
POST /public/v2/projects/{project_id}/export_records Export Records #
POST /public/v2/projects/{project_id}/export_records/url Export Records Url #
POST /public/v2/projects/{project_id}/traces/delete Delete Traces #
POST /public/v2/projects/{project_id}/spans/delete Delete Spans #
POST /public/v2/projects/{project_id}/sessions/delete Delete Sessions #

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-trace-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-trace-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Galileo API Server annotation Trace API
  version: 1.1085.0
servers:
- url: https://api.galileo.ai
  description: Galileo API Server - galileo-v2
tags:
- name: trace
paths:
  /projects/{project_id}/traces/aggregated:
    post:
      tags:
      - trace
      summary: Get Aggregated Trace View
      operationId: get_aggregated_trace_view_projects__project_id__traces_aggregated_post
      security:
      - ClassicAPIKeyHeader: []
      - APIKeyHeader: []
      - OAuth2PasswordBearer: []
      - HTTPBasic: []
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          format: uuid4
          title: Project Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AggregatedTraceViewRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AggregatedTraceViewResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /projects/{project_id}/recompute-metrics:
    post:
      tags:
      - trace
      summary: Recompute Metrics
      operationId: recompute_metrics_projects__project_id__recompute_metrics_post
      security:
      - ClassicAPIKeyHeader: []
      - APIKeyHeader: []
      - OAuth2PasswordBearer: []
      - HTTPBasic: []
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          format: uuid4
          title: Project Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RecomputeLogRecordsMetricsRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /projects/{project_id}/traces:
    post:
      tags:
      - trace
      summary: Log Traces
      operationId: log_traces_projects__project_id__traces_post
      security:
      - ClassicAPIKeyHeader: []
      - APIKeyHeader: []
      - OAuth2PasswordBearer: []
      - HTTPBasic: []
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          format: uuid4
          title: Project Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LogTracesIngestRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LogTracesIngestResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /projects/{project_id}/traces/{trace_id}:
    patch:
      tags:
      - trace
      summary: Update Trace
      description: Update a trace with the given ID.
      operationId: update_trace_projects__project_id__traces__trace_id__patch
      security:
      - ClassicAPIKeyHeader: []
      - APIKeyHeader: []
      - OAuth2PasswordBearer: []
      - HTTPBasic: []
      parameters:
      - name: trace_id
        in: path
        required: true
        schema:
          type: string
          format: uuid4
          title: Trace 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/LogTraceUpdateRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LogTraceUpdateResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    get:
      tags:
      - trace
      summary: Get Trace
      operationId: get_trace_projects__project_id__traces__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: project_id
        in: path
        required: true
        schema:
          type: string
          format: uuid4
          title: Project Id
      - name: include_presigned_urls
        in: query
        required: false
        schema:
          type: boolean
          default: false
          title: Include Presigned Urls
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                oneOf:
                - $ref: '#/components/schemas/ExtendedTraceRecordWithChildren'
                - $ref: '#/components/schemas/StubTraceRecord'
                discriminator:
                  propertyName: type
                  mapping:
                    trace: '#/components/schemas/ExtendedTraceRecordWithChildren'
                    stub_trace: '#/components/schemas/StubTraceRecord'
                title: Response Get Trace Projects  Project Id  Traces  Trace Id  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /projects/{project_id}/spans/{span_id}:
    patch:
      tags:
      - trace
      summary: Update Span
      description: Update a span with the given ID.
      operationId: update_span_projects__project_id__spans__span_id__patch
      security:
      - ClassicAPIKeyHeader: []
      - APIKeyHeader: []
      - OAuth2PasswordBearer: []
      - HTTPBasic: []
      parameters:
      - name: span_id
        in: path
        required: true
        schema:
          type: string
          format: uuid4
          title: Span 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/LogSpanUpdateRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LogSpanUpdateResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    get:
      tags:
      - trace
      summary: Get Span
      operationId: get_span_projects__project_id__spans__span_id__get
      security:
      - ClassicAPIKeyHeader: []
      - APIKeyHeader: []
      - OAuth2PasswordBearer: []
      - HTTPBasic: []
      parameters:
      - name: span_id
        in: path
        required: true
        schema:
          type: string
          format: uuid4
          title: Span Id
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          format: uuid4
          title: Project Id
      - name: include_presigned_urls
        in: query
        required: false
        schema:
          type: boolean
          default: false
          title: Include Presigned Urls
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                oneOf:
                - $ref: '#/components/schemas/ExtendedAgentSpanRecordWithChildren'
                - $ref: '#/components/schemas/ExtendedWorkflowSpanRecordWithChildren'
                - $ref: '#/components/schemas/ExtendedLlmSpanRecord'
                - $ref: '#/components/schemas/ExtendedToolSpanRecordWithChildren'
                - $ref: '#/components/schemas/ExtendedRetrieverSpanRecordWithChildren'
                - $ref: '#/components/schemas/ExtendedControlSpanRecord'
                discriminator:
                  propertyName: type
                  mapping:
                    agent: '#/components/schemas/ExtendedAgentSpanRecordWithChildren'
                    workflow: '#/components/schemas/ExtendedWorkflowSpanRecordWithChildren'
                    llm: '#/components/schemas/ExtendedLlmSpanRecord'
                    tool: '#/components/schemas/ExtendedToolSpanRecordWithChildren'
                    retriever: '#/components/schemas/ExtendedRetrieverSpanRecordWithChildren'
                    control: '#/components/schemas/ExtendedControlSpanRecord'
                title: Response Get Span Projects  Project Id  Spans  Span Id  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /projects/{project_id}/traces/available_columns:
    post:
      tags:
      - trace
      summary: Traces Available Columns
      operationId: traces_available_columns_projects__project_id__traces_available_columns_post
      security:
      - ClassicAPIKeyHeader: []
      - APIKeyHeader: []
      - OAuth2PasswordBearer: []
      - HTTPBasic: []
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          format: uuid4
          title: Project Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LogRecordsAvailableColumnsRequest'
      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'
  /projects/{project_id}/metrics-testing/available_columns:
    post:
      tags:
      - trace
      summary: Metrics Testing Available Columns
      operationId: metrics_testing_available_columns_projects__project_id__metrics_testing_available_columns_post
      security:
      - ClassicAPIKeyHeader: []
      - APIKeyHeader: []
      - OAuth2PasswordBearer: []
      - HTTPBasic: []
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          format: uuid4
          title: Project Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MetricsTestingAvailableColumnsRequest'
      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'
  /projects/{project_id}/spans/available_columns:
    post:
      tags:
      - trace
      summary: Spans Available Columns
      operationId: spans_available_columns_projects__project_id__spans_available_columns_post
      security:
      - ClassicAPIKeyHeader: []
      - APIKeyHeader: []
      - OAuth2PasswordBearer: []
      - HTTPBasic: []
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          format: uuid4
          title: Project Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LogRecordsAvailableColumnsRequest'
      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'
  /projects/{project_id}/sessions/available_columns:
    post:
      tags:
      - trace
      summary: Sessions Available Columns
      operationId: sessions_available_columns_projects__project_id__sessions_available_columns_post
      security:
      - ClassicAPIKeyHeader: []
      - APIKeyHeader: []
      - OAuth2PasswordBearer: []
      - HTTPBasic: []
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          format: uuid4
          title: Project Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LogRecordsAvailableColumnsRequest'
      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'
  /projects/{project_id}/traces/search:
    post:
      tags:
      - trace
      summary: Query Traces
      operationId: query_traces_projects__project_id__traces_search_post
      security:
      - ClassicAPIKeyHeader: []
      - APIKeyHeader: []
      - OAuth2PasswordBearer: []
      - HTTPBasic: []
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          format: uuid4
          title: Project Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LogRecordsQueryRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LogRecordsQueryResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /projects/{project_id}/traces/partial_search:
    post:
      tags:
      - trace
      summary: Query Partial Traces
      operationId: query_partial_traces_projects__project_id__traces_partial_search_post
      security:
      - ClassicAPIKeyHeader: []
      - APIKeyHeader: []
      - OAuth2PasswordBearer: []
      - HTTPBasic: []
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          format: uuid4
          title: Project Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LogRecordsPartialQueryRequest'
      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'
  /projects/{project_id}/traces/count:
    post:
      tags:
      - trace
      summary: Count Traces
      description: This endpoint may return a slightly inaccurate count due to the way records are filtered before deduplication.
      operationId: count_traces_projects__project_id__traces_count_post
      security:
      - ClassicAPIKeyHeader: []
      - APIKeyHeader: []
      - OAuth2PasswordBearer: []
      - HTTPBasic: []
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          format: uuid4
          title: Project Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LogRecordsQueryCountRequest'
      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'
  /projects/{project_id}/spans:
    post:
      tags:
      - trace
      summary: Log Spans
      operationId: log_spans_projects__project_id__spans_post
      security:
      - ClassicAPIKeyHeader: []
      - APIKeyHeader: []
      - OAuth2PasswordBearer: []
      - HTTPBasic: []
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          format: uuid4
          title: Project Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LogSpansIngestRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LogSpansIngestResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /projects/{project_id}/spans/search:
    post:
      tags:
      - trace
      summary: Query Spans
      operationId: query_spans_projects__project_id__spans_search_post
      security:
      - ClassicAPIKeyHeader: []
      - APIKeyHeader: []
      - OAuth2PasswordBearer: []
      - HTTPBasic: []
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          format: uuid4
          title: Project Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LogRecordsQueryRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LogRecordsQueryResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /projects/{project_id}/spans/partial_search:
    post:
      tags:
      - trace
      summary: Query Partial Spans
      operationId: query_partial_spans_projects__project_id__spans_partial_search_post
      security:
      - ClassicAPIKeyHeader: []
      - APIKeyHeader: []
      - OAuth2PasswordBearer: []
      - HTTPBasic: []
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          format: uuid4
          title: Project Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LogRecordsPartialQueryRequest'
      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'
  /projects/{project_id}/spans/count:
    post:
      tags:
      - trace
      summary: Count Spans
      operationId: count_spans_projects__project_id__spans_count_post
      security:
      - ClassicAPIKeyHeader: []
      - APIKeyHeader: []
      - OAuth2PasswordBearer: []
      - HTTPBasic: []
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          format: uuid4
          title: Project Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LogRecordsQueryCountRequest'
      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'
  /projects/{project_id}/metrics/search:
    post:
      tags:
      - trace
      summary: Query Metrics
      operationId: query_metrics_projects__project_id__metrics_search_post
      security:
      - ClassicAPIKeyHeader: []
      - APIKeyHeader: []
      - OAuth2PasswordBearer: []
      - HTTPBasic: []
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          format: uuid4
          title: Project Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LogRecordsMetricsQueryRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LogRecordsMetricsResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /projects/{project_id}/metrics/search/v2:
    post:
      tags:
      - trace
      summary: Query Metrics V2
      description: 'Same as /metrics/search but returns metrics with node-type counts: trace (requests_count),

        session_count, and span_count in aggregate_metrics and in each bucket, similar to /metrics/custom_search.'
      operationId: query_metrics_v2_projects__project_id__metrics_search_v2_post
      security:
      - ClassicAPIKeyHeader: []
      - APIKeyHeader: []
      - OAuth2PasswordBearer: []
      - HTTPBasic: []
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          format: uuid4
          title: Project Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LogRecordsMetricsQueryRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LogRecordsMetricsResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /projects/{project_id}/metrics/custom_search:
    post:
      tags:
      - trace
      summary: Query Custom Metrics
      operationId: query_custom_metrics_projects__project_id__metrics_custom_search_post
      security:
      - ClassicAPIKeyHeader: []
      - APIKeyHeader: []
      - OAuth2PasswordBearer: []
      - HTTPBasic: []
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          format: uuid4
          title: Project Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LogRecordsCustomMetricsQueryRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LogRecordsMetricsResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /projects/{project_id}/sessions:
    post:
      tags:
      - trace
      summary: Create Session
      operationId: create_session_projects__project_id__sessions_post
      security:
      - ClassicAPIKeyHeader: []
      - APIKeyHeader: []
      - OAuth2PasswordBearer: []
      - HTTPBasic: []
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          format: uuid4
          title: Project Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SessionCreateRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionCreateResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /projects/{project_id}/sessions/search:
    post:
      tags:
      - trace
      summary: Query Sessions
      operationId: query_sessions_projects__project_id__sessions_search_post
      security:
      - ClassicAPIKeyHeader: []
      - APIKeyHeader: []
      - OAuth2PasswordBearer: []
      - HTTPBasic: []
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          format: uuid4
          title: Project Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LogRecordsQueryRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LogRecordsQueryResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /projects/{project_id}/sessions/partial_search:
    post:
      tags:
      - trace
      summary: Query Partial Sessions
      operationId: query_partial_sessions_projects__project_id__sessions_partial_search_post
      security:
      - ClassicAPIKeyHeader: []
      - APIKeyHeader: []
      - OAuth2PasswordBearer: []
      - HTTPBasic: []
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          format: uuid4
          title: Project Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LogRecordsPartialQueryRequest'
      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'
  /projects/{project_id}/sessions/count:
    post:
      tags:
      - trace
      summary: Count Sessions
      operationId: count_sessions_projects__project_id__sessions_count_post
      security:
      - ClassicAPIKeyHeader: []
      - APIKeyHeader: []
      - OAuth2PasswordBearer: []
      - HTTPBasic: []
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          format: uuid4
          title: Project Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LogRecordsQueryCountRequest'
      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'
  /projects/{project_id}/sessions/{session_id}:
    get:
      tags:
      - trace
      summary: Get Session
      operationId: get_session_projects__project_id__sessions__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: project_id
        in: path
        required: true
        schema:
          type: string
          format: uuid4
          title: Project Id
      - name: include_presigned_urls
        in: query
        required: false
        schema:
          type: boolean
          default: false
          title: Include Presigned Urls
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExtendedSessionRecordWithChildren'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /projects/{project_id}/export_records:
    post:
      tags:
      - trace
      summary: Export Records
      operationId: export_records_projects__project_id__export_records_post
      security:
      - ClassicAPIKeyHeader: []
      - APIKeyHeader: []
      - OAuth2PasswordBearer: []
      - HTTPBasic: []
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          format: uuid4
          title: Project Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LogRecordsExportRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /projects/{project_id}/export_records/url:
    post:
      tags:
      - trace
      summary: Export Records Url
      operationId: export_records_url_projects__project_id__export_records_url_post
      security:
      - ClassicAPIKeyHeader: []
      - APIKeyHeader: []
      - OAuth2PasswordBearer: []
      - HTTPBasic: []
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          format: uuid4
          title: Project Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LogRecordsExportRequest'
      responses:
        '200':
          description: Successful Response
          content:
            applicatio

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