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.

unified_search

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

q: string filters?: object limit?: number

query

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

sql: string params?: Record

entities_lookup

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

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

entity_path

Trace entity relationships with provenance. Follows edges between two entities with source citations.

from_id: string to_id: string max_depth?: number

sources_list

List and inspect source connector configurations including status and last sync time.

id?: string status?: enum

pipelines_manage

Manage scheduled DAG jobs. Inspect definitions, trigger runs, check execution status.

action: enum id?: string

events_query

Query append-only event store. Temporal provenance on all facts with cursor pagination.

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

audit_query

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

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

health_check

Service health check. Component-level status for database, search index, event store.

(no parameters)

schema_introspect

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

source?: string table?: string