# Execute agent schedule - returns workflow YAML

Endpoint: POST /api/agent_schedules/{id}/execute
Version: 1.0.0
Security: ApiKeyAuth

## Security:

  - `ApiKeyAuth` (unknown)
    http TD1

## Path parameters:

  - `id` (string, required)

## Response 200:

  - `200` (unknown)
    Agent schedule execution initiated successfully

## Response 401:

  - `401` (unknown)
    Unauthorized - authentication credentials are missing or invalid

## Response 401 fields (application/json):

  - `status` (string, required)

  - `error` (string, required)

## Response 404:

  - `404` (unknown)
    Agent schedule not found

## Response 404 fields (application/json):

  - `status` (integer, required)

  - `error` (string, required)

