1import { ApifyClient } from 'apify-client';
2
3
4
5const client = new ApifyClient({
6 token: '<YOUR_API_TOKEN>',
7});
8
9
10const input = {
11 "items": [
12 {
13 "recordType": "match_observation",
14 "schemaVersion": "1.0.0",
15 "found": true,
16 "partial": false,
17 "failureType": null,
18 "checkedAt": "2026-09-22T05:25:29.359Z",
19 "observedAt": "2026-09-22T05:25:29.359Z",
20 "company": "Tesla",
21 "jurisdiction": "PL",
22 "caseCount": 23,
23 "cases": [
24 {
25 "name": "III K 14/12",
26 "court": "Sąd Okręgowy w Jeleniej Górze",
27 "date": "2012-12-04",
28 "number": "III K 14/12",
29 "url": "https://www.saos.org.pl/judgments/12947",
30 "signal": "fulltext-mention"
31 },
32 {
33 "name": "KIO 2272/11",
34 "court": "NATIONAL_APPEAL_CHAMBER",
35 "date": "2011-11-03",
36 "number": "KIO 2272/11",
37 "url": "https://www.saos.org.pl/judgments/119124",
38 "signal": "fulltext-mention"
39 },
40 {
41 "name": "KIO 808/12",
42 "court": "NATIONAL_APPEAL_CHAMBER",
43 "date": "2012-05-07",
44 "number": "KIO 808/12",
45 "url": "https://www.saos.org.pl/judgments/120176",
46 "signal": "fulltext-mention"
47 },
48 {
49 "name": "KIO 1174/12",
50 "court": "NATIONAL_APPEAL_CHAMBER",
51 "date": "2012-06-22",
52 "number": "KIO 1174/12",
53 "url": "https://www.saos.org.pl/judgments/120463",
54 "signal": "fulltext-mention"
55 },
56 {
57 "name": "KIO 1812/12",
58 "court": "NATIONAL_APPEAL_CHAMBER",
59 "date": "2012-09-07",
60 "number": "KIO 1812/12",
61 "url": "https://www.saos.org.pl/judgments/120946",
62 "signal": "fulltext-mention"
63 },
64 {
65 "name": "KIO 623/13",
66 "court": "NATIONAL_APPEAL_CHAMBER",
67 "date": "2013-04-16",
68 "number": "KIO 623/13",
69 "url": "https://www.saos.org.pl/judgments/122283",
70 "signal": "fulltext-mention"
71 },
72 {
73 "name": "KIO 2060/13",
74 "court": "NATIONAL_APPEAL_CHAMBER",
75 "date": "2013-09-10",
76 "number": "KIO 2060/13",
77 "url": "https://www.saos.org.pl/judgments/123419",
78 "signal": "fulltext-mention"
79 },
80 {
81 "name": "KIO 2907/13",
82 "court": "NATIONAL_APPEAL_CHAMBER",
83 "date": "2014-01-08",
84 "number": "KIO 2907/13",
85 "url": "https://www.saos.org.pl/judgments/124062",
86 "signal": "fulltext-mention"
87 },
88 {
89 "name": "KIO 327/14",
90 "court": "NATIONAL_APPEAL_CHAMBER",
91 "date": "2014-03-05",
92 "number": "KIO 327/14",
93 "url": "https://www.saos.org.pl/judgments/124432",
94 "signal": "fulltext-mention"
95 },
96 {
97 "name": "KIO 1197/14",
98 "court": "NATIONAL_APPEAL_CHAMBER",
99 "date": "2014-06-26",
100 "number": "KIO 1197/14",
101 "url": "https://www.saos.org.pl/judgments/161581",
102 "signal": "fulltext-mention"
103 }
104 ],
105 "sourceNote": "Poland — SAOS full-text judgment search (signal:\"fulltext-mention\", a keyword hit, not a confirmed party). Ingestion lags real court activity by months. 23 full-text match(es); showing up to 10.",
106 "__source": {
107 "actor": "zinin/litigation-check",
108 "actorId": "ybyRD5b0ztnevr87N",
109 "runId": "KE1BPmEJSzcdNUavX",
110 "datasetId": "LEvmLfGfnRj6PGBeQ",
111 "sampleRowIndex": 0,
112 "projection": "Public business-record fields only; observed values unchanged. Added __source is provenance, not upstream payload."
113 }
114 }
115 ]
116};
117
118
119const run = await client.actor("zinin/company-litigation-coverage-dossier").call(input);
120
121
122console.log('Results from dataset');
123console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
124const { items } = await client.dataset(run.defaultDatasetId).listItems();
125items.forEach((item) => {
126 console.dir(item);
127});
128
129