---
title: GraphRelationshipSearchInputPayload type | Wartiva API
description: Output mirror of GraphRelationshipSearchInput used when an executed query is returned as a field on another type.
url: https://wartiva.com/api-docs/types/graph-relationship-search-input-payload.html
updated: 2026-10-07
---

Graph search · GraphQL type

# `GraphRelationshipSearchInputPayload` type

Output mirror of [GraphRelationshipSearchInput](https://wartiva.com/api-docs/types/graph-relationship-search-input.html) used when an executed query is returned as a field on another type.

## Fields

| Field Name | Description |
|---|---|
| `directedRelationshipId` - [`ID!`](https://wartiva.com/api-docs/types/id.html) | The identifier of the [RelationshipDirected](https://wartiva.com/api-docs/types/relationship-directed.html) that was traversed. Encodes both the underlying relationship and the direction in which it was traversed. |
| `with` - [`GraphSearchQueryInputPayload!`](https://wartiva.com/api-docs/types/graph-search-query-input-payload.html) | The nested query that described the objects on the other side of the relationship. |
| `negate` - [`Boolean!`](https://wartiva.com/api-docs/types/boolean.html) | True when the constraint matched objects that did not have the specified relationship. |

## Used by

- [`GraphSearchQueryInputPayload`](https://wartiva.com/api-docs/types/graph-search-query-input-payload.html) type: Output mirror of GraphSearchQueryInput used when an executed query is returned as a field on another type (for example as part of a…
- [`RuleBodyThreshold`](https://wartiva.com/api-docs/types/rule-body-threshold.html) type: The body of a THRESHOLD rule: which objects it judges, which related objects it counts for each, and the bounds that count must stay within.

## Example

### Example

```json
{
  "directedRelationshipId": "4",
  "with": GraphSearchQueryInputPayload,
  "negate": true
}

```

---

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