Casama AI · Schema

LocalDevice

Artificial IntelligenceAgentsOpen SourceBotsAutomation

Properties

Name Type Description
id string
org_id string
user_id string
computer_id stringnull
name string
platform string "chrome": a browser-only device (Casama for Chrome, D-323): no computer, browser tools only. "app": the browser inside the Casama app on a phone or tablet; listed only with all_platforms=true, because
system stringnull For platform "app": which system the device runs
os_version stringnull What the desktop app reported when it last connected, e.g. "macOS 26.2"
capabilities object
allowed_roots array
allowed_bot_ids array
all_bots boolean In-app browser: every bot the person can chat with may use it; false limits it to allowed_bot_ids
browser_mode string In-app browser: "ask" (choice card when it helps), "computer" (always the bot's computer), "device" (prefer this device for sign-ins and blocked sites), "always" (every page in this device's browser w
allowed_sites array Browser: sites bots may act on without asking (D-323 C6)
blocked_sites array Browser: sites bots may never act on
never_ask_sites array In-app browser: sites remembered as the bot's computer (never show the choice card)
allowed_kinds array Browser: off-by-default kinds of site switched back on; they still ask
allowed_coding_agents array Coding agents beyond the built-in five that the owner allowed on this computer (D-370)
enabled boolean
online boolean
last_seen_at stringnull
created_at string
View JSON Schema on GitHub

JSON Schema

casama-ai-local-device-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/casama-ai/json-schema/casama-ai-local-device-schema.json",
  "title": "LocalDevice",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/casama-ai-openapi.json#/components/schemas/LocalDevice",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "org_id": {
      "type": "string",
      "format": "uuid"
    },
    "user_id": {
      "type": "string",
      "format": "uuid"
    },
    "computer_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "name": {
      "type": "string"
    },
    "platform": {
      "type": "string",
      "enum": [
        "macos",
        "windows",
        "linux",
        "chrome",
        "app"
      ],
      "description": "\"chrome\": a browser-only device (Casama for Chrome, D-323): no computer, browser tools only. \"app\": the browser inside the Casama app on a phone or tablet; listed only with all_platforms=true, because older apps read this strictly"
    },
    "system": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "ios",
        "android",
        "macos",
        "linux",
        "windows",
        null
      ],
      "description": "For platform \"app\": which system the device runs"
    },
    "os_version": {
      "type": [
        "string",
        "null"
      ],
      "description": "What the desktop app reported when it last connected, e.g. \"macOS 26.2\""
    },
    "capabilities": {
      "$ref": "#/$defs/LocalCapabilities"
    },
    "allowed_roots": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "allowed_bot_ids": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "uuid"
      }
    },
    "all_bots": {
      "type": "boolean",
      "description": "In-app browser: every bot the person can chat with may use it; false limits it to allowed_bot_ids"
    },
    "browser_mode": {
      "type": "string",
      "enum": [
        "ask",
        "computer",
        "device",
        "always"
      ],
      "description": "In-app browser: \"ask\" (choice card when it helps), \"computer\" (always the bot's computer), \"device\" (prefer this device for sign-ins and blocked sites), \"always\" (every page in this device's browser while the person has the chat open there)"
    },
    "allowed_sites": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Browser: sites bots may act on without asking (D-323 C6)"
    },
    "blocked_sites": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Browser: sites bots may never act on"
    },
    "never_ask_sites": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "In-app browser: sites remembered as the bot's computer (never show the choice card)"
    },
    "allowed_kinds": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/SiteKind"
      },
      "description": "Browser: off-by-default kinds of site switched back on; they still ask"
    },
    "allowed_coding_agents": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Coding agents beyond the built-in five that the owner allowed on this computer (D-370)"
    },
    "enabled": {
      "type": "boolean"
    },
    "online": {
      "type": "boolean"
    },
    "last_seen_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "id",
    "org_id",
    "user_id",
    "computer_id",
    "name",
    "platform",
    "capabilities",
    "allowed_roots",
    "allowed_bot_ids",
    "enabled",
    "online",
    "last_seen_at",
    "created_at"
  ],
  "$defs": {
    "LocalCapabilities": {
      "type": "object",
      "properties": {
        "shell": {
          "type": "boolean"
        },
        "files": {
          "type": "boolean"
        },
        "browser": {
          "type": "boolean"
        },
        "desktop": {
          "type": "boolean"
        },
        "mcp": {
          "type": "boolean"
        },
        "messages": {
          "type": "boolean"
        }
      }
    },
    "SiteKind": {
      "type": "string",
      "enum": [
        "banking",
        "health",
        "passwords",
        "government"
      ]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/casama-ai-local-device"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.