Skip to main content
bap-engine exposes a single HTTP API on :8000. Every endpoint except /health requires authentication via X-Platform-Key. Admin endpoints additionally require X-Admin-Key.

Conventions

  • Base URL — your deployment’s URL. No version prefix.
  • Auth headerX-Platform-Key: <key> on every product call. X-Admin-Key: <key> on admin calls.
  • Content typeapplication/json for request bodies.
  • Errors — non-2xx responses include {"error": {"code": "...", "message": "..."}}. See Errors.

Endpoints by category

Engine lifecycle

Reference →

Discovery and admission

Reference →

Fleet operations

Reference →

Admin (requires X-Admin-Key)

Reference →

Health

Reference →

See also

  • AuthX-Platform-Key and X-Admin-Key flows.
  • Errors — every error code and what it means.
  • Engine contract — what the orchestrator promises engines and vice versa.