SDK starting point
Keep generated clients thin until the external product contracts are stable. The first durable contract is host, prefix, auth mode, and request ID propagation.
const response = await fetch("https://api.aevaro.com/core/health", {
headers: {
Authorization: `Bearer ${process.env.AEVARO_API_TOKEN}`,
"x-request-id": crypto.randomUUID(),
},
});
if (!response.ok) {
throw new Error(`Aevaro API returned ${response.status}`);
}
const payload = await response.json();curl https://api.aevaro.com/connect/health \
-H "Authorization: Bearer $AEVARO_API_TOKEN" \
-H "x-request-id: partner-smoke-001"