API contract and stability
This guide explains what the CyberSentriq API promises, so you know what your integration can depend on and how you will hear about change before it affects you.
The published contract
The contract is https://api.cybersentriq.com/openapi.json, which the API reference renders. It describes every endpoint that is generally available today, with its parameters, request and response schemas, and required scopes.
The published contract is a faithful subset of the wider platform API: it lists only what is generally available and stable, and everything it lists behaves as described. More of the platform surface opens up over time, and endpoints join the published contract as they become generally available.
Versioning
Endpoints are versioned with an apiVersion query parameter. Pin it in production clients so a new default version cannot change your integration's behavior. See Endpoints and versioning for the mechanics.
What we can change without notice
These changes are backwards-compatible, so they can land at any time. Build your client to tolerate them:
- new endpoints, and new optional parameters on an existing endpoint;
- new fields in a response.
Decode responses leniently: ignore fields you do not recognize rather than failing on them.
What we announce before changing
These changes can break a client, so they are versioned and announced ahead of time, never applied silently:
- removing or renaming a field, endpoint or scope;
- changing the type or meaning of an existing field;
- making a previously optional input required.
Deprecation notices, a change log and machine-readable sunset dates are being rolled out. Until they land, watch this page and the reference for changes; pinning apiVersion protects existing integrations in the meantime.
Scopes and error types are part of the contract
What each endpoint requires is part of the contract too: the reference states the required scope on every endpoint. The scopes you request when you authenticate are documented in Access scopes. So are the problem type URIs in error responses: each endpoint guide lists them in its "When it fails" section, and your client can match on them.
Next
- How to read the reference: Using the API reference.
- The surface and versioning mechanics: Endpoints and versioning.