Public API & Data Contracts
Machine-readable REST API endpoints, OpenAPI 3.1 specification, and M31A autonomous agent contract
M31A Autonomous Agent Contract
The canonical TOML registry publishes a deterministically derived JSON representation at /data/m31a-models.json directly compatible with the M31A autonomous agent runtime cache (~/.config/m31a/models_cache.json). Newly discovered models appear automatically with zero frontend or client code modifications.
Available HTTP Endpoints (v1)
Query, search, filter, and paginate through canonical NVIDIA models.
Retrieve full specifications, pricing, and observed status for a specific model.
Retrieve derived public status, probe success rate, and average response latency.
Retrieve historical synthetic probe time-series (latency, TTFT, throughput).
System health summary with operational status distributions and recent probe cycles.
Export the complete validated canonical catalog metadata.
Service health check and database persistence status.
Protected internal endpoint for monitoring workers to submit batch probe results.
Client Query Examples
# Search models with reasoning capability curl "https://models.m31a.tonmoyinfrastructure.org/api/v1/models?capability=reasoning&pageSize=10"
import requests
resp = requests.get("https://models.m31a.tonmoyinfrastructure.org/api/v1/status")
print(resp.json())