Trigger automation

Changed on

Triggers a scheduled automation to run immediately, instead of waiting for its next scheduled time. Useful for running automations from CI/CD pipelines, like a GitHub Action that runs on every merge to your default branch. Only scheduled (custom schedule) automations can be triggered. The run picks up changes since the last completed run, identical to a regular scheduled run.

Authenticate with an admin API key.

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

Request

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

Path parameters

projectIdstring required

Your project ID. Can be copied from the API keys page in your dashboard.

workflowSchemaIdstring required

The ID of the automation to trigger. Can be copied from the automation's settings panel in your Automations settings.

Response

Automation run queued successfully.

schemaIdstring

The ID of the triggered automation.

instanceIdstring

The ID of the queued automation run. Appears on the Runs tab of your Automations settings.

jobIdstring

The ID of the background job processing the run.

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