> ## Documentation Index
> Fetch the complete documentation index at: https://docs.open-cluster.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Inspect one retained Tool observation

> Editor and Admin only. Returns the bounded text prepared for the model and current Integration display information. Legacy unavailable text is null, distinct from an empty string. Preparation does not prove remote provider delivery. Ordinary Investigation detail, lists, and events omit this text.



## OpenAPI

````yaml /api/openapi.yaml get /api/v1/investigations/{investigation}/runs/{ordinal}/observation
openapi: 3.1.0
info:
  title: OpenCluster Control Plane API
  version: 0.1.0
  description: >
    Use the OpenAPI document for the deployed version. Product operations use
    session

    cookies and resolve the Organization from the authenticated User.

    Include the configured public Origin on write requests.

    Collection cursors are opaque. Pass next unchanged to the cursor parameter

    documented by the operation. An empty next value ends pagination.

    Use HTTP status codes for error handling rather than parsing error text.
  license:
    name: Apache-2.0
servers:
  - url: http://localhost:8081
    description: Local self-hosted deployment
security: []
tags:
  - name: Authentication
  - name: Organizations
  - name: Members
  - name: Sessions
  - name: Policy
  - name: Audit
  - name: Integration Types
  - name: Integrations
  - name: Relays
  - name: Incidents
  - name: Investigations
  - name: Conversations
  - name: Postmortems
  - name: Slack
  - name: Webhook Intake
paths:
  /api/v1/investigations/{investigation}/runs/{ordinal}/observation:
    parameters:
      - $ref: '#/components/parameters/InvestigationID'
      - $ref: '#/components/parameters/ToolRunOrdinal'
    get:
      tags:
        - Investigations
      summary: Inspect one retained Tool observation
      description: >-
        Editor and Admin only. Returns the bounded text prepared for the model
        and current Integration display information. Legacy unavailable text is
        null, distinct from an empty string. Preparation does not prove remote
        provider delivery. Ordinary Investigation detail, lists, and events omit
        this text.
      operationId: getToolRunObservation
      responses:
        '200':
          $ref: '#/components/responses/ToolRunObservation'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        default:
          $ref: '#/components/responses/ErrorResponse'
      security:
        - SessionCookie: []
components:
  parameters:
    InvestigationID:
      name: investigation
      in: path
      required: true
      schema:
        $ref: '#/components/schemas/UUID'
    ToolRunOrdinal:
      name: ordinal
      in: path
      required: true
      schema:
        type: integer
        minimum: 1
        maximum: 2147483647
  responses:
    ToolRunObservation:
      description: >-
        One protected prepared observation, with its Tool Run metadata and
        current Integration name/type.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ToolRunObservation'
    BadRequest:
      description: Invalid request.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthorized:
      description: Missing or rejected credential.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: Membership, permission, or cookie origin was rejected.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    NotFound:
      description: Resource not found in the authenticated User's Organization.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    ErrorResponse:
      description: The operation did not complete.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    UUID:
      type: string
      format: uuid
    ToolRunObservation:
      type: object
      additionalProperties: false
      required:
        - ordinal
        - tool
        - windowFrom
        - windowUntil
        - outcome
        - startedAt
        - finishedAt
        - durationMs
        - windowApplied
        - modelClipped
      allOf:
        - required:
            - investigationId
            - observationText
      properties:
        ordinal:
          type: integer
          minimum: 1
        integrationId:
          $ref: '#/components/schemas/UUID'
        tool:
          type: string
          minLength: 1
          maxLength: 128
        purpose:
          type: string
          maxLength: 2048
        arguments:
          type: object
          additionalProperties: true
        windowFrom:
          $ref: '#/components/schemas/Timestamp'
        windowUntil:
          $ref: '#/components/schemas/Timestamp'
        outcome:
          type: string
          enum:
            - succeeded
            - failed
        truncated:
          type: boolean
        modelClipped:
          type: boolean
          description: >-
            Content or arguments were omitted to fit the
            model/prepared-observation budget; separate from source
            incompleteness.
        windowApplied:
          oneOf:
            - type: boolean
            - type: 'null'
          description: >-
            True for adapter-supplied effective bounds, false for known fallback
            bounds, null for legacy unknown bounds.
        summary:
          type: string
          maxLength: 32768
        sources:
          type: array
          items:
            type: string
            maxLength: 2048
        error:
          type: string
          maxLength: 4096
        startedAt:
          $ref: '#/components/schemas/Timestamp'
        finishedAt:
          $ref: '#/components/schemas/Timestamp'
        durationMs:
          type: number
          minimum: 0
          description: >-
            Execution duration in milliseconds derived from startedAt and
            finishedAt, including fractional milliseconds. Execution timestamps
            retain stored subsecond precision.
        investigationId:
          $ref: '#/components/schemas/UUID'
        integrationName:
          type: string
          description: Current Integration display name; not a historical snapshot.
        integrationType:
          type: string
        observationText:
          oneOf:
            - type: string
            - type: 'null'
          maxLength: 65536
          description: >-
            Exact bounded prepared Tool-result text, at most 65536 UTF-8 bytes
            including headers and arguments. Null means unavailable; an empty
            string means retained empty text.
    Error:
      type: object
      additionalProperties: false
      required:
        - error
      properties:
        error:
          type: string
          minLength: 1
          maxLength: 1024
          example: the requested resource is not available to this caller
        reason:
          type: string
          enum:
            - credential_rejected
            - session_expired
        requires:
          type: string
          minLength: 1
          maxLength: 128
    Timestamp:
      type: string
      format: date-time
  securitySchemes:
    SessionCookie:
      type: apiKey
      in: cookie
      name: __Host-OC-SESSIONID

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.