routinerun-com Runs API

The Runs API from routinerun-com — 1 operation(s) for runs.

GitHub OpenAPI

Operations 11

POST /runs Start a routine #
GET /runs Runs going now #
POST /runs/{run}/next Move a run on #
POST /runs/{run}/notes Write a note on a run #
PUT /runs/{run}/values/{key} Set a value on a run #
POST /runs/{run}/pause Pause the run #
POST /runs/{run}/resume Resume the run #
POST /runs/{run}/stop Stop the run #
POST /runs/{run}/later Put the step in hand one place down #
POST /runs/{run}/last Put the step in hand at the end #
GET /runs/{run} One run #

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/routinerun-com:routinerun-com-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

routinerun-com-runs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Routine Run connections Runs API
  version: '1'
  description: An address made in the Routine Run app (Settings › Connections) starts or moves a routine on the one iPhone that made it. https://routinerun.com/developers
servers:
- url: https://api.routinerun.com/v1/in/{connection}
  variables:
    connection:
      default: 00000000-0000-0000-0000-000000000000
      description: The connection's id, from its address.
security:
- secret: []
tags:
- name: Runs
paths:
  /runs:
    post:
      summary: Start a routine
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - routine
              properties:
                routine:
                  type: string
                  description: The routine's name, in any case, or its id.
      responses:
        '202':
          description: Handed to Apple for the phone. Not yet done.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Accepted'
        '400':
          $ref: '#/components/responses/Error'
        '401':
          $ref: '#/components/responses/Error'
        '409':
          $ref: '#/components/responses/Error'
        '410':
          $ref: '#/components/responses/Error'
        '413':
          $ref: '#/components/responses/Error'
        '429':
          $ref: '#/components/responses/Error'
      tags:
      - Runs
      operationId: postRuns
      x-operation-id-source: derived
    get:
      summary: Runs going now
      operationId: listRuns
      responses:
        '200':
          description: The phone's answer
        '504':
          description: The phone did not answer in time
      tags:
      - Runs
  /runs/{run}/next:
    post:
      summary: Move a run on
      parameters:
      - name: run
        in: path
        required: true
        schema:
          type: string
          format: uuid
        description: The run's id.
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                expectsStep:
                  type: string
                  description: The step id the run should be on; refused if it has moved.
      responses:
        '202':
          description: Handed to Apple for the phone. Not yet done.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Accepted'
        '400':
          $ref: '#/components/responses/Error'
        '401':
          $ref: '#/components/responses/Error'
        '409':
          $ref: '#/components/responses/Error'
        '410':
          $ref: '#/components/responses/Error'
        '413':
          $ref: '#/components/responses/Error'
        '429':
          $ref: '#/components/responses/Error'
      tags:
      - Runs
      operationId: postRunsByRunNext
      x-operation-id-source: derived
  /runs/{run}/notes:
    post:
      summary: Write a note on a run
      parameters:
      - name: run
        in: path
        required: true
        schema:
          type: string
          format: uuid
        description: The run's id.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - text
              properties:
                text:
                  type: string
                  description: The note.
      responses:
        '202':
          description: Handed to Apple for the phone. Not yet done.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Accepted'
        '400':
          $ref: '#/components/responses/Error'
        '401':
          $ref: '#/components/responses/Error'
        '409':
          $ref: '#/components/responses/Error'
        '410':
          $ref: '#/components/responses/Error'
        '413':
          $ref: '#/components/responses/Error'
        '429':
          $ref: '#/components/responses/Error'
      tags:
      - Runs
      operationId: postRunsByRunNotes
      x-operation-id-source: derived
  /runs/{run}/values/{key}:
    put:
      summary: Set a value on a run
      parameters:
      - name: run
        in: path
        required: true
        schema:
          type: string
          format: uuid
        description: The run's id.
      - name: key
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - value
              properties:
                value:
                  description: A text, a number or true/false. Empty removes it.
      responses:
        '202':
          description: Handed to Apple for the phone. Not yet done.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Accepted'
        '400':
          $ref: '#/components/responses/Error'
        '401':
          $ref: '#/components/responses/Error'
        '409':
          $ref: '#/components/responses/Error'
        '410':
          $ref: '#/components/responses/Error'
        '413':
          $ref: '#/components/responses/Error'
        '429':
          $ref: '#/components/responses/Error'
      tags:
      - Runs
      operationId: putRunsByRunValuesByKey
      x-operation-id-source: derived
  /runs/{run}/pause:
    post:
      summary: Pause the run
      parameters:
      - name: run
        in: path
        required: true
        schema:
          type: string
          format: uuid
        description: The run's id.
      responses:
        '202':
          description: Handed to Apple for the phone. Not yet done.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Accepted'
        '400':
          $ref: '#/components/responses/Error'
        '401':
          $ref: '#/components/responses/Error'
        '409':
          $ref: '#/components/responses/Error'
        '410':
          $ref: '#/components/responses/Error'
        '413':
          $ref: '#/components/responses/Error'
        '429':
          $ref: '#/components/responses/Error'
      operationId: pauseRun
      tags:
      - Runs
  /runs/{run}/resume:
    post:
      summary: Resume the run
      parameters:
      - name: run
        in: path
        required: true
        schema:
          type: string
          format: uuid
        description: The run's id.
      responses:
        '202':
          description: Handed to Apple for the phone. Not yet done.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Accepted'
        '400':
          $ref: '#/components/responses/Error'
        '401':
          $ref: '#/components/responses/Error'
        '409':
          $ref: '#/components/responses/Error'
        '410':
          $ref: '#/components/responses/Error'
        '413':
          $ref: '#/components/responses/Error'
        '429':
          $ref: '#/components/responses/Error'
      operationId: resumeRun
      tags:
      - Runs
  /runs/{run}/stop:
    post:
      summary: Stop the run
      parameters:
      - name: run
        in: path
        required: true
        schema:
          type: string
          format: uuid
        description: The run's id.
      responses:
        '202':
          description: Handed to Apple for the phone. Not yet done.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Accepted'
        '400':
          $ref: '#/components/responses/Error'
        '401':
          $ref: '#/components/responses/Error'
        '409':
          $ref: '#/components/responses/Error'
        '410':
          $ref: '#/components/responses/Error'
        '413':
          $ref: '#/components/responses/Error'
        '429':
          $ref: '#/components/responses/Error'
      operationId: stopRun
      tags:
      - Runs
  /runs/{run}/later:
    post:
      summary: Put the step in hand one place down
      parameters:
      - name: run
        in: path
        required: true
        schema:
          type: string
          format: uuid
        description: The run's id.
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                expectsStep:
                  type: string
                  description: The step id the run should be on; refused if it has moved.
      responses:
        '202':
          description: Handed to Apple for the phone. Not yet done.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Accepted'
        '400':
          $ref: '#/components/responses/Error'
        '401':
          $ref: '#/components/responses/Error'
        '409':
          $ref: '#/components/responses/Error'
        '410':
          $ref: '#/components/responses/Error'
        '413':
          $ref: '#/components/responses/Error'
        '429':
          $ref: '#/components/responses/Error'
      operationId: putLater
      tags:
      - Runs
  /runs/{run}/last:
    post:
      summary: Put the step in hand at the end
      parameters:
      - name: run
        in: path
        required: true
        schema:
          type: string
          format: uuid
        description: The run's id.
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                expectsStep:
                  type: string
                  description: The step id the run should be on; refused if it has moved.
      responses:
        '202':
          description: Handed to Apple for the phone. Not yet done.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Accepted'
        '400':
          $ref: '#/components/responses/Error'
        '401':
          $ref: '#/components/responses/Error'
        '409':
          $ref: '#/components/responses/Error'
        '410':
          $ref: '#/components/responses/Error'
        '413':
          $ref: '#/components/responses/Error'
        '429':
          $ref: '#/components/responses/Error'
      operationId: putLast
      tags:
      - Runs
  /runs/{run}:
    get:
      summary: One run
      operationId: getRun
      responses:
        '200':
          description: The phone's answer
        '504':
          description: The phone did not answer in time
      parameters:
      - name: run
        in: path
        required: true
        schema:
          type: string
        description: The run's id
      tags:
      - Runs
components:
  responses:
    Error:
      description: Refused; error says why.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
    Accepted:
      type: object
      properties:
        command:
          type: string
          format: uuid
        accepted:
          type: boolean
  securitySchemes:
    secret:
      type: http
      scheme: bearer
      description: The connection's secret, rr_…, shown in the app.