---
title: "List the set of trap destinations for this agent instance."
method: GET
path: "/mimic/agent/{agentNum}/trap/config/list"
tags: ["Agent"]
---

# List the set of trap destinations for this agent instance.

`GET /mimic/agent/{agentNum}/trap/config/list`

Each trap destination is identified with an IP address and a port number. The default port number is the standard SNMP trap port 162.

## Path parameters

- `agentNum` integer, required

## Response `200`

successful operation

- TrapDest[]
  - `IP` string
  - `port` integer

## Other responses

- `400` — Invalid agent number value

---

[API](https://skmtc.dev/gambitcomm/apis/mimic-rest-api.md) · [All operations](https://skmtc.dev/gambitcomm/apis/mimic-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/gambitcomm/mimic-rest-api/revisions/eb67c54e9ec9/schema)
