REST API OpenAPI spec (#612)

* OpenAPI spec in specs/api.  Checked lint with redoc.
This commit is contained in:
cybermaggedon 2026-01-15 11:04:37 +00:00 committed by GitHub
parent 62b754d788
commit fce43ae035
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
84 changed files with 5638 additions and 0 deletions

View file

@ -0,0 +1,49 @@
type: object
description: Configuration service response
properties:
version:
type: integer
description: Configuration version number
example: 42
config:
type: object
description: Complete configuration (returned by 'config' operation)
additionalProperties: true
example:
flow:
default:
blueprint-name: document-rag+graph-rag
description: Default flow
prompt:
system: You are a helpful AI assistant
token-cost:
gpt-4:
prompt: 0.03
completion: 0.06
directory:
type: array
description: List of keys (returned by 'list' operation)
items:
type: string
example:
- default
- production
- my-flow
values:
type: array
description: Retrieved configuration values (returned by 'get' operation)
items:
type: object
properties:
type:
type: string
example: flow
key:
type: string
example: default
value:
type: object
additionalProperties: true
example:
blueprint-name: document-rag+graph-rag
description: Default flow