---
title: "Keep this Mac from idle-sleeping while Connect Mobile is on"
method: POST
path: "/api/v1/mobile/keep-awake"
tags: ["mobile"]
---

# Keep this Mac from idle-sleeping while Connect Mobile is on

`POST /api/v1/mobile/keep-awake`

## Request body

- ControllersSetKeepAwakeRequest
  - `enabled` boolean, required

## Response `200`

OK

- MobileStatusResponse
  - `enabled` boolean, required
  - `endpoints` MobileEndpoint[], required
    - `host` string, required
    - `kind` string, required
    - `port` integer, required
    - `secure` boolean, required
  - `host` string, required
  - `hostId` string, required
  - `keepAwake` ControllersKeepAwakeStatus, required
    - `active` boolean, required
    - `enabled` boolean, required
    - `hasBattery` boolean, required
    - `supported` boolean, required
  - `password` string, required
  - `port` integer, required
  - `securePairing` ControllersSecurePairingStatus, required
    - `active` boolean, required
    - `available` boolean, required
    - `enabled` boolean, required
    - `host` string, required
    - `port` integer, required
    - `reason` string, required
  - `tailscaleHost` string, required
  - `tunnel` MobileTunnelStatus, required
    - `hostname` string, required
    - `lastError` string, required
    - `location` string, required
    - `ready` boolean, required
    - `running` boolean, required
    - `supported` boolean, required
  - `warning` string, required

## Other responses

- `400` — Bad Request
- `403` — Forbidden
- `500` — Internal Server Error

## Changes

- **2026-09-27** `855127cb1478` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/composiohq/apis/agent-orchestrator-http-daemon/changes/api/v1/mobile/keep-awake/post.md)

---

[API](https://skmtc.dev/composiohq/apis/agent-orchestrator-http-daemon.md) · [All operations](https://skmtc.dev/composiohq/apis/agent-orchestrator-http-daemon/llms.txt) · [OpenAPI document](https://skmtc.dev/composiohq/apis/agent-orchestrator-http-daemon/revisions/cfaec3fcda51?raw)
