---
title: "Add an agent."
method: POST
path: "/mimic/agent/{agentNum}/add/{IP}"
tags: ["Agent"]
---

# Add an agent.

`POST /mimic/agent/{agentNum}/add/{IP}`

Add an agent.

## Path parameters

- `agentNum` integer, required
- `IP` string, required

## Request body

- Triplet[] — Triplet array
  - `device` string
  - `mib` string
  - `scenario` integer

## Response `200`

successful operation

- string

## Other responses

- `400` — Invalid agent number value

---

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