Run artifact

workspace/targets/FxRates/blueprint/FEATURE-Health.md

FEATURE: Health Endpoint

FieldValue
Version20261026 V1
DescriptionDefines the service health endpoint.
Depends OnFEATURE-AppServer.md
ProvidesGET /health
Consumescreate_app()

Purpose

GET /health provides a lightweight check that the API is responding.

Programmatic Acceptance

=== AC health-response ===
Intent: The health endpoint responds successfully with the documented JSON body.
Cite: sources/INSTRUCTIONS.md:57-58
Requires: python-package=fastapi; scope=test
Requires: python-package=httpx2; scope=test

from app_server.testing import web_client

client = web_client() response = client.get("/health") assert response.status_code == 200 assert response.json() == {"status": "ok"} === END AC health-response ===

=== AC health-method ===
Intent: An unsupported method is refused by the health route.
Requires: python-package=fastapi; scope=test
Requires: python-package=httpx2; scope=test

from app_server.testing import web_client

client = web_client() response = client.post("/health") assert response.status_code == 405 === END AC health-method ===

User Acceptance

Guardrails