---
title: "Create a new item"
method: POST
path: "/monitoring/connections"
tags: ["Monitoring - Connections"]
---

# Create a new item

`POST /monitoring/connections`

## Request body

- MonitorConnection
  - `id` string
  - `userId` string
  - `projectId` string
  - `agentId` string
  - `name` string
  - `description` string
  - `type` 'APACHE_HTTPD' | 'APACHE_JMETER' | 'APACHE_TOMCAT' | 'DATADOG' | 'GENERIC_JMX' | 'IIS' | 'LIGHTTPD' | 'LINUX' | 'MONGO_DB' | 'MYSQL' | 'NEW_RELIC_APM' | 'NGINX' | 'SLA' | 'ORACLE_DB' | 'POSTGRES' | 'PROMETHEUS' | 'WINDOWS' | 'SQL_SERVER'
  - `settings` unknown
  - `children` MonitorEntity[], nullable
    - `name` string
    - `children` MonitorEntity[]
    - `id` string
  - `created` string, date-time
  - `lastModified` string, date-time
  - `enabled` boolean
  - `tags` string[], nullable

## Response `201`

Created

## Other responses

- `400` — Bad Request
- `403` — Forbidden
- `404` — Not Found
- `409` — Conflict
- `429` — Too Many Requests

---

[API](https://skmtc.net/octoperf/apis/octoperf-api.md) · [All operations](https://skmtc.net/octoperf/apis/octoperf-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/octoperf/octoperf-api/revisions/4b624af2cb6e/schema)
