SDK
Usage
Signals, enrichment, and drafts from the SDK, with auto-pagination.
Signals
// One page
const page = await client.signals.list({ minScore: 80, limit: 50 });
console.log(page.data[0].company, page.data[0].score);
// A single signal
const signal = await client.signals.get('sig_id');
// Every matching signal, auto-paginated
for await (const s of client.signals.iterate({ type: 'funding' })) {
console.log(s.company, s.score);
}Contact enrichment
const contact = await client.contacts.enrich({
company: 'Acme',
role: 'VP of Sales',
domain: 'acme.com', // optional hint
});
// contact.email is grounded from public sources — null when unproven,
// never guessed. Check contact.confidence: 'high' | 'medium' | 'low'.Each call counts against your plan's monthly enrichment quota.
Drafts
const draft = await client.drafts.create({
signalId: signal.id,
contact: { name: 'Jane Doe', title: 'VP of Sales' },
senderName: 'Shaked', // first name used in the sign-off
});
console.log(draft.subject, draft.body);Draft generation spends from your plan's daily AI budget; when it's exhausted the call throws a PermissionError (HTTP 402) until the next UTC day.