# Casama AI Computers API

**Canonical:** https://apis.io/apis/casama-ai/casama-ai-computers-api/  
**Provider:** Casama AI — https://apis.io/providers/casama-ai/  
**Base URL:** http://api.casama.ai  
**Documentation:** https://docs.casama.ai/api/

Casama AI Computers API is one of 72 APIs that [Casama AI](https://apis.io/providers/casama-ai/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 1 JSON Schema definition. Tagged areas include Computers. The published artifact set on APIs.io includes an OpenAPI specification and 1 JSON Schema.

The computers API from Casama AI, for computers.

## Operations (40)

| Method | Path | Summary |
|---|---|---|
| GET | `/v1/computers` | List computers |
| POST | `/v1/computers` | Create a private computer for a bot (or the team computer if it was removed) |
| GET | `/v1/computers/{id}` | Get computer |
| PATCH | `/v1/computers/{id}` | Update computer |
| DELETE | `/v1/computers/{id}` | Delete a computer and its files, snapshots and checkpoints |
| POST | `/v1/computers/{id}/start` | Start or restore the computer |
| POST | `/v1/computers/{id}/stop` | Save the home directory to storage and stop (sleep) |
| POST | `/v1/computers/{id}/restart` | Sleep and start again with the same files |
| POST | `/v1/computers/{id}/apply-update` | Restart the computer on the newer system now (D-360): files are kept, open… |
| GET | `/v1/computers/{id}/files/list` | List a directory (default ~/workspace) |
| GET | `/v1/computers/{id}/files` | Download a file |
| PUT | `/v1/computers/{id}/files` | Upload a file (request body is the raw contents, up to 100 MB) |
| DELETE | `/v1/computers/{id}/files` | Delete computer file |
| GET | `/v1/computers/{id}/files/pdf-preview` | A document (Word, Excel, PowerPoint, OpenDocument, RTF) as a PDF, for previewing |
| GET | `/v1/computers/{id}/files/preview` | Cached native preview artifact (PDF, WebP, sheet JSON, slide notes, archive… |
| GET | `/v1/computers/{id}/saved-files` | Download a sleeping computer's saved files as a .tar.gz |
| GET | `/v1/computers/{id}/files/thumbnail` | A small JPEG or PNG of a video's first frame, an image or a PDF's first page |
| GET | `/v1/computers/{id}/checkpoints` | List checkpoints |
| POST | `/v1/computers/{id}/checkpoints` | Create checkpoint |
| POST | `/v1/computers/{id}/checkpoints/{cid}/restore` | Undo to a checkpoint (replaces the home directory) |
| GET | `/v1/computers/{id}/screenshot` | PNG of the desktop, or of the bot's browser page on headless computers |
| GET | `/v1/computers/{id}/vitals` | CPU, memory and disk right now. Never wakes the computer or counts as activity |
| GET | `/v1/computers/{id}/storage` | What takes up the home folder. Never wakes the computer |
| POST | `/v1/computers/{id}/storage/clean` | Free up space: removes caches and temporary files (never files in ~/workspace) |
| GET | `/v1/computers/{id}/processes` | Programs running now, busiest first. Never wakes the computer |
| POST | `/v1/computers/{id}/processes/{pid}/stop` | Stop a program (asks it to quit, then forces it after 3 seconds) |
| POST | `/v1/computers/{id}/reset` | Reset the computer in the background: a restore point, then a fresh system… |
| GET | `/v1/computers/{id}/usage` | Time on and its cost this month, by day |
| GET | `/v1/computers/{id}/history` | What happened to the computer, newest first |
| GET | `/v1/computers/{id}/bots` | The bots that use this computer |
| GET | `/v1/computers/{id}/files/archive` | Download every file in ~/workspace as one .zip (up to 1 GB) |
| GET | `/v1/computers/{id}/terminal` | WebSocket terminal. Binary frames carry terminal bytes both ways. |
| POST | `/v1/computers/{id}/stream-session` | Get a 5-minute live-view session (signaling URL, token, TURN credentials) |
| GET | `/v1/computers/{id}/stream` | WebSocket live-view signaling (Neko protocol). |
| GET | `/v1/computers/{id}/lease` | Who controls the screen (the bot unless a person took over) |
| POST | `/v1/computers/{id}/lease` | Take control (or renew it). |
| DELETE | `/v1/computers/{id}/lease` | Hand control back to the bot, optionally with a note |
| GET | `/v1/takeovers` | Open requests from bots for a person to take over a screen |
| POST | `/v1/takeovers/{id}/dismiss` | Decline a takeover request; the bot continues without help |
| POST | `/v1/takeovers/{id}/login` | Answer a takeover with a login instead: saved to Vault for that bot and site… |

## Machine-readable artifacts (2)

- **OpenAPI** — https://artifacts.apis.io/casama-ai/openapi/casama-ai-computers-api-openapi.yml
- **JSONSchema** — https://artifacts.apis.io/casama-ai/json-schema/casama-ai-computer-schema.json

## Other Casama AI APIs (12)

- [Casama AI A2a API](https://apis.io/apis/casama-ai/casama-ai-a2a-api/)
- [Casama AI About You API](https://apis.io/apis/casama-ai/casama-ai-about-you-api/)
- [Casama AI Account API](https://apis.io/apis/casama-ai/casama-ai-account-api/)
- [Casama AI Action Rules API](https://apis.io/apis/casama-ai/casama-ai-action-rules-api/)
- [Casama AI Admin API](https://apis.io/apis/casama-ai/casama-ai-admin-api/)
- [Casama AI Admin Discounts API](https://apis.io/apis/casama-ai/casama-ai-admin-discounts-api/)
- [Casama AI Appearance API](https://apis.io/apis/casama-ai/casama-ai-appearance-api/)
- [Casama AI Approvals API](https://apis.io/apis/casama-ai/casama-ai-approvals-api/)
- [Casama AI Attribution API](https://apis.io/apis/casama-ai/casama-ai-attribution-api/)
- [Casama AI Auth API](https://apis.io/apis/casama-ai/casama-ai-auth-api/)
- [Casama AI Billing API](https://apis.io/apis/casama-ai/casama-ai-billing-api/)
- [Casama AI Bots API](https://apis.io/apis/casama-ai/casama-ai-bots-api/)

## Tags

Computers

## Use this from code or an agent

- **REST, no key:** `GET https://apis.io/api/v1/providers/casama-ai` returns the provider's full profile as JSON.
- **MCP:** `https://apis.io/mcp` (Streamable HTTP) — search the catalog, read any provider, compare providers, check agent readiness.
- **Free API key** for catalog-wide search, ratings and comparisons: sign in with GitHub, Google or LinkedIn at https://apis.io/developer/account/ (plans: https://apis.io/developer/plans/).

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/casama-ai/casama-ai-computers-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/casama-ai/.
