API reference

Coming soon.

A public REST API is on the roadmap. Today, Senix is consumed through the GitHub App and the MCP server — both cover the common workflows without writing API code.

What we're planning

  • GET /v1/analyses — list analyses for your repositories, with filtering by repo, risk level, and date.
  • GET /v1/analyses/:id — fetch a single analysis, including the structural diff and risk flags.
  • POST /v1/analyze — run an analysis on an arbitrary diff, the same surface the MCP tool uses.
  • Webhooks — subscribe to analysis-completed events to pipe results into your own tools.
  • API keys — scoped, revocable keys managed from the dashboard, mirroring MCP tokens.

If a specific endpoint would unblock you, tell us via the Feedback button in the dashboard — it helps us prioritize.