API Reference Unavailable

The interactive docs could not load. This may be due to network restrictions blocking the Scalar CDN.

You can still access the raw OpenAPI spec: openapi.yaml

For machine consumers, see agents.md.

MCP Tools Reference

All 10 tools available via JSON-RPC 2.0 at https://mcp.opendistrict.org/mcp. Bearer token required.

query

Federated SQL with read-only gate. Executes across connected sources without write side-effects.

sql: string params?: Record

search

Semantic + lexical search across indexed data. Hybrid retrieval with Qdrant (1024-dim) and lexical fallback.

q: string filters?: object limit?: number

schema

Introspect available schemas, types, and table structures across connected sources.

source?: string table?: string

catalog

Browse and search the connector catalog. Lists source templates, types, and sync status.

type?: string category?: string search?: string

topology

Inspect the entity graph topology. Node and edge counts, entity types, relationship summaries.

entity_type?: string depth?: number

metrics

Query platform usage and data freshness metrics. Tenant-scoped statistics on queries, syncs, and coverage.

scope?: enum period?: string

entities

Entity graph lookup with cited paths. Returns entities and their provenance chains.

id?: string type?: string name?: string depth?: number

pipelines

Manage scheduled DAG jobs. Inspect pipeline definitions, runs, and status.

action: enum id?: string

events

Query the append-only event store. Temporal provenance on all facts.

filter?: object cursor?: string limit?: number

audit

Query audit log entries. Every query and action is recorded with actor, resource, timestamp.

filter?: object cursor?: string limit?: number