---
title: RelationshipCardinality enum | Wartiva GraphQL API
description: The cardinality of a Relationship between two graph object types. Wartiva GraphQL API reference with arguments, fields, and examples.
url: https://wartiva.com/api-docs/types/relationship-cardinality.html
updated: 2026-10-07
---

Graph search · GraphQL enum

# `RelationshipCardinality` enum

The cardinality of a [Relationship](https://wartiva.com/api-docs/types/relationship.html) between two graph object types.

## Values

| Enum Value | Description |
|---|---|
| `ONE_TO_ONE` | Exactly one source object relates to exactly one target object. |
| `MANY_TO_ONE` | Many source objects relate to one target object. |
| `MANY_TO_MANY` | Many source objects relate to many target objects. |

## Used by

- [`Relationship`](https://wartiva.com/api-docs/types/relationship.html) type: Describes a relationship between two graph object types: the source and target object types, the relationship label, its cardinality, and additional…

## Example

### Example

```json
"ONE_TO_ONE"

```

---

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