---
title: "Get node agent communication configuration"
method: GET
path: "/v1/objects/{object-id}/agent"
tags: ["Objects"]
---

# Get node agent communication configuration

`GET /v1/objects/{object-id}/agent`

Return the node's NetXMS agent communication settings (the same shape accepted by the
matching PATCH). The `sharedSecret` is included only when the caller has modify or
read-credentials access to the object.

This property group applies to Node objects only; requesting it for any other object
class returns 400.

## Path parameters

- `object-id` integer, required

## Response `200`

Agent communication configuration.

- AgentConfig — NetXMS agent communication property group for a node. Returned by GET /v1/objects/{id}/agent and embedded as `ObjectDetails.agent`; accepted by PATCH /v1/objects/{id}/agent with merge-patch semantics (omitted fields are left unchanged).
  - `port` integer — Agent TCP port.
  - `proxy` integer, nullable — ID of the node used as agent proxy, or 0 for no proxy.
  - `sharedSecret` string, nullable — Agent shared secret (write-only).
  - `forceEncryption` boolean — Require encryption for agent communication.
  - `tunnelOnly` boolean — Accept agent connections only through an established agent tunnel.
  - `cacheMode` 'default' | 'on' | 'off' — Agent-side DCI value caching mode.
  - `compressionMode` 'default' | 'enabled' | 'disabled' — Agent communication protocol compression mode.
  - `certificateMappingMethod` 'subject' | 'publicKey' | 'commonName' | 'templateId' — Method used to map the agent's certificate to this node for authentication.
  - `certificateMappingData` string, nullable — Certificate mapping data (interpretation depends on certificateMappingMethod).

## Other responses

- `400` — Property group not applicable to object class.
- `401` — Unauthorized
- `403` — User does not have read access to the object
- `404` — Object with given ID does not exist

---

[API](https://skmtc.net/netxms/apis/netxms-api.md) · [All operations](https://skmtc.net/netxms/apis/netxms-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/netxms/netxms-api/versions/14d93e5115dd/schema)
