Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent
with a free APIs.io key —
sign in with
GitHub,
Google or
LinkedIn.
No form to fill in; signing in shares your email address with us (Privacy).
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.
openapi: 3.2.0
info:
title: ZopNight Platform Notifications API
version: 1.1.0
summary: Cloud cost, inventory and deployment operations across AWS, GCP, Azure and Kubernetes.
description: 'REST API for ZopNight: cloud resources, costs, schedules, recommendations,
budgets, deployments, teams and audit logs. Authentication is bearer-token: a JWT from `POST /auth/login`, or a Personal
Access Token minted self-serve from Developer Settings. Every operation
requires one except the `/auth/*` endpoints that issue them. SCOPE OF THIS DOCUMENT. It is generated from the published endpoint index,
which records each operation''s method, path and description. It is therefore
a complete and accurate inventory of the API surface, but it does NOT carry
request bodies, response schemas or query parameters, because those are not
published. Read operations are fully callable from this document; write
operations are addressable but their request bodies are undocumented here. Consult the linked documentation for payload shapes. RATE LIMITS. 100 requests per minute per organization, enforced at the
gateway in a fixed window that resets on the clock minute. All org-scoped
endpoints share one bucket; there are no per-endpoint limits. The `/auth/*`
endpoints that issue credentials are exempt. Exceeding the limit returns 429
with `{"error": "rate limit exceeded"}`. No `Retry-After` and no `X-RateLimit-*`
headers are sent, so a client cannot read its remaining budget or the reset
time from a response: back off exponentially instead. PAGINATION. Where it is documented, list endpoints take `page` (1-based) and
a page-size parameter — spelled `limit` on most, `size` on
/recommendations/resources and /smart-tags. Read the parameter each operation
declares rather than assuming; an unrecognised one is ignored, not rejected,
so guessing returns page 1 forever. Pagination is
page/limit; there is no cursor. Two response envelopes are in use and each
operation declares which: `{"data":{"items":[…],"total":…}}` for /audit-logs
and /state-history, and a bare `{"data":[…]}` for /resources, which you page
until a short page comes back. An operation that declares no page parameter has
no documented pagination — an absence of documentation, not a guarantee that it
returns everything. LONG-RUNNING WORK. Some writes answer 202 with a job identifier instead of a
finished result; poll the status endpoint the response description names until
it reports a terminal state. No `Location` header is sent — follow the
documented poll URL. ACTING IN BULK. A few endpoints take many items in one request rather than
making you loop: `/actions/bulk` applies one action to a whole resource group,
`/notifications/subscriptions/bulk` upserts many subscriptions, and
`/resources/by-uids` fetches many resources by native provider ID. Those three
carry request-body schemas; most other write bodies are not published here. PERMISSIONS. Authorization is RBAC, not OAuth scopes. Policies are identifiers
of the form `:` (`schedules:write`, `provisioning:create`),
granted to roles and assigned to users, optionally scoped to a team or
resource. `GET /permissions` returns the effective permissions of the current
caller — call it before attempting a write rather than discovering a 403. A
Personal Access Token inherits its creator’s role and cannot be narrowed. The
`mcp:read`/`mcp:write` scopes advertised at api.zop.dev/.well-known/
oauth-protected-resource govern the MCP server, NOT this REST API. ERRORS. Every non-2xx produced by the API itself is `application/json` and
matches the `ApiError` schema, a `oneOf` over the three shapes it returns:
`{"error":{"message":"…"}}` from the platform services, a bare
`{"error":"…"}` from the gateway (observed on 401, 405 and 429), and RFC
6749 `{"error":"…","error_description":"…"}` from the `/oauth/*` endpoints. Which shape you get is decided by the layer that answered, not by the status
code, and `error` is a string in two of the three — so branch on structure,
never on status. CHECK `Content-Type` BEFORE PARSING. Two cases are not JSON at all.'
contact:
name: ZopDev Support
email: support@zop.dev
url: https://zop.dev/contact
termsOfService: https://zop.dev/legal/website-terms-of-service
license:
name: Proprietary — see Terms of Service
url: https://zop.dev/legal/website-terms-of-service
servers:
- url: https://api.zop.dev
description: Production
security:
- bearerAuth: []
tags:
# --- truncated at 32 KB (39 KB total) ---
# Full source: https://artifacts.apis.io/zop-dev/openapi/zop-dev-notifications-api-openapi.yml