agents

Resize Agent

Change an agent's RAM / SSD allocation or always-on state.

RAM and disk apply on the agent's next restart (snapshots pin the old memory size; no live resize). Always-on applies immediately: the idle monitor reads idle_ttl_seconds from the DB each sweep.

Seats accounts (plan 27 v2): paid plans may resize freely, add-ons accrue per day from tonight's accrual; the free tier cannot exceed the base allocation. Wallet (grandfathered) accounts resize freely and are never billed for it.

post/api/agents/{agent_id}/resize

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/agents/{agent_id}/resize
  • Auth
    HTTP bearer

Path parameters

agent_idstring required

Request body

mem_mbinteger nullable
disk_gbinteger nullable
always_onboolean nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 2 revisions of this API.