---
title: MongoDB type | Wartiva GraphQL API
description: MongoDB database. Wartiva GraphQL API reference with arguments, fields, and examples. Browse related operations and types.
url: https://wartiva.com/api-docs/types/mongo-db.html
updated: 2026-10-07
---

Networks, devices, and sensors · GraphQL type

# `MongoDB` type

MongoDB database.

## Fields

| Field Name | Description |
|---|---|
| `version` - [`SemanticVersion!`](https://wartiva.com/api-docs/types/semantic-version.html) | MongoDB Version. |
| `versionResponse` - [`String!`](https://wartiva.com/api-docs/types/string.html) | MongoDB Version raw response. |
| `isMaster` - [`Boolean!`](https://wartiva.com/api-docs/types/boolean.html) | If this MongoDB is in the Cluster, this will be true when it is Master. |
| `isReadOnly` - [`Boolean!`](https://wartiva.com/api-docs/types/boolean.html) | If this MongoDB is in the Cluster and is ReadOnly, this will true. |

## Used by

- [`ServiceReport`](https://wartiva.com/api-docs/types/service-report.html) union: The service specific data structure describing details of the specific type of service.

## Example

### Example

```json
{
  "version": SemanticVersion,
  "versionResponse": "xyz789",
  "isMaster": true,
  "isReadOnly": true
}

```

---

Wartiva is in early access. Request access: https://wartiva.com/early-access.html  
All pages: https://wartiva.com/llms.txt
