AGH RuntimeAPI Reference
API Reference
Per-tag HTTP and SSE reference for the AGH daemon, generated from the canonical OpenAPI contract on every site build.
- Audience
- Operators running durable agent work
- Focus
- API Reference guidance shaped for scanability, day-two clarity, and operator context.
The AGH daemon ships a single HTTP surface under /api. This reference is built from
openapi/agh.json at every site build, so each request and response schema below matches the
binary you are running.
The CLI and the HTTP API operate the same daemon state. Use the CLI reference for end-to-end recipes; use the per-tag pages here when you need request bodies, response schemas, status codes, or SSE event shapes.
Recommended Entry Points
Automating session work
- Sessions —
POST /api/sessions,POST /api/sessions/{id}/prompt,GET /api/sessions/{id}/events,GET /api/sessions/{id}/stream,POST /api/sessions/{id}/resume. - Agents — list and inspect resolved agent definitions.
- Memory — read, write, search, and consolidate persistent context.
Building operational dashboards
- Observe — global health, event stream, task dashboard.
- Memory — health and redacted operation history.
- Bridges — health snapshots and SSE updates.
Integrating runtime configuration
- Settings — read and mutate daemon settings.
- Vault — list metadata, write new refs, delete refs (no plaintext ever leaves the daemon).
- Workspaces and Skills — register and inspect operator surfaces.
Managing extensible desired state
- Resources — read and mutate desired-state objects.
- Automation — jobs, triggers, runs.
- Extensions — install, enable, disable, inspect extensions.