1import { ApifyClient } from 'apify-client';
2
3
4
5const client = new ApifyClient({
6 token: '<YOUR_API_TOKEN>',
7});
8
9
10const input = {
11 "evaluationTime": "2026-08-23T00:00:00Z",
12 "maxAgeDays": 30,
13 "requiredPaths": [
14 "tests.json",
15 "review.json"
16 ],
17 "evidenceFiles": [
18 {
19 "path": "tests.json",
20 "observedAt": "2026-08-22T20:00:00Z",
21 "content": "{\"status\":\"PASS\",\"passed\":24,\"failed\":0}"
22 },
23 {
24 "path": "review.json",
25 "observedAt": "2026-08-22T20:30:00Z",
26 "content": "{\"status\":\"PASS\",\"reviewer\":\"synthetic-demo\"}"
27 }
28 ]
29};
30
31
32const run = await client.actor("filipmajchrzak/ai-evidence-integrity-checker").call(input);
33
34
35console.log('Results from dataset');
36console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
37const { items } = await client.dataset(run.defaultDatasetId).listItems();
38items.forEach((item) => {
39 console.dir(item);
40});
41
42