---
title: NftRtKey enum | Wartiva GraphQL API
description: NftRtKey specifies a key to query from the routing (RT) information. Wartiva GraphQL API reference with arguments, fields, and examples.
url: https://wartiva.com/api-docs/types/nft-rt-key.html
updated: 2026-10-07
---

Endpoint configuration · GraphQL enum

# `NftRtKey` enum

NftRtKey specifies a key to query from the routing (RT) information.

## Values

| Enum Value | Description |
|---|---|
| `CLASSID` | Retrieve the class ID associated with the route. |
| `NEXTHOP4` | Retrieve the IPv4 next-hop address for the route. |
| `NEXTHOP6` | Retrieve the IPv6 next-hop address for the route. |
| `TCPMSS` | Retrieve the TCP Maximum Segment Size (MSS) for the route. |

## Used by

- [`RtExpression`](https://wartiva.com/api-docs/types/rt-expression.html) type: RtExpression represents an nftables expression for accessing routing (RT) information.

## Example

### Example

```json
"CLASSID"

```

---

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