Skip to main content

OpenAPI Specifications (Internal)

Zyntem's API surface is split across three persona-scoped specs. The internal docs site serves the internal spec only (admin / portal / ops / billing webhooks). The other two are served from the public docs site.

Download

The public-facing specs live on the public docs site:

  • openapi.public.yaml — developer / ISV cloud API
  • openapi.management.yaml — embedded-local provisioning plane

Included endpoint groups (internal spec)

GroupDescription
AdminBatch processing and operations
Retry QueueFailed transaction retry
FleetAgent telemetry and fleet metrics
BatchBackground batch schedules
API KeysCustomer self-service key management
SubscriptionsBilling subscription management
OnboardingAccount onboarding status
UsageUsage metering and tier status
AccountsAccount self-service (status/export/delete)
GDPRConsent records and Art. 15 / Art. 17 endpoints
WebhooksExternal webhook receivers (Stripe, Italy SDI)
StripeStripe billing event processing

Viewing the specs

You can view any spec interactively using:

  • Swagger Editor — paste the YAML content
  • Redocly — point to the hosted URL
  • Local tools: npx @redocly/cli preview-docs docs/openapi.internal.yaml

Source

The three specs are maintained at docs/openapi.public.yaml, docs/openapi.management.yaml, and docs/openapi.internal.yaml. Changes are reflected here on every deploy via scripts/split-openapi.js, which rewrites the servers: block to the deploy environment and copies each spec into the appropriate Docusaurus static/ directory.