---
title: arpTableEntry query | Wartiva GraphQL API
description: Retrieves an ArpTableEntry by its graph object id: one entry in an endpoint's neighbor cache. Wartiva GraphQL API reference with arguments, fields, and examples.
url: https://wartiva.com/api-docs/queries/arp-table-entry.html
updated: 2026-10-07
---

Networks, devices, and sensors · GraphQL query

# `arpTableEntry` query

Retrieves an [ArpTableEntry](https://wartiva.com/api-docs/types/arp-table-entry.html) by its graph object id: one entry in an endpoint's neighbor cache (ARP for IPv4, NDP for IPv6 where the operating system reports it) mapping an IP address to a MAC address, with detection of conflicting mappings that can indicate ARP spoofing. An [Endpoint](https://wartiva.com/api-docs/types/endpoint.html) lists its current entries through `arpTableEntries` and their history through `arpTableEntriesSeen`, and each entry links to the [Device](https://wartiva.com/api-docs/types/device.html) it resolves to; find them across endpoints with [graphSearch](https://wartiva.com/api-docs/queries/graph-search.html) on the ARP_TABLE_ENTRY object type. Returns a not-found error when no object has the id, and an error when the id belongs to another object type.

## Response

Returns an [`ArpTableEntryPayload!`](https://wartiva.com/api-docs/types/arp-table-entry-payload.html)

## Arguments

| Name | Description |
|---|---|
| `id` - [`ID!`](https://wartiva.com/api-docs/types/id.html) | The ArpTableEntry identifier. |
| `mockOptions` - [`MockDataInput`](https://wartiva.com/api-docs/types/mock-data-input.html) | Options for mock data generation. Options supported: key: "PLATFORM", value: OsPlatform example: "mockOptions": { "options": [ { "key": "PLATFORM", "value": "WINDOWS" } ] } |

## Example

### Query

```graphql
query arpTableEntry(
  $id: ID!,
  $mockOptions: MockDataInput
) {
  arpTableEntry(
    id: $id,
    mockOptions: $mockOptions
  ) {
    node {
      id
      orgId
      seen {
        ...SeenOnlineFragment
      }
      objectType
      objectTypeLabel
      displayName
      firstSeen
      lastSeen
      createdAt
      updatedAt
      snapshotInfo {
        ...GraphObjectSnapshotInfoFragment
      }
      endpoint {
        ...EndpointFragment
      }
      device {
        ...DeviceFragment
      }
      networkPrefix {
        ...NetworkPrefixFragment
      }
      ip {
        ...IpAddressFragment
      }
      mac
      static
      ifaceIndex
      duplicates {
        ...ArpTableEntryDuplicateFragment
      }
      activeDuplicateCount
      findings {
        ...FindingsPayloadFragment
      }
      issues {
        ...IssuesPayloadFragment
      }
      issuesSummary {
        ...IssuesSummaryFragment
      }
    }
  }
}

```

### Variables

```json
{"id": 4, "mockOptions": MockDataInput}

```

### Response

```json
{"data": {"arpTableEntry": {"node": ArpTableEntry}}}

```

---

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