OrgX Controllers API

Shadow-only domain controller status and reconciliation

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 2

GET /controllers/{domain} Read a domain controller status projection #
POST /controllers/{domain}/reconcile Reconcile one domain controller in shadow mode #

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-controllers-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-controllers-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: OrgX REST API v1 Controllers 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: Controllers
  description: Shadow-only domain controller status and reconciliation
paths:
  /controllers/{domain}:
    parameters:
    - name: domain
      in: path
      required: true
      schema:
        $ref: '#/components/schemas/ControllerDomain'
    get:
      operationId: getControllerStatus
      summary: Read a domain controller status projection
      description: Returns the workspace-scoped shadow controller projection, including its latest run, signal, result, and audit linkage when available.
      tags:
      - Controllers
      security:
      - bearerAuth: []
      - cookieAuth: []
      parameters:
      - $ref: '#/components/parameters/WorkspaceIdQuery'
      - name: protocol_version
        in: query
        required: true
        schema:
          type: string
          const: orgx.controller.v1
      responses:
        '200':
          description: Current shadow controller status
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ControllerResponse'
              example:
                data:
                  controller_id: domain.growth
                  domain: growth
                  spec_revision: controller_spec_revision:09a53f2c0987b63cf07557d50b378e8ad2473591a943ceb6f6912e0e7c679015
                  run_id: null
                  last_run_id: null
                  status: never_run
                  result: noop
                  last_result: null
                  last_signal_id: null
                  last_signal_state: null
                  last_error_code: null
                  event_ids: []
                  projection_cursor: '0'
                  decision_id: null
                  decision_event_id: null
                  receipt_id: null
                  last_receipt_id: null
                  duplicate: false
                  protocol_version: orgx.controller.v1
                  mode: shadow
                  proposal: null
                  learning_proposal: null
                  noop_reason: null
                  source_health: null
                  limitations:
                  - Shadow proposals require human review and have no authority effect.
                meta:
                  apiVersion: '1'
                  workspaceId: 11111111-1111-4111-8111-111111111111
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '503':
          $ref: '#/components/responses/ServiceUnavailable'
  /controllers/{domain}/reconcile:
    parameters:
    - name: domain
      in: path
      required: true
      schema:
        $ref: '#/components/schemas/ControllerDomain'
    post:
      operationId: reconcileController
      summary: Reconcile one domain controller in shadow mode
      description: Produces a typed shadow proposal candidate or no-op. A proposal is atomically admitted as a pending human Decision with canonical decision.proposed evidence and a neutral reconciliation Receipt. It grants no execution or policy authority.
      tags:
      - Controllers
      security:
      - bearerAuth: []
      - cookieAuth: []
      parameters:
      - $ref: '#/components/parameters/IdempotencyKeyOptional'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ControllerReconcileRequest'
            example:
              workspace_id: 11111111-1111-4111-8111-111111111111
              idempotency_key: growth-cadence-canary-2026-08-26
              mode: shadow
              protocol_version: orgx.controller.v1
              spec_revision: controller_spec_revision:09a53f2c0987b63cf07557d50b378e8ad2473591a943ceb6f6912e0e7c679015
              input_cursor: sha256:dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd
              max_input_age_seconds: 86400
      responses:
        '200':
          description: Persisted terminal reconcile result or exact replay
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ControllerResponse'
              example:
                data:
                  controller_id: domain.growth
                  domain: growth
                  spec_revision: controller_spec_revision:09a53f2c0987b63cf07557d50b378e8ad2473591a943ceb6f6912e0e7c679015
                  run_id: controller_run:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
                  last_run_id: controller_run:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
                  status: degraded
                  result: noop
                  last_result: noop
                  last_signal_id: null
                  last_signal_state: null
                  last_error_code: null
                  event_ids:
                  - 33333333-3333-4333-8333-333333333333
                  - 44444444-4444-4444-8444-444444444444
                  projection_cursor: '2'
                  decision_id: null
                  decision_event_id: null
                  receipt_id: null
                  last_receipt_id: null
                  duplicate: false
                  protocol_version: orgx.controller.v1
                  mode: shadow
                  proposal: null
                  learning_proposal: null
                  noop_reason: insufficient_evidence
                  source_health:
                    state: insufficient_evidence
                    observedAt: '2026-08-26T08:10:00.000Z'
                    freshnessWatermark: null
                    sourceCursor: null
                    recordCount: 0
                    limitations:
                    - No completed work met the active evidence profile.
                  limitations:
                  - Shadow proposals require human review and have no authority effect.
                  - Receipt fields remain null until canonical execution admission exists.
                meta:
                  apiVersion: '1'
                  workspaceId: 11111111-1111-4111-8111-111111111111
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          $ref: '#/components/responses/Conflict'
        '503':
          $ref: '#/components/responses/ServiceUnavailable'
components:
  schemas:
    ControllerReconcileRequest:
      type: object
      additionalProperties: false
      required:
      - workspace_id
      - idempotency_key
      - mode
      - protocol_version
      properties:
        workspace_id:
          type: string
          format: uuid
        idempotency_key:
          type: string
          minLength: 1
          maxLength: 200
        mode:
          type: string
          const: shadow
        protocol_version:
          type: string
          const: orgx.controller.v1
        spec_revision:
          type: string
          pattern: ^controller_spec_revision:[a-f0-9]{64}$
        input_cursor:
          type: string
          minLength: 1
          maxLength: 512
        max_input_age_seconds:
          type: integer
          minimum: 1
          maximum: 604800
    ControllerResponse:
      type: object
      additionalProperties: false
      required:
      - data
      - meta
      properties:
        data:
          $ref: '#/components/schemas/ControllerApiResult'
        meta:
          type: object
          required:
          - apiVersion
          - workspaceId
          properties:
            apiVersion:
              type: string
              const: '1'
            workspaceId:
              type: string
              format: uuid
    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
    ControllerApiResult:
      type: object
      additionalProperties: false
      required:
      - controller_id
      - domain
      - spec_revision
      - run_id
      - last_run_id
      - status
      - result
      - last_result
      - last_signal_id
      - last_signal_state
      - last_error_code
      - event_ids
      - projection_cursor
      - decision_id
      - decision_event_id
      - receipt_id
      - last_receipt_id
      - duplicate
      - protocol_version
      - mode
      - proposal
      - learning_proposal
      - noop_reason
      - source_health
      - limitations
      properties:
        controller_id:
          type: string
          pattern: ^domain\.[a-z][a-z0-9_-]{1,63}$
        domain:
          $ref: '#/components/schemas/ControllerDomain'
        spec_revision:
          type: string
          pattern: ^controller_spec_revision:[a-f0-9]{64}$
        run_id:
          type:
          - string
          - 'null'
          pattern: ^controller_run:[a-f0-9]{64}$
        last_run_id:
          type:
          - string
          - 'null'
          pattern: ^controller_run:[a-f0-9]{64}$
        status:
          type: string
          enum:
          - never_run
          - running
          - healthy
          - degraded
          - failed
        result:
          type: string
          description: On a never_run status read, noop is a transport sentinel; null run IDs and last_result distinguish absence from a completed no-op.
          enum:
          - proposal
          - noop
        last_result:
          type:
          - string
          - 'null'
          enum:
          - proposal
          - noop
          - null
        last_signal_id:
          type:
          - string
          - 'null'
        last_signal_state:
          type:
          - string
          - 'null'
          enum:
          - observed
          - cleared
          - null
        last_error_code:
          type:
          - string
          - 'null'
        event_ids:
          type: array
          items:
            type: string
        projection_cursor:
          type: string
        decision_id:
          type:
          - string
          - 'null'
          format: uuid
          description: Pending canonical Decision admitted for the shadow proposal.
        decision_event_id:
          type:
          - string
          - 'null'
          format: uuid
          description: Canonical decision.proposed event; never the Receipt identity.
        receipt_id:
          type:
          - string
          - 'null'
          format: uuid
          description: Neutral proposal-admission reconciliation Receipt with no authority.
        last_receipt_id:
          type:
          - string
          - 'null'
          format: uuid
          description: Receipt for the latest admitted controller proposal, when present.
        duplicate:
          type: boolean
        protocol_version:
          type: string
          const: orgx.controller.v1
        mode:
          type: string
          const: shadow
        proposal:
          type:
          - object
          - 'null'
          additionalProperties: true
        learning_proposal:
          type:
          - object
          - 'null'
          additionalProperties: true
        noop_reason:
          type:
          - string
          - 'null'
        source_health:
          type:
          - object
          - 'null'
          additionalProperties: true
        limitations:
          type: array
          items:
            type: string
    ControllerDomain:
      type: string
      enum:
      - product
      - engineering
      - growth
      - sales
      - design
      - operations
      - orchestrator
  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.
    WorkspaceIdQuery:
      name: workspace_id
      in: query
      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'
    Conflict:
      description: Idempotency or expected-version conflict
      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