Start here

The whole API is four operations on one host, no key. Everything below is published by SMKlog and kept in step with the live contract by the same test run that gates a deploy.

Contract and schemas

One contract, one vocabulary, one data model, published as files a tool can read.

ArtifactWhat it isWhere
OpenAPI 3.1The live contract; the root copy on this site is byte-identical to the API host.quote-api.smklog.com/openapi.json · mirror
JSON Schema (2020-12)One schema per component: QuoteRequest, QuoteResponse, Rate, Package, CheckoutSessionRequest, CheckoutSession, CheckoutStatus, Liveness, Problem. Cross-referenced by URL.quote-request · quote-response · rate · package · checkout-session-request · checkout-session · checkout-status · liveness · problem
JSON-LD contextBinds every class and property of the contract to a stable IRI, with schema.org terms where one fits.context.jsonld
VocabularyThe words the contract, the MCP tools and the docs use, each with one meaning, plus the enumerations.vocabulary.yaml
OverlayOpenAPI Overlay 1.0 binding each operation to its MCP tool, A2A skill and rate-limit bucket.overlay.yaml
APIs.jsonThe self-hosted index of this API and every artifact around it./apis.json · /.well-known/apis.json

Governance

What the contract is held to before it ships.

The Spectral ruleset extends the maintained spectral:oas base with twenty house rules in three severities: every operation explains itself (error), every error answer is the one Problem shape (error), examples ride on every request and every 200 (warn), the document names its author (error), and naming guidance (info). The same promises are asserted in code on every test run; Spectral runs against the generated document before a worker deploy and the expected result is zero findings at any severity.

Versioning. One product version (today 1.4.0) is shared by the OpenAPI document, the MCP server card, the agent card and the /status answer; paths carry no version prefix. Every change to date has been additive: new fields, new examples, richer descriptions. The news page records each release with its date.

For agents

The same capability over MCP and A2A, and every discovery document an agent tries first.

An agent prices and prepares checkout; a human always completes payment on smklog.com. No operation on this host can charge anything.

Operations

Where to look when something is slow, refused or down.