Physea Labs Runs API

The Runs API from Physea Labs — 15 operation(s) for runs.

GitHub OpenAPI

Operations 16

GET /runs/{run_id} Get Run #
GET /runs List Runs #
POST /runs Runs Start #
GET /runs/lifecycle/list Runs List #
GET /runs/lifecycle/{run_id} Runs Status #
GET /runs/lifecycle/{run_id}/reusable-structure Runs Reusable Structure #
POST /runs/lifecycle/{run_id}/save-structure Runs Save Structure #
POST /runs/lifecycle/{run_id}/pause Runs Pause #
POST /runs/lifecycle/{run_id}/resume Runs Resume #
POST /runs/lifecycle/{run_id}/cancel Runs Cancel #
POST /runs/lifecycle/{run_id}/reconcile Runs Reconcile #
POST /runs/lifecycle/{run_id}/attempt Runs Attempt #
POST /runs/lifecycle/{run_id}/execute Runs Execute #
POST /runs/lifecycle/{run_id}/outcome Runs Outcome #
GET /runs/{run_id}/saved-answer Runs Saved Answer #
POST /runs/{run_id}/continue Runs Continue #

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/physea-ai:physea-ai-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

physea-ai-runs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Liminality Router Service Runs API
  version: '1.1'
tags:
- name: Runs
paths:
  /runs/{run_id}:
    get:
      summary: Get Run
      description: 'Fetch a legacy run or Dispatch receipt by id — caller-owned only.

        Another customer''s id returns the same 404 as a nonexistent id, so guessing

        cannot confirm that a record exists. The admin/owner sees every safe receipt.'
      operationId: get_run_runs__run_id__get
      parameters:
      - name: run_id
        in: path
        required: true
        schema:
          type: string
          title: Run Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Runs
  /runs:
    get:
      summary: List Runs
      description: 'Recent caller-owned runs and Dispatch receipts on the customer plane.

        Legacy rows without an owner stamp stay invisible to customer keys; the

        admin/owner plane sees every safe receipt plus its full legacy store.

        Gate refusals (keyless/invalid-key hits, mostly bots on /mcp) are audit

        rows, not work: the owner feed omits them unless ``?refusals=1``.'
      operationId: list_runs_runs_get
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          default: 50
          title: Limit
      - name: refusals
        in: query
        required: false
        schema:
          type: integer
          default: 0
          title: Refusals
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Runs
    post:
      summary: Runs Start
      operationId: runs_start_runs_post
      requestBody:
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
              default: {}
              title: Body
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Runs
  /runs/lifecycle/list:
    get:
      summary: Runs List
      operationId: runs_list_runs_lifecycle_list_get
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 200
          minimum: 1
          default: 50
          title: Limit
      - name: include_recovery
        in: query
        required: false
        schema:
          type: boolean
          default: false
          title: Include Recovery
      - name: task_id
        in: query
        required: false
        schema:
          type: string
          default: ''
          title: Task Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Runs
  /runs/lifecycle/{run_id}:
    get:
      summary: Runs Status
      operationId: runs_status_runs_lifecycle__run_id__get
      parameters:
      - name: run_id
        in: path
        required: true
        schema:
          type: string
          title: Run Id
      - name: include_recovery
        in: query
        required: false
        schema:
          type: boolean
          default: false
          title: Include Recovery
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Runs
  /runs/lifecycle/{run_id}/reusable-structure:
    get:
      summary: Runs Reusable Structure
      operationId: runs_reusable_structure_runs_lifecycle__run_id__reusable_structure_get
      parameters:
      - name: run_id
        in: path
        required: true
        schema:
          type: string
          title: Run Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Runs
  /runs/lifecycle/{run_id}/save-structure:
    post:
      summary: Runs Save Structure
      operationId: runs_save_structure_runs_lifecycle__run_id__save_structure_post
      parameters:
      - name: run_id
        in: path
        required: true
        schema:
          type: string
          title: Run Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Runs
  /runs/lifecycle/{run_id}/pause:
    post:
      summary: Runs Pause
      operationId: runs_pause_runs_lifecycle__run_id__pause_post
      parameters:
      - name: run_id
        in: path
        required: true
        schema:
          type: string
          title: Run Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Runs
  /runs/lifecycle/{run_id}/resume:
    post:
      summary: Runs Resume
      operationId: runs_resume_runs_lifecycle__run_id__resume_post
      parameters:
      - name: run_id
        in: path
        required: true
        schema:
          type: string
          title: Run Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Runs
  /runs/lifecycle/{run_id}/cancel:
    post:
      summary: Runs Cancel
      operationId: runs_cancel_runs_lifecycle__run_id__cancel_post
      parameters:
      - name: run_id
        in: path
        required: true
        schema:
          type: string
          title: Run Id
      requestBody:
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
              default: {}
              title: Body
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Runs
  /runs/lifecycle/{run_id}/reconcile:
    post:
      summary: Runs Reconcile
      operationId: runs_reconcile_runs_lifecycle__run_id__reconcile_post
      parameters:
      - name: run_id
        in: path
        required: true
        schema:
          type: string
          title: Run Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Runs
  /runs/lifecycle/{run_id}/attempt:
    post:
      summary: Runs Attempt
      operationId: runs_attempt_runs_lifecycle__run_id__attempt_post
      parameters:
      - name: run_id
        in: path
        required: true
        schema:
          type: string
          title: Run Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Runs
  /runs/lifecycle/{run_id}/execute:
    post:
      summary: Runs Execute
      operationId: runs_execute_runs_lifecycle__run_id__execute_post
      parameters:
      - name: run_id
        in: path
        required: true
        schema:
          type: string
          title: Run Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Runs
  /runs/lifecycle/{run_id}/outcome:
    post:
      summary: Runs Outcome
      operationId: runs_outcome_runs_lifecycle__run_id__outcome_post
      parameters:
      - name: run_id
        in: path
        required: true
        schema:
          type: string
          title: Run Id
      requestBody:
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
              default: {}
              title: Body
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Runs
  /runs/{run_id}/saved-answer:
    get:
      summary: Runs Saved Answer
      operationId: runs_saved_answer_runs__run_id__saved_answer_get
      parameters:
      - name: run_id
        in: path
        required: true
        schema:
          type: string
          title: Run Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Runs
  /runs/{run_id}/continue:
    post:
      summary: Runs Continue
      operationId: runs_continue_runs__run_id__continue_post
      parameters:
      - name: run_id
        in: path
        required: true
        schema:
          type: string
          title: Run Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Runs
components:
  schemas:
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError