---
title: "Create Or Update Endpoint Schedule"
method: POST
path: "/api/endpoint-monitor/endpoints/{endpoint_id}/schedule"
tags: ["endpoint-monitor"]
---

# Create Or Update Endpoint Schedule

`POST /api/endpoint-monitor/endpoints/{endpoint_id}/schedule`

## 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/{endpoint_id}/schedule`
- Auth: none declared

Create or update a scan schedule for a specific endpoint.

## Path parameters

- `endpoint_id` string, uuid, required

## Request body

- ApiProactiveScanRouterScheduleCreateRequest: Request to create or update an endpoint monitor schedule.
  - `interval_minutes` integer, required
  - `run_at_hour` integer, nullable

## Response `200`

Successful Response

- ApiProactiveScanRouterScheduleResponse: Response with schedule details.
  - `id` string, required
  - `team_id` string, required
  - `is_enabled` boolean, required
  - `interval_minutes` integer, required
  - `run_at_hour` integer, nullable, required
  - `next_run_at` string, required
  - `last_run_at` string, nullable, required

## Other responses

- `422`: Validation Error

---

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