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

# List investigation activity



## OpenAPI

````yaml /api/openapi.yaml get /api/v1/investigations/{investigation}/activity
openapi: 3.1.0
info:
  title: OpenCluster Control Plane API
  version: 0.1.0
  description: HTTP contract for the OpenCluster product API and inbound webhook endpoints.
  license:
    name: Apache-2.0
servers:
  - url: http://localhost:8080
    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: Webhook Deliveries
  - name: Webhook Intake
  - name: Metadata
paths:
  /api/v1/investigations/{investigation}/activity:
    parameters:
      - $ref: '#/components/parameters/InvestigationID'
    get:
      tags:
        - Investigations
      summary: List investigation activity
      operationId: listInvestigationActivity
      parameters:
        - $ref: '#/components/parameters/Organization'
      responses:
        '200':
          $ref: '#/components/responses/InvestigationActivity'
        default:
          $ref: '#/components/responses/ErrorResponse'
      security:
        - SessionCookie: []
components:
  parameters:
    InvestigationID:
      name: investigation
      in: path
      required: true
      schema:
        $ref: '#/components/schemas/UUID'
    Organization:
      name: X-OpenCluster-Organization
      in: header
      required: true
      description: Selects the Organization whose data and membership are authorized.
      schema:
        $ref: '#/components/schemas/OrganizationID'
      example: acme-production
  responses:
    InvestigationActivity:
      description: Investigation activity.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/InvestigationActivity'
    ErrorResponse:
      description: The operation did not complete.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    UUID:
      type: string
      format: uuid
    OrganizationID:
      type: string
      pattern: ^[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$
      minLength: 1
      maxLength: 63
    InvestigationActivity:
      type: object
      additionalProperties: false
      required:
        - investigationId
        - items
      properties:
        investigationId:
          $ref: '#/components/schemas/UUID'
        items:
          type: array
          items:
            $ref: '#/components/schemas/InvestigationActivityEvent'
    Error:
      type: object
      additionalProperties: false
      required:
        - error
      properties:
        error:
          type: string
          minLength: 1
          maxLength: 1024
          example: the selected Organization is not available to this caller
        reason:
          type: string
          enum:
            - credential_rejected
            - session_expired
            - session_revoked
        requires:
          type: string
          minLength: 1
          maxLength: 128
    InvestigationActivityEvent:
      oneOf:
        - $ref: '#/components/schemas/StartedInvestigationEvent'
        - $ref: '#/components/schemas/ProgressInvestigationEvent'
        - $ref: '#/components/schemas/ToolStartedInvestigationEvent'
        - $ref: '#/components/schemas/ToolCompletedInvestigationEvent'
        - $ref: '#/components/schemas/AnswerDeltaInvestigationEvent'
        - $ref: '#/components/schemas/HypothesesUpdatedInvestigationEvent'
        - $ref: '#/components/schemas/ConcludedInvestigationEvent'
        - $ref: '#/components/schemas/FailedInvestigationEvent'
        - $ref: '#/components/schemas/CancelledInvestigationEvent'
        - $ref: '#/components/schemas/UnknownInvestigationEvent'
      discriminator:
        propertyName: type
    StartedInvestigationEvent:
      type: object
      additionalProperties: false
      required:
        - schemaVersion
        - organizationId
        - investigationId
        - sequence
        - at
        - type
        - payload
      properties:
        schemaVersion:
          type: integer
          const: 1
        organizationId:
          $ref: '#/components/schemas/OrganizationID'
        conversationId:
          $ref: '#/components/schemas/UUID'
        investigationId:
          $ref: '#/components/schemas/UUID'
        sequence:
          type: integer
          format: int64
          minimum: 1
        at:
          $ref: '#/components/schemas/Timestamp'
        type:
          type: string
          const: started
        payload:
          type: object
          additionalProperties: false
          required:
            - subject
            - sources
            - state
            - windowFrom
            - windowUntil
          properties:
            subject:
              type: string
              minLength: 1
              maxLength: 512
            sources:
              type: integer
              minimum: 0
            state:
              type: string
              enum:
                - waiting
                - executing
            windowFrom:
              $ref: '#/components/schemas/Timestamp'
            windowUntil:
              $ref: '#/components/schemas/Timestamp'
            question:
              type: string
              maxLength: 512
            turn:
              type: integer
              minimum: 1
    ProgressInvestigationEvent:
      type: object
      additionalProperties: false
      required:
        - schemaVersion
        - organizationId
        - investigationId
        - sequence
        - at
        - type
        - payload
      properties:
        schemaVersion:
          type: integer
          const: 1
        organizationId:
          $ref: '#/components/schemas/OrganizationID'
        conversationId:
          $ref: '#/components/schemas/UUID'
        investigationId:
          $ref: '#/components/schemas/UUID'
        sequence:
          type: integer
          format: int64
          minimum: 1
        at:
          $ref: '#/components/schemas/Timestamp'
        type:
          type: string
          const: progress
        payload:
          type: object
          additionalProperties: false
          required:
            - text
          properties:
            text:
              type: string
              minLength: 1
              maxLength: 512
    ToolStartedInvestigationEvent:
      type: object
      additionalProperties: false
      required:
        - schemaVersion
        - organizationId
        - investigationId
        - sequence
        - at
        - type
        - payload
      properties:
        schemaVersion:
          type: integer
          const: 1
        organizationId:
          $ref: '#/components/schemas/OrganizationID'
        conversationId:
          $ref: '#/components/schemas/UUID'
        investigationId:
          $ref: '#/components/schemas/UUID'
        sequence:
          type: integer
          format: int64
          minimum: 1
        at:
          $ref: '#/components/schemas/Timestamp'
        type:
          type: string
          const: tool_started
        payload:
          type: object
          additionalProperties: false
          required:
            - ordinal
            - tool
            - integrationId
            - arguments
          properties:
            ordinal:
              type: integer
              minimum: 1
            tool:
              type: string
              minLength: 1
              maxLength: 512
            integrationId:
              type: string
              minLength: 1
              maxLength: 512
            arguments:
              type: object
              additionalProperties: true
            purpose:
              type: string
              maxLength: 512
            hypothesisId:
              type: string
              maxLength: 512
    ToolCompletedInvestigationEvent:
      type: object
      additionalProperties: false
      required:
        - schemaVersion
        - organizationId
        - investigationId
        - sequence
        - at
        - type
        - payload
      properties:
        schemaVersion:
          type: integer
          const: 1
        organizationId:
          $ref: '#/components/schemas/OrganizationID'
        conversationId:
          $ref: '#/components/schemas/UUID'
        investigationId:
          $ref: '#/components/schemas/UUID'
        sequence:
          type: integer
          format: int64
          minimum: 1
        at:
          $ref: '#/components/schemas/Timestamp'
        type:
          type: string
          const: tool_completed
        payload:
          type: object
          additionalProperties: false
          required:
            - ordinal
            - tool
            - outcome
            - durationMs
          properties:
            ordinal:
              type: integer
              minimum: 1
            tool:
              type: string
              minLength: 1
              maxLength: 512
            outcome:
              type: string
              enum:
                - succeeded
                - failed
            durationMs:
              type: integer
              format: int64
              minimum: 0
            integrationId:
              $ref: '#/components/schemas/UUID'
            summary:
              type: string
              maxLength: 512
            error:
              type: string
              maxLength: 4096
            truncated:
              type: boolean
            windowFrom:
              $ref: '#/components/schemas/Timestamp'
            windowUntil:
              $ref: '#/components/schemas/Timestamp'
            sources:
              type: array
              items:
                type: string
                maxLength: 2048
    AnswerDeltaInvestigationEvent:
      type: object
      additionalProperties: false
      required:
        - schemaVersion
        - organizationId
        - investigationId
        - sequence
        - at
        - type
        - payload
      properties:
        schemaVersion:
          type: integer
          const: 1
        organizationId:
          $ref: '#/components/schemas/OrganizationID'
        conversationId:
          $ref: '#/components/schemas/UUID'
        investigationId:
          $ref: '#/components/schemas/UUID'
        sequence:
          type: integer
          format: int64
          minimum: 1
        at:
          $ref: '#/components/schemas/Timestamp'
        type:
          type: string
          const: answer_delta
        payload:
          type: object
          additionalProperties: false
          required:
            - text
            - final
          properties:
            text:
              type: string
              maxLength: 4096
            final:
              type: boolean
    HypothesesUpdatedInvestigationEvent:
      type: object
      additionalProperties: false
      required:
        - schemaVersion
        - organizationId
        - investigationId
        - sequence
        - at
        - type
        - payload
      properties:
        schemaVersion:
          type: integer
          const: 1
        organizationId:
          $ref: '#/components/schemas/OrganizationID'
        conversationId:
          $ref: '#/components/schemas/UUID'
        investigationId:
          $ref: '#/components/schemas/UUID'
        sequence:
          type: integer
          format: int64
          minimum: 1
        at:
          $ref: '#/components/schemas/Timestamp'
        type:
          type: string
          const: hypotheses_updated
        payload:
          type: object
          additionalProperties: false
          required:
            - version
            - hypotheses
          properties:
            version:
              type: integer
              const: 1
            hypotheses:
              type: array
              maxItems: 8
              items:
                $ref: '#/components/schemas/Hypothesis'
    ConcludedInvestigationEvent:
      type: object
      additionalProperties: false
      required:
        - schemaVersion
        - organizationId
        - investigationId
        - sequence
        - at
        - type
        - payload
      properties:
        schemaVersion:
          type: integer
          const: 1
        organizationId:
          $ref: '#/components/schemas/OrganizationID'
        conversationId:
          $ref: '#/components/schemas/UUID'
        investigationId:
          $ref: '#/components/schemas/UUID'
        sequence:
          type: integer
          format: int64
          minimum: 1
        at:
          $ref: '#/components/schemas/Timestamp'
        type:
          type: string
          const: concluded
        payload:
          type: object
          additionalProperties: false
          required:
            - status
            - findings
          properties:
            status:
              type: string
              enum:
                - verified_cause
                - supported_explanation
                - inconclusive
                - answer_only
            findings:
              type: integer
              minimum: 0
            summary:
              type: string
              maxLength: 512
            stoppedBy:
              type: string
              enum:
                - spend
                - tool_runs
                - reasoner_turns
                - wall_clock
                - stagnation
                - context
    FailedInvestigationEvent:
      type: object
      additionalProperties: false
      required:
        - schemaVersion
        - organizationId
        - investigationId
        - sequence
        - at
        - type
        - payload
      properties:
        schemaVersion:
          type: integer
          const: 1
        organizationId:
          $ref: '#/components/schemas/OrganizationID'
        conversationId:
          $ref: '#/components/schemas/UUID'
        investigationId:
          $ref: '#/components/schemas/UUID'
        sequence:
          type: integer
          format: int64
          minimum: 1
        at:
          $ref: '#/components/schemas/Timestamp'
        type:
          type: string
          const: failed
        payload:
          type: object
          additionalProperties: false
          required:
            - reason
          properties:
            reason:
              type: string
              minLength: 1
              maxLength: 4096
    CancelledInvestigationEvent:
      type: object
      additionalProperties: false
      required:
        - schemaVersion
        - organizationId
        - investigationId
        - sequence
        - at
        - type
        - payload
      properties:
        schemaVersion:
          type: integer
          const: 1
        organizationId:
          $ref: '#/components/schemas/OrganizationID'
        conversationId:
          $ref: '#/components/schemas/UUID'
        investigationId:
          $ref: '#/components/schemas/UUID'
        sequence:
          type: integer
          format: int64
          minimum: 1
        at:
          $ref: '#/components/schemas/Timestamp'
        type:
          type: string
          const: cancelled
        payload:
          type: object
          additionalProperties: false
    UnknownInvestigationEvent:
      type: object
      additionalProperties: false
      required:
        - schemaVersion
        - organizationId
        - investigationId
        - sequence
        - at
        - type
        - payload
      properties:
        schemaVersion:
          type: integer
          const: 1
        organizationId:
          $ref: '#/components/schemas/OrganizationID'
        conversationId:
          $ref: '#/components/schemas/UUID'
        investigationId:
          $ref: '#/components/schemas/UUID'
        sequence:
          type: integer
          format: int64
          minimum: 1
        at:
          $ref: '#/components/schemas/Timestamp'
        type:
          type: string
          minLength: 1
          maxLength: 128
          not:
            enum:
              - started
              - progress
              - tool_started
              - tool_completed
              - answer_delta
              - hypotheses_updated
              - concluded
              - failed
              - cancelled
        payload:
          type: object
          additionalProperties: true
    Timestamp:
      type: string
      format: date-time
    Hypothesis:
      type: object
      additionalProperties: false
      required:
        - id
        - statement
        - status
        - test
        - runRefs
      properties:
        id:
          type: string
          minLength: 1
          maxLength: 128
        statement:
          type: string
          minLength: 1
          maxLength: 4096
        status:
          type: string
          enum:
            - exploring
            - supported
            - ruled_out
            - unresolved
        test:
          type: string
          maxLength: 4096
        runRefs:
          type: array
          items:
            type: integer
            minimum: 1
          uniqueItems: true
  securitySchemes:
    SessionCookie:
      type: apiKey
      in: cookie
      name: __Host-oc_session

````