# API Reference
URL: /docs/alineod/api-reference

The alineod wire contract — HTTP routes and run-stream events.



The contract is defined as Zod schemas in `apps/alineod/src/schema.ts`. A running daemon serves an interactive
OpenAPI document at `/openapi`, and `bun run spec` emits `specs/alineod/openapi.json` and
`specs/alineod/events.schema.json`.

<Cards>
  <Card href="/docs/alineod/api-reference/http-api" title="HTTP API" description="Runs, agents, control actions, and results." />

  <Card href="/docs/alineod/api-reference/events" title="Events" description="The SSE run stream: lifecycle events, forwarded harness events, and reconnection." />
</Cards>
