---
title: "Run Scheduled Task Now"
method: POST
path: "/api/agent-scheduled-tasks/{definition_id}/run-now"
tags: ["agent-scheduled-tasks"]
---

# Run Scheduled Task Now

`POST /api/agent-scheduled-tasks/{definition_id}/run-now`

Trigger an immediate run for the specified scheduled task definition.

## Path parameters

- `definition_id` string, required

## Query parameters

- `allow_inactive` boolean
- `user_id` string
- `org_id` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

## Changes

- **2026-08-08** `f8600f7a4ae3` — 1 info
  - added the new optional `query` request parameter `allow_inactive`

[Change history](https://skmtc.dev/every/apis/every-api/changes/api/agent-scheduled-tasks/:definition_id/run-now/post.md)

---

[API](https://skmtc.dev/every/apis/every-api.md) · [All operations](https://skmtc.dev/every/apis/every-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/every/every-api/revisions/88bb31b8dace/schema)
