Mutator Runs API

The runs API from Mutator — 3 operation(s) for runs.

GitHub OpenAPI

Operations 4

GET /api/v1/automations/{automationId}/runs The 25 most recent runs of one automation #
POST /api/v1/automations/{automationId}/runs Start a run. Safe to retry: the same idempotency key returns the first run #
GET /api/v1/runs Runs across every automation, newest first. Poll this to hear that one finished #
GET /api/v1/runs/{runId} One run, with what each step did and what the run produced #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/mutator-app:mutator-app-runs-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

mutator-app-runs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Mutator Runs API
  version: 1.0.0
  summary: Start runs, read what they made, and be told when something happens.
  description: 'Drive Mutator from your own systems. Keys come with any paid plan, and what a key reaches depends on the plan.


    **Nothing here publishes.** No endpoint schedules a post, so no key of any scope can cause anything to reach a social account: a post exists only once a person has put a particular file in a particular account''s schedule, in Mutator.


    Lists are paged by cursor (`after`, `nextCursor`), and `post.published` and the other webhook events are delivered signed. See the full documentation at /docs/api.'
  contact:
    name: Mutator
    url: https://mutator.app/support
servers:
- url: https://mutator.app
security:
- bearerAuth: []
tags:
- name: Runs
paths:
  /api/v1/automations/{automationId}/runs:
    get:
      operationId: runs.listForAutomation
      summary: The 25 most recent runs of one automation
      tags:
      - Runs
      parameters:
      - name: automationId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: The 25 most recent runs of one automation.
          content:
            application/json:
              schema:
                type: object
                properties:
                  runs:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        status:
                          type: string
                          enum:
                          - queued
                          - preflight
                          - running
                          - waiting_for_provider
                          - waiting_for_approval
                          - retrying
                          - partially_succeeded
                          - succeeded
                          - failed
                          - cancelled
                          - blocked_by_limit
                          - blocked_by_entitlement
                        trigger:
                          type: string
                          enum:
                          - manual
                          - schedule
                          - test
                          - repeat
                          - api
                        dryRun:
                          type: boolean
                        resultSummary:
                          anyOf:
                          - type: string
                          - type: 'null'
                        costActualCents:
                          type: integer
                          minimum: -9007199254740991
                          maximum: 9007199254740991
                        createdAt: {}
                        finishedAt: {}
                      required:
                      - id
                      - status
                      - trigger
                      - dryRun
                      - resultSummary
                      - costActualCents
                      - createdAt
                      - finishedAt
                      additionalProperties: false
                required:
                - runs
                additionalProperties: false
        '400':
          description: The request is malformed. An `issues` array names the fields.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                  correlationId:
                    type: string
                required:
                - error
                - correlationId
        '401':
          description: Missing, unknown, revoked or expired key.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                  correlationId:
                    type: string
                required:
                - error
                - correlationId
        '403':
          description: A read-only key attempted a write.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                  correlationId:
                    type: string
                required:
                - error
                - correlationId
        '404':
          description: No automation with that id in this key's workspace.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                  correlationId:
                    type: string
                required:
                - error
                - correlationId
        '429':
          description: 'Rate limited: 120 reads and 30 writes a minute, per key.'
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                  correlationId:
                    type: string
                required:
                - error
                - correlationId
        '500':
          description: Our side. Safe to retry anything idempotent.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                  correlationId:
                    type: string
                required:
                - error
                - correlationId
      security:
      - bearerAuth: []
      x-mutator-scope: read
    post:
      operationId: runs.start
      summary: 'Start a run. Safe to retry: the same idempotency key returns the first run'
      tags:
      - Runs
      parameters:
      - name: automationId
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                idempotencyKey:
                  type: string
                  minLength: 8
                  maxLength: 80
                dryRun:
                  type: boolean
              required:
              - idempotencyKey
      responses:
        '200':
          description: 'Start a run. Safe to retry: the same idempotency key returns the first run.'
          content:
            application/json:
              schema:
                type: object
                properties:
                  runId:
                    type: string
                  deduplicated:
                    type: boolean
                required:
                - runId
                - deduplicated
                additionalProperties: false
        '400':
          description: The request is malformed. An `issues` array names the fields.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                  correlationId:
                    type: string
                required:
                - error
                - correlationId
        '401':
          description: Missing, unknown, revoked or expired key.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                  correlationId:
                    type: string
                required:
                - error
                - correlationId
        '402':
          description: The plan, the credits or a spending cap refused it. See `code`.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                  correlationId:
                    type: string
                required:
                - error
                - correlationId
        '403':
          description: A read-only key attempted a write.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                  correlationId:
                    type: string
                required:
                - error
                - correlationId
        '404':
          description: No automation with that id in this key's workspace.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                  correlationId:
                    type: string
                required:
                - error
                - correlationId
        '422':
          description: The content check refused something on a step of the automation.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                  correlationId:
                    type: string
                required:
                - error
                - correlationId
        '429':
          description: 'Rate limited: 120 reads and 30 writes a minute, per key.'
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                  correlationId:
                    type: string
                required:
                - error
                - correlationId
        '500':
          description: Our side. Safe to retry anything idempotent.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                  correlationId:
                    type: string
                required:
                - error
                - correlationId
      security:
      - bearerAuth: []
      x-mutator-scope: write
  /api/v1/runs:
    get:
      operationId: runs.list
      summary: Runs across every automation, newest first. Poll this to hear that one finished
      tags:
      - Runs
      parameters:
      - name: status
        in: query
        required: false
        schema:
          type: string
          enum:
          - queued
          - preflight
          - running
          - waiting_for_provider
          - waiting_for_approval
          - retrying
          - partially_succeeded
          - succeeded
          - failed
          - cancelled
          - blocked_by_limit
          - blocked_by_entitlement
      - name: automationId
        in: query
        required: false
        schema:
          type: string
      - name: after
        in: query
        required: false
        schema:
          type: string
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          maximum: 100
      responses:
        '200':
          description: Runs across every automation, newest first. Poll this to hear that one finished.
          content:
            application/json:
              schema:
                type: object
                properties:
                  runs:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        status:
                          type: string
                          enum:
                          - queued
                          - preflight
                          - running
                          - waiting_for_provider
                          - waiting_for_approval
                          - retrying
                          - partially_succeeded
                          - succeeded
                          - failed
                          - cancelled
                          - blocked_by_limit
                          - blocked_by_entitlement
                        trigger:
                          type: string
                          enum:
                          - manual
                          - schedule
                          - test
                          - repeat
                          - api
                        dryRun:
                          type: boolean
                        resultSummary:
                          anyOf:
                          - type: string
                          - type: 'null'
                        costActualCents:
                          type: integer
                          minimum: -9007199254740991
                          maximum: 9007199254740991
                        createdAt: {}
                        finishedAt: {}
                        automationId:
                          type: string
                      required:
                      - id
                      - status
                      - trigger
                      - dryRun
                      - resultSummary
                      - costActualCents
                      - createdAt
                      - finishedAt
                      - automationId
                      additionalProperties: false
                  nextCursor:
                    anyOf:
                    - type: string
                    - type: 'null'
                required:
                - runs
                - nextCursor
                additionalProperties: false
        '400':
          description: The request is malformed. An `issues` array names the fields.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                  correlationId:
                    type: string
                required:
                - error
                - correlationId
        '401':
          description: Missing, unknown, revoked or expired key.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                  correlationId:
                    type: string
                required:
                - error
                - correlationId
        '403':
          description: A read-only key attempted a write.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                  correlationId:
                    type: string
                required:
                - error
                - correlationId
        '429':
          description: 'Rate limited: 120 reads and 30 writes a minute, per key.'
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                  correlationId:
                    type: string
                required:
                - error
                - correlationId
        '500':
          description: Our side. Safe to retry anything idempotent.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                  correlationId:
                    type: string
                required:
                - error
                - correlationId
      security:
      - bearerAuth: []
      x-mutator-scope: read
  /api/v1/runs/{runId}:
    get:
      operationId: runs.get
      summary: One run, with what each step did and what the run produced
      tags:
      - Runs
      parameters:
      - name: runId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: One run, with what each step did and what the run produced.
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  status:
                    type: string
                    enum:
                    - queued
                    - preflight
                    - running
                    - waiting_for_provider
                    - waiting_for_approval
                    - retrying
                    - partially_succeeded
                    - succeeded
                    - failed
                    - cancelled
                    - blocked_by_limit
                    - blocked_by_entitlement
                  trigger:
                    type: string
                    enum:
                    - manual
                    - schedule
                    - test
                    - repeat
                    - api
                  dryRun:
                    type: boolean
                  resultSummary:
                    anyOf:
                    - type: string
                    - type: 'null'
                  costActualCents:
                    type: integer
                    minimum: -9007199254740991
                    maximum: 9007199254740991
                  createdAt: {}
                  finishedAt: {}
                  automationId:
                    type: string
                  steps:
                    type: array
                    items:
                      type: object
                      properties:
                        key:
                          type: string
                        type:
                          type: string
                        status:
                          type: string
                          enum:
                          - queued
                          - running
                          - waiting_for_provider
                          - waiting_for_approval
                          - retrying
                          - succeeded
                          - failed
                          - skipped
                          - cancelled
                        attempt:
                          type: integer
                          minimum: -9007199254740991
                          maximum: 9007199254740991
                        startedAt: {}
                        finishedAt: {}
                      required:
                      - key
                      - type
                      - status
                      - attempt
                      - startedAt
                      - finishedAt
                      additionalProperties: false
                  outputs:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        kind:
                          type: string
                          enum:
                          - image
                          - video
                          - image_set
                          - caption_set
                        title:
                          anyOf:
                          - type: string
                          - type: 'null'
                        mime:
                          anyOf:
                          - type: string
                          - type: 'null'
                        sizeBytes:
                          anyOf:
                          - type: number
                          - type: 'null'
                        createdAt: {}
                        content:
                          anyOf:
                          - {}
                          - type: 'null'
                        downloadUrl:
                          anyOf:
                          - type: string
                          - type: 'null'
                      required:
                      - id
                      - kind
                      - title
                      - mime
                      - sizeBytes
                      - createdAt
                      - content
                      - downloadUrl
                      additionalProperties: false
                required:
                - id
                - status
                - trigger
                - dryRun
                - resultSummary
                - costActualCents
                - createdAt
                - finishedAt
                - automationId
                - steps
                - outputs
                additionalProperties: false
        '400':
          description: The request is malformed. An `issues` array names the fields.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                  correlationId:
                    type: string
                required:
                - error
                - correlationId
        '401':
          description: Missing, unknown, revoked or expired key.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                  correlationId:
                    type: string
                required:
                - error
                - correlationId
        '403':
          description: A read-only key attempted a write.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                  correlationId:
                    type: string
                required:
                - error
                - correlationId
        '404':
          description: No run with that id in this key's workspace.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                  correlationId:
                    type: string
                required:
                - error
                - correlationId
        '429':
          description: 'Rate limited: 120 reads and 30 writes a minute, per key.'
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                  correlationId:
                    type: string
                required:
                - error
                - correlationId
        '500':
          description: Our side. Safe to retry anything idempotent.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                  correlationId:
                    type: string
                required:
                - error
                - correlationId
      security:
      - bearerAuth: []
      x-mutator-scope: read
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'A Mutator API key: Settings, API keys, New key.'