get_api_docs
Retrieve complete Modernity API endpoint documentation, including URLs, methods, parameters, schemas, authentication, error codes, and rate limits; filter by endpoint group or get the full reference.
Instructions
Get complete API endpoint documentation for building with the Modernity API. Returns endpoint URLs, HTTP methods, parameters, request/response schemas, authentication, error codes, and rate limit details. Use this when a user wants to integrate Modernity into their app, needs to know how an endpoint works, or is writing code that calls the API. You can request docs for a specific endpoint group or get the full reference.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_api_docs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endpoint | No | Filter docs to a specific endpoint group: 'recent' (GET /v1/recent), 'query' (POST /v1/query), 'multi' (POST /v1/query/multi), 'live' (GET /v1/live SSE stream), 'sources' (GET /v1/sources), 'snapshot' (GET /v1/snapshot), 'counts' (GET /v1/counts), 'analyze' (POST /v1/analyze), 'keys' (POST /v1/keys), 'auth' (authentication flow), 'all' (complete reference). Default: 'all' |