---
title: "Get Plan"
method: GET
path: "/api/computers/plan"
tags: ["computers-dashboard"]
---

# Get Plan

`GET /api/computers/plan`

## Request

- Base URL: `https://api.maritime.sh` (the document declares no server; this is the origin it was published from)
- URL: `https://api.maritime.sh/api/computers/plan`
- Auth: HTTP bearer

What the account's one plan allows, and how much of it computers use.

Plan 37 deleted the checkout, portal, cancel and resume routes that used
to sit here. They sold a second subscription for the same machine, so an
account could hold two. A plan is bought once, on the Billing page, and
``billing_url`` is where this page sends anyone who needs to change it.

## Response `200`

Successful Response

- PlanStatusOut: What the account's one plan allows, as the Computers pages read it. Plan 37 deleted the Computers plan and its catalog. There is no plan key here to choose and no invocation allowance to spend: a computer is one machine on the account's seat plan, so this reports the seat plan by name and the machines it covers. Buying and changing a plan happens once, on the Billing page, which is why the checkout, portal, cancel and resume routes that used to sit beside this one are gone. ``machines`` counts every machine the tenant holds, agents included, because they share the allowance.
  - `seatPlan` string, nullable
  - `seatPlanStatus` string, nullable
  - `billingModel` string
  - `usagePlan` string, nullable
  - `usageStatus` string, nullable
  - `machines` integer
  - `computers` integer
  - `maxMachines` integer, nullable
  - `maxAwakeMachines` integer
  - `billingUrl` string
  - `mcpUrl` string
  - `mcp` McpStatusOut: Whether a model has actually reached Computers, for the dashboard. Derived from the account's session rows: ``last_call_at`` is the newest ``last_action_at``, ``last_client`` the ``client`` hint of that session, ``open_sessions`` the count with ``ended_at IS NULL``, and ``total_sessions`` the lifetime count. ``connected`` is ``last_call_at is not None``: the key has been used at least once.
    - `connected` boolean
    - `lastCallAt` string, date-time, nullable
    - `lastClient` string, nullable
    - `openSessions` integer
    - `totalSessions` integer
  - `linuxAvailable` boolean
  - `windowsAvailable` boolean
  - `androidAvailable` boolean
  - `androidArmAvailable` boolean

---

[API](https://skmtc.dev/maritime/apis/maritime-api.md) - [All operations](https://skmtc.dev/maritime/apis/maritime-api/llms.txt) - [OpenAPI document](https://skmtc.dev/maritime/apis/maritime-api/revisions/acd712090ad6?raw)
