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

# Get Thread



## OpenAPI

````yaml /openapi.json get /api/v1/admin/orchestration/threads/{thread_id}
openapi: 3.1.0
info:
  title: AITasker
  version: 0.1.0
servers: []
security: []
paths:
  /api/v1/admin/orchestration/threads/{thread_id}:
    get:
      tags:
        - Admin Orchestration
        - Admin Orchestration
      summary: Get Thread
      operationId: get_thread_api_v1_admin_orchestration_threads__thread_id__get
      parameters:
        - name: thread_id
          in: path
          required: true
          schema:
            type: string
            title: Thread Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThreadDetail'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    ThreadDetail:
      properties:
        thread_id:
          type: string
          title: Thread Id
        graph_name:
          type: string
          title: Graph Name
        status:
          type: string
          title: Status
        current_node:
          anyOf:
            - type: string
            - type: 'null'
          title: Current Node
        started_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Started At
        last_updated_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Last Updated At
        pending_interrupt:
          type: boolean
          title: Pending Interrupt
          default: false
        summary:
          additionalProperties: true
          type: object
          title: Summary
        state:
          additionalProperties: true
          type: object
          title: State
        history:
          items:
            $ref: '#/components/schemas/CheckpointSummary'
          type: array
          title: History
        topology_mermaid:
          type: string
          title: Topology Mermaid
          default: ''
      type: object
      required:
        - thread_id
        - graph_name
        - status
      title: ThreadDetail
      description: |-
        Full thread view: the latest sanitised state + checkpoint history.

        `state` is the recursively-sanitised channel-values payload (secrets
        stripped, long strings truncated, attachment bytes dropped).
        `topology_mermaid` is the rendered graph diagram for context.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    CheckpointSummary:
      properties:
        checkpoint_id:
          type: string
          title: Checkpoint Id
        node_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Node Name
        timestamp:
          anyOf:
            - type: string
            - type: 'null'
          title: Timestamp
        is_interrupt:
          type: boolean
          title: Is Interrupt
          default: false
        is_error:
          type: boolean
          title: Is Error
          default: false
      type: object
      required:
        - checkpoint_id
      title: CheckpointSummary
      description: One row of the checkpoint history for a thread.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````