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

# Add Endpoint

`POST /api/endpoint-monitor/endpoints`

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.net/deeptrace/apis/fastapi.md) · [All operations](https://skmtc.net/deeptrace/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/deeptrace/fastapi/revisions/4e792a4f0e21/schema)
