1import { ApifyClient } from 'apify-client';
2
3
4
5const client = new ApifyClient({
6 token: '<YOUR_API_TOKEN>',
7});
8
9
10const input = {
11 "JURISDICTIONS": "United States; European Union (EU)",
12 "PRIVATE_DECISION_AND_FACTS": "Product details to confirm: core features (outputs/decisions), whether it is a medical device or regulated product, targeted customer type, data sources, and whether users deploy models for high-risk regulated decisions",
13 "PRODUCT_CATEGORY": "AI-native SaaS platform providing autonomous research and workflow automation tools",
14 "PUBLIC_REFERENCE": "EU AI Act (Regulation (EU) 2024/1689); US: FDA/FTC guidance on AI in products (as applicable)"
15};
16
17
18const run = await client.actor("fifthrow/authorization-pathway-decision-brief").call(input);
19
20
21console.log('Results from dataset');
22console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
23const { items } = await client.dataset(run.defaultDatasetId).listItems();
24items.forEach((item) => {
25 console.dir(item);
26});
27
28