API overview
Base URL
Section titled “Base URL”https://api.sample.cloud/v1/All requests use HTTPS. Request and response bodies are JSON with snake_case fields.
Versioning
Section titled “Versioning”The major version is part of the path (/v1). Within a major version, fields are only added,
never removed or renamed.
Request IDs
Section titled “Request IDs”Every response carries a Request-Id header, for example req_06BXKD5RA3N1Q2TTX9F0M8ZC7G.
Include it when you contact support.
OpenAPI
Section titled “OpenAPI”The machine-readable description of the API is available at
/v1/openapi.json.
Health
Section titled “Health”GET /v1/health{ "status": "ok", "version": "3f2a9c1", "checks": { "database": "ok" } }The endpoint returns 200 when all checks pass and 503 when a dependency is down.