Not Diamond Model Routing API
The Model Routing API from Not Diamond — 1 operation(s) for model routing.
Not Diamond Model Routing API is one of 4 APIs that Not Diamond publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
Tagged areas include Model Routing. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.
This API exposes 1 operation across 1 path, and defines 4 schemas. It is described by OpenAPI 3.0.1, at version 2.0.
Requests are made against a single base URL, https://api.notdiamond.ai/v2.
Metadata
The identity and technical contract details declared by the specification.
Authentication & Security 1
Not Diamond Model Routing API declares
1 security scheme
for authenticating requests.
It accepts HTTP bearer tokens (bearerAuth).
By default, every request must be authenticated.
bearerAuth— Not Diamond API key passed as a Bearer token.
Paths & Operations 1
Across 1 path, the API surfaces 1 operation — 1 POST. Each is listed below with its method, path, parameters, and response codes.
Schemas 4
The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are ModelSelectRequest (10 properties), LLMProvider (7 properties), ModelSelectResponse (2 properties), Message (2 properties). Each schema is shown below with its type and property counts.
Specification
The full machine-readable OpenAPI contract behind this narrative.
Source
More from Not Diamond 3
Other APIs Not Diamond publishes across the network.