const requestsToSend = [
["/v1/people/intelligence",{"person":{"name":"Jordan Lee","company":"Example Engineering"},"tier":"low","fields":{"current_title":"Current professional title at the named company","professional_profile":"Public professional profile URL, if supported","role_dates":"Publicly documented dates for this role, if available"},"wait_seconds":20}],
];
for (const [path, body] of requestsToSend) {
const response = await fetch("https://api.sixtyfour.ai" + path, {
method: "POST",
headers: {"x-api-key": "YOUR_API_KEY", "Content-Type": "application/json"},
body: JSON.stringify(body),
});
if (!response.ok) throw new Error(await response.text());
console.log(await response.json());
}