rqm-api Overview¶
rqm-api is the canonical service boundary for the current RQM platform. It sits above the public rqm-circuits wire format and coordinates validation, analysis, optimization, execution readiness, execution routing, account state, billing surfaces, and selected media endpoints.
Base URL: https://rqm-api.onrender.com
:material-book-open-variant: Swagger UI :material-lightning-bolt: API Quickstart
Circuits¶
Current circuit endpoints:
POST /v1/circuits/validatePOST /v1/circuits/analyzePOST /v1/circuits/optimizeGET /v1/circuits/example
Important semantics:
- Public wire format is
rqm-circuitsschema0.2 - Legacy
0.1may still be accepted for compatibility, but0.2is current GET /v1/circuits/examplesupportsbell,ghz, andoptimizable; omittingnamereturns all examples/v1/circuits/analyzeincludes compatibility entanglement enrichment/v1/circuits/optimizeaccepts optimizationprofile(safe,balanced,aggressive) and backend hint (generic,qiskit,braket)
This surface should be read as the public intake layer above the compiler, not as a description of internal IR.
Coupling analysis¶
Current analysis endpoints:
POST /v1/analysis/couplingPOST /v1/analysis/coupling/compare
These endpoints expose coupling / preservation analysis derived from the rqm-core analysis primitives. They are especially useful when optimization trust matters, but the docs describe them conservatively:
- qualitative and measured modes are distinct
- measured scope is limited
- fallback to qualitative analysis is part of the design, not a failure mode
See Coupling Analysis.
Execution¶
Current execution endpoints:
POST /v1/execute/qiskitPOST /v1/execute/braketPOST /v1/execute/braket/held/{job_id}GET /v1/execute/braket/devicesGET /v1/execute/braket/{job_id}GET /v1/execute/capabilities
The important boundary is readiness before routing. Clients should check capabilities before exposing provider-specific options. Qiskit, Braket local simulation, and held/billed hardware flows have different operational requirements.
See:
Authentication¶
Current auth endpoints:
GET /v1/auth/diagnosticsPOST /v1/auth/registerPOST /v1/auth/loginGET /v1/auth/mePOST /v1/auth/logout
These endpoints support the bearer-session model used for account, Pro, billing, and managed workflow surfaces.
See Authentication.
Billing & wallet¶
Current billing and wallet endpoints:
GET /v1/billing/profileGET /v1/billing/summaryGET /v1/billing/walletGET /v1/billing/jobsGET /v1/billing/spend-controlsPATCH /v1/billing/spend-controlsGET /v1/billing/auto-recharge/attemptsGET /v1/billing/recovery-statusGET /v1/billing/dashboardPOST /v1/billing/auto-recharge/testPOST /v1/billing/hardware/quotePOST /v1/billing/hardware/holdPOST /v1/billing/hardware/hold/{job_id}/releasePOST /v1/billing/stripe/customerPOST /v1/billing/stripe/setup-intentPOST /v1/billing/stripe/payment-intentPOST /v1/billing/stripe/checkout-sessionPOST /v1/billing/stripe/portal-sessionPOST /v1/billing/stripe/reconcile-checkoutPOST /v1/billing/stripe/webhook
These surfaces describe payment readiness, wallet state, and hardware quote/hold orchestration. They do not imply guaranteed hardware access by themselves.
See Billing & Wallet.
Chat & TTS¶
Current media-oriented endpoints:
POST /v1/chatPOST /v1/tts
These sit beside the core circuit workflows. Availability may depend on deployment configuration.
See Chat & TTS.
Response envelope and operational notes¶
The API uses a consistent response shape:
Success¶
Error¶
meta includes:
versionrequest_idprocessing_time_ms
Operationally important truths:
- the API boundary is public; internal compiler IR is not
- capabilities should be checked before exposing execution choices
- optimization remains proof-gated and fail-closed under the hood
- billing or Stripe readiness is not equivalent to backend/provider entitlement
- Studio sits on top of this API; Studio is not a replacement for the service contract