1import { ApifyClient } from 'apify-client';
2
3
4
5const client = new ApifyClient({
6 token: '<YOUR_API_TOKEN>',
7});
8
9
10const input = {
11 "recordInput": {
12 "mode": "inline",
13 "records": [
14 {
15 "schemaVersion": "1.0",
16 "recordType": "secGovernanceRecord",
17 "recordId": "example-proxy",
18 "parser": {
19 "name": "sec-proxy-governance-and-vote-normalizer"
20 },
21 "time": {
22 "filedAt": "2026-07-01T10:00:00Z"
23 },
24 "data": {
25 "issuer": {
26 "cik": "0000320193"
27 },
28 "detailKind": "nominee",
29 "person": {
30 "name": "Director One",
31 "role": "director",
32 "cik": null
33 },
34 "evidence": [
35 "ev-example"
36 ]
37 }
38 }
39 ]
40 },
41 "subjectFilters": [
42 "0000320193"
43 ]
44};
45
46
47const run = await client.actor("bb-tradetec/sec-governance-intelligence-aggregator").call(input);
48
49
50console.log('Results from dataset');
51console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
52const { items } = await client.dataset(run.defaultDatasetId).listItems();
53items.forEach((item) => {
54 console.dir(item);
55});
56
57