Platform.sh Subscriptions API

Each project is represented by a subscription that holds the plan information. These endpoints can be used to go to a larger plan, add more storage, or subscribe to optional features.

GitHub OpenAPI
Business capability
Subscription Lifecycle Management BC-4240

Operations 14

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /subscriptions/{subscriptionId}/can-update Check if I can update a subscription · Checks if the user is able to update a project #
Ask an LLM
“Can I upgrade a subscription to more environments or storage?”
“Is it possible to change a subscription's plan type?”
Tell an agent
Check whether subscription {subscriptionId} can be updated to {environments} environments and {storage} MiB storage.
See if subscription {subscriptionId} can be changed to plan {plan}.
GET /organizations/{organization_id}/subscriptions/estimate Estimate the price of a new subscription · Estimate the price of a new subscription #
Ask an LLM
“How much would a new subscription cost for my organization?”
“Can I get a price estimate before creating a subscription?”
Tell an agent
Estimate the price of a new {plan} subscription for organization {organization_id} with {environments} environments, {storage} MiB storage and {user_licenses} user licenses.
Give me a cost estimate for a new subscription in {format} format.
GET /organizations/{organization_id}/subscriptions/can-create Check if I can create a new subscription · Checks if the user is able to create a new project #
Ask an LLM
“Can I create a new subscription for my organization?”
“What does it mean when I can't create a subscription?”
Tell an agent
Check whether I am allowed to create a new subscription in organization {organization_id}.
Confirm I can start a new project for {organization_id}.
GET /organizations/{organization_id}/subscriptions/{subscription_id}/estimate Estimate a subscription's price · Estimate the price of a subscription #
Ask an LLM
“What will my subscription cost before I commit?”
“Can I estimate a plan's price for an organization?”
Tell an agent
Estimate subscription {subscription_id} in {organization_id} on plan {plan}.
Price subscription {subscription_id} for {organization_id} at plan {plan} with {environments} environments.
GET /organizations/{organization_id}/subscriptions/{subscription_id}/current_usage Get current usage for a subscription · Get current usage for a subscription #
Ask an LLM
“How much of my subscription's resources am I using?”
“What does the current usage look like for a subscription?”
Tell an agent
Show current usage for subscription {subscription_id} in organization {organization_id}.
Get usage for subscription {subscription_id} grouped by {usage_groups}.
GET /organizations/{organization_id}/subscriptions/{subscription_id}/addons List addons for a subscription · List addons for a subscription #
Ask an LLM
“What addons are attached to my subscription?”
“Which add-on services are included on a subscription?”
Tell an agent
List addons for subscription {subscription_id} in organization {organization_id}.
Show the add-on services on subscription {subscription_id}.
GET /organizations/{organization_id}/alerts/subscriptions/{subscription_id}/usage Get usage alerts for a subscription · Get usage alerts #
Ask an LLM
“What usage alerts are set on my subscription?”
“Which subscription usage thresholds are triggering alerts?”
Tell an agent
Get usage alerts for subscription {subscription_id} in organization {organization_id}.
Show the current usage alerts on subscription {subscription_id}.
PATCH /organizations/{organization_id}/alerts/subscriptions/{subscription_id}/usage Update usage alerts on a subscription · Update usage alerts #
Ask an LLM
“Can I change the usage alert thresholds on a subscription?”
“How do I adjust the subscription usage alerts?”
Tell an agent
Update usage alerts on subscription {subscription_id} in organization {organization_id} to {alerts}.
Change the subscription usage alerts for {subscription_id} to {alerts}.
GET /organizations/{organization_id}/subscriptions List subscriptions in an organization · List subscriptions #
Ask an LLM
“What subscriptions does my organization have?”
“Can I filter an organization's subscriptions by status or region?”
Tell an agent
List subscriptions in organization {organization_id}.
Show {filter} subscriptions in organization {organization_id}.
POST /organizations/{organization_id}/subscriptions Create a subscription for an organization · Create subscription #
Ask an LLM
“How do I create a new subscription for my organization?”
“Can I choose the region and default branch when creating a subscription?”
Tell an agent
Create a {plan} subscription in organization {organization_id} on region {project_region}.
Create a subscription for organization {organization_id} titled {project_title} on {project_region}.
GET /organizations/{organization_id}/subscriptions/{subscription_id} Get a subscription · Get subscription #
Ask an LLM
“What plan and status does a subscription have?”
“Can I look up one subscription by ID?”
Tell an agent
Get subscription {subscription_id} in organization {organization_id}.
Show the details of subscription {subscription_id}.
PATCH /organizations/{organization_id}/subscriptions/{subscription_id} Update a subscription · Update subscription #
Ask an LLM
“Can I change the plan or number of environments on an existing subscription?”
“Is it possible to add backups or observability to a subscription?”
Tell an agent
Change subscription {subscription_id} in organization {organization_id} to plan {plan}.
Set subscription {subscription_id} to {environments} environments and {storage} MiB storage.
DELETE /organizations/{organization_id}/subscriptions/{subscription_id} Delete a subscription · Delete subscription #
Ask an LLM
“Can I delete a subscription?”
“What happens when a subscription is deleted?”
Tell an agent destructive · confirm first
Delete subscription {subscription_id} from organization {organization_id}.
Remove subscription {subscription_id}.
POST /subscriptions/{subscriptionId}/can-afford Check if I can afford requested resources · Checks if the user can afford the requested resources #
Ask an LLM
“Can I afford the resources I'm requesting for a subscription?”
“Is a given set of resources within my budget?”
Tell an agent
Check whether I can afford resources {resources} on subscription {subscriptionId}.
See if subscription {subscriptionId} can pay for {resources}.

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/platform.sh:platform.sh-subscriptions-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

platform.sh-subscriptions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Platform.sh Subscriptions API
  version: '1.0'
  contact:
    name: Support
    url: https://upsun.com/contact-us/
  termsOfService: https://upsun.com/trust-center/legal/tos/
  x-logo:
    url: https://docs.upsun.com/images/upsun-api.svg
    href: https://upsun.com/#section/Introduction
    altText: Upsun logo
  description: 'Operations tagged Subscriptions across 2 of this provider''s published API definitions: platform.sh-developer-portal-openapi-original.json, platform.sh-openapi-original.json. Each path carries the servers of the definition it was published in.'
servers:
- url: '{schemes}://api.upsun.com'
  description: The Upsun.com API gateway
  variables:
    schemes:
      default: https
tags:


# --- truncated at 32 KB (45 KB total) ---
# Full source: https://artifacts.apis.io/platform.sh/openapi/platform.sh-subscriptions-api-openapi.yml