Skip to content
Documentation
v0.1.6

API & integrations

Tally's generated OpenAPI document is the source of truth for product route schemas. The Tally executable adds its authentication and authorization boundary around those routes.

Use the maintained contract#

Start with specs/openapi.json and the JSON schemas. Product routes use /api/v1/tally. Review the contract from the same release as the running binary; alpha APIs may change.

The generated product schema does not describe every Tally account route. The Tally authentication implementation and its integration tests define registration, sign-in, invitations, sessions, password recovery, and role checks.

Authentication and browser requests#

The Tally console signs in through POST /api/v1/auth/login and verifies its session with GET /api/v1/auth/me. A successful login sets the secure HttpOnly tally_session cookie. Protected product routes require a valid session, and administrative operations require the administrator role.

Browser clients should use the same HTTPS origin as the console and include credentials. Mutations are subject to origin checks. Do not expose the internal upgrade listener or assume that a route's presence in the product schema bypasses Tally permissions.

Check readiness#

Readiness and liveness routes are available without a user session. For a default local installation, trust its generated certificate explicitly:

Terminal
curl --fail \
  --cacert "$HOME/.godel-tally/data/tls/tally.crt" \
  https://localhost:2357/api/v1/tally/health/ready

Use your configured port and certificate path. A readiness response checks application availability; it does not certify every vendor connector or all inventory coverage.

Develop a connector#

Use the existing sanitized connector fixtures, normalization contracts, and Postman simulations to test pagination, retries, failures, and redaction. Keep source payloads and secrets out of durable observations.

Managed-agent and security-log simulations exercise the real collectors against local contract fixtures. They establish compatibility with those fixtures, not access to a customer's live vendor tenant. Validate account permissions and actual source availability separately.

Esc
  • Welcome to TallyGet started · Install Gödel Tally and discover your organization's AI inventory.
  • Install TallyGet started · Choose an installation method, install the Tally binary with one command, choose databases, and configure HTTPS.
  • Install with DockerGet started · Run Tally, PostgreSQL, and ClickHouse with Docker Compose and the published image; no Tally binary needed.
  • Install with Apple containerGet started · Run the same Tally images with Apple container on an Apple silicon Mac.
  • Connect your sourcesUse Tally · Configure read-only discovery sources and understand their evidence.
  • Inventory & findingsUse Tally · Explore AI activity, review evidence, and record governance decisions.
  • Accounts & emailUse Tally · Manage invitations, passwords, roles, and email delivery in Gödel Tally.
  • Terminal overviewTerminal · Tally's two terminal tools: the command line (CLI) and the interactive console (TUI), and which to use.
  • Command line (CLI)Terminal · Sign in once, look around, manage connectors and script Tally: readable output in a terminal, JSON when piped, with exit codes.
  • Terminal console (TUI)Terminal · The web console in a terminal: sections, keys and mouse, connecting a source, and light and dark themes.
  • Configuration referenceOperate · Find Tally's saved settings, installation paths, ports, and environment reference.
  • Services & maintenanceOperate · Start, stop, update, back up, and uninstall Tally.
  • Privacy & dataOperate · Understand retained metadata, storage, retention, and data deletion.
  • Upgrade to Gödel GateOperate · Review the Docker-based Gate upgrade, transferred data, and cutover process.
  • ArchitectureBuild · How the Tally binary, connector worker, web console, and databases fit together.
  • DevelopmentBuild · Run Rust and Next.js with live reload and build release binaries.
  • API & integrationsBuild · Find Tally's generated API contract, authentication boundary, and connector fixtures.