立即触发计划自动化运行,而无需等待其下一次预定时间。适合从 CI/CD 流水线中运行自动化,例如在每次合并到默认分支时运行的 GitHub Action。仅支持触发计划(自定义计划)自动化。该次运行会处理自上次完成运行以来的变更,与常规计划运行完全相同。

使用管理员 API 密钥进行身份验证。

post/workflow/{projectId}/{workflowSchemaId}/trigger

Request

  • Base URL
    https://api.mintlify.com/v1
  • Auth
    HTTP bearer

Path parameters

projectIdstring required

你的项目 ID。可在控制台的 API keys 页面中复制。

workflowSchemaIdstring required

要触发的自动化的 ID。可在控制台的 Automations 页面,从自动化的设置面板中复制。

Response

自动化运行已成功加入队列。

schemaIdstring

被触发的自动化的 ID。

instanceIdstring

已入队自动化运行的 ID。会出现在 Automations 设置的 Runs 选项卡中。

jobIdstring

处理此次运行的后台任务 ID。

Changes

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    1 more change in this revision