Expand description
REST API handlers — direct /v1/* routes plus public health/status docs.
All handlers are thin: parse HTTP input, call SomaApplication, return JSON.
Structs§
Constants§
Functions§
- build_
openapi_ document - Refresh, build, and gateway-augment the OpenAPI document, returning the
raw
Valuerather than aResponse.openapi_jsonwraps this directly; the composition root (apps/soma) also calls it so it can layer its own route augmentation (e.g. Palette’s/v1/palette/*) on top withoutsoma-apidepending on a peer product-surface crate. - health
GET /health— liveness probe (unauthenticated).- openapi_
json GET /openapi.json— generated OpenAPI schema for the REST surface.- readyz
GET /readyz— readiness probe (unauthenticated).- status
GET /status— local runtime status (unauthenticated, redacts secrets).- v1_
capabilities - v1_
dynamic_ provider_ route - v1_echo
- v1_
greet - v1_help
- v1_
provider_ tool_ action - v1_
providers - v1_
service_ status