uniqc.gateway.api.backends module

Backend listing API — /api/backends.

The gateway UI needs more than the coarse backend cache contains. BackendInfo is still the source of truth for what devices exist, but per-qubit and per-edge calibration details are enriched from the chip-characterization cache when it is available. This keeps the listing endpoint fast and avoids cloud API calls from the web UI request path.

uniqc.gateway.api.backends.get_backend(backend_id)[source]

Get a specific backend by its full id (platform:name).

uniqc.gateway.api.backends.list_backends()[source]

List all available backends across all platforms.

uniqc.gateway.api.backends.list_live_backends()[source]

Flat list of all backends with their cache staleness.

uniqc.gateway.api.backends.refresh_backends(platform=None)[source]

Force-refresh cached backend information from platform APIs.