---
title: "Trigger Run Schedule"
method: POST
path: "/agents/{agent_id}/schedules/{schedule_id}/trigger"
tags: ["Schedules"]
---

# Trigger Run Schedule

`POST /agents/{agent_id}/schedules/{schedule_id}/trigger`

Trigger an immediate, out-of-band run of the schedule (in addition to its cadence).

## Path parameters

- `agent_id` string, required
- `schedule_id` string, required

## Response `200`

Successful Response

- AgentRunScheduleResponse — Response model describing a scheduled agent run.
  - `id` string, required — The unique identifier of the run schedule.
  - `agent_id` string, required — The agent this schedule belongs to.
  - `name` string, required — Human-readable schedule name.
  - `description` string, nullable — Optional description.
  - `cron_expression` string, nullable — Cron cadence, if cron-based.
  - `interval_seconds` integer, nullable — Interval cadence in seconds, if interval-based.
  - `timezone` string — Timezone the cron expression is evaluated in.
  - `start_at` string, date-time, nullable — Schedule activation time.
  - `end_at` string, date-time, nullable — Schedule deactivation time.
  - `paused` boolean — Whether the schedule is paused.
  - `task_params` object, nullable — Task params at fire time.
  - `task_metadata` object, nullable — Task metadata at fire time.
  - `initial_input` ScheduleInitialInput, required — The first input delivered to each freshly created scheduled task.
    - `type` 'text' — Input content type.
    - `author` 'user' | 'agent'
    - `content` string, required — The initial prompt delivered to the task.
  - `initial_input_method` string, required — Delivery method, inferred from the agent's ACP type.
  - `creator_principal` ScheduleCreatorPrincipal — Credential-free creator identity stored with the schedule. Never carries cookies, JWTs, API keys, OAuth tokens, or request headers — it is creator *context* used only for AuthZ and ownership at fire time.
    - `principal_type` string, nullable — e.g. 'user' or 'service_account'.
    - `user_id` string, nullable — Creator user id, if a user principal.
    - `service_account_id` string, nullable — Creator service-account id, if a service principal.
    - `account_id` string, nullable — Account/workspace id of the creator.
  - `created_at` string, date-time, nullable — When the schedule was created.
  - `updated_at` string, date-time, nullable — When the schedule was updated.
  - `state` 'ACTIVE' | 'PAUSED' — Live state of a run schedule, derived from Temporal.
  - `next_action_times` string[] — Upcoming scheduled fire times.
  - `live_data_available` boolean, nullable — Whether requested live Temporal fields were retrieved successfully. Null when live enrichment was not requested.
  - `skipped_action_times` string[] — Skipped one-off scheduled fire times.
  - `last_action_time` string, date-time, nullable — When the schedule last fired.
  - `num_actions_taken` integer — Number of times the schedule has fired.

## Other responses

- `422` — Validation Error

## Changes

- **2026-07-28** `8f725ddc153e` — 1 info
  - added the optional property `live_data_available` to the response with the `200` status

[Change history](https://skmtc.dev/scaleapi/apis/agentex-api/changes/agents/:agent_id/schedules/:schedule_id/trigger/post.md)

---

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