---
title: "Run Scheduled Simulation"
method: POST
path: "/v1/internal/run-scheduled-simulation"
---

# Run Scheduled Simulation

`POST /v1/internal/run-scheduled-simulation`

Internal fire endpoint for the cron service (simulation-cron-service).

Auth is the inbound counterpart to weekly_notifications' outbound X-Internal-Token.
run_simulation_now is fire-and-forget; we 202 on accept. A 404 it raises is a
permanent failure (sim/test cases gone) — propagate it so the cron side stops retrying.

## Headers

- `x-internal-token` string
- `X-API-Key` string, required

## Request body

- RunScheduledSimulationRequest
  - `simulation_id` string, required
  - `uptime_check_id` string, nullable

## Response `202`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

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