Cernion ChatGPT Sidecar API
The ChatGPT Sidecar API from Cernion — 8 operation(s) for chatgpt sidecar.
The ChatGPT Sidecar API from Cernion — 8 operation(s) for chatgpt sidecar.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/cernion-de:cernion-de-chatgpt-sidecar-api"
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.
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: 3.2.0
info:
title: Cernion Energy Tools ChatGPT Sidecar 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: ChatGPT Sidecar
paths:
/api/chatgpt-sidecar/sessions:
post:
summary: Create a ChatGPT Sidecar session ticket with scoped capabilities
tags:
- ChatGPT Sidecar
operationId: chatgpt_sidecar_createSession
parameters:
- $ref: '#/components/parameters/TokenQuery'
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
description: Requires an authenticated Cernion tenant/user with the chatgpt-sidecar-creator role. Returns an opaque ticket URL and backend-generated prompt text; the response never echoes the session id/prompt back through the ticket endpoints.
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
ttl:
type: string
capabilityProfile:
type: string
writeScope:
type: string
origin:
type: string
metadata:
type: string
baseUrl:
type: string
token:
type: string
description: Optional Cernion MCP token for this request. Overrides CERNION_TOKEN when provided.
required: []
/api/chatgpt-sidecar/sessions/:sessionId:
delete:
summary: Revoke a ChatGPT Sidecar session (authenticated Cernion side only)
tags:
- ChatGPT Sidecar
operationId: chatgpt_sidecar_revokeSession
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:
sessionId:
type: string
token:
type: string
description: Optional Cernion MCP token for this request. Overrides CERNION_TOKEN when provided.
required: []
/api/chatgpt-sidecar/s/:ticket/manifest:
get:
summary: Read the session-scoped capability manifest (allowlist only)
tags:
- ChatGPT Sidecar
operationId: chatgpt_sidecar_manifest
parameters:
- name: ticket
in: path
required: true
schema:
type: string
example: opaque-ticket
description: Opaque ChatGPT Sidecar session ticket.
- $ref: '#/components/parameters/TokenQuery'
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
/api/chatgpt-sidecar/s/:ticket/action-openapi.json:
get:
summary: Read the session-scoped Custom GPT Action OpenAPI schema
tags:
- ChatGPT Sidecar
operationId: chatgpt_sidecar_actionOpenApi
parameters:
- name: ticket
in: path
required: true
schema:
type: string
example: opaque-ticket
description: Opaque ChatGPT Sidecar session ticket.
- $ref: '#/components/parameters/TokenQuery'
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
description: Returns a minimal ticket-scoped OpenAPI schema for Custom GPT Actions. The schema intentionally exposes only read-only ask/plan operations.
/api/chatgpt-sidecar/s/:ticket/ask:
post:
summary: Ask Cernion through the session-scoped evidence/capability facade
tags:
- ChatGPT Sidecar
operationId: chatgpt_sidecar_ask
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:
ticket:
type: string
question:
type: string
query:
type: string
context:
type: string
inputs:
type: string
capability:
type: string
parentTurnId:
type: string
token:
type: string
description: Optional Cernion MCP token for this request. Overrides CERNION_TOKEN when provided.
required: []
get:
summary: Ask Cernion through a browser-compatible read-only GET facade
tags:
- ChatGPT Sidecar
operationId: chatgpt_sidecar_browserAsk
parameters:
- name: ticket
in: path
required: true
schema:
type: string
example: opaque-ticket
description: Opaque ChatGPT Sidecar session ticket.
- name: question
in: query
required: false
schema:
type: string
- name: query
in: query
required: false
schema:
type: string
- name: q
in: query
required: false
schema:
type: string
- name: context
in: query
required: false
schema: {}
- name: inputs
in: query
required: false
schema: {}
- name: capability
in: query
required: false
schema:
type: string
- name: parentTurnId
in: query
required: false
schema:
type: string
- $ref: '#/components/parameters/TokenQuery'
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
description: For prompt-only ChatGPT.com usage where only URL reads are available. This facade is read-only and delegates to the same session policy as POST ask.
/api/chatgpt-sidecar/s/:ticket/plan:
post:
summary: Resolve a request to a Blueprint/Capability Broker route (no execution)
tags:
- ChatGPT Sidecar
operationId: chatgpt_sidecar_plan
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:
ticket:
type: string
task:
type: string
context:
type: string
capability:
type: string
parentTurnId:
type: string
token:
type: string
description: Optional Cernion MCP token for this request. Overrides CERNION_TOKEN when provided.
required: []
get:
summary: Resolve a request through a browser-compatible read-only GET facade
tags:
- ChatGPT Sidecar
operationId: chatgpt_sidecar_browserPlan
parameters:
- name: ticket
in: path
required: true
schema:
type: string
example: opaque-ticket
description: Opaque ChatGPT Sidecar session ticket.
- name: task
in: query
required: false
schema:
type: string
- name: q
in: query
required: false
schema:
type: string
- name: context
in: query
required: false
schema: {}
- name: capability
in: query
required: false
schema:
type: string
- name: parentTurnId
in: query
required: false
schema:
type: string
- $ref: '#/components/parameters/TokenQuery'
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
description: For prompt-only ChatGPT.com usage where only URL reads are available. This facade is read-only and delegates to the same session policy as POST plan.
/api/chatgpt-sidecar/s/:ticket/datapoints:
post:
summary: Create a draft datapoint through the session (draft_write only)
tags:
- ChatGPT Sidecar
operationId: chatgpt_sidecar_datapoints
parameters:
- $ref: '#/components/parameters/TokenQuery'
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
description: Only draft_write mutates in this slice. controlled_write, process_execute and requires_confirmation return a policy decision without creating anything.
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
ticket:
type: string
capability:
type: string
writeClass:
type: string
value:
type: string
description:
type: string
message:
type: string
token:
type: string
description: Optional Cernion MCP token for this request. Overrides CERNION_TOKEN when provided.
required: []
/api/chatgpt-sidecar/s/:ticket/metering:
get:
summary: Read a redacted metering summary for the session
tags:
- ChatGPT Sidecar
operationId: chatgpt_sidecar_metering
parameters:
- name: ticket
in: path
required: true
schema:
type: string
description: Opaque ChatGPT Sidecar session ticket.
- $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.'