Internal API
Internal API gives approved Ontinue teams and workloads outside ION engineering a curated, read-only view of platform and customer configuration that was previously available only to internal microservices using the ION Platform application identity. It is an internal integration surface, not a public API.
ion-internal-api contains no application code. It publishes an OpenAPI contract and
APIM policies that authorize callers, map approved operations to Doppio, and mediate
the backend identity.
Capability status
| Capability | Status | Boundary |
|---|---|---|
| Internal read-only API | Implemented | Approved Ontinue callers only; environment-specific access |
| Customer configuration reads | Implemented | Collection and single-customer operations backed by Doppio |
| Consent-validation status | Implemented | Customer-scoped read backed by Doppio |
| Authenticated liveness | Implemented | APIM policy response; it does not probe Doppio |
| Public or customer API | Out of scope | The public hostname does not make this a public contract |
| Application runtime | Not applicable | ion-internal-api is APIM-only and has no application code |
Ownership
| Concern | Ownership |
|---|---|
| Primary feature, contract, policy, and access ownership | architects-team |
| Gamma and production review and operational support | team-mdr-sre and mdr-ksp-team, supporting architects-team |
| Platform/customer configuration data and backend behavior | Doppio and its owning team |
| Caller identity, token acquisition, and safe consumption | Approved consuming team |
The service map identifies architects-team as the primary owner. SRE and KSP are
required reviewers for gamma and production; that supporting role does not transfer
feature or data ownership from the primary owner and Doppio.
Request flow
The client calls the environment’s Front Door hostname. Front Door sends the request
to Application Gateway, which routes it to shared APIM. APIM validates the caller JWT
and operation role, rewrites the backend path, replaces the caller token with a token
from id-apim-{env}-chn-inapi for the ION Platform application audience, and calls
Doppio.
Documentation map
| Page | Use it to understand |
|---|---|
| Architecture | Drivers, trust boundaries, current topology, identity mediation, decisions, and failure semantics |
| Identity and access | Environment applications, app roles, assignments, token requirements, and revocation |
| Implementation | OpenAPI, APIM policies, routing, path rewrites, Doppio mappings, deployment, and validation |
| Consumer guide | Environment endpoints, supported operations, authentication examples, responses, and consumer expectations |
Core design rules
- Internal does not mean anonymous. The consumer contract requires an approved Ontinue identity, the environment-specific Internal API audience, and an operation role. The shared APIM audience list is currently broader and is documented as a policy discrepancy.
- Every request follows the verified edge chain. The supported path is Client → Front Door → Application Gateway → APIM → Doppio.
- APIM is the feature runtime.
ion-internal-apiadds contracts and policies, not application code or a second source of configuration data. - Caller and backend identities stay separate. APIM validates the caller token,
then uses
id-apim-{env}-chn-inapito obtain a platform-audience token for Doppio. - Roles are operation-specific. A valid token without one of the operation’s required roles is forbidden.
- The surface is curated and read-only. Backend reachability does not make every Doppio operation part of the Internal API contract.
- The OpenAPI contract defines the supported surface. Public
/v1/*paths are versioned and Front Door maps them to APIM under/intapi-ext/v1/. - No layer bypass is supported. Consumers do not call Application Gateway, APIM, or Doppio directly.