1import { ApifyClient } from 'apify-client';
2
3
4
5const client = new ApifyClient({
6 token: '<YOUR_API_TOKEN>',
7});
8
9
10const input = {
11 "currentItems": [
12 {
13 "regulation": "EU AI Act",
14 "obligation": "GPAI documentation",
15 "providerType": "GPAI",
16 "changeType": "enforcement active",
17 "deadline": "2026-08-02",
18 "enforcementRiskScore": 85,
19 "observedAt": "2026-09-19"
20 },
21 {
22 "regulation": "EU AI Act",
23 "obligation": "systemic risk evaluation",
24 "providerType": "GPAI systemic risk",
25 "changeType": "guidance update",
26 "deadline": "2026-12-01",
27 "enforcementRiskScore": 70,
28 "observedAt": "2026-09-19"
29 }
30 ],
31 "previousItems": [
32 {
33 "regulation": "EU AI Act",
34 "obligation": "GPAI documentation",
35 "providerType": "GPAI",
36 "changeType": "pre-enforcement",
37 "deadline": "2026-08-02",
38 "enforcementRiskScore": 55,
39 "observedAt": "2026-07-19"
40 }
41 ]
42};
43
44
45const run = await client.actor("quanmatrix/eu-ai-act-gpai-compliance-enforcement-intelligence").call(input);
46
47
48console.log('Results from dataset');
49console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
50const { items } = await client.dataset(run.defaultDatasetId).listItems();
51items.forEach((item) => {
52 console.dir(item);
53});
54
55