SDK & clients

Official clients and the fetch recipe.

The canonical in-repo client is lib/api.ts — a typed fetch wrapper used by the web app. Treat it as the reference implementation for endpoint shapes.

const HELIXQA = 'https://helixqa.onrender.com';
const run = await fetch(`${HELIXQA}/api/v1/test-runs`, {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.HELIXQA_TOKEN}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({ test_suite_id: 3 }),
}).then((r) => r.json());
Language-specific SDKs are not yet published; do not install unofficial packages claiming to be HelixQA SDKs.