const res = await fetch('https://api.primaryapi.com/v1/run/hackernews.story', { method: 'POST', headers: { Authorization: `Bearer ${process.env.PRIMARYAPI_API_KEY}`, 'Content-Type': 'application/json', }, body: JSON.stringify({ id: '8863' }),});const body = await res.json();if (!res.ok) throw new Error(`${body.code}: ${body.error}`);// found: false means "does not exist" and is still a success.console.log(body.output.data, body.credits);