---
title: "Add Endpoint"
method: POST
path: "/api/endpoint-monitor/endpoints"
tags: ["endpoint-monitor"]
---

# Add Endpoint

`POST /api/endpoint-monitor/endpoints`

## Request

- Base URL: `https://api.deeptrace.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.deeptrace.com/api/endpoint-monitor/endpoints`
- Auth: none declared

Register an endpoint for monitoring. Kicks off profiling in background.

## Request body

- AddEndpointRequest: Request to register an endpoint for monitoring.
  - `endpoint_route` string, required
  - `service_name` string, nullable
  - `customer_description` string, nullable
  - `metric_preference` string, nullable

## Response `200`

Successful Response

- EndpointResponse: Response with endpoint details.
  - `id` string, required
  - `endpoint_route` string, required
  - `service_name` string, nullable, required
  - `customer_description` string, nullable, required
  - `profile` object, nullable, required
  - `last_profiled_at` string, nullable, required
  - `is_active` boolean, required
  - `created_at` string, required
  - `latest_investigation_id` string, nullable
  - `latest_investigation_status` string, nullable
  - `latest_investigation_summary` string, nullable
  - `has_recommended_pr` boolean
  - `dashboard_uids` unknown[], nullable
    - unknown
  - `dashboard_views` DashboardViewResponse[], nullable
    - `id` string, required
    - `source_url` string, required
    - `provider` string, required
    - `dashboard_uid` string, required
    - `dashboard_name` string, nullable, required
    - `var_bindings` object, required
    - `panel_ids` unknown[], nullable, required
      - unknown
    - `extra_metadata` object, nullable, required
    - `role` string
    - `created_at` string, required
  - `metric_source_config` object, nullable
  - `notification_channel_id` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/deeptrace/apis/deeptrace-api.md) - [All operations](https://skmtc.dev/deeptrace/apis/deeptrace-api/llms.txt) - [OpenAPI document](https://skmtc.dev/deeptrace/apis/deeptrace-api/revisions/855e59bb07f0?raw)
