---
title: "Execute agent schedule - returns workflow YAML"
method: POST
path: "/api/agent_schedules/{id}/execute"
tags: ["AgentSchedule"]
---

# Execute agent schedule - returns workflow YAML

`POST /api/agent_schedules/{id}/execute`

## Path parameters

- `id` string, required

## Response `200`

Agent schedule execution initiated successfully

## Other responses

- `401` — Unauthorized - authentication credentials are missing or invalid
- `404` — Agent schedule not found

---

[API](https://skmtc.net/treasure/apis/llm-api.md) · [All operations](https://skmtc.net/treasure/apis/llm-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/treasure/llm-api/revisions/56f275763358/schema)
