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

# List devices

> List the caller org's devices, newest first, with keyset pagination and optional status/Space
filters. An org-wide key may omit `space_id`; a Space-scoped key MUST name a Space it holds.



## OpenAPI

````yaml /schemas/operator.json get /v1/devices
openapi: 3.1.0
info:
  title: Omegas Operator API
  version: 0.1.0
  description: >-
    The public /v1 machine surface: cloud browser devices, tasks, live-view
    sessions, escalations, usage, webhook endpoints, and the audit trail.
    Generated from the same OpenAPI document the Rust API is checked against.
servers:
  - url: https://api.omegas.dev
    description: Production
security: []
paths:
  /v1/devices:
    get:
      tags:
        - Endpoints
      summary: List devices
      description: >-
        List the caller org's devices, newest first, with keyset pagination and
        optional status/Space

        filters. An org-wide key may omit `space_id`; a Space-scoped key MUST
        name a Space it holds.
      operationId: list_devices
      parameters:
        - name: status
          in: query
          description: >-
            Filter to one lifecycle status
            (`creating|active|sleeping|waking|terminated|error`).
          required: false
          schema:
            type:
              - string
              - 'null'
        - name: space_id
          in: query
          description: >-
            Filter to one Space (raw uuid). Required when the API key is
            Space-scoped.
          required: false
          schema:
            type:
              - string
              - 'null'
        - name: cursor
          in: query
          description: Opaque cursor from a previous page's `next_cursor`.
          required: false
          schema:
            type:
              - string
              - 'null'
        - name: limit
          in: query
          description: Page size (default 20, max 100).
          required: false
          schema:
            type:
              - integer
              - 'null'
            format: int64
      responses:
        '200':
          description: A page of devices
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeviceListResponse'
        '400':
          description: invalid status filter or cursor
        '401':
          description: invalid_api_key
        '403':
          description: insufficient_scope or product_not_entitled
        '429':
          description: rate_limited
      security:
        - bearer_operator: []
components:
  schemas:
    DeviceListResponse:
      type: object
      description: >-
        A page of devices with the cursor for the next page (`null` on the last
        page).
      required:
        - data
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/Device'
        next_cursor:
          type:
            - string
            - 'null'
    Device:
      type: object
      description: >-
        A device as returned on the `/v1` surface. `id`/`current_task_id` carry
        the `dev_`/`task_` prefixes

        (the bare uuids never leave the DB); `space_id` is a raw uuid (Spaces
        are not an Operator concept).
      required:
        - id
        - object
        - name
        - status
        - region
        - space_id
        - created_at
      properties:
        created_at:
          type: string
        current_task_id:
          type:
            - string
            - 'null'
          description: >-
            `task_<uuid>` of the task currently holding the device, or `null`
            when idle.
        id:
          type: string
          description: '`dev_<uuid>`.'
        last_active_at:
          type:
            - string
            - 'null'
        name:
          type: string
        object:
          type: string
          description: Discriminator for polymorphic SDK decoders. Always `"device"`.
        region:
          type: string
        space_id:
          type: string
        status:
          type: string
  securitySchemes:
    bearer_operator:
      type: http
      scheme: bearer
      bearerFormat: Opaque

````