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

# Read one subagent's transcript

> Reads one sub-agent's transcript: the text it produced and the tools it called, in stream order, addressed by the tool call in the task's transcript that spawned it.

Use this tool when you need to:
- Read what a sub-agent wrote and which tools it called, without reading the task's whole transcript
- Find out why a sub-agent failed or what it reported back to the task's agent

Examples:
- GET /tasks/{taskID}/subagents/{toolCallID}/events
- GET /tasks/6f1c2a9e-3b7d-4c55-9a2e-0d8b1f4e7c21/subagents/toolu_01HV8kQ3mZ7rB2xY9cN4pLwT/events

Hints:
- taskID is the task's uuid; toolCallID is the ledger row's tool_call_id from listTaskSubagents, 1 to 512 characters.
- events are ordered by sequence; each is of kind text (message_id, content), tool_use (tool) or tool_result (tool_id, status, result or error).
- Read-only and capped at 5000 events, with no paging: truncated is true when the cap was hit and only the first 5000 were returned.
- Use listTaskSubagents instead to find the tool_call_id; use listTaskTurns instead to read the task's own transcript.
- Owners, admins, members and viewers of the task's organization; a billing member is refused with 403 org_role_insufficient. 404 for a task the caller cannot see or a task with no ledger row for toolCallID; 503 when the membership check is unavailable.



## OpenAPI

````yaml api-reference/openapi.json GET /tasks/{taskID}/subagents/{toolCallID}/events
openapi: 3.1.0
info:
  title: Aether API
  version: 0.1.0
servers:
  - url: https://api.runaether.dev
security:
  - bearerAuth: []
paths:
  /tasks/{taskID}/subagents/{toolCallID}/events:
    get:
      tags:
        - tasks
      summary: Read one subagent's transcript
      description: >-
        Reads one sub-agent's transcript: the text it produced and the tools it
        called, in stream order, addressed by the tool call in the task's
        transcript that spawned it.


        Use this tool when you need to:

        - Read what a sub-agent wrote and which tools it called, without reading
        the task's whole transcript

        - Find out why a sub-agent failed or what it reported back to the task's
        agent


        Examples:

        - GET /tasks/{taskID}/subagents/{toolCallID}/events

        - GET
        /tasks/6f1c2a9e-3b7d-4c55-9a2e-0d8b1f4e7c21/subagents/toolu_01HV8kQ3mZ7rB2xY9cN4pLwT/events


        Hints:

        - taskID is the task's uuid; toolCallID is the ledger row's tool_call_id
        from listTaskSubagents, 1 to 512 characters.

        - events are ordered by sequence; each is of kind text (message_id,
        content), tool_use (tool) or tool_result (tool_id, status, result or
        error).

        - Read-only and capped at 5000 events, with no paging: truncated is true
        when the cap was hit and only the first 5000 were returned.

        - Use listTaskSubagents instead to find the tool_call_id; use
        listTaskTurns instead to read the task's own transcript.

        - Owners, admins, members and viewers of the task's organization; a
        billing member is refused with 403 org_role_insufficient. 404 for a task
        the caller cannot see or a task with no ledger row for toolCallID; 503
        when the membership check is unavailable.
      operationId: listTaskSubagentEvents
      parameters:
        - in: path
          name: taskID
          required: true
          schema:
            format: uuid
            pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
            type: string
        - in: path
          name: toolCallID
          required: true
          schema:
            maxLength: 512
            minLength: 1
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                additionalProperties: false
                properties:
                  items:
                    items:
                      discriminator:
                        mapping:
                          text: '#/components/schemas/TaskSubagentTextEvent'
                          tool_result: '#/components/schemas/TaskSubagentToolResultEvent'
                          tool_use: '#/components/schemas/TaskSubagentToolUseEvent'
                        propertyName: kind
                      oneOf:
                        - $ref: '#/components/schemas/TaskSubagentTextEvent'
                        - $ref: '#/components/schemas/TaskSubagentToolUseEvent'
                        - $ref: '#/components/schemas/TaskSubagentToolResultEvent'
                    type: array
                  truncated:
                    description: The transcript reached its row cap and stops there.
                    type: boolean
                required:
                  - items
                  - truncated
                type: object
          description: OK
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TasksErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrgAuthorizationErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TasksErrorResponse'
          description: Not Found
        '410':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TasksErrorResponse'
          description: Gone
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TasksErrorResponse'
          description: Unprocessable Entity
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TasksErrorResponse'
          description: Internal Server Error
        '503':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TasksErrorResponse'
          description: Service Unavailable
components:
  schemas:
    TaskSubagentTextEvent:
      additionalProperties: false
      properties:
        content:
          minLength: 1
          type: string
        created_at:
          format: date-time
          type: string
        kind:
          enum:
            - text
          type: string
        message_id:
          minLength: 1
          type: string
        sequence:
          format: int64
          maximum: 9007199254740991
          minimum: 0
          type: integer
      required:
        - kind
        - sequence
        - created_at
        - message_id
        - content
      type: object
    TaskSubagentToolResultEvent:
      additionalProperties: false
      properties:
        created_at:
          format: date-time
          type: string
        error:
          type: string
        kind:
          enum:
            - tool_result
          type: string
        result:
          type: string
        sequence:
          format: int64
          maximum: 9007199254740991
          minimum: 0
          type: integer
        status:
          enum:
            - output-available
            - output-error
            - output-denied
            - approval-responded
          type: string
        tool_id:
          minLength: 1
          type: string
      required:
        - kind
        - sequence
        - created_at
        - tool_id
        - status
      type: object
    TaskSubagentToolUseEvent:
      additionalProperties: false
      properties:
        created_at:
          format: date-time
          type: string
        kind:
          enum:
            - tool_use
          type: string
        sequence:
          format: int64
          maximum: 9007199254740991
          minimum: 0
          type: integer
        tool:
          $ref: '#/components/schemas/TaskMessageTool'
      required:
        - kind
        - sequence
        - created_at
        - tool
      type: object
    TasksErrorResponse:
      additionalProperties: false
      properties:
        code:
          enum:
            - account_deleting
            - aether_inference_unserved
            - agent_pr_blocked
            - agent_pr_pending
            - agent_profile_changed
            - agent_starts_off
            - app_identity_missing
            - attribution_unavailable
            - bad_gateway
            - bad_request
            - caller_inactive
            - chat_archived
            - chat_settings_fixed
            - chats_not_addable
            - checkout_not_archivable
            - cli_upgrade_required
            - client_outdated
            - computer_bridge_outdated
            - computer_cli_outdated
            - computer_starts_no_agents
            - computer_starts_no_forks
            - computer_unreachable
            - conflict
            - connection_creator_only
            - connection_harness_mismatch
            - connection_not_held
            - contents_write_required
            - continuation_failed
            - continuation_unavailable
            - control_forbidden
            - creator_github_access_missing
            - credential_kind_not_admitted
            - download_unsupported
            - embeddings_unavailable
            - fix_not_requested
            - fix_requests_unrecorded
            - forbidden
            - fork_branch_delete_unsupported
            - fork_forbidden
            - gateway_timeout
            - github_claim_unverified
            - github_failed
            - github_identity_mismatch
            - github_identity_required
            - github_push_access_required
            - github_reconnect_required
            - github_ref_not_found
            - gone
            - handed_branch_protected
            - head_moved
            - html_render_nul_byte
            - html_render_too_large
            - idempotency_key_conflict
            - idempotency_key_reused
            - idle_compaction_not_pending
            - idle_compaction_skipped
            - inference_proxy_unavailable
            - insufficient_credits
            - insufficient_inference_balance
            - internal_error
            - invalid_request
            - last_queued_message
            - live_protocol_unsupported
            - main_chat_permanent
            - mcp_server_not_connected
            - merge_when_ready_requires_pr_review
            - message_not_queued
            - method_not_allowed
            - mode_forbidden
            - name_follows_session
            - no_checkout_on_computer
            - no_dispatch_target
            - no_turn_running
            - not_acceptable
            - not_found
            - not_implemented
            - onboarding_already_completed
            - onboarding_requirements_missing
            - org_id_required
            - org_role_insufficient
            - org_suspended
            - payment_required
            - pending_input_answered
            - permission_prompt_answered_in_terminal
            - permission_prompt_expired
            - permission_prompt_open
            - permission_prompt_stopped
            - pr_automation_unsupported
            - pr_review_actor_required
            - pr_review_connection_spent
            - pr_review_publish_forbidden
            - precondition_failed
            - project_archived
            - project_has_no_repository
            - project_repo_disconnected
            - project_repository_differs
            - project_required
            - pull_request_closed
            - pull_request_mirror_failed
            - pull_request_not_mirrored
            - push_file_too_large
            - push_rejected
            - push_secret_detected
            - question_answers
            - queued_stop_requires_discard
            - rate_limited
            - reasoning_effort_fixed
            - repository_administration_not_granted
            - repository_already_connected
            - repository_create_forbidden
            - repository_create_rejected
            - repository_created_not_linked
            - repository_owner_not_caller
            - request_canceled
            - request_timeout
            - request_too_large
            - review_name_follows_pull_request
            - sandbox_deleted
            - sandbox_failed
            - sandbox_needs_message
            - save_in_progress
            - save_requires_task_creator
            - service_unavailable
            - session_not_started_by_aether
            - slash_command
            - stack_cycle
            - stack_too_large
            - stack_two_parents
            - stale_execution
            - stale_or_indeterminate
            - stale_pending_input
            - stream_delivery_gap
            - stream_event_conflict
            - task_already_saved
            - task_archived
            - task_awaiting_message
            - task_awaiting_tool_response
            - task_backed_by_work_tree
            - task_bound_at_creation
            - task_branch_diverged
            - task_branch_is_default
            - task_branch_mismatch
            - task_branch_missing
            - task_connection_disconnected
            - task_creator_deleted
            - task_executing
            - task_file_too_large
            - task_fork_refused
            - task_has_no_commits
            - task_has_no_files
            - task_has_no_repository
            - task_history_has_merges
            - task_ineligible
            - task_is_child
            - task_not_accepting_messages
            - task_not_pinnable
            - task_not_started
            - task_rebase_in_progress
            - task_settings_changed
            - task_start_failed
            - task_start_pending
            - teleport_unavailable
            - terminal_chat
            - terminal_chat_continuation_refused
            - terminal_chat_run_running
            - terminal_question
            - too_many_live_connections
            - unauthenticated
            - unsigned_aether_head
            - unsigned_commit
            - unsupported_changes
            - unsupported_media_type
            - untyped_error
            - user_suspended
            - validation_failed
            - working_tree_dirty
            - workspace_git_unavailable
            - workspace_gone
            - workspace_outdated
            - workspace_rejected
          minLength: 1
          type: string
        error:
          minLength: 1
          type: string
        errors:
          items:
            $ref: '#/components/schemas/ErrorDetail'
          type: array
      required:
        - error
        - code
      type: object
    OrgAuthorizationErrorResponse:
      additionalProperties: false
      properties:
        code:
          enum:
            - org_membership_required
            - org_role_insufficient
            - org_suspended
            - account_deleting
            - agent_host_route_not_allowed
            - credential_kind_not_admitted
            - grant_scope_insufficient
          type: string
        error:
          minLength: 1
          type: string
      required:
        - error
        - code
      type: object
    TaskMessageTool:
      additionalProperties: false
      properties:
        display:
          $ref: '#/components/schemas/ToolDisplay'
        duration_ms:
          format: int64
          maximum: 9007199254740991
          minimum: 0
          type: integer
        error:
          type: string
        exit_code:
          format: int32
          maximum: 2147483647
          minimum: -2147483648
          type: integer
        id:
          minLength: 1
          type: string
        input:
          additionalProperties: true
          properties: {}
          type: object
        item_type:
          enum:
            - user_message
            - assistant_message
            - reasoning
            - plan
            - command_execution
            - file_change
            - file_read
            - code_search
            - file_list
            - mcp_tool_call
            - dynamic_tool_call
            - collab_agent_tool_call
            - web_search
            - web_fetch
            - image_view
            - task_tracking
            - subagent_invocation
            - review_entered
            - review_exited
            - context_compaction
            - error
            - unknown
          type: string
        line_changes:
          $ref: '#/components/schemas/ToolLineChanges'
        name:
          minLength: 1
          type: string
        provider:
          $ref: '#/components/schemas/AgentType'
        result:
          type: string
        status:
          enum:
            - input-streaming
            - input-available
            - output-available
            - output-error
            - output-denied
            - approval-responded
            - approval-requested
          type: string
      required:
        - id
        - name
        - input
        - status
        - display
      type: object
    ErrorDetail:
      additionalProperties: false
      properties:
        location:
          description: >-
            Where the error occurred, e.g. 'body.items[3].tags' or
            'path.thing-id'
          type: string
        message:
          description: Error message text
          type: string
        value:
          description: The value at the given location
      type: object
    ToolDisplay:
      additionalProperties: false
      properties:
        label:
          minLength: 1
          type: string
        primary:
          minLength: 1
          type: string
        secondary:
          minLength: 1
          type: string
      required:
        - label
      type: object
    ToolLineChanges:
      additionalProperties: false
      description: >-
        How many lines an edit call added and removed, as its harness reported
        them; absent when it reported none. Only a file_change call carries it.
      properties:
        added:
          format: int32
          maximum: 2147483647
          minimum: 0
          type: integer
        removed:
          format: int32
          maximum: 2147483647
          minimum: 0
          type: integer
      required:
        - added
        - removed
      type: object
    AgentType:
      description: >-
        The agent harness that runs a task, a profile or a connection:
        claude-code or claude_code is Claude Code, codex is Codex, opencode is
        OpenCode.
      enum:
        - codex
        - claude-code
        - opencode
        - claude_code
      type: string
  securitySchemes:
    bearerAuth:
      bearerFormat: JWT
      scheme: bearer
      type: http

````

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