---
title: BackendStatus (v0.45)
description: API reference for qiskit_ibm_runtime.models.BackendStatus in qiskit-ibm-runtime v0.45
source: https://quantum.cloud.ibm.com/docs/en/api/qiskit-ibm-runtime/0.45/models-backend-status
---

# BackendStatus

*class* `BackendStatus(backend_name, backend_version, operational, pending_jobs, status_msg)`

[GitHub](https://github.com/Qiskit/qiskit-ibm-runtime/tree/stable/0.45/qiskit_ibm_runtime/models/backend_status.py#L23-L98)

Bases: `object`

Class representing Backend Status.

Initialize a BackendStatus object

**Parameters**

- **backend\_name** (*str*) – The backend’s name
- **backend\_version** (*str*) – The backend’s version of the form X.Y.Z
- **operational** (*bool*) – True if the backend is operational
- **pending\_jobs** (*int*) – The number of pending jobs on the backend
- **status\_msg** (*str*) – The status msg for the backend

**Raises**

**QiskitError** – If the backend version is in an invalid format

## Methods

### from\_dict

*classmethod* `from_dict(data)`

[GitHub](https://github.com/Qiskit/qiskit-ibm-runtime/tree/stable/0.45/qiskit_ibm_runtime/models/backend_status.py#L54-L66)

Create a new BackendStatus object from a dictionary.

**Parameters**

**data** (*dict*) – A dictionary representing the BaseBakend to create. It will be in the same format as output by [`to_dict()`](#qiskit_ibm_runtime.models.BackendStatus.to_dict "qiskit_ibm_runtime.models.BackendStatus.to_dict").

**Returns**

The BackendStatus from the input dictionary.

**Return type**

[BackendStatus](#qiskit_ibm_runtime.models.BackendStatus "qiskit_ibm_runtime.models.BackendStatus")

### to\_dict

`to_dict()`

[GitHub](https://github.com/Qiskit/qiskit-ibm-runtime/tree/stable/0.45/qiskit_ibm_runtime/models/backend_status.py#L68-L74)

Return a dictionary format representation of the BackendStatus.

**Returns**

The dictionary form of the QobjHeader.

**Return type**

dict
