52 lines
2.3 KiB
YAML
52 lines
2.3 KiB
YAML
openapi: 3.1.0
|
|
info:
|
|
title: seal-use Wrapped API
|
|
version: 0.10.42
|
|
description: |
|
|
HTTP contract for the seal-use wrapped backend API, served by the local HTTP adapter
|
|
(`seal-use http`, or the `seal-use service start` daemon; default http://127.0.0.1:8787).
|
|
|
|
These endpoints describe the stable wrapped API for frontend developers and agents. They are
|
|
not the raw downstream Seal endpoints: seal-use is responsible for enterprise selection,
|
|
source authentication, response compaction, and diagnostics-friendly fields.
|
|
|
|
Every operation declares `x-implementation-status`, so a caller can tell what the running
|
|
adapter actually serves:
|
|
|
|
- `implemented` — routed by `src/http/routes.ts` today. `src/http/openapi-implementation.test.ts`
|
|
fails when an `implemented` operation has no matching route.
|
|
- `planned` — contract-only, designed but not routed yet. Calling it returns 404.
|
|
|
|
The same capabilities are reachable through the CLI, and through the optional MCP server when
|
|
it is enabled.
|
|
|
|
Authentication: none. The adapter answers every request with the enterprise credentials already
|
|
stored on this machine, and never checks who is calling — so keep it on loopback (the default)
|
|
and never expose the port to a network or an origin you do not control. The full trust model is
|
|
in SECURITY.md, "Trust model and documented limitations".
|
|
servers:
|
|
- url: http://localhost:8787
|
|
description: Local HTTP adapter (`seal-use http`, or the `seal-use service start` daemon). Loopback-only by default.
|
|
tags:
|
|
- name: Corps
|
|
description: Local enterprise configuration selection.
|
|
- name: Source
|
|
description: Source-derived Seal enterprise configuration.
|
|
- name: Auth
|
|
description: Wrapped authentication diagnostics and current identity.
|
|
- name: Approval Runs
|
|
description: Wrapped approval run history, summaries, document URLs, and trace bridge helpers.
|
|
- name: Approval Knowledge
|
|
description: Wrapped approval rules, documents, preferences, and search.
|
|
- name: Simulation
|
|
description: Wrapped simulation batch record access.
|
|
paths:
|
|
$ref: ./paths/index.yaml
|
|
components:
|
|
parameters:
|
|
$ref: ./components/parameters.yaml
|
|
responses:
|
|
$ref: ./components/responses.yaml
|
|
schemas:
|
|
$ref: ./components/schemas/index.yaml
|