$ node --input-type=module - <<'JS'
import { readFileSync } from 'node:fs';
const env = Object.fromEntries(readFileSync('/Users/khaliqgant/Projects/AgentWorkforce/relayflow-pr-proof-cloud-key.env', 'utf8').split('\n').filter(x => /^[A-Z_]+=/.test(x)).map(x => { const at=x.indexOf('='); return [x.slice(0,at), x.slice(at+1).replace(/^['"]|['"]$/g,'')]; }));
const response = await fetch('https://agentrelay.com/cloud/api/v1/workflows/runs', { headers: { authorization: `Bearer ${env.CLOUD_API_KEY}` }, redirect: 'error', signal: AbortSignal.timeout(15000) });
console.log('Authenticated Cloud-base-path read HTTP:', response.status);
JS

Authenticated Cloud-base-path read HTTP: 401

exit: 0
