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

# Wake device

> Wake a device (202): re-provision/attach the sprite and mark `active`. Terminated → 410; the
rolling-duration quota is enforced here too.



## OpenAPI

````yaml /schemas/operator.json post /v1/devices/{id}/wake
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/{id}/wake:
    post:
      tags:
        - Endpoints
      summary: Wake device
      description: >-
        Wake a device (202): re-provision/attach the sprite and mark `active`.
        Terminated → 410; the

        rolling-duration quota is enforced here too.
      operationId: wake_device
      parameters:
        - name: id
          in: path
          description: Device id (`dev_<uuid>`)
          required: true
          schema:
            type: string
      responses:
        '202':
          description: The active device
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Device'
        '401':
          description: invalid_api_key
        '403':
          description: insufficient_scope or product_not_entitled
        '404':
          description: device_not_found
        '410':
          description: device_terminated
        '429':
          description: quota_exceeded
        '502':
          description: provider_error
        '503':
          description: browser_unavailable
      security:
        - bearer_operator: []
components:
  schemas:
    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

````