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

# List the provider-native subagents a task owns

> Claude Code Task agents, background shells and workflows, and Codex collab agents the task's agent spawned. These are not Aether tasks: they have no workspace, branch, or pull request of their own.



## OpenAPI

````yaml api-reference/openapi.v1.json GET /tasks/{taskID}/subagents
openapi: 3.1.0
info:
  title: Aether Public API
  version: 0.1.0
  description: >-
    The versioned, public Aether REST API. Authenticate with an `aether_`
    platform API key or a session token.
servers:
  - url: https://api.runaether.dev/v1
security:
  - bearerAuth: []
paths:
  /tasks/{taskID}/subagents:
    get:
      tags:
        - tasks
      summary: List the provider-native subagents a task owns
      description: >-
        Claude Code Task agents, background shells and workflows, and Codex
        collab agents the task's agent spawned. These are not Aether tasks: they
        have no workspace, branch, or pull request of their own.
      operationId: listTaskSubagents
      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
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TaskSubagentsResponse'
          description: OK
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrgAuthorizationErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unprocessable Entity
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
        '503':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Service Unavailable
components:
  schemas:
    TaskSubagentsResponse:
      additionalProperties: false
      properties:
        subagents:
          items:
            $ref: '#/components/schemas/TaskSubagent'
          type: array
      required:
        - subagents
      type: object
    ErrorResponse:
      additionalProperties: false
      properties:
        code:
          type: string
        error:
          minLength: 1
          type: string
        errors:
          items:
            $ref: '#/components/schemas/ErrorDetail'
          type: array
      required:
        - error
      type: object
    OrgAuthorizationErrorResponse:
      additionalProperties: false
      properties:
        code:
          enum:
            - org_membership_required
            - org_role_insufficient
            - org_suspended
            - account_deleting
          type: string
        error:
          minLength: 1
          type: string
      required:
        - error
        - code
      type: object
    TaskSubagent:
      additionalProperties: false
      properties:
        ambient:
          type: boolean
        conversation_turn_id:
          format: uuid
          type: string
        description:
          minLength: 1
          type: string
        ended_at:
          format: date-time
          type: string
        error:
          minLength: 1
          type: string
        is_backgrounded:
          type: boolean
        native_task_id:
          minLength: 1
          type: string
        output_file:
          minLength: 1
          type: string
        provider:
          enum:
            - codex
            - claude-code
            - opencode
            - cursor
          type: string
        spawn_depth:
          format: int64
          minimum: 1
          type: integer
        started_at:
          format: date-time
          type: string
        status:
          enum:
            - pending
            - running
            - paused
            - completed
            - failed
            - killed
            - stopped
            - stream_closed
          type: string
        subagent_type:
          minLength: 1
          type: string
        summary:
          minLength: 1
          type: string
        task_type:
          enum:
            - local_agent
            - local_bash
            - local_workflow
            - mcp_task
            - remote_agent
            - in_process_teammate
          type: string
        tool_call_id:
          minLength: 1
          type: string
        updated_at:
          format: date-time
          type: string
        usage:
          $ref: '#/components/schemas/TaskSubagentUsage'
      required:
        - native_task_id
        - provider
        - tool_call_id
        - conversation_turn_id
        - task_type
        - description
        - is_backgrounded
        - ambient
        - status
        - started_at
        - updated_at
      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
    TaskSubagentUsage:
      additionalProperties: false
      properties:
        duration_ms:
          format: int64
          minimum: 0
          type: integer
        tool_uses:
          format: int64
          minimum: 0
          type: integer
        total_tokens:
          format: int64
          minimum: 0
          type: integer
      required:
        - total_tokens
        - tool_uses
        - duration_ms
      type: object
  securitySchemes:
    bearerAuth:
      bearerFormat: JWT
      scheme: bearer
      type: http

````