> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zeus.agentspro.cn/llms.txt
> Use this file to discover all available pages before exploring further.

# 触发任务

> 手动触发任务执行（调试用）

<Note>这是**内部调试 API**，需要 `X-Internal-Secret` 认证。</Note>

<ParamField header="X-Internal-Secret" type="string" required>
  内部 API 密钥
</ParamField>

<ParamField path="task_id" type="string" required>
  任务 ID
</ParamField>

<ResponseField name="success" type="boolean">操作是否成功</ResponseField>
<ResponseField name="task_id" type="string">任务 ID</ResponseField>
<ResponseField name="message" type="string">操作结果消息</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl --request POST \
    --url https://zeus-api.agentspro.cn/scheduled-task/trigger/task_123 \
    --header 'X-Internal-Secret: your-secret'
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "success": true,
    "task_id": "task_123",
    "message": "Task triggered"
  }
  ```
</ResponseExample>
