-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopenapi.json
More file actions
12482 lines (12482 loc) · 464 KB
/
openapi.json
File metadata and controls
12482 lines (12482 loc) · 464 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"openapi": "3.1.0",
"info": {
"title": "Tradeverifyd",
"description": "\nThe Tradeverifyd API offers advanced capabilities for analyzing supply chain entities and their intricate relationships, enabling users to gain deep insights into the complex dynamics of global trade networks.\n\nFor more information visit [tradeverifyd.com](https://tradeverifyd.com).\n\nIf you have questions regarding specific use cases or how to accomplish them, please reach out to [support@tradeverifyd.com](mailto:support@tradeverifyd.com?subject=Tradeverifyd%20use%20cases) for guidance.\n\nWhen making requests that require a Tradeverifyd API Key make sure the correct HTTP Header is included.\n\nFor example:\n\n```bash\ncurl --silent --location -G 'https://.../v1/search/entities' \\\n--data-urlencode 'name=Contoso Corporation' \\\n--data-urlencode 'jurisdiction=US' \\\n--header \"ocp-apim-subscription-key: $TRADEVERIFYD_API_KEY\"\n```\n",
"termsOfService": "https://tradeverifyd.com/terms-of-service",
"contact": {
"name": "tradeverifyd.com",
"url": "https://tradeverifyd.com/",
"email": "support@tradeverifyd.com"
},
"license": {
"name": "Proprietary License",
"url": "https://tradeverifyd.com/terms-of-service"
},
"version": "0.2.0"
},
"servers": [
{
"url": "https://api.tradeverifyd.com",
"description": "Production server"
}
],
"paths": {
"/v1/search/entities": {
"get": {
"tags": [
"Entity"
],
"summary": "Entity Search",
"description": "Search for Entities that match the provided search parameters.",
"operationId": "search_entities_search_entities_get",
"parameters": [
{
"name": "name",
"in": "query",
"required": true,
"schema": {
"type": "string",
"description": "Entity name.",
"title": "Name"
},
"description": "Entity name."
},
{
"name": "address",
"in": "query",
"required": false,
"schema": {
"description": "Entity address.",
"title": "Address",
"type": "string",
"nullable": true
},
"description": "Entity address."
},
{
"name": "jurisdiction",
"in": "query",
"required": false,
"schema": {
"description": "Two-letter ISO country code the entity should be associated with.",
"title": "Jurisdiction",
"type": "string",
"minLength": 2,
"maxLength": 2,
"nullable": true
},
"description": "Two-letter ISO country code the entity should be associated with."
},
{
"name": "size",
"in": "query",
"required": false,
"schema": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "The maximum number of results to return. Must be between 1 and 100, inclusive.",
"default": 10,
"title": "Size"
},
"description": "The maximum number of results to return. Must be between 1 and 100, inclusive."
},
{
"name": "flagged_only",
"in": "query",
"required": false,
"schema": {
"type": "boolean",
"description": "If 'true', results will be limited to Entities currently affected by 1 or more Flags.",
"default": false,
"title": "Flagged Only"
},
"description": "If 'true', results will be limited to Entities currently affected by 1 or more Flags."
}
],
"responses": {
"200": {
"description": "Entities matching search criteria",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/EntitySearchResult"
},
"title": "Response Search Entities Search Entities Get"
},
"examples": {
"entity_name_search": {
"summary": "Search by entity name",
"description": "Find entities matching a specific company name",
"value": [
{
"id": "507f1f77bcf86cd799439011",
"name": "Global Manufacturing Corp",
"aliases": [
"GMC"
],
"jurisdiction": "US",
"addresses": [
"123 Industrial Blvd, Detroit, MI 48201, USA",
"456 Factory St, Cleveland, OH 44113, USA"
],
"flagged": true,
"description": "Large-scale manufacturing company specializing in automotive components",
"primary_role": "manufacturer",
"url": "https://globalmanufacturingcorp.example",
"monitor": true,
"references": {
"flags": {
"total": 2
},
"relationships": {
"total": 15,
"from_relationships": {
"count": 8
},
"to_relationships": {
"count": 7
}
},
"risk_events": {
"total": 1
}
},
"external_ids": [
{
"id": "US-12345678-901",
"type": "duns",
"source": "dun_bradstreet"
},
{
"id": "98765432109876543210",
"type": "lei",
"source": "gleif"
}
],
"modified_date": "2024-10-15T14:30:00Z"
},
{
"id": "507f1f77bcf86cd799439012",
"name": "Global Manufacturing Example Solutions",
"aliases": [
"GMES"
],
"jurisdiction": "CA",
"addresses": [
"789 Commerce Way, Toronto, ON M5V 3B6, Canada"
],
"flagged": false,
"description": "Manufacturing solutions provider",
"primary_role": "supplier",
"references": {
"flags": {
"total": 0
},
"relationships": {
"total": 3
},
"risk_events": {
"total": 0
}
},
"count_inferred_relationships": {
"depth": 3,
"value": 3,
"flagged_count": 0,
"last_updated": "2025-10-08T19:34:19.447000Z"
},
"modified_date": "2024-10-20T09:15:00Z",
"hs_codes": {
"incoming": [
"52",
"5214",
"521462"
],
"outgoing": [
"81",
"8105",
"810507"
]
}
}
]
},
"flagged_entities_only": {
"summary": "Search flagged entities only",
"description": "Find only entities with active compliance flags",
"value": [
{
"id": "507f1f77bcf86cd799439013",
"name": "Risky Suppliers Ltd",
"aliases": [
"Risky Ltd."
],
"jurisdiction": "CN",
"addresses": [
"Room 1001, Building A, Shenzhen, Guangdong, China"
],
"flagged": true,
"description": "Electronics components supplier with compliance concerns",
"primary_role": "supplier",
"monitor": true,
"references": {
"flags": {
"total": 3
},
"relationships": {
"total": 12
},
"risk_events": {
"total": 2
}
},
"modified_date": "2024-10-18T16:45:00Z"
}
]
},
"jurisdiction_search": {
"summary": "Search by jurisdiction",
"description": "Find entities in a specific country (Germany)",
"value": [
{
"id": "507f1f77bcf86cd799439014",
"name": "Great German Engineering Co.",
"aliases": [
"GEC"
],
"jurisdiction": "DE",
"addresses": [
"Industriestra\u00dfe 42, 70565 Stuttgart, Germany"
],
"flagged": false,
"description": "High-precision manufacturing and engineering services",
"primary_role": "manufacturer",
"url": "https://great-engineering-example.de",
"references": {
"flags": {
"total": 0
},
"relationships": {
"total": 8
},
"risk_events": {
"total": 0
}
},
"external_ids": [
{
"id": "HRB123456",
"type": "company_registration",
"source": "german_trade_register"
}
],
"count_inferred_relationships": {
"depth": 3,
"value": 3,
"flagged_count": 1,
"last_updated": "2025-01-01T00:00:00Z"
},
"modified_date": "2024-10-10T11:20:00Z",
"hs_codes": {
"incoming": [],
"outgoing": [
"1050"
]
}
}
]
},
"empty_results": {
"summary": "No matching entities",
"description": "Search that returns no results",
"value": []
}
}
}
}
},
"400": {
"description": "Bad Request - Invalid search parameters",
"content": {
"application/json": {
"examples": {
"missing_search_criteria": {
"summary": "Missing required search criteria",
"value": {
"detail": "Either name or entity_id must be provided"
}
},
"invalid_jurisdiction": {
"summary": "Invalid jurisdiction code",
"value": {
"detail": "Jurisdiction must be a 2-letter ISO country code"
}
},
"invalid_size": {
"summary": "Invalid size parameter",
"value": {
"detail": "Size must be between 1 and 100"
}
}
}
}
}
},
"500": {
"description": "Internal server error - contact support",
"content": {
"application/json": {
"examples": {
"internal_error": {
"summary": "Internal server error",
"value": {
"detail": "Internal server error"
}
}
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/v1/resolve/entity": {
"get": {
"tags": [
"Entity"
],
"summary": "Entity Resolution",
"description": "Resolve to the top-scoring Entity that matches the provided search parameters.",
"operationId": "resolve_entity_resolve_entity_get",
"parameters": [
{
"name": "name",
"in": "query",
"required": true,
"schema": {
"type": "string",
"description": "Entity name.",
"title": "Name"
},
"description": "Entity name."
},
{
"name": "address",
"in": "query",
"required": false,
"schema": {
"description": "Entity address.",
"title": "Address",
"type": "string",
"nullable": true
},
"description": "Entity address."
},
{
"name": "jurisdiction",
"in": "query",
"required": false,
"schema": {
"description": "Two-letter ISO country code the entity should be associated with.",
"title": "Jurisdiction",
"type": "string",
"minLength": 2,
"maxLength": 2,
"nullable": true
},
"description": "Two-letter ISO country code the entity should be associated with."
},
{
"name": "flagged_only",
"in": "query",
"required": false,
"schema": {
"type": "boolean",
"description": "If 'true', results will be limited to Entities currently affected by 1 or more Flags.",
"default": false,
"title": "Flagged Only"
},
"description": "If 'true', results will be limited to Entities currently affected by 1 or more Flags."
}
],
"responses": {
"200": {
"description": "Best matching entity resolved from search criteria",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/EntitySearchResult"
},
"title": "Response Resolve Entity Resolve Entity Get"
},
"examples": {
"perfect_name_match": {
"summary": "Perfect entity name match",
"description": "Exact match found for entity name with high confidence",
"value": [
{
"id": "507f1f77bcf86cd799439015",
"name": "Example Contoso Inc.",
"aliases": [
"CONTOSO",
"EX CONTOSO"
],
"jurisdiction": "US",
"addresses": [
"123 Main Street, Anytown, State, 12345"
],
"flagged": false,
"description": "Multinational technology company specializing in consumer electronics",
"primary_role": "manufacturer",
"url": "https://contoso.example",
"monitor": true,
"auto_research": true,
"references": {
"flags": {
"total": 0
},
"relationships": {
"total": 247,
"from_relationships": {
"count": 156
},
"to_relationships": {
"count": 91
}
},
"risk_events": {
"total": 0
}
},
"external_ids": [
{
"id": "32019387069",
"type": "duns",
"source": "dun_bradstreet"
},
{
"id": "HWUPKR0MPOU8FGXBT394",
"type": "lei",
"source": "gleif"
},
{
"id": "CONT",
"type": "ticker",
"source": "nasdaq"
}
],
"count_inferred_relationships": {
"depth": 3,
"value": 3,
"flagged_count": 0,
"last_updated": "2025-10-08T19:34:19.447000Z"
},
"modified_date": "2024-10-22T08:30:00Z",
"hs_codes": {
"incoming": [],
"outgoing": [
"68",
"6802",
"680221"
]
}
}
]
},
"fuzzy_name_match": {
"summary": "Fuzzy entity name match",
"description": "Best match found despite slight name variations",
"value": [
{
"id": "507f1f77bcf86cd799439016",
"name": "Contoso Inc.",
"aliases": [
"CONTOSO"
],
"jurisdiction": "US",
"addresses": [
"123 Main Street, Anytown, State, 12345"
],
"flagged": false,
"description": "Technology corporation developing software, services, and solutions",
"primary_role": "manufacturer",
"url": "https://contoso.example",
"monitor": true,
"references": {
"flags": {
"total": 0
},
"relationships": {
"total": 189
},
"risk_events": {
"total": 0
}
},
"external_ids": [
{
"id": "06-1232893",
"type": "ein",
"source": "irs"
},
{
"id": "CONT",
"type": "ticker",
"source": "nasdaq"
}
],
"modified_date": "2024-10-21T14:15:00Z"
}
]
},
"jurisdiction_resolved": {
"summary": "Resolution with jurisdiction filtering",
"description": "Best match within specific jurisdiction constraint",
"value": [
{
"id": "507f1f77bcf86cd799439017",
"name": "ACME CORP",
"aliases": [
"ACME"
],
"jurisdiction": "US",
"addresses": [
"789 1st Street, Anytown, State, 12345"
],
"flagged": false,
"description": "Multinational automotive manufacturer",
"primary_role": "manufacturer",
"url": "https://acme.example",
"monitor": true,
"references": {
"flags": {
"total": 0
},
"relationships": {
"total": 412,
"from_relationships": {
"count": 298
},
"to_relationships": {
"count": 114
}
},
"risk_events": {
"total": 0
}
},
"external_ids": [
{
"id": "US-7200001008846",
"type": "corporate_number",
"source": "us_corporate_number"
},
{
"id": "AC",
"type": "ticker",
"source": "nyse"
}
],
"modified_date": "2024-10-19T10:45:00Z"
}
]
},
"flagged_entity_resolved": {
"summary": "Flagged entity resolution",
"description": "Best match for flagged entity with compliance issues",
"value": [
{
"id": "507f1f77bcf86cd799439018",
"name": "Sanctioned Trading LLC",
"aliases": [
"Sanctioned Trading"
],
"jurisdiction": "RU",
"addresses": [
"123 Red Square, Moscow, Russia"
],
"flagged": true,
"description": "Trading company with active sanctions flags",
"primary_role": "trader",
"monitor": true,
"auto_research": false,
"references": {
"flags": {
"total": 5
},
"relationships": {
"total": 23
},
"risk_events": {
"total": 3
}
},
"external_ids": [
{
"id": "RU-1027700132195",
"type": "ogrn",
"source": "russian_business_register"
}
],
"modified_date": "2024-10-23T12:00:00Z"
}
]
},
"no_resolution": {
"summary": "No entity resolved",
"description": "No suitable match found for search criteria",
"value": []
}
}
}
}
},
"422": {
"description": "Invalid resolution parameters.",
"content": {
"application/json": {
"examples": {
"invalid_jurisdiction": {
"summary": "Invalid jurisdiction code",
"description": "Provided jurisdiction has too many characters",
"value": {
"detail": [
{
"type": "string_too_long",
"loc": [
"query",
"jurisdiction"
],
"msg": "String should have at most 2 characters",
"input": "USA",
"ctx": {
"max_length": 2
}
}
]
}
}
}
}
}
},
"500": {
"description": "Internal server error - contact support",
"content": {
"application/json": {
"examples": {
"internal_error": {
"summary": "Internal server error",
"value": {
"detail": "Internal server error"
}
}
}
}
}
}
}
}
},
"/v1/entities/by-flag-type/{flag_type_id}": {
"get": {
"tags": [
"Entity"
],
"summary": "Get Entities by Flag Type",
"description": "Get entities that have flags of a specific flag type. To view possible flag types, use\nthe Get Flags Types endpoint `/flags/types`.\n\nThis endpoint allows customers to query entities based on specific compliance flags.\nResults are filtered by organization, meaning only entities with flags that are either\npublic or belong to the user's organization will be returned.\n\nThe response includes a list of entities that have a flag of the specified type, including information\non entity details, Tradeverifyd scores, and flag information.\nBecause the response can be large, entities are returned across multiple pages of the response.\nThe response includes information on the maximum number of pages.\nUse the `limit` parameter to specify how many results should be returned in one page.\nUse the `page` parameter to select a page number.",
"operationId": "get_entities_by_flag_type_entities_by_flag_type__flag_type_id__get",
"parameters": [
{
"name": "flag_type_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"description": "ObjectId of the flag type to filter entities by",
"title": "Flag Type Id"
},
"description": "ObjectId of the flag type to filter entities by"
},
{
"name": "page",
"in": "query",
"required": false,
"schema": {
"type": "integer",
"description": "Page number for pagination",
"default": 1,
"title": "Page"
},
"description": "Page number for pagination"
},
{
"name": "limit",
"in": "query",
"required": false,
"schema": {
"type": "integer",
"description": "Number of entities per page",
"default": 50,
"title": "Limit"
},
"description": "Number of entities per page"
}
],
"responses": {
"200": {
"description": "Entities with the specified flag type",
"content": {
"application/json": {
"schema": {
"type": "object",
"additionalProperties": true,
"title": "Response Get Entities By Flag Type Entities By Flag Type Flag Type Id Get"
},
"examples": {
"ndaa_1260h_entities": {
"summary": "NDAA 1260H flagged entities",
"description": "Entities flagged under Section 1260H of the National Defense Authorization Act",
"value": {
"entities": [
{
"id": "67ca2eb28f1f60aa37278f33",
"name": "EXAMPLE CONTOSO INC.",
"jurisdiction": "US",
"type": "Company",
"status": "Active",
"addresses": [
"123 Main Street, Anytown, State, 12345"
],
"flags": [
{
"id": "6808e96feb30f71f4da957c8",
"created_at": "2025-03-15T00:11:31.376Z",
"type": "67db2af315fadaf237af6a0e",
"flag_type": "Sanctions & Restricted Entities Risk",
"flag_subtype": "1260H Entities",
"flag_polarity": -1,
"description": "A flag that describes an staged_flag on the OpenSanctions default list.",
"sources": [
{
"url": "https://www.defense.gov/News/Releases/Release/Article/4023145/"
}
]
}
],
"aliases": [
"CONTOSO",
"EX CONTOSO"
]
}
],
"pagination": {
"page": 1,
"limit": 50,
"total_entities": 127,
"total_pages": 3,
"has_next": true,
"has_previous": false
},
"filter_summary": {
"flag_type_id": "67db2af315fadaf237af6a0e",
"flag_type": "Sanctions & Restricted Entities Risk",
"flag_subtype": "1260H Entities",
"flag_polarity": -1
}
}
}
}
}
}
},
"400": {
"description": "Bad Request - Invalid parameters",
"content": {
"application/json": {
"examples": {
"invalid_object_id": {
"summary": "Invalid flag type ID format",
"value": {
"detail": "flag_type_id must be a valid ObjectId"
}
},
"invalid_pagination": {
"summary": "Invalid pagination parameters",
"value": {
"detail": "page must be >= 1, limit must be >= 1 and <= 500"
}
}
}
}
}
},
"404": {
"description": "Flag type not found",
"content": {
"application/json": {
"examples": {
"flag_type_not_found": {
"summary": "Flag type does not exist",
"value": {
"detail": "Flag type not found"
}
}
}
}
}
},
"500": {
"description": "Internal server error - contact support",
"content": {
"application/json": {
"examples": {
"internal_error": {
"summary": "Internal server error",
"value": {
"detail": "Internal server error"
}
}
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/v1/entities/{entity_id}": {
"get": {
"tags": [
"Entity"
],
"summary": "Get Entity",
"description": "Retrieve a single Entity by its Id",
"operationId": "get_entity_entities__entity_id__get",
"parameters": [
{
"name": "entity_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Entity Id"
}
}
],
"responses": {
"200": {
"description": "Successful entity match.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/GetEntityResponse"
},
"examples": {
"entity_id_search": {
"summary": "Search by entity_id",
"description": "Find a single entity by entity_id.",
"value": {
"id": "507f1f77bcf86cd799439015",
"name": "Example Contoso Inc.",
"description": "Large-scale manufacturing company specializing in automotive components",
"primary_role": "manufacturer",
"aliases": [
"Contoso",
"EX CONTOSO"
],
"url": "https://globalmanufacturingcorp.example",
"jurisdiction": "US",
"addresses": [
"123 Main Street, Anytown, State, 12345"
],
"monitor": false,
"created_at": "1970-01-01T00:00:00.000Z",
"modified": "1970-01-01T00:00:00.000Z",
"region": "State",
"affiliated_jurisdiction": "CA",
"tradeverifyd_score": 550,
"references": {
"flags": {
"total": 2
},
"relationships": {
"total": 15,
"from_relationships": {
"count": 8
},
"to_relationships": {
"count": 7
}
},
"risk_events": {
"total": 1
}
},
"count_inferred_relationships": {
"depth": 2,
"value": 2,
"last_updated": "1970-01-01T00:00:00.000Z"
}
}
}
}
}
}
},
"500": {
"description": "Internal server error - contact support",
"content": {
"application/json": {
"examples": {
"internal_error": {
"summary": "Internal server error",
"value": {
"detail": "Internal server error"
}
}
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/v1/entities/{entity_id}/risk_events": {
"get": {
"tags": [
"Entity"
],
"summary": "Get Entity Risk Events",
"description": "Get Risk Events affecting an Entity.",
"operationId": "get_entity_risk_events_entities__entity_id__risk_events_get",
"parameters": [
{
"name": "entity_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Entity Id"
}
}
],
"responses": {
"200": {