{/* Tab strip */}
{API_DEMOS.map((item, index) => {
const tone = ACCENT_CLASSES[item.accent]
const isActive = index === activeIndex
return (
)
})}
200 ok
{/* Endpoint row */}
{demo.method}
{demo.endpoint}
{/* Body — fixed rows so neither block shifts when switching demos */}
{/* Request */}
{/* Response */}
{/* Footer metrics */}
{demo.latency}
ms
{demo.tokens}
tokens
cost
${(demo.tokens * 0.00003).toFixed(5)}
stream · sse