OrgX Runs API

Control agent runs with pause, resume, cancel, and rollback

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 1

POST /runs/{runId}/actions/{action} Control an agent run #

Specifications

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/useorgx-com:useorgx-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. 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

useorgx-com-runs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: OrgX REST API v1 Runs API
  version: '1'
  description: 'Build accountable work into your product with OrgX REST API v1.


    Create work with one field, attach evidence when it is complete, and keep the receipt. Every authenticated request is scoped to the workspace resolved from your credential.


    Start with `POST /work`. Human guide: https://docs.useorgx.com/docs/api/quickstart'
  contact:
    name: OrgX Support
    url: https://useorgx.com/support
    email: support@useorgx.com
  license:
    name: Proprietary
    url: https://useorgx.com/terms
servers:
- url: https://useorgx.com/api/v1
  description: Production
tags:
- name: Runs
  description: Control agent runs with pause, resume, cancel, and rollback
paths:
  /runs/{runId}/actions/{action}:
    post:
      operationId: controlRun
      summary: Control an agent run
      description: 'Apply one control action to an agent run: `pause`, `resume`, `cancel`, or `rollback`

        (rollback takes a `checkpointId`). Each action is validated against the run''s current

        state, so repeating an already-applied action is safe.'
      tags:
      - Runs
      security:
      - bearerAuth: []
      parameters:
      - $ref: '#/components/parameters/RunId'
      - $ref: '#/components/parameters/RunAction'
      - $ref: '#/components/parameters/IdempotencyKeyOptional'
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RunActionRequest'
            example:
              reason: Waiting on the pricing decision
      responses:
        '200':
          description: Action applied to the run
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RunActionResponse'
              example:
                ok: true
                data:
                  runId: 9c7b1d68-2c5c-4d6b-9a8e-5c4f2c0c5b4d
                  action: pause
                  status: paused
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '503':
          $ref: '#/components/responses/ServiceUnavailable'
components:
  schemas:
    RunActionRequest:
      type: object
      additionalProperties: false
      properties:
        checkpointId:
          type: string
          description: Required for `rollback` — the checkpoint to restore.
        reason:
          type: string
          description: Recorded alongside the control action.
    RunActionResponse:
      type: object
      required:
      - ok
      - data
      properties:
        ok:
          type: boolean
        data:
          type: object
          additionalProperties: true
          description: The control result, including the run's new status.
    ApiError:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
            details:
              type: object
            requestId:
              type: string
            timestamp:
              type: string
              format: date-time
            docsUrl:
              type: string
              format: uri
            retryAfter:
              type: integer
              description: Seconds until rate limit resets
  parameters:
    IdempotencyKeyOptional:
      name: Idempotency-Key
      in: header
      required: false
      schema:
        type: string
        minLength: 1
        maxLength: 200
        pattern: ^[A-Za-z0-9][A-Za-z0-9._:/-]{0,199}$
      description: Accepted for forward compatibility. Replay safety for this operation comes from its own state checks, described on the operation.
    RunAction:
      name: action
      in: path
      required: true
      schema:
        type: string
        enum:
        - pause
        - resume
        - cancel
        - rollback
    RunId:
      name: runId
      in: path
      required: true
      schema:
        type: string
        format: uuid
  responses:
    Unauthorized:
      description: Authentication required
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    NotFound:
      description: Resource is unavailable to the caller
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    BadRequest:
      description: Request validation failed
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    ServiceUnavailable:
      description: Ledger or workspace authorization is unavailable
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'OrgX API key, sent as `Authorization: Bearer oxk_...`'
    cookieAuth:
      type: apiKey
      in: cookie
      name: __session
      description: Session cookie from web authentication
    stripeSignature:
      type: apiKey
      in: header
      name: stripe-signature
      description: Stripe webhook signature
externalDocs:
  description: Human-readable OrgX REST API v1 reference
  url: https://docs.useorgx.com/docs/api/public-api