API Reference

Every route below is registered in registerRoutes and served by the console on the same origin as the Flutter app. The auth class of each was checked in its handler.

Auth classes

  • session: a console session cookie (requireSession). Without one the answer is 401 {"error":"unauthorized"}.
  • admin (LIST): a session plus adminRefusal against that allowlist. The answer is 403 with the refusal sentence. See Access and roles.
  • App token: a bearer GitHub App token carrying the App's rights for the console's org (authorizeReporter). A missing bearer is 401 {"error":"missing bearer token"}.
  • ingest token: a shared machine secret. Unset means the door refuses everything.

Most report GETs answer 200 even when their source is unreadable, and say so in the body (source:"unavailable", complete:false, unmeasured[]). GET /api/connections and GET /api/runners are the exceptions. Both answer 503 with the report in the body.

Models, agents, inference

Route Method Auth Purpose
/api/models GET session model cards joined with live tier state, a health verdict, token use
/api/inference GET session the inference plane as deployed (engine, model, quantization, context, memory, OOM history) plus the persisted benchmark
/api/agents GET session the 17-entry agent roster and the inference tiers, including the inference.router block
/api/agent-config GET session app agents' ini settings and bias rules, read from each repo's HEAD
/api/swarm GET session fleet health, roster and run/latency rollup across apps
/api/agent-schedules GET session each agent's cadence and arming (its page's Schedule & runs section)
/api/agent-schedules/{name} PUT admin (the agent-admin list) arm or disarm an agent
/api/agent-health POST ingest token the ingest credential app agents' rolled-up health

Connections and connectors

Route Method Auth Purpose
/api/connection-types GET session the connector catalog: settings and credential keys per type
/api/connections GET session list registry records
/api/connections POST admin (the connection-admin list) create
/api/connections/{id} GET session one record
/api/connections/{id} PUT, DELETE admin (the connection-admin list) update or delete. Omitting credentials keeps the stored bundle
/api/providers GET session cloud-provider config (GCP/AWS/Azure) and the connectors Runink TIDDE publishes
/api/providers POST admin (the connection-admin list) merge by section
/api/providers/gcp/status GET session the live GCP fleet link (opt-in)
/api/connectors/status GET session the cached connector probe. Never dials
/api/connectors/status/refresh POST admin (the connection-admin list) the one path that dials a published connector

The JSON connection and runner routes are deprecated aliases kept for one release. The pages use the gRPC services below.

Data-access runners

Route Method Auth Purpose
/api/runners GET session the registry, with per-runner health measured on TIDDE's own connection. Never dials
/api/runners POST admin (the runner-admin list) create a PENDING runner. Returns {runner, ticket, command}
/api/runners/{id} PATCH admin (the runner-admin list) change address, zone or labels
/api/runners/{id}/token POST admin (the runner-admin list) issue a new ticket for a PENDING runner
/api/runners/{id}/connect POST admin (the runner-admin list) dial now
/api/runners/{id}/revoke POST admin (the runner-admin list) revoke. TIDDE never dials the runner again
/api/runner-tokens/{id} DELETE admin (the runner-admin list) revoke an unused ticket

Trust

Route Method Auth Purpose
/api/access GET session the allowlists (set?, size, your membership) and instance grants
/api/harness GET session measures and compliance joined into actionable findings
/api/harness/{id}/act POST admin (the agent-admin list) run dispatch_agent, file_issue or needs_human. Audited before it acts, and idempotent
/api/guardrails GET session autonomy per action class, hard guardrails and modelGuardrails
/api/guardrails PUT admin (the agent-admin list) change an autonomy level
/api/measures GET session the platform self-assessment
/api/compliance GET session per-control findings. Never a score, never a framework mapping
/api/security GET session the mesh CA per namespace, and the model-guardrails rail

Governance and judgement

Route Method Auth Purpose
/api/data-governance-findings GET session the datagov findings store
/api/data-governance-findings POST App token the datagov agent's findings in
/api/data-governance-estate GET App token Resolve descriptions projected to structure and counts, for the datagov agent
/api/judgement GET session the docket and TIDDE's verdicts
/api/judgement/submissions POST ingest token the ingest credential findings in from an external platform. Verdicts on the wire are discarded
/api/judgements GET session the judge agent's runs
/api/judgements POST App token verdicts in from TIDDE's judge agent. The ingest token is refused by name

gRPC-web services behind the pages

These are served in-process, on the console's own origin and session, through the console's gRPC-web server. There is no separate port and no CORS.

Service Package Page
ConnectionsService, RunnersService runink.ui.datasources.v1 Connections, Runners
AccessService runink.ui.access.v1 Admin

Runner protocol (runink/core/runners/v1/runners.proto)

Here the runner is the gRPC server and TIDDE is the client.

Service RPC What
RunnerBootstrapService Enroll (bidi stream) the runner's first connection to TIDDE
RunnerService Health the runner measuring itself. It never touches a source
RunnerService Renew certificate renewal
RunnerService InstallCertificate hand over the renewed certificate
RunnerService Goodbye why TIDDE is dropping the runner. On REVOKED the runner stops for good

The Estate service and Ask are documented under Intelligence API.

results matching ""

    No results matching ""