Upsun Alerts API
The Alerts API from Upsun — 1 operation(s) for alerts.
The Alerts API from Upsun — 1 operation(s) for alerts.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/upsun-alerts-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Upsun.com Rest Alerts API
version: '1.0'
contact:
name: Support
url: https://upsun.com/contact-us/
termsOfService: https://upsun.com/trust-center/legal/tos/
description: '# Introduction
Upsun, formerly Platform.sh, is a container-based Platform-as-a-Service.'
x-logo:
url: https://docs.upsun.com/images/upsun-api.svg
href: https://upsun.com/#section/Introduction
altText: Upsun logo
servers:
- url: '{schemes}://api.upsun.com'
description: The Upsun.com API gateway
variables:
schemes:
default: https
security:
- OAuth2: []
tags:
- name: Alerts
paths:
/alerts/subscriptions/{subscriptionId}/usage:
get:
tags:
- Alerts
summary: Get usage alerts for a subscription
operationId: get-usage-alerts
parameters:
- $ref: '#/components/parameters/subscription_id'
responses:
'200':
description: The list of current and available alerts for the subscription.
content:
application/json:
schema:
properties:
available:
description: The list of available usage alerts.
type: array
items:
$ref: '#/components/schemas/Alert'
current:
description: The list of the current usage alerts.
type: array
items:
$ref: '#/components/schemas/Alert'
type: object
patch:
tags:
- Alerts
summary: Update usage alerts
operationId: update-usage-alerts
parameters:
- $ref: '#/components/parameters/subscription_id'
requestBody:
content:
application/json:
schema:
properties:
alerts:
description: The list of usage alerts to create or update.
type: array
items:
$ref: '#/components/schemas/Alert'
type: object
responses:
'200':
description: The list of current and available alerts for the subscription.
content:
application/json:
schema:
properties:
available:
description: The list of available usage alerts.
type: array
items:
$ref: '#/components/schemas/Alert'
current:
description: The list of the current usage alerts.
type: array
items:
$ref: '#/components/schemas/Alert'
type: object
components:
schemas:
Alert:
description: The alert object.
properties:
id:
description: The identification of the alert type.
type: string
active:
description: Whether the alert is currently active.
type: boolean
alerts_sent:
description: The amount of alerts of this type that have been sent so far.
type: integer
last_alert_at:
description: The time the last alert has been sent.
type: string
format: date-time
updated_at:
description: The time the alert has last been updated.
type: string
format: date-time
config:
description: The alert type specific configuration.
type: object
type: object
parameters:
subscription_id:
name: subscriptionId
in: path
description: The ID of the subscription
required: true
schema:
type: string
securitySchemes:
OAuth2:
type: oauth2
flows:
authorizationCode:
tokenUrl: https://auth.api.platform.sh/oauth2/token
refreshUrl: https://auth.api.platform.sh/oauth2/token
scopes: {}
authorizationUrl: https://auth.api.platform.sh/oauth2/authorize
description: ''
OAuth2Admin:
type: oauth2
flows:
clientCredentials:
tokenUrl: https://auth.api.platform.sh/oauth2/token
refreshUrl: ''
scopes:
admin: administrative operations
description: ''
x-tagGroups:
- name: Organization Administration
tags:
- Organizations
- Organization Members
- Organization Invitations
- Organization Projects
- Add-ons
- name: Project Administration
tags:
- Project
- Domain Management
- Cert Management
- Certificate Provisioner
- Project Variables
- Repository
- Third-Party Integrations
- Support
- name: Environments
tags:
- Environment
- Environment Backups
- Environment Type
- Environment Variables
- Routing
- Source Operations
- Runtime Operations
- Deployment
- Autoscaling
- name: User Activity
tags:
- Project Activity
- Environment Activity
- name: Project Access
tags:
- Project Invitations
- Teams
- Team Access
- User Access
- name: Account Management
tags:
- API Tokens
- Connections
- MFA
- Users
- User Profiles
- SSH Keys
- Plans
- name: Billing
tags:
- Organization Management
- Subscriptions
- Orders
- Invoices
- Discounts
- Vouchers
- Records
- Profiles
- name: Global Info
tags:
- Project Discovery
- References
- Regions
- name: Internal APIs
tags:
- Project Settings
- Environment Settings
- Deployment Target
- System Information
- Container Profile