Cernion Decision Frame API

The Decision Frame API from Cernion — 5 operation(s) for decision frame.

Operations 7

POST /api/decision-frame Create a SCQA decision frame #
GET /api/decision-frame List SCQA decision frames #
GET /api/decision-frame/:frameId Get a SCQA decision frame by ID #
PUT /api/decision-frame/:frameId Update a SCQA decision frame (patch answer, status, etc.) #
POST /api/decision-frame/:frameId/links Link a domain entity to a SCQA frame #
POST /api/decision-frame/generate-starter AI-assisted SCQA starter from entity context #
GET /api/decision-frame/:frameId/export Export a SCQA frame as Markdown or JSON document #

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/cernion-de:cernion-de-decision-frame-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

cernion-de-decision-frame-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cernion Energy Tools Decision Frame API
  version: 0.99.22
  description: 'MicroService Agent System for Energy Markets - REST API with AI integration.


    CERNION_TOKEN: request at https://cernion.de/ or by email: dev@stromdao.com.


    For the public instance at https://api.cernion.de/, create your token at https://cernion.de/cet-token/.'
servers:
- url: https://api.cernion.de
  description: API Server
tags:
- name: Decision Frame
paths:
  /api/decision-frame:
    post:
      summary: Create a SCQA decision frame
      tags:
      - Decision Frame
      operationId: decision_frame_create
      parameters:
      - $ref: '#/components/parameters/TokenQuery'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - situation
              - complication
              - question
              - domain
              properties:
                situation:
                  type: string
                  minLength: 10
                complication:
                  type: string
                  minLength: 10
                question:
                  type: string
                  minLength: 5
                answer:
                  type: string
                domain:
                  type: string
                  enum:
                  - infrastructure
                  - regulatory
                  - financial
                  - strategic
                  - operational
                role:
                  type: string
                  enum:
                  - asset_management
                  - finance
                  - regulatory
                  - strategy
                  - operations
                  - customer
                createdBy:
                  type: string
                metadata:
                  type: object
                  additionalProperties: true
                  description: Optional governance or process metadata persisted with the frame. For CR-LKA, metadata.governanceArchitecture may carry changeRequest, candidateId, runCardId, workedExample, readiness, resolutionValue and role/action boundaries.
                  example:
                    governanceArchitecture:
                      changeRequest: CR-LKA-RV-001
                      candidateId: CRC001
                      runCardId: RC002_mako_clarification_to_m2c_revenue_risk
                      workedExample: mako_m2c_resolution_value
                      sideEffects: none
                token:
                  type: string
                  description: Optional Cernion MCP token for this request. Overrides CERNION_TOKEN when provided.
            examples:
              governanceFrame:
                summary: Create a decision frame with governance metadata
                value:
                  situation: A MaKo clarification blocks cashflow attribution for a resolution candidate.
                  complication: Evidence is incomplete and consequential actions must remain behind HITL.
                  question: Which role can resolve the next governance step?
                  domain: operational
                  role: operations
                  createdBy: agent-os
                  metadata:
                    governanceArchitecture:
                      changeRequest: CR-LKA-RV-001
                      candidateId: CRC001
                      runCardId: RC002_mako_clarification_to_m2c_revenue_risk
                      workedExample: mako_m2c_resolution_value
                      sideEffects: none
    get:
      summary: List SCQA decision frames
      tags:
      - Decision Frame
      operationId: decision_frame_list
      parameters:
      - name: domain
        in: query
        required: false
        schema:
          type: string
      - name: status
        in: query
        required: false
        schema:
          type: string
      - name: createdBy
        in: query
        required: false
        schema:
          type: string
      - name: linkedEntityId
        in: query
        required: false
        schema:
          type: string
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          default: 20
          minimum: 1
          maximum: 100
      - $ref: '#/components/parameters/TokenQuery'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
  /api/decision-frame/:frameId:
    get:
      summary: Get a SCQA decision frame by ID
      tags:
      - Decision Frame
      operationId: decision_frame_get
      parameters:
      - name: frameId
        in: path
        required: true
        schema:
          type: string
          example: df-aabbccddeeff
      - name: includeMakoKnowledge
        in: query
        required: false
        schema:
          type: boolean
          default: false
      - $ref: '#/components/parameters/TokenQuery'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
      description: Returns the decision frame. When `includeMakoKnowledge=true`, an optional, advisory `makoKnowledgeContext` (Willi-Mako structural hints via `willi-mako.resolveStructure`, queried by the frame question) is attached; it never changes the default response shape, is never binding, and degrades to `available:false` if unavailable.
    put:
      summary: Update a SCQA decision frame (patch answer, status, etc.)
      tags:
      - Decision Frame
      operationId: decision_frame_update
      parameters:
      - $ref: '#/components/parameters/TokenQuery'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                situation:
                  type: string
                  minLength: 10
                complication:
                  type: string
                  minLength: 10
                question:
                  type: string
                  minLength: 5
                answer:
                  type: string
                status:
                  type: string
                  enum:
                  - draft
                  - active
                  - closed
                role:
                  type: string
                  enum:
                  - asset_management
                  - finance
                  - regulatory
                  - strategy
                  - operations
                  - customer
                metadata:
                  type: object
                  additionalProperties: true
                  description: Optional governance or process metadata persisted with the frame. For CR-LKA, metadata.governanceArchitecture may carry changeRequest, candidateId, runCardId, workedExample, readiness, resolutionValue and role/action boundaries.
                  example:
                    governanceArchitecture:
                      changeRequest: CR-LKA-RV-001
                      candidateId: CRC001
                      runCardId: RC002_mako_clarification_to_m2c_revenue_risk
                      workedExample: mako_m2c_resolution_value
                      sideEffects: none
                token:
                  type: string
                  description: Optional Cernion MCP token for this request. Overrides CERNION_TOKEN when provided.
            examples:
              governanceFrameUpdate:
                summary: Update persisted governance metadata
                value:
                  answer: Route to billing operations for evidence completion before approval.
                  status: active
                  metadata:
                    governanceArchitecture:
                      changeRequest: CR-LKA-RV-001
                      candidateId: CRC001
                      runCardId: RC002_mako_clarification_to_m2c_revenue_risk
                      workedExample: mako_m2c_resolution_value
                      sideEffects: none
  /api/decision-frame/:frameId/links:
    post:
      summary: Link a domain entity to a SCQA frame
      tags:
      - Decision Frame
      operationId: decision_frame_linkEntity
      parameters:
      - $ref: '#/components/parameters/TokenQuery'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                frameId:
                  type: string
                entityType:
                  type: string
                entityId:
                  type: string
                token:
                  type: string
                  description: Optional Cernion MCP token for this request. Overrides CERNION_TOKEN when provided.
              required: []
  /api/decision-frame/generate-starter:
    post:
      summary: AI-assisted SCQA starter from entity context
      tags:
      - Decision Frame
      operationId: decision_frame_generateStarter
      parameters:
      - $ref: '#/components/parameters/TokenQuery'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
      description: Gathers context from available downstream services (ZNP, VDMI) and uses an LLM to synthesise a SCQA starter frame. Returns Situation, Complication, Question — the caller decides whether to persist via create. Requires LLM configuration.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                contextHint:
                  type: string
                znpProjectId:
                  type: string
                vdmiMatrixId:
                  type: string
                gridOperatorId:
                  type: string
                domain:
                  type: string
                token:
                  type: string
                  description: Optional Cernion MCP token for this request. Overrides CERNION_TOKEN when provided.
              required: []
  /api/decision-frame/:frameId/export:
    get:
      summary: Export a SCQA frame as Markdown or JSON document
      tags:
      - Decision Frame
      operationId: decision_frame_exportSummary
      parameters:
      - name: frameId
        in: path
        required: true
        schema:
          type: string
          example: df-aabbccddeeff
      - name: format
        in: query
        required: false
        schema:
          type: string
          enum:
          - markdown
          - json
          default: markdown
      - $ref: '#/components/parameters/TokenQuery'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
components:
  parameters:
    TokenQuery:
      name: token
      in: query
      required: false
      schema:
        type: string
      description: Optional Cernion MCP token as URL query parameter. If provided, it overrides CERNION_TOKEN for this request. Prefer Authorization Bearer header in production to reduce token exposure in URLs/logs.
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: 'Optional Cernion MCP token. If not provided, falls back to CERNION_TOKEN from environment. Request token at https://cernion.de/ or by email: dev@stromdao.com.'