a4sx Model API

The Model API from a4sx — 19 operation(s) for model.

GitHub OpenAPI

Operations 23

POST /model/{env}/schema Register Schema #
GET /model/{env}/schema Get Schema #
GET /model/{env}/entities/{type} List Entities #
GET /model/{env}/entities/{type}/{key} Get Entity #
POST /model/{env}/processes Register Process #
GET /model/{env}/processes List Processes #
POST /model/{env}/processes/{pid}/advance Advance Process #
DELETE /model/{env}/processes/{pid} Retire Process #
GET /model/{env}/coverage Get Coverage #
POST /model/{env}/recheck Recheck Env #
POST /model/{env}/discover Discover Env #
POST /model/{env}/synthesize Synthesize Env #
GET /model/{env}/frontier Get Frontier #
GET /model/{env}/graph Get Graph #
GET /model/{env}/discovery Get Discovery #
POST /model/{env}/faithfulness-spec Register Faithfulness Spec #
GET /model/{env}/faithfulness-spec List Faithfulness Specs #
POST /model/{env}/faithfulness Record Faithfulness #
GET /model/{env}/faithfulness Get Faithfulness #
POST /model/{env}/processes/{pid}/request_authorization Request Authorization #
GET /model/{env}/authorizations List Authorizations #
POST /model/{env}/processes/{pid}/authorize Authorize Process #
POST /model/{env}/processes/{pid}/reject Reject Authorization #

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/session-exchange-com:session-exchange-com-model-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

session-exchange-com-model-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Session Exchange Com Model API
  version: 0.1.0
  description: 'Operations tagged Model across 2 of this provider''s published API definitions: openapi.json, session-exchange-com-openapi.json. Each path carries the servers of the definition it was published in.'
tags:
- name: Model
paths:
  /model/{env}/schema:
    post:
      summary: Register Schema
      operationId: register_schema_model__env__schema_post
      parameters:
      - name: env
        in: path
        required: true
        schema:
          type: string
          title: Env
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ModelSchemaRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Model
    get:
      summary: Get Schema
      operationId: get_schema_model__env__schema_get
      parameters:
      - name: env
        in: path
        required: true
        schema:
          type: string
          title: Env
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Model
  /model/{env}/entities/{type}:
    get:
      summary: List Entities
      operationId: list_entities_model__env__entities__type__get
      parameters:
      - name: env
        in: path
        required: true
        schema:
          type: string
          title: Env
      - name: type
        in: path
        required: true
        schema:
          type: string
          title: Type
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 5000
          minimum: 1
          default: 500
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Model
  /model/{env}/entities/{type}/{key}:
    get:
      summary: Get Entity
      operationId: get_entity_model__env__entities__type___key__get
      parameters:
      - name: env
        in: path
        required: true
        schema:
          type: string
          title: Env
      - name: type
        in: path
        required: true
        schema:
          type: string
          title: Type
      - name: key
        in: path
        required: true
        schema:
          type: string
          title: Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Model
  /model/{env}/processes:
    post:
      summary: Register Process
      operationId: register_process_model__env__processes_post
      parameters:
      - name: env
        in: path
        required: true
        schema:
          type: string
          title: Env
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProcessRegisterRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Model
    get:
      summary: List Processes
      operationId: list_processes_model__env__processes_get
      parameters:
      - name: env
        in: path
        required: true
        schema:
          type: string
          title: Env
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Model
  /model/{env}/processes/{pid}/advance:
    post:
      summary: Advance Process
      operationId: advance_process_model__env__processes__pid__advance_post
      parameters:
      - name: env
        in: path
        required: true
        schema:
          type: string
          title: Env
      - name: pid
        in: path
        required: true
        schema:
          type: string
          title: Pid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProcessAdvanceRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Model
  /model/{env}/processes/{pid}:
    delete:
      summary: Retire Process
      description: 'Retire a process from the graph. Auto-discovery surfaces candidates by

        folding the stream, and some are false positives (control-plane chatter, near-

        duplicates) — the model needs a way to drop them so coverage isn''t diluted by

        noise. Idempotent-ish: 404 if it was never registered.


        1e — retire is coverage-affecting (it shrinks the denominator), so when ''retire''

        is enforced it must carry an audited `reason`, and an at_target process can only

        be retired by an admin (you can''t silently drop a completed process to reshape

        coverage).'
      operationId: retire_process_model__env__processes__pid__delete
      parameters:
      - name: env
        in: path
        required: true
        schema:
          type: string
          title: Env
      - name: pid
        in: path
        required: true
        schema:
          type: string
          title: Pid
      - name: reason
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Reason
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Model
  /model/{env}/coverage:
    get:
      summary: Get Coverage
      operationId: get_coverage_model__env__coverage_get
      parameters:
      - name: env
        in: path
        required: true
        schema:
          type: string
          title: Env
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Model
  /model/{env}/recheck:
    post:
      summary: Recheck Env
      description: 'Drift sweep (Phase 4): re-evaluate the env''s at_target processes against their

        live governed evidence. Any that no longer hold (faithfulness SLO breach / fitness

        below target) are flipped to `drifted`, their loop is reopened, and an operator

        inbox card is filed. Idempotent + debounced (one open card per process). Drive it

        on a schedule (a watchdog-style adapter or a cron subscription) for hands-off

        self-healing; call it directly for an on-demand re-check.'
      operationId: recheck_env_model__env__recheck_post
      parameters:
      - name: env
        in: path
        required: true
        schema:
          type: string
          title: Env
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Model
  /model/{env}/discover:
    post:
      summary: Discover Env
      description: 'Phase 3 rung 1 — mine the env''s OWN events over a window into a friction-

        ranked automation backlog (recurring high-friction processes worth automating

        first). Read-only; the register side already exists (POST .../processes).'
      operationId: discover_env_model__env__discover_post
      parameters:
      - name: env
        in: path
        required: true
        schema:
          type: string
          title: Env
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DiscoverRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Model
  /model/{env}/synthesize:
    post:
      summary: Synthesize Env
      description: 'Phase 3 rung 2 — the DETERMINISTIC gap analysis: required (proposer-supplied)

        − provided → an AUTOMATION candidate (nothing missing) or a DEPENDENCY candidate

        (wire the missing capabilities in first). The requirement-derivation is the

        client-side LLM step; this set-difference is the governance hinge.'
      operationId: synthesize_env_model__env__synthesize_post
      parameters:
      - name: env
        in: path
        required: true
        schema:
          type: string
          title: Env
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SynthesizeRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Model
  /model/{env}/frontier:
    get:
      summary: Get Frontier
      description: 'Frontier-coverage breakdown (frontier-coverage/v0.1): resolved vs open

        dimensions, distinctness, redundant processes. Empty (enabled:false) for envs

        with no frontier_policy — a legacy env must not receive frontier verdicts it

        never opted into.'
      operationId: get_frontier_model__env__frontier_get
      parameters:
      - name: env
        in: path
        required: true
        schema:
          type: string
          title: Env
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Model
  /model/{env}/graph:
    get:
      summary: Get Graph
      description: 'The process schematic — nodes + derived flow edges + active + dangling-input

        (discovery targets). Backs the UI ''circuit'' view (how processes wire into the

        env''s dev lifecycle, what''s worked on now, and where inputs come from).'
      operationId: get_graph_model__env__graph_get
      parameters:
      - name: env
        in: path
        required: true
        schema:
          type: string
          title: Env
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Model
  /model/{env}/discovery:
    get:
      summary: Get Discovery
      description: 'The discovery question-tree for an environment: per axis (breadth /

        observation / characterization / automation), what discovery has ANSWERED vs

        what is still OPEN. Backs the UI discovery tree-view.'
      operationId: get_discovery_model__env__discovery_get
      parameters:
      - name: env
        in: path
        required: true
        schema:
          type: string
          title: Env
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Model
  /model/{env}/faithfulness-spec:
    post:
      summary: Register Faithfulness Spec
      description: 'Register a GOVERNED FaithfulnessSpec (1a): it names the INDEPENDENT ground-

        truth source + the passing threshold the collector uses to RECOMPUTE the reading.

        Admin-only, immutable, versioned — the loop authors the schema, never the thing

        that grades it. The threshold can''t be below the governed floor

        (faithfulness_min_threshold), which kills the ''threshold=0.0 clears it'' hole.'
      operationId: register_faithfulness_spec_model__env__faithfulness_spec_post
      parameters:
      - name: env
        in: path
        required: true
        schema:
          type: string
          title: Env
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FaithfulnessSpecRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Model
    get:
      summary: List Faithfulness Specs
      operationId: list_faithfulness_specs_model__env__faithfulness_spec_get
      parameters:
      - name: env
        in: path
        required: true
        schema:
          type: string
          title: Env
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Model
  /model/{env}/faithfulness:
    post:
      summary: Record Faithfulness
      description: 'Record/refresh a held-out faithfulness reading. When a GOVERNED FaithfulnessSpec

        exists for (env, scope) the collector RECOMPUTES the reading from the schema

        projection vs. independent ground truth (1a) and IGNORES any caller-supplied

        score/threshold. With no spec it falls back to the legacy caller-reported reading

        (backward-compatible). Either way it folds the latest + emits

        model.faithfulness.measured.'
      operationId: record_faithfulness_model__env__faithfulness_post
      parameters:
      - name: env
        in: path
        required: true
        schema:
          type: string
          title: Env
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FaithfulnessRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Model
    get:
      summary: Get Faithfulness
      description: 'The latest faithfulness readings for an environment: the env-wide model

        (scope=_model) + per-process. For any scope with a GOVERNED spec the reading is

        RECOMPUTED live (so the trust-meter can''t drift from a stale POST); scopes with

        only a legacy reading are returned as stored. Backs the UI trust-meter.'
      operationId: get_faithfulness_model__env__faithfulness_get
      parameters:
      - name: env
        in: path
        required: true
        schema:
          type: string
          title: Env
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Model
  /model/{env}/processes/{pid}/request_authorization:
    post:
      summary: Request Authorization
      description: 'The loop records that a process''s SHADOW champion (a generated automation

        that met its target) awaits human live-authorization — it lands in the

        inbox. The loop requests; only a human (admin) authorizes.'
      operationId: request_authorization_model__env__processes__pid__request_authorization_post
      parameters:
      - name: env
        in: path
        required: true
        schema:
          type: string
          title: Env
      - name: pid
        in: path
        required: true
        schema:
          type: string
          title: Pid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AuthorizationRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Model
  /model/{env}/authorizations:
    get:
      summary: List Authorizations
      description: 'The human-leaf inbox: shadow champions awaiting (or having received) a

        live-authorization decision, for this environment.'
      operationId: list_authorizations_model__env__authorizations_get
      parameters:
      - name: env
        in: path
        required: true
        schema:
          type: string
          title: Env
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Model
  /model/{env}/processes/{pid}/authorize:
    post:
      summary: Authorize Process
      description: 'The human gate (admin only): authorize the shadow champion for live use.

        The collector records + emits loop.authorized; the actual deploy stays

        external/CI (the collector grants authorization, it does not push code).'
      operationId: authorize_process_model__env__processes__pid__authorize_post
      parameters:
      - name: env
        in: path
        required: true
        schema:
          type: string
          title: Env
      - name: pid
        in: path
        required: true
        schema:
          type: string
          title: Pid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AuthorizationDecisionRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Model
  /model/{env}/processes/{pid}/reject:
    post:
      summary: Reject Authorization
      description: 'The human gate (admin only): reject the shadow champion.'
      operationId: reject_authorization_model__env__processes__pid__reject_post
      parameters:
      - name: env
        in: path
        required: true
        schema:
          type: string
          title: Env
      - name: pid
        in: path
        required: true
        schema:
          type: string
          title: Pid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AuthorizationDecisionRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Model
components:
  schemas:
    AuthorizationRequest:
      properties:
        candidate_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Candidate Id
        artifact_ref:
          anyOf:
          - type: string
          - type: 'null'
          title: Artifact Ref
        artifact_summary:
          anyOf:
          - type: string
          - type: 'null'
          title: Artifact Summary
        score:
          anyOf:
          - type: number
          - type: 'null'
          title: Score
        threshold:
          anyOf:
          - type: number
          - type: 'null'
          title: Threshold
        artifact:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Artifact
        oracle_receipt:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Oracle Receipt
      type: object
      title: AuthorizationRequest
      description: 'A request to put a process''s shadow champion through the human-gated

        live-authorization (environment-model + codegen authorize_live).'
    FaithfulnessSpecRequest:
      properties:
        scope:
          type: string
          maxLength: 120
          minLength: 1
          title: Scope
          default: _model
        predicted:
          additionalProperties: true
          type: object
          title: Predicted
        ground_truth:
          additionalProperties: true
          type: object
          title: Ground Truth
        threshold:
          type: number
          maximum: 1.0
          minimum: 0.0
          title: Threshold
        test_frac:
          type: number
          exclusiveMaximum: 1.0
          exclusiveMinimum: 0.0
          title: Test Frac
          default: 0.3
        compare:
          title: Compare
      type: object
      required:
      - predicted
      - ground_truth
      - threshold
      title: FaithfulnessSpecRequest
      description: "A GOVERNED faithfulness spec (Phase 1, 1a): declares HOW the collector\nrecomputes a scope's held-out faithfulness — the predicted field (from a schema\nentity type) vs. an INDEPENDENT ground-truth projection — plus the passing\nthreshold. Admin-only; the loop reads it, never authors it.\n  predicted:    {\"entity_type\": \"<schema entity>\", \"field\": \"<projected field>\"}\n  ground_truth: {\"event_types\": [...], \"key\": \"<dotted>\", \"value_path\": \"<dotted>\"}\n  compare:      \"exact\" | {\"numeric_tol\": <float>} (default exact)"
    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
    FaithfulnessRequest:
      properties:
        score:
          type: number
          maximum: 1.0
          minimum: 0.0
          title: Score
        threshold:
          type: number
          maximum: 1.0
          minimum: 0.0
          title: Threshold
          default: 0.0
        scope:
          type: string
          maxLength: 120
          minLength: 1
          title: Scope
          default: _model
        n_test:
          anyOf:
          - type: integer
          - type: 'null'
          title: N Test
        held_out:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Held Out
        ground_truth_event_types:
          items:
            type: string
          type: array
          title: Ground Truth Event Types
        note:
          anyOf:
          - type: string
          - type: 'null'
          title: Note
      type: object
      required:
      - score
      title: FaithfulnessRequest
      description: 'A held-out model-faithfulness reading (environment-model v0.1 S4).

        `scope` is a process id, or ''_model'' for the env-wide model. `score` ∈ [0,1]

        is the held-out agreement with independent ground truth.


        NOTE (Phase 1, 1a): when a governed FaithfulnessSpec exists for (env, scope)

        the collector RECOMPUTES the reading and IGNORES `score`/`threshold` here — they

        are retained only for the legacy (no-spec) path and are deprecated.'
    SynthesizeRequest:
      properties:
        process:
          type: string
          maxLength: 200
          minLength: 1
          title: Process
        station:
          type: string
          maxLength: 200
          title: Station
          default: ''
        requires:
          items:
            additionalProperties: true
            type: object
          type: array
          title: Requires
        provides:
          items:
            type: string
          type: array
          title: Provides
      type: object
      required:
      - process
      title: SynthesizeRequest
      description: 'Phase 3 rung 2 — the DETERMINISTIC gap analysis. `requires` is the proposer''s

        (an LLM derives it client-side); the collector computes required − provided and

        returns an automation or a dependency candidate.'
    ModelSchemaRequest:
      properties:
        entities:
          items:
            additionalProperties: true
            type: object
          type: array
          minItems: 1
          title: Entities
        relations:
          items:
            additionalProperties: true
            type: object
          type: array
          title: Relations
        description:
          type: string
          title: Description
          default: ''
      type: object
      required:
      - entities
      title: ModelSchemaRequest
      description: 'A domain ModelSchema for an environment (specs/environment-model/v0.1).

        `entities` is validated structurally in the route (each needs name+key+folds);

        kept loose here so the schema can evolve without a model migration.'
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ProcessRegisterRequest:
      properties:
        id:
          type: string
          maxLength: 120
          minLength: 1
          pattern: ^[a-z][a-z0-9_.:-]*$
          title: Id
        loop_target:
          anyOf:
          - type: string
          - type: 'null'
          title: Loop Target
        description:
          anyOf:
          - type: string
            maxLength: 2000
          - type: 'null'
          title: Description
        observed_by:
          items:
            type: string
          type: array
          title: Observed By
        automated_by:
          anyOf:
          - type: string
          - type: 'null'
          title: Automated By
        objective:
          anyOf:
          - type: string
          - type: 'null'
          title: Objective
        target:
          anyOf:
          - type: number
          - type: 'null'
          title: Target
        depends_on:
          items:
            type: string
          type: array
          title: Depends On
        status:
          anyOf:
          - type: string
          - type: 'null'
          title: Status
        discovery:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Discovery
        where:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Where
      type: object
      required:
      - id
      title: ProcessRegisterRequest
      description: 'A process node in an environment''s process graph (environment-model v0.1

        S2). `loop_target` ties it to the satisficing loop whose loop.satisfied is the

        governed evidence for advancing to at_target.'
    ProcessAdvanceRequest:
      properties:
        status:
          type: string
          title: Status
        note:
          anyOf:
          - type: string
          - type: 'null'
          title: Note
      type: object
      required:
      - status
      title: ProcessAdvanceRequest
    AuthorizationDecisionRequest:
      properties:
        note:
          anyOf:
          - type: string
          - type: 'null'
          title: Note
      type: object
      title: AuthorizationDecisionRequest
    DiscoverRequest:
      properties:
        since_days:
          type: integer
          maximum: 365.0
          minimum: 1.0
          title: Since Days
          default: 14
        max_events:
          type: integer
          maximum: 100000.0
          minimum: 1.0
          title: Max Events
          default: 20000
        limit:
          type: integer
          maximum: 500.0
          minimum: 1.0
          title: Limit
          default: 25
      type: object
      title: DiscoverRequest
      description: 'Phase 3 rung 1 — mine an env''s own events into a friction-ranked automation

        backlog. Read-only; window-bounded.'
x-refined-from:
- openapi.json
- session-exchange-com-openapi.json