---
title: "Run scheduled prompt now"
method: POST
path: "/v1/scheduled-prompts/{id}/run"
tags: ["Scheduled prompts"]
---

# Run scheduled prompt now

`POST /v1/scheduled-prompts/{id}/run`

## Request

- Base URL: `https://api.nops.io`
- URL: `https://api.nops.io/v1/scheduled-prompts/{id}/run`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/nops/apis/nops-public-api/docs/v1/scheduled-prompts/:id/run/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `id` string, required: Scheduled prompt ID

## Headers

- `Idempotency-Key` string, required: Unique key for safe retries on write requests (required, max 64 characters).

## Response `200`

Run scheduled prompt now

- object
  - `data` object, required: JSON object

## Other responses

- `401`: Unauthorized — invalid or missing API key
- `403`: Forbidden — insufficient permissions or entitlement

---

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