API

Torque exposes a local JSON API on the same port as the dashboard. All endpoints are prefixed with /api/ and return JSON responses. The API is designed for local integration — scripts, automations, or external tools running on the same machine.

Categories

Status — system health, worker heartbeat, daily spend, integration status.

Intake — submit messages, create sessions, list session history. Messages are routed through governance just like dashboard chat.

Queue — list tasks and research jobs by status. Approve or reject gated work. Monitor processing state.

Provenance — retrieve provenance records for any entity. Re-verify artifact integrity. Export evidence bundles in JSON, CSV, or Markdown. View entity-level structural diffs.

Vault — search the semantic corpus. Trigger vault sync. Query related content.

Workflows — list configured workflows. Start instances. View stage progress and work products. Advance, approve, reject, or retry stages. Submit manual-stage content.

Settings — read and update runtime configuration. Test provider connectivity.

Authentication

When AuthMode is set to none (the default for solo operators), the API requires no authentication. Team deployments can enable session-based or passkey authentication.

Integration patterns

The API enables automation workflows like: a cron job that submits daily research topics, a script that monitors queue depth and alerts on backlogs, or an external tool that pulls provenance data for compliance reporting.

Full reference

Endpoint-level documentation with request/response examples is included with your purchase.