focus-mode

Create a team-shared focus mode (team admin only)

post/focus-mode/shared

Request

  • Base URL
    https://api.focusbear.io (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Request body

allowed_urlsstring[]
allowed_appsstring[]
is_ai_enabledboolean

Enable or disable AI-powered URL and app evaluation for this focus mode

team_idstring uuid required
namestring required
idstring uuid
metadataobject

Older macOS builds copy every top-level key they receive back into metadata on save, so once a newer client stores categories or app_identities they would echo a (possibly stale) copy here. The columns are the only home for those; drop the copies so no client can persist them.

Example request

{
  "app_identities": [
    {
      "mac_bundle_id": "com.valvesoftware.steam",
      "windows_identity": {
        "exe": "steam.exe",
        "exes": [
          "OUTLOOK.EXE",
          "olk.exe"
        ],
        "publisher": "Valve Corp."
      }
    }
  ]
}

Response

object required

Changes

No recorded changes to this operation across all 1 revision of this API.