> ## 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 cloud devices a task is currently holding

> The task's live device sessions, newest first, with the view-only stream URL for each ready device. Released sessions are not listed. Build sandboxes carry no stream.



## OpenAPI

````yaml api-reference/openapi.v1.json GET /tasks/{taskID}/device-sessions
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}/device-sessions:
    get:
      tags:
        - tasks
      summary: List the cloud devices a task is currently holding
      description: >-
        The task's live device sessions, newest first, with the view-only stream
        URL for each ready device. Released sessions are not listed. Build
        sandboxes carry no stream.
      operationId: getTaskDeviceSessions
      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/TaskDeviceSessionsResponse'
          description: OK
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                anyOf:
                  - $ref: '#/components/schemas/ErrorResponse'
                  - $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:
    TaskDeviceSessionsResponse:
      additionalProperties: false
      properties:
        sessions:
          items:
            $ref: '#/components/schemas/TaskDeviceSession'
          type: array
      required:
        - sessions
      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
    TaskDeviceSession:
      additionalProperties: false
      properties:
        created_at:
          format: date-time
          type: string
        hard_timeout_seconds:
          format: int64
          minimum: 1
          type: integer
        id:
          format: uuid
          type: string
        inactivity_timeout_seconds:
          format: int64
          minimum: 1
          type: integer
        kind:
          enum:
            - android
            - ios
            - xcode
            - gradle
          type: string
        ready_at:
          format: date-time
          type: string
        session_mode:
          enum:
            - dev_loop
            - standalone
          type: string
        signed_stream_url:
          format: uri
          type: string
        status:
          enum:
            - creating
            - ready
          type: string
      required:
        - id
        - kind
        - session_mode
        - status
        - inactivity_timeout_seconds
        - hard_timeout_seconds
        - created_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
  securitySchemes:
    bearerAuth:
      bearerFormat: JWT
      scheme: bearer
      type: http

````