{"info":{"description":"Read-only public platform health endpoint, verified live during the agent-readiness audit. This fixture documents the observed health response and does not describe authenticated product APIs.","title":"Doctorine Public Health","version":"1.0.2"},"openapi":"3.0.3","paths":{"/v1/health":{"get":{"description":"Returns the current public health status. No authentication is required. A successful response confirms this endpoint is responding; it is not a guarantee that every dependent service is healthy.","operationId":"getPlatformHealth","responses":{"200":{"content":{"application/json":{"example":{"status":"ok"},"schema":{"properties":{"status":{"enum":["ok"],"type":"string"}},"required":["status"],"type":"object"}}},"description":"The public health endpoint is responding."}},"security":[],"summary":"Read public API health","x-codeSamples":[{"lang":"csharp","source":"using var client = new HttpClient();\nusing var request = new HttpRequestMessage(HttpMethod.Get, \"{{SERVER_NOT_CONFIGURED}}/v1/health\");\nusing var response = await client.SendAsync(request);"},{"lang":"curl","source":"curl -X GET '{{SERVER_NOT_CONFIGURED}}/v1/health'"},{"lang":"go","source":"package main\n\nimport (\n\t\"context\"\n\t\"net/http\"\n)\n\nfunc main() {\n\tctx := context.Background()\n\treq, err := http.NewRequestWithContext(ctx, \"GET\", \"{{SERVER_NOT_CONFIGURED}}/v1/health\", nil)\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tresp, err := http.DefaultClient.Do(req)\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tdefer resp.Body.Close()\n}"},{"lang":"java","source":"var request = HttpRequest.newBuilder(URI.create(\"{{SERVER_NOT_CONFIGURED}}/v1/health\"))\n    .method(\"GET\", HttpRequest.BodyPublishers.noBody())\n    .build();\nvar response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());"},{"lang":"javascript-fetch","source":"const response = await fetch('{{SERVER_NOT_CONFIGURED}}/v1/health', { method: 'GET' });\nconst data = await response.json();"},{"lang":"node","source":"const response = await fetch('{{SERVER_NOT_CONFIGURED}}/v1/health', { method: 'GET' });\nconsole.log(await response.json());"},{"lang":"php","source":"<?php\n$request = curl_init(\"{{SERVER_NOT_CONFIGURED}}/v1/health\");\ncurl_setopt($request, CURLOPT_CUSTOMREQUEST, \"GET\");\n$response = curl_exec($request);\ncurl_close($request);"},{"lang":"python","source":"import requests\n\nresponse = requests.request(\"GET\", \"{{SERVER_NOT_CONFIGURED}}/v1/health\")\nprint(response.json())"},{"lang":"ruby","source":"require 'net/http'\n\nuri = URI(\"{{SERVER_NOT_CONFIGURED}}/v1/health\")\nrequest = Net::HTTPGenericRequest.new(\"GET\", false, true, uri)\nresponse = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) { |http| http.request(request) }"}]}}},"security":[]}