Renew prepaid term
Renews the instance’s running prepaid term, paid from credit now, for the length you choose (term_months: one of subscription.renewal_options; the current length when left out) at the term’s rate with that length’s discount. The renewal starts when the current term ends and runs for the chosen length. Allowed in the term’s last 7 days (from subscription.renewable_from), by workspace owners and admins; earlier it is refused with 409 NOT_RENEWABLE. With term_months, send expected_total_price (that option’s total_price): a different total is refused with 409 and details.reason price_changed, with the current total_price_usd. Renewing 3 months or more, or taking the workspace’s prepaid terms over $1,000, needs a verified identity (403). A length not offered for this machine is refused with 409 and details.reason term_not_offered. One renewal per term: a repeat returns the renewal already bought; one for another length is refused with 409 and details.reason already_renewed, and nothing more is charged. Refused (403) for an agent sign-in (MCP or CLI agent token), with a message the agent can relay: a person renews in the dashboard. API keys can renew. Without a renewal the instance is terminated when its term ends.
Authorizations
Use a Runcrate API key with the rc_live_* prefix as the bearer token. Create one at https://www.runcrate.ai/dashboard/api-keys.
Path Parameters
Body
Response
The renewal.