@model-match/api 3.112.0 → 3.113.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/RELEASE_NOTES.md +4 -0
- package/dist/{index-C7ag4102.d.mts → index-D3G9n7FS.d.mts} +47 -384
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +1 -1
- package/dist/slim/index.d.mts +3 -27
- package/dist/slim/index.mjs +3 -91
- package/dist/{src-wpXYQ_hb.mjs → src-Bja7DVkE.mjs} +1 -101
- package/openapi.json +405 -1271
- package/package.json +1 -1
package/openapi.json
CHANGED
|
@@ -48452,346 +48452,6 @@
|
|
|
48452
48452
|
],
|
|
48453
48453
|
"type": "object"
|
|
48454
48454
|
},
|
|
48455
|
-
"RecruitingActiveCall": {
|
|
48456
|
-
"nullable": true,
|
|
48457
|
-
"properties": {
|
|
48458
|
-
"engagementId": {
|
|
48459
|
-
"type": "string"
|
|
48460
|
-
},
|
|
48461
|
-
"entityId": {
|
|
48462
|
-
"type": "string"
|
|
48463
|
-
},
|
|
48464
|
-
"id": {
|
|
48465
|
-
"type": "string"
|
|
48466
|
-
},
|
|
48467
|
-
"organizationId": {
|
|
48468
|
-
"type": "string"
|
|
48469
|
-
},
|
|
48470
|
-
"recordName": {
|
|
48471
|
-
"nullable": true,
|
|
48472
|
-
"type": "string"
|
|
48473
|
-
},
|
|
48474
|
-
"toNumber": {
|
|
48475
|
-
"type": "string"
|
|
48476
|
-
},
|
|
48477
|
-
"workspace": {
|
|
48478
|
-
"$ref": "#/components/schemas/RecruitingWorkspace"
|
|
48479
|
-
}
|
|
48480
|
-
},
|
|
48481
|
-
"required": [
|
|
48482
|
-
"id",
|
|
48483
|
-
"organizationId",
|
|
48484
|
-
"entityId",
|
|
48485
|
-
"toNumber",
|
|
48486
|
-
"recordName",
|
|
48487
|
-
"workspace",
|
|
48488
|
-
"engagementId"
|
|
48489
|
-
],
|
|
48490
|
-
"type": "object"
|
|
48491
|
-
},
|
|
48492
|
-
"RecruitingActiveCallResult": {
|
|
48493
|
-
"properties": {
|
|
48494
|
-
"data": {
|
|
48495
|
-
"$ref": "#/components/schemas/RecruitingActiveCall"
|
|
48496
|
-
}
|
|
48497
|
-
},
|
|
48498
|
-
"required": [
|
|
48499
|
-
"data"
|
|
48500
|
-
],
|
|
48501
|
-
"type": "object"
|
|
48502
|
-
},
|
|
48503
|
-
"RecruitingEngagement": {
|
|
48504
|
-
"properties": {
|
|
48505
|
-
"engagementId": {
|
|
48506
|
-
"type": "string"
|
|
48507
|
-
},
|
|
48508
|
-
"engagementName": {
|
|
48509
|
-
"type": "string"
|
|
48510
|
-
},
|
|
48511
|
-
"kind": {
|
|
48512
|
-
"type": "string"
|
|
48513
|
-
},
|
|
48514
|
-
"role": {
|
|
48515
|
-
"type": "string"
|
|
48516
|
-
},
|
|
48517
|
-
"workspace": {
|
|
48518
|
-
"$ref": "#/components/schemas/RecruitingWorkspace"
|
|
48519
|
-
}
|
|
48520
|
-
},
|
|
48521
|
-
"required": [
|
|
48522
|
-
"engagementId",
|
|
48523
|
-
"engagementName",
|
|
48524
|
-
"kind",
|
|
48525
|
-
"role",
|
|
48526
|
-
"workspace"
|
|
48527
|
-
],
|
|
48528
|
-
"type": "object"
|
|
48529
|
-
},
|
|
48530
|
-
"RecruitingEngagementList": {
|
|
48531
|
-
"properties": {
|
|
48532
|
-
"data": {
|
|
48533
|
-
"items": {
|
|
48534
|
-
"$ref": "#/components/schemas/RecruitingEngagement"
|
|
48535
|
-
},
|
|
48536
|
-
"type": "array"
|
|
48537
|
-
}
|
|
48538
|
-
},
|
|
48539
|
-
"required": [
|
|
48540
|
-
"data"
|
|
48541
|
-
],
|
|
48542
|
-
"type": "object"
|
|
48543
|
-
},
|
|
48544
|
-
"RecruitingLists": {
|
|
48545
|
-
"properties": {
|
|
48546
|
-
"items": {
|
|
48547
|
-
"items": {
|
|
48548
|
-
"allOf": [
|
|
48549
|
-
{
|
|
48550
|
-
"$ref": "#/components/schemas/CrmList"
|
|
48551
|
-
},
|
|
48552
|
-
{
|
|
48553
|
-
"properties": {
|
|
48554
|
-
"engagementId": {
|
|
48555
|
-
"type": "string"
|
|
48556
|
-
},
|
|
48557
|
-
"workspace": {
|
|
48558
|
-
"$ref": "#/components/schemas/RecruitingWorkspace"
|
|
48559
|
-
}
|
|
48560
|
-
},
|
|
48561
|
-
"required": [
|
|
48562
|
-
"workspace",
|
|
48563
|
-
"engagementId"
|
|
48564
|
-
],
|
|
48565
|
-
"type": "object"
|
|
48566
|
-
}
|
|
48567
|
-
]
|
|
48568
|
-
},
|
|
48569
|
-
"type": "array"
|
|
48570
|
-
},
|
|
48571
|
-
"unavailable": {
|
|
48572
|
-
"description": "Customers whose read failed; their rows are missing. Retry later.",
|
|
48573
|
-
"items": {
|
|
48574
|
-
"$ref": "#/components/schemas/RecruitingWorkspace"
|
|
48575
|
-
},
|
|
48576
|
-
"type": "array"
|
|
48577
|
-
}
|
|
48578
|
-
},
|
|
48579
|
-
"required": [
|
|
48580
|
-
"items",
|
|
48581
|
-
"unavailable"
|
|
48582
|
-
],
|
|
48583
|
-
"type": "object"
|
|
48584
|
-
},
|
|
48585
|
-
"RecruitingListsResult": {
|
|
48586
|
-
"properties": {
|
|
48587
|
-
"data": {
|
|
48588
|
-
"$ref": "#/components/schemas/RecruitingLists"
|
|
48589
|
-
}
|
|
48590
|
-
},
|
|
48591
|
-
"required": [
|
|
48592
|
-
"data"
|
|
48593
|
-
],
|
|
48594
|
-
"type": "object"
|
|
48595
|
-
},
|
|
48596
|
-
"RecruitingPeople": {
|
|
48597
|
-
"properties": {
|
|
48598
|
-
"items": {
|
|
48599
|
-
"items": {
|
|
48600
|
-
"allOf": [
|
|
48601
|
-
{
|
|
48602
|
-
"$ref": "#/components/schemas/CrmListMember"
|
|
48603
|
-
},
|
|
48604
|
-
{
|
|
48605
|
-
"properties": {
|
|
48606
|
-
"engagementId": {
|
|
48607
|
-
"type": "string"
|
|
48608
|
-
},
|
|
48609
|
-
"workspace": {
|
|
48610
|
-
"$ref": "#/components/schemas/RecruitingWorkspace"
|
|
48611
|
-
}
|
|
48612
|
-
},
|
|
48613
|
-
"required": [
|
|
48614
|
-
"workspace",
|
|
48615
|
-
"engagementId"
|
|
48616
|
-
],
|
|
48617
|
-
"type": "object"
|
|
48618
|
-
}
|
|
48619
|
-
]
|
|
48620
|
-
},
|
|
48621
|
-
"type": "array"
|
|
48622
|
-
},
|
|
48623
|
-
"unavailable": {
|
|
48624
|
-
"description": "Customers whose read failed; their rows are missing. Retry later.",
|
|
48625
|
-
"items": {
|
|
48626
|
-
"$ref": "#/components/schemas/RecruitingWorkspace"
|
|
48627
|
-
},
|
|
48628
|
-
"type": "array"
|
|
48629
|
-
}
|
|
48630
|
-
},
|
|
48631
|
-
"required": [
|
|
48632
|
-
"items",
|
|
48633
|
-
"unavailable"
|
|
48634
|
-
],
|
|
48635
|
-
"type": "object"
|
|
48636
|
-
},
|
|
48637
|
-
"RecruitingPeopleResult": {
|
|
48638
|
-
"properties": {
|
|
48639
|
-
"data": {
|
|
48640
|
-
"$ref": "#/components/schemas/RecruitingPeople"
|
|
48641
|
-
}
|
|
48642
|
-
},
|
|
48643
|
-
"required": [
|
|
48644
|
-
"data"
|
|
48645
|
-
],
|
|
48646
|
-
"type": "object"
|
|
48647
|
-
},
|
|
48648
|
-
"RecruitingPeopleSearch": {
|
|
48649
|
-
"properties": {
|
|
48650
|
-
"items": {
|
|
48651
|
-
"items": {
|
|
48652
|
-
"allOf": [
|
|
48653
|
-
{
|
|
48654
|
-
"$ref": "#/components/schemas/CrmMentionRecord"
|
|
48655
|
-
},
|
|
48656
|
-
{
|
|
48657
|
-
"properties": {
|
|
48658
|
-
"engagementId": {
|
|
48659
|
-
"type": "string"
|
|
48660
|
-
},
|
|
48661
|
-
"workspace": {
|
|
48662
|
-
"$ref": "#/components/schemas/RecruitingWorkspace"
|
|
48663
|
-
}
|
|
48664
|
-
},
|
|
48665
|
-
"required": [
|
|
48666
|
-
"workspace",
|
|
48667
|
-
"engagementId"
|
|
48668
|
-
],
|
|
48669
|
-
"type": "object"
|
|
48670
|
-
}
|
|
48671
|
-
]
|
|
48672
|
-
},
|
|
48673
|
-
"type": "array"
|
|
48674
|
-
},
|
|
48675
|
-
"unavailable": {
|
|
48676
|
-
"description": "Customers whose read failed; their rows are missing. Retry later.",
|
|
48677
|
-
"items": {
|
|
48678
|
-
"$ref": "#/components/schemas/RecruitingWorkspace"
|
|
48679
|
-
},
|
|
48680
|
-
"type": "array"
|
|
48681
|
-
}
|
|
48682
|
-
},
|
|
48683
|
-
"required": [
|
|
48684
|
-
"items",
|
|
48685
|
-
"unavailable"
|
|
48686
|
-
],
|
|
48687
|
-
"type": "object"
|
|
48688
|
-
},
|
|
48689
|
-
"RecruitingPeopleSearchResult": {
|
|
48690
|
-
"properties": {
|
|
48691
|
-
"data": {
|
|
48692
|
-
"$ref": "#/components/schemas/RecruitingPeopleSearch"
|
|
48693
|
-
}
|
|
48694
|
-
},
|
|
48695
|
-
"required": [
|
|
48696
|
-
"data"
|
|
48697
|
-
],
|
|
48698
|
-
"type": "object"
|
|
48699
|
-
},
|
|
48700
|
-
"RecruitingQueue": {
|
|
48701
|
-
"properties": {
|
|
48702
|
-
"meetings": {
|
|
48703
|
-
"items": {
|
|
48704
|
-
"allOf": [
|
|
48705
|
-
{
|
|
48706
|
-
"$ref": "#/components/schemas/CrmWorkspaceMeeting"
|
|
48707
|
-
},
|
|
48708
|
-
{
|
|
48709
|
-
"properties": {
|
|
48710
|
-
"engagementId": {
|
|
48711
|
-
"type": "string"
|
|
48712
|
-
},
|
|
48713
|
-
"workspace": {
|
|
48714
|
-
"$ref": "#/components/schemas/RecruitingWorkspace"
|
|
48715
|
-
}
|
|
48716
|
-
},
|
|
48717
|
-
"required": [
|
|
48718
|
-
"workspace",
|
|
48719
|
-
"engagementId"
|
|
48720
|
-
],
|
|
48721
|
-
"type": "object"
|
|
48722
|
-
}
|
|
48723
|
-
]
|
|
48724
|
-
},
|
|
48725
|
-
"type": "array"
|
|
48726
|
-
},
|
|
48727
|
-
"tasks": {
|
|
48728
|
-
"items": {
|
|
48729
|
-
"allOf": [
|
|
48730
|
-
{
|
|
48731
|
-
"$ref": "#/components/schemas/CrmWorkspaceTask"
|
|
48732
|
-
},
|
|
48733
|
-
{
|
|
48734
|
-
"properties": {
|
|
48735
|
-
"engagementId": {
|
|
48736
|
-
"type": "string"
|
|
48737
|
-
},
|
|
48738
|
-
"workspace": {
|
|
48739
|
-
"$ref": "#/components/schemas/RecruitingWorkspace"
|
|
48740
|
-
}
|
|
48741
|
-
},
|
|
48742
|
-
"required": [
|
|
48743
|
-
"workspace",
|
|
48744
|
-
"engagementId"
|
|
48745
|
-
],
|
|
48746
|
-
"type": "object"
|
|
48747
|
-
}
|
|
48748
|
-
]
|
|
48749
|
-
},
|
|
48750
|
-
"type": "array"
|
|
48751
|
-
}
|
|
48752
|
-
},
|
|
48753
|
-
"required": [
|
|
48754
|
-
"tasks",
|
|
48755
|
-
"meetings"
|
|
48756
|
-
],
|
|
48757
|
-
"type": "object"
|
|
48758
|
-
},
|
|
48759
|
-
"RecruitingQueueResult": {
|
|
48760
|
-
"properties": {
|
|
48761
|
-
"data": {
|
|
48762
|
-
"$ref": "#/components/schemas/RecruitingQueue"
|
|
48763
|
-
}
|
|
48764
|
-
},
|
|
48765
|
-
"required": [
|
|
48766
|
-
"data"
|
|
48767
|
-
],
|
|
48768
|
-
"type": "object"
|
|
48769
|
-
},
|
|
48770
|
-
"RecruitingWorkspace": {
|
|
48771
|
-
"properties": {
|
|
48772
|
-
"id": {
|
|
48773
|
-
"type": "string"
|
|
48774
|
-
},
|
|
48775
|
-
"logo": {
|
|
48776
|
-
"nullable": true,
|
|
48777
|
-
"type": "string"
|
|
48778
|
-
},
|
|
48779
|
-
"name": {
|
|
48780
|
-
"type": "string"
|
|
48781
|
-
},
|
|
48782
|
-
"slug": {
|
|
48783
|
-
"nullable": true,
|
|
48784
|
-
"type": "string"
|
|
48785
|
-
}
|
|
48786
|
-
},
|
|
48787
|
-
"required": [
|
|
48788
|
-
"id",
|
|
48789
|
-
"name",
|
|
48790
|
-
"slug",
|
|
48791
|
-
"logo"
|
|
48792
|
-
],
|
|
48793
|
-
"type": "object"
|
|
48794
|
-
},
|
|
48795
48455
|
"RelatedResponse": {
|
|
48796
48456
|
"properties": {
|
|
48797
48457
|
"data": {
|
|
@@ -53502,6 +53162,46 @@
|
|
|
53502
53162
|
"description": "True when the data points were picked; false when the model uses every market data point.",
|
|
53503
53163
|
"type": "boolean"
|
|
53504
53164
|
},
|
|
53165
|
+
"focus": {
|
|
53166
|
+
"description": "Widened (`widen: \"auto\"`): the area the person asked about, where the model is read, while `scope` is the wider area it learned from. Same form as `scope`, with `label`. `null` when the model learned from the area asked about.",
|
|
53167
|
+
"nullable": true,
|
|
53168
|
+
"properties": {
|
|
53169
|
+
"counties": {
|
|
53170
|
+
"description": "Counties: their five-digit county codes.",
|
|
53171
|
+
"items": {
|
|
53172
|
+
"type": "string"
|
|
53173
|
+
},
|
|
53174
|
+
"type": "array"
|
|
53175
|
+
},
|
|
53176
|
+
"label": {
|
|
53177
|
+
"description": "Where the model looks, in plain words: \"TX\", \"OK and TX\", \"12 counties\", \"the whole country\". Show a person this.",
|
|
53178
|
+
"type": "string"
|
|
53179
|
+
},
|
|
53180
|
+
"national": {
|
|
53181
|
+
"description": "True: the whole country.",
|
|
53182
|
+
"type": "boolean"
|
|
53183
|
+
},
|
|
53184
|
+
"state": {
|
|
53185
|
+
"description": "One state: its two-letter code.",
|
|
53186
|
+
"type": "string"
|
|
53187
|
+
},
|
|
53188
|
+
"states": {
|
|
53189
|
+
"description": "Several states: their two-letter codes.",
|
|
53190
|
+
"items": {
|
|
53191
|
+
"type": "string"
|
|
53192
|
+
},
|
|
53193
|
+
"type": "array"
|
|
53194
|
+
},
|
|
53195
|
+
"zipCodes": {
|
|
53196
|
+
"description": "ZIP codes: five digits each.",
|
|
53197
|
+
"items": {
|
|
53198
|
+
"type": "string"
|
|
53199
|
+
},
|
|
53200
|
+
"type": "array"
|
|
53201
|
+
}
|
|
53202
|
+
},
|
|
53203
|
+
"type": "object"
|
|
53204
|
+
},
|
|
53505
53205
|
"horizonMonths": {
|
|
53506
53206
|
"nullable": true,
|
|
53507
53207
|
"type": "number"
|
|
@@ -54081,6 +53781,16 @@
|
|
|
54081
53781
|
},
|
|
54082
53782
|
"type": "object"
|
|
54083
53783
|
},
|
|
53784
|
+
"scoreArea": {
|
|
53785
|
+
"description": "Widened: what the scores cover, `focus` (the area asked about) or `training` (everything it learned from; `inFocus` marks the focus rows). `null` when not widened.",
|
|
53786
|
+
"enum": [
|
|
53787
|
+
"focus",
|
|
53788
|
+
"training",
|
|
53789
|
+
null
|
|
53790
|
+
],
|
|
53791
|
+
"nullable": true,
|
|
53792
|
+
"type": "string"
|
|
53793
|
+
},
|
|
54084
53794
|
"scores": {
|
|
54085
53795
|
"description": "Where the scores are. Null: this model has no scores table.",
|
|
54086
53796
|
"nullable": true,
|
|
@@ -54373,6 +54083,14 @@
|
|
|
54373
54083
|
},
|
|
54374
54084
|
"type": "object"
|
|
54375
54085
|
},
|
|
54086
|
+
"scoreArea": {
|
|
54087
|
+
"description": "A widened model: `focus` (default) scores the area asked about; `training` scores everything it learned from, with `inFocus` on each row.",
|
|
54088
|
+
"enum": [
|
|
54089
|
+
"focus",
|
|
54090
|
+
"training"
|
|
54091
|
+
],
|
|
54092
|
+
"type": "string"
|
|
54093
|
+
},
|
|
54376
54094
|
"subject": {
|
|
54377
54095
|
"description": "Who or what the model scores: `home` (default), `loan_officer`, `agent`, `agent_lo_pair` (an agent and a loan officer together) or `company`, a `subjects[].id` from getStudioModelOptions (which lists only the subjects available). Each subject has its own outcomes, populations, data points and upload keys.",
|
|
54378
54096
|
"example": "loan_officer",
|
|
@@ -54381,9 +54099,10 @@
|
|
|
54381
54099
|
"type": "string"
|
|
54382
54100
|
},
|
|
54383
54101
|
"widen": {
|
|
54384
|
-
"description": "ZIP codes or counties with too few past cases: `suggest` (default) refuses first, free, with a wider area to train on (`422 scope_too_small`); `off` trains as asked.",
|
|
54102
|
+
"description": "ZIP codes or counties with too few past cases: `suggest` (default) refuses first, free, with a wider area to train on (`422 scope_too_small`); `auto` trains on that area and scores the one asked about (`focus`); `off` trains as asked.",
|
|
54385
54103
|
"enum": [
|
|
54386
54104
|
"suggest",
|
|
54105
|
+
"auto",
|
|
54387
54106
|
"off"
|
|
54388
54107
|
],
|
|
54389
54108
|
"type": "string"
|
|
@@ -59081,7 +58800,7 @@
|
|
|
59081
58800
|
"info": {
|
|
59082
58801
|
"description": "ModelMatch API — mortgage and real-estate market data.\n\n## Bulk delivery limits\n\nThe `POST /{entity}/bulk-delivery` endpoints export a full result set to\nS3 as NDJSON, JSON, CSV, or Parquet.\n\n- **Up to 5,000 rows per delivery: no entitlement required.** Available to\n every authenticated caller.\n- **Above 5,000 rows: requires the entity's `bulk-delivery.{entity}`\n entitlement** (e.g. `bulk-delivery.loans`). The grant's scope sets your\n row ceiling and may also restrict which rows and fields you receive.\n\nA delivery that would exceed the limit available to you is rejected with\n`403 entitlement_missing`, reporting the matched row count and the ceiling\nthat applied. To stay under the limit, pass `limit` — the job then delivers\n(and bills for) only the first `limit` rows of a broader query.\n\n**Need a higher limit?** Email support@modelmatch.com to request the\nentitlement. Limits are raised per organization and per entity.\n\nBulk delivery is billed at 1 credit per delivered row whether or not\nan entitlement is held.\n\nInstead of a download, a delivery can be sent to a push target configured\non your workspace: pass `destination: { type: \"push-target\", targetId }`.\nThe same limits and billing apply.",
|
|
59083
58802
|
"title": "ModelMatch API",
|
|
59084
|
-
"version": "3.
|
|
58803
|
+
"version": "3.217.0"
|
|
59085
58804
|
},
|
|
59086
58805
|
"openapi": "3.1.0",
|
|
59087
58806
|
"paths": {
|
|
@@ -82183,712 +81902,58 @@
|
|
|
82183
81902
|
"description": "Search timed out or the cluster is overloaded — retry after `Retry-After` seconds."
|
|
82184
81903
|
}
|
|
82185
81904
|
},
|
|
82186
|
-
"summary": "Create a manual (unmatched) CRM record",
|
|
82187
|
-
"tags": [
|
|
82188
|
-
"CRM"
|
|
82189
|
-
]
|
|
82190
|
-
}
|
|
82191
|
-
},
|
|
82192
|
-
"/v1/crm/records/decline-mi-update": {
|
|
82193
|
-
"post": {
|
|
82194
|
-
"operationId": "declineCrmMiUpdate",
|
|
82195
|
-
"requestBody": {
|
|
82196
|
-
"content": {
|
|
82197
|
-
"application/json": {
|
|
82198
|
-
"schema": {
|
|
82199
|
-
"properties": {
|
|
82200
|
-
"entityId": {
|
|
82201
|
-
"type": "string"
|
|
82202
|
-
},
|
|
82203
|
-
"entityType": {
|
|
82204
|
-
"$ref": "#/components/schemas/CrmEntityType"
|
|
82205
|
-
},
|
|
82206
|
-
"fields": {
|
|
82207
|
-
"description": "The diverging override fields to keep, e.g. `[\"company\", \"location\"]`. Batched because the review dialog can select several rows at once. Only the fields the server still sees diverging are suppressed.",
|
|
82208
|
-
"items": {
|
|
82209
|
-
"maxLength": 64,
|
|
82210
|
-
"minLength": 1,
|
|
82211
|
-
"type": "string"
|
|
82212
|
-
},
|
|
82213
|
-
"maxItems": 16,
|
|
82214
|
-
"minItems": 1,
|
|
82215
|
-
"type": "array"
|
|
82216
|
-
}
|
|
82217
|
-
},
|
|
82218
|
-
"required": [
|
|
82219
|
-
"entityId",
|
|
82220
|
-
"entityType",
|
|
82221
|
-
"fields"
|
|
82222
|
-
],
|
|
82223
|
-
"type": "object"
|
|
82224
|
-
}
|
|
82225
|
-
}
|
|
82226
|
-
}
|
|
82227
|
-
},
|
|
82228
|
-
"responses": {
|
|
82229
|
-
"200": {
|
|
82230
|
-
"content": {
|
|
82231
|
-
"application/json": {
|
|
82232
|
-
"schema": {
|
|
82233
|
-
"$ref": "#/components/schemas/CrmDeclineMiUpdateResult"
|
|
82234
|
-
}
|
|
82235
|
-
}
|
|
82236
|
-
},
|
|
82237
|
-
"description": "The subset of the requested fields that actually diverged and are now suppressed. A field absent from this list no longer disagrees with MI, so there was nothing to decline."
|
|
82238
|
-
},
|
|
82239
|
-
"400": {
|
|
82240
|
-
"content": {
|
|
82241
|
-
"application/json": {
|
|
82242
|
-
"schema": {
|
|
82243
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
82244
|
-
}
|
|
82245
|
-
}
|
|
82246
|
-
},
|
|
82247
|
-
"description": "Validation error"
|
|
82248
|
-
},
|
|
82249
|
-
"401": {
|
|
82250
|
-
"content": {
|
|
82251
|
-
"application/json": {
|
|
82252
|
-
"schema": {
|
|
82253
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
82254
|
-
}
|
|
82255
|
-
}
|
|
82256
|
-
},
|
|
82257
|
-
"description": "Unauthorized"
|
|
82258
|
-
},
|
|
82259
|
-
"403": {
|
|
82260
|
-
"content": {
|
|
82261
|
-
"application/json": {
|
|
82262
|
-
"schema": {
|
|
82263
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
82264
|
-
}
|
|
82265
|
-
}
|
|
82266
|
-
},
|
|
82267
|
-
"description": "Forbidden (authenticated, but missing required context — e.g. no active organization)"
|
|
82268
|
-
},
|
|
82269
|
-
"404": {
|
|
82270
|
-
"content": {
|
|
82271
|
-
"application/json": {
|
|
82272
|
-
"schema": {
|
|
82273
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
82274
|
-
}
|
|
82275
|
-
}
|
|
82276
|
-
},
|
|
82277
|
-
"description": "Not found"
|
|
82278
|
-
},
|
|
82279
|
-
"413": {
|
|
82280
|
-
"content": {
|
|
82281
|
-
"application/json": {
|
|
82282
|
-
"schema": {
|
|
82283
|
-
"$ref": "#/components/schemas/PayloadTooLarge"
|
|
82284
|
-
}
|
|
82285
|
-
}
|
|
82286
|
-
},
|
|
82287
|
-
"description": "Response payload too large — detail endpoint capped to fit Lambda response limits"
|
|
82288
|
-
},
|
|
82289
|
-
"503": {
|
|
82290
|
-
"content": {
|
|
82291
|
-
"application/json": {
|
|
82292
|
-
"schema": {
|
|
82293
|
-
"$ref": "#/components/schemas/SearchUnavailable"
|
|
82294
|
-
}
|
|
82295
|
-
}
|
|
82296
|
-
},
|
|
82297
|
-
"description": "Search timed out or the cluster is overloaded — retry after `Retry-After` seconds."
|
|
82298
|
-
}
|
|
82299
|
-
},
|
|
82300
|
-
"summary": "Keep the pinned values — suppress divergence proposals",
|
|
82301
|
-
"tags": [
|
|
82302
|
-
"CRM"
|
|
82303
|
-
]
|
|
82304
|
-
}
|
|
82305
|
-
},
|
|
82306
|
-
"/v1/crm/records/delete": {
|
|
82307
|
-
"post": {
|
|
82308
|
-
"operationId": "deleteCrmRecords",
|
|
82309
|
-
"requestBody": {
|
|
82310
|
-
"content": {
|
|
82311
|
-
"application/json": {
|
|
82312
|
-
"schema": {
|
|
82313
|
-
"properties": {
|
|
82314
|
-
"entityIds": {
|
|
82315
|
-
"items": {
|
|
82316
|
-
"type": "string"
|
|
82317
|
-
},
|
|
82318
|
-
"minItems": 1,
|
|
82319
|
-
"type": "array"
|
|
82320
|
-
}
|
|
82321
|
-
},
|
|
82322
|
-
"required": [
|
|
82323
|
-
"entityIds"
|
|
82324
|
-
],
|
|
82325
|
-
"type": "object"
|
|
82326
|
-
}
|
|
82327
|
-
}
|
|
82328
|
-
}
|
|
82329
|
-
},
|
|
82330
|
-
"responses": {
|
|
82331
|
-
"200": {
|
|
82332
|
-
"content": {
|
|
82333
|
-
"application/json": {
|
|
82334
|
-
"schema": {
|
|
82335
|
-
"$ref": "#/components/schemas/CrmDeleteRecordsResult"
|
|
82336
|
-
}
|
|
82337
|
-
}
|
|
82338
|
-
},
|
|
82339
|
-
"description": "Ids actually removed vs. skipped (not owned / not found)."
|
|
82340
|
-
},
|
|
82341
|
-
"400": {
|
|
82342
|
-
"content": {
|
|
82343
|
-
"application/json": {
|
|
82344
|
-
"schema": {
|
|
82345
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
82346
|
-
}
|
|
82347
|
-
}
|
|
82348
|
-
},
|
|
82349
|
-
"description": "Validation error"
|
|
82350
|
-
},
|
|
82351
|
-
"401": {
|
|
82352
|
-
"content": {
|
|
82353
|
-
"application/json": {
|
|
82354
|
-
"schema": {
|
|
82355
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
82356
|
-
}
|
|
82357
|
-
}
|
|
82358
|
-
},
|
|
82359
|
-
"description": "Unauthorized"
|
|
82360
|
-
},
|
|
82361
|
-
"403": {
|
|
82362
|
-
"content": {
|
|
82363
|
-
"application/json": {
|
|
82364
|
-
"schema": {
|
|
82365
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
82366
|
-
}
|
|
82367
|
-
}
|
|
82368
|
-
},
|
|
82369
|
-
"description": "Forbidden (authenticated, but missing required context — e.g. no active organization)"
|
|
82370
|
-
},
|
|
82371
|
-
"404": {
|
|
82372
|
-
"content": {
|
|
82373
|
-
"application/json": {
|
|
82374
|
-
"schema": {
|
|
82375
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
82376
|
-
}
|
|
82377
|
-
}
|
|
82378
|
-
},
|
|
82379
|
-
"description": "Not found"
|
|
82380
|
-
},
|
|
82381
|
-
"413": {
|
|
82382
|
-
"content": {
|
|
82383
|
-
"application/json": {
|
|
82384
|
-
"schema": {
|
|
82385
|
-
"$ref": "#/components/schemas/PayloadTooLarge"
|
|
82386
|
-
}
|
|
82387
|
-
}
|
|
82388
|
-
},
|
|
82389
|
-
"description": "Response payload too large — detail endpoint capped to fit Lambda response limits"
|
|
82390
|
-
},
|
|
82391
|
-
"503": {
|
|
82392
|
-
"content": {
|
|
82393
|
-
"application/json": {
|
|
82394
|
-
"schema": {
|
|
82395
|
-
"$ref": "#/components/schemas/SearchUnavailable"
|
|
82396
|
-
}
|
|
82397
|
-
}
|
|
82398
|
-
},
|
|
82399
|
-
"description": "Search timed out or the cluster is overloaded — retry after `Retry-After` seconds."
|
|
82400
|
-
}
|
|
82401
|
-
},
|
|
82402
|
-
"summary": "Remove one or more records from the CRM",
|
|
82403
|
-
"tags": [
|
|
82404
|
-
"CRM"
|
|
82405
|
-
]
|
|
82406
|
-
}
|
|
82407
|
-
},
|
|
82408
|
-
"/v1/crm/records/describe-on-add": {
|
|
82409
|
-
"post": {
|
|
82410
|
-
"operationId": "describeCrmRecordsOnAdd",
|
|
82411
|
-
"requestBody": {
|
|
82412
|
-
"content": {
|
|
82413
|
-
"application/json": {
|
|
82414
|
-
"schema": {
|
|
82415
|
-
"properties": {
|
|
82416
|
-
"created": {
|
|
82417
|
-
"items": {
|
|
82418
|
-
"properties": {
|
|
82419
|
-
"entityId": {
|
|
82420
|
-
"type": "string"
|
|
82421
|
-
},
|
|
82422
|
-
"entityType": {
|
|
82423
|
-
"$ref": "#/components/schemas/CrmEntityType"
|
|
82424
|
-
}
|
|
82425
|
-
},
|
|
82426
|
-
"required": [
|
|
82427
|
-
"entityId",
|
|
82428
|
-
"entityType"
|
|
82429
|
-
],
|
|
82430
|
-
"type": "object"
|
|
82431
|
-
},
|
|
82432
|
-
"maxItems": 500,
|
|
82433
|
-
"minItems": 1,
|
|
82434
|
-
"type": "array"
|
|
82435
|
-
}
|
|
82436
|
-
},
|
|
82437
|
-
"required": [
|
|
82438
|
-
"created"
|
|
82439
|
-
],
|
|
82440
|
-
"type": "object"
|
|
82441
|
-
}
|
|
82442
|
-
}
|
|
82443
|
-
}
|
|
82444
|
-
},
|
|
82445
|
-
"responses": {
|
|
82446
|
-
"200": {
|
|
82447
|
-
"content": {
|
|
82448
|
-
"application/json": {
|
|
82449
|
-
"schema": {
|
|
82450
|
-
"$ref": "#/components/schemas/CrmDescribeOnAddResult"
|
|
82451
|
-
}
|
|
82452
|
-
}
|
|
82453
|
-
},
|
|
82454
|
-
"description": "The created entity ids that need a generate-description run (cache misses this caller claimed)."
|
|
82455
|
-
},
|
|
82456
|
-
"400": {
|
|
82457
|
-
"content": {
|
|
82458
|
-
"application/json": {
|
|
82459
|
-
"schema": {
|
|
82460
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
82461
|
-
}
|
|
82462
|
-
}
|
|
82463
|
-
},
|
|
82464
|
-
"description": "Validation error"
|
|
82465
|
-
},
|
|
82466
|
-
"401": {
|
|
82467
|
-
"content": {
|
|
82468
|
-
"application/json": {
|
|
82469
|
-
"schema": {
|
|
82470
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
82471
|
-
}
|
|
82472
|
-
}
|
|
82473
|
-
},
|
|
82474
|
-
"description": "Unauthorized"
|
|
82475
|
-
},
|
|
82476
|
-
"403": {
|
|
82477
|
-
"content": {
|
|
82478
|
-
"application/json": {
|
|
82479
|
-
"schema": {
|
|
82480
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
82481
|
-
}
|
|
82482
|
-
}
|
|
82483
|
-
},
|
|
82484
|
-
"description": "Forbidden (authenticated, but missing required context — e.g. no active organization)"
|
|
82485
|
-
},
|
|
82486
|
-
"404": {
|
|
82487
|
-
"content": {
|
|
82488
|
-
"application/json": {
|
|
82489
|
-
"schema": {
|
|
82490
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
82491
|
-
}
|
|
82492
|
-
}
|
|
82493
|
-
},
|
|
82494
|
-
"description": "Not found"
|
|
82495
|
-
},
|
|
82496
|
-
"413": {
|
|
82497
|
-
"content": {
|
|
82498
|
-
"application/json": {
|
|
82499
|
-
"schema": {
|
|
82500
|
-
"$ref": "#/components/schemas/PayloadTooLarge"
|
|
82501
|
-
}
|
|
82502
|
-
}
|
|
82503
|
-
},
|
|
82504
|
-
"description": "Response payload too large — detail endpoint capped to fit Lambda response limits"
|
|
82505
|
-
},
|
|
82506
|
-
"503": {
|
|
82507
|
-
"content": {
|
|
82508
|
-
"application/json": {
|
|
82509
|
-
"schema": {
|
|
82510
|
-
"$ref": "#/components/schemas/SearchUnavailable"
|
|
82511
|
-
}
|
|
82512
|
-
}
|
|
82513
|
-
},
|
|
82514
|
-
"description": "Search timed out or the cluster is overloaded — retry after `Retry-After` seconds."
|
|
82515
|
-
}
|
|
82516
|
-
},
|
|
82517
|
-
"summary": "Resolve descriptions for just-created records (cache-first)",
|
|
82518
|
-
"tags": [
|
|
82519
|
-
"CRM"
|
|
82520
|
-
]
|
|
82521
|
-
}
|
|
82522
|
-
},
|
|
82523
|
-
"/v1/crm/records/dismiss-mi-updates": {
|
|
82524
|
-
"post": {
|
|
82525
|
-
"operationId": "dismissCrmMiUpdates",
|
|
82526
|
-
"requestBody": {
|
|
82527
|
-
"content": {
|
|
82528
|
-
"application/json": {
|
|
82529
|
-
"schema": {
|
|
82530
|
-
"properties": {
|
|
82531
|
-
"entityId": {
|
|
82532
|
-
"type": "string"
|
|
82533
|
-
},
|
|
82534
|
-
"seen": {
|
|
82535
|
-
"additionalProperties": {
|
|
82536
|
-
"items": {
|
|
82537
|
-
"maxLength": 512,
|
|
82538
|
-
"type": "string"
|
|
82539
|
-
},
|
|
82540
|
-
"maxItems": 50,
|
|
82541
|
-
"type": "array"
|
|
82542
|
-
},
|
|
82543
|
-
"type": "object"
|
|
82544
|
-
}
|
|
82545
|
-
},
|
|
82546
|
-
"required": [
|
|
82547
|
-
"entityId"
|
|
82548
|
-
],
|
|
82549
|
-
"type": "object"
|
|
82550
|
-
}
|
|
82551
|
-
}
|
|
82552
|
-
}
|
|
82553
|
-
},
|
|
82554
|
-
"responses": {
|
|
82555
|
-
"200": {
|
|
82556
|
-
"content": {
|
|
82557
|
-
"application/json": {
|
|
82558
|
-
"schema": {
|
|
82559
|
-
"$ref": "#/components/schemas/CrmDismissMiUpdatesResult"
|
|
82560
|
-
}
|
|
82561
|
-
}
|
|
82562
|
-
},
|
|
82563
|
-
"description": "Confirmation the check window was restarted. The seen-ledger is untouched."
|
|
82564
|
-
},
|
|
82565
|
-
"400": {
|
|
82566
|
-
"content": {
|
|
82567
|
-
"application/json": {
|
|
82568
|
-
"schema": {
|
|
82569
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
82570
|
-
}
|
|
82571
|
-
}
|
|
82572
|
-
},
|
|
82573
|
-
"description": "Validation error"
|
|
82574
|
-
},
|
|
82575
|
-
"401": {
|
|
82576
|
-
"content": {
|
|
82577
|
-
"application/json": {
|
|
82578
|
-
"schema": {
|
|
82579
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
82580
|
-
}
|
|
82581
|
-
}
|
|
82582
|
-
},
|
|
82583
|
-
"description": "Unauthorized"
|
|
82584
|
-
},
|
|
82585
|
-
"403": {
|
|
82586
|
-
"content": {
|
|
82587
|
-
"application/json": {
|
|
82588
|
-
"schema": {
|
|
82589
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
82590
|
-
}
|
|
82591
|
-
}
|
|
82592
|
-
},
|
|
82593
|
-
"description": "Forbidden (authenticated, but missing required context — e.g. no active organization)"
|
|
82594
|
-
},
|
|
82595
|
-
"404": {
|
|
82596
|
-
"content": {
|
|
82597
|
-
"application/json": {
|
|
82598
|
-
"schema": {
|
|
82599
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
82600
|
-
}
|
|
82601
|
-
}
|
|
82602
|
-
},
|
|
82603
|
-
"description": "Not found"
|
|
82604
|
-
},
|
|
82605
|
-
"413": {
|
|
82606
|
-
"content": {
|
|
82607
|
-
"application/json": {
|
|
82608
|
-
"schema": {
|
|
82609
|
-
"$ref": "#/components/schemas/PayloadTooLarge"
|
|
82610
|
-
}
|
|
82611
|
-
}
|
|
82612
|
-
},
|
|
82613
|
-
"description": "Response payload too large — detail endpoint capped to fit Lambda response limits"
|
|
82614
|
-
},
|
|
82615
|
-
"503": {
|
|
82616
|
-
"content": {
|
|
82617
|
-
"application/json": {
|
|
82618
|
-
"schema": {
|
|
82619
|
-
"$ref": "#/components/schemas/SearchUnavailable"
|
|
82620
|
-
}
|
|
82621
|
-
}
|
|
82622
|
-
},
|
|
82623
|
-
"description": "Search timed out or the cluster is overloaded — retry after `Retry-After` seconds."
|
|
82624
|
-
}
|
|
82625
|
-
},
|
|
82626
|
-
"summary": "Snooze surfaced MI updates for the check window",
|
|
82627
|
-
"tags": [
|
|
82628
|
-
"CRM"
|
|
82629
|
-
]
|
|
82630
|
-
}
|
|
82631
|
-
},
|
|
82632
|
-
"/v1/crm/records/generate-description": {
|
|
82633
|
-
"post": {
|
|
82634
|
-
"operationId": "generateCrmRecordDescription",
|
|
82635
|
-
"requestBody": {
|
|
82636
|
-
"content": {
|
|
82637
|
-
"application/json": {
|
|
82638
|
-
"schema": {
|
|
82639
|
-
"properties": {
|
|
82640
|
-
"company": {
|
|
82641
|
-
"description": "Ignored.",
|
|
82642
|
-
"type": "string"
|
|
82643
|
-
},
|
|
82644
|
-
"entityId": {
|
|
82645
|
-
"type": "string"
|
|
82646
|
-
},
|
|
82647
|
-
"entityType": {
|
|
82648
|
-
"$ref": "#/components/schemas/CrmEntityType"
|
|
82649
|
-
},
|
|
82650
|
-
"location": {
|
|
82651
|
-
"description": "Ignored.",
|
|
82652
|
-
"type": "string"
|
|
82653
|
-
},
|
|
82654
|
-
"name": {
|
|
82655
|
-
"description": "Ignored. Who is researched comes from the market-data record, not the request.",
|
|
82656
|
-
"type": "string"
|
|
82657
|
-
},
|
|
82658
|
-
"title": {
|
|
82659
|
-
"description": "Ignored.",
|
|
82660
|
-
"type": "string"
|
|
82661
|
-
}
|
|
82662
|
-
},
|
|
82663
|
-
"required": [
|
|
82664
|
-
"entityId",
|
|
82665
|
-
"entityType"
|
|
82666
|
-
],
|
|
82667
|
-
"type": "object"
|
|
82668
|
-
}
|
|
82669
|
-
}
|
|
82670
|
-
}
|
|
82671
|
-
},
|
|
82672
|
-
"responses": {
|
|
82673
|
-
"200": {
|
|
82674
|
-
"content": {
|
|
82675
|
-
"application/json": {
|
|
82676
|
-
"schema": {
|
|
82677
|
-
"$ref": "#/components/schemas/CrmGenerateDescriptionResult"
|
|
82678
|
-
}
|
|
82679
|
-
}
|
|
82680
|
-
},
|
|
82681
|
-
"description": "The generated description, or null when no usable source was found."
|
|
82682
|
-
},
|
|
82683
|
-
"400": {
|
|
82684
|
-
"content": {
|
|
82685
|
-
"application/json": {
|
|
82686
|
-
"schema": {
|
|
82687
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
82688
|
-
}
|
|
82689
|
-
}
|
|
82690
|
-
},
|
|
82691
|
-
"description": "Validation error"
|
|
82692
|
-
},
|
|
82693
|
-
"401": {
|
|
82694
|
-
"content": {
|
|
82695
|
-
"application/json": {
|
|
82696
|
-
"schema": {
|
|
82697
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
82698
|
-
}
|
|
82699
|
-
}
|
|
82700
|
-
},
|
|
82701
|
-
"description": "Unauthorized"
|
|
82702
|
-
},
|
|
82703
|
-
"403": {
|
|
82704
|
-
"content": {
|
|
82705
|
-
"application/json": {
|
|
82706
|
-
"schema": {
|
|
82707
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
82708
|
-
}
|
|
82709
|
-
}
|
|
82710
|
-
},
|
|
82711
|
-
"description": "Forbidden (authenticated, but missing required context — e.g. no active organization)"
|
|
82712
|
-
},
|
|
82713
|
-
"404": {
|
|
82714
|
-
"content": {
|
|
82715
|
-
"application/json": {
|
|
82716
|
-
"schema": {
|
|
82717
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
82718
|
-
}
|
|
82719
|
-
}
|
|
82720
|
-
},
|
|
82721
|
-
"description": "Not found"
|
|
82722
|
-
},
|
|
82723
|
-
"413": {
|
|
82724
|
-
"content": {
|
|
82725
|
-
"application/json": {
|
|
82726
|
-
"schema": {
|
|
82727
|
-
"$ref": "#/components/schemas/PayloadTooLarge"
|
|
82728
|
-
}
|
|
82729
|
-
}
|
|
82730
|
-
},
|
|
82731
|
-
"description": "Response payload too large — detail endpoint capped to fit Lambda response limits"
|
|
82732
|
-
},
|
|
82733
|
-
"429": {
|
|
82734
|
-
"content": {
|
|
82735
|
-
"application/json": {
|
|
82736
|
-
"schema": {
|
|
82737
|
-
"$ref": "#/components/schemas/RateLimited"
|
|
82738
|
-
}
|
|
82739
|
-
}
|
|
82740
|
-
},
|
|
82741
|
-
"description": "`rate_limited` — too many AI requests from this user in the last minute. Wait `retryAfterSeconds` (also sent as the `Retry-After` header)."
|
|
82742
|
-
},
|
|
82743
|
-
"503": {
|
|
82744
|
-
"content": {
|
|
82745
|
-
"application/json": {
|
|
82746
|
-
"schema": {
|
|
82747
|
-
"$ref": "#/components/schemas/SearchUnavailable"
|
|
82748
|
-
}
|
|
82749
|
-
}
|
|
82750
|
-
},
|
|
82751
|
-
"description": "Search timed out or the cluster is overloaded — retry after `Retry-After` seconds."
|
|
82752
|
-
}
|
|
82753
|
-
},
|
|
82754
|
-
"summary": "Auto-generate a record's description from the web",
|
|
82755
|
-
"tags": [
|
|
82756
|
-
"CRM"
|
|
82757
|
-
]
|
|
82758
|
-
}
|
|
82759
|
-
},
|
|
82760
|
-
"/v1/crm/records/grant-access": {
|
|
82761
|
-
"post": {
|
|
82762
|
-
"operationId": "grantCrmRecordAccessRequest",
|
|
82763
|
-
"requestBody": {
|
|
82764
|
-
"content": {
|
|
82765
|
-
"application/json": {
|
|
82766
|
-
"schema": {
|
|
82767
|
-
"properties": {
|
|
82768
|
-
"requestId": {
|
|
82769
|
-
"minLength": 1,
|
|
82770
|
-
"type": "string"
|
|
82771
|
-
}
|
|
82772
|
-
},
|
|
82773
|
-
"required": [
|
|
82774
|
-
"requestId"
|
|
82775
|
-
],
|
|
82776
|
-
"type": "object"
|
|
82777
|
-
}
|
|
82778
|
-
}
|
|
82779
|
-
}
|
|
82780
|
-
},
|
|
82781
|
-
"responses": {
|
|
82782
|
-
"200": {
|
|
82783
|
-
"content": {
|
|
82784
|
-
"application/json": {
|
|
82785
|
-
"schema": {
|
|
82786
|
-
"$ref": "#/components/schemas/CrmGrantRecordAccessRequestResult"
|
|
82787
|
-
}
|
|
82788
|
-
}
|
|
82789
|
-
},
|
|
82790
|
-
"description": "The requester was granted access (idempotent) and the ask closed."
|
|
82791
|
-
},
|
|
82792
|
-
"400": {
|
|
82793
|
-
"content": {
|
|
82794
|
-
"application/json": {
|
|
82795
|
-
"schema": {
|
|
82796
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
82797
|
-
}
|
|
82798
|
-
}
|
|
82799
|
-
},
|
|
82800
|
-
"description": "Validation error"
|
|
82801
|
-
},
|
|
82802
|
-
"401": {
|
|
82803
|
-
"content": {
|
|
82804
|
-
"application/json": {
|
|
82805
|
-
"schema": {
|
|
82806
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
82807
|
-
}
|
|
82808
|
-
}
|
|
82809
|
-
},
|
|
82810
|
-
"description": "Unauthorized"
|
|
82811
|
-
},
|
|
82812
|
-
"403": {
|
|
82813
|
-
"content": {
|
|
82814
|
-
"application/json": {
|
|
82815
|
-
"schema": {
|
|
82816
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
82817
|
-
}
|
|
82818
|
-
}
|
|
82819
|
-
},
|
|
82820
|
-
"description": "Forbidden (authenticated, but missing required context — e.g. no active organization)"
|
|
82821
|
-
},
|
|
82822
|
-
"404": {
|
|
82823
|
-
"content": {
|
|
82824
|
-
"application/json": {
|
|
82825
|
-
"schema": {
|
|
82826
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
82827
|
-
}
|
|
82828
|
-
}
|
|
82829
|
-
},
|
|
82830
|
-
"description": "Not found"
|
|
82831
|
-
},
|
|
82832
|
-
"413": {
|
|
82833
|
-
"content": {
|
|
82834
|
-
"application/json": {
|
|
82835
|
-
"schema": {
|
|
82836
|
-
"$ref": "#/components/schemas/PayloadTooLarge"
|
|
82837
|
-
}
|
|
82838
|
-
}
|
|
82839
|
-
},
|
|
82840
|
-
"description": "Response payload too large — detail endpoint capped to fit Lambda response limits"
|
|
82841
|
-
},
|
|
82842
|
-
"502": {
|
|
82843
|
-
"content": {
|
|
82844
|
-
"application/json": {
|
|
82845
|
-
"schema": {
|
|
82846
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
82847
|
-
}
|
|
82848
|
-
}
|
|
82849
|
-
},
|
|
82850
|
-
"description": "Auth service unavailable (roster needed for the gate)."
|
|
82851
|
-
},
|
|
82852
|
-
"503": {
|
|
82853
|
-
"content": {
|
|
82854
|
-
"application/json": {
|
|
82855
|
-
"schema": {
|
|
82856
|
-
"$ref": "#/components/schemas/SearchUnavailable"
|
|
82857
|
-
}
|
|
82858
|
-
}
|
|
82859
|
-
},
|
|
82860
|
-
"description": "Search timed out or the cluster is overloaded — retry after `Retry-After` seconds."
|
|
82861
|
-
}
|
|
82862
|
-
},
|
|
82863
|
-
"summary": "Grant a pending record access request (owner/admin, one tap)",
|
|
81905
|
+
"summary": "Create a manual (unmatched) CRM record",
|
|
82864
81906
|
"tags": [
|
|
82865
81907
|
"CRM"
|
|
82866
81908
|
]
|
|
82867
81909
|
}
|
|
82868
81910
|
},
|
|
82869
|
-
"/v1/crm/records/
|
|
82870
|
-
"
|
|
82871
|
-
"operationId": "
|
|
82872
|
-
"
|
|
82873
|
-
{
|
|
82874
|
-
"
|
|
82875
|
-
|
|
82876
|
-
|
|
82877
|
-
|
|
82878
|
-
|
|
81911
|
+
"/v1/crm/records/decline-mi-update": {
|
|
81912
|
+
"post": {
|
|
81913
|
+
"operationId": "declineCrmMiUpdate",
|
|
81914
|
+
"requestBody": {
|
|
81915
|
+
"content": {
|
|
81916
|
+
"application/json": {
|
|
81917
|
+
"schema": {
|
|
81918
|
+
"properties": {
|
|
81919
|
+
"entityId": {
|
|
81920
|
+
"type": "string"
|
|
81921
|
+
},
|
|
81922
|
+
"entityType": {
|
|
81923
|
+
"$ref": "#/components/schemas/CrmEntityType"
|
|
81924
|
+
},
|
|
81925
|
+
"fields": {
|
|
81926
|
+
"description": "The diverging override fields to keep, e.g. `[\"company\", \"location\"]`. Batched because the review dialog can select several rows at once. Only the fields the server still sees diverging are suppressed.",
|
|
81927
|
+
"items": {
|
|
81928
|
+
"maxLength": 64,
|
|
81929
|
+
"minLength": 1,
|
|
81930
|
+
"type": "string"
|
|
81931
|
+
},
|
|
81932
|
+
"maxItems": 16,
|
|
81933
|
+
"minItems": 1,
|
|
81934
|
+
"type": "array"
|
|
81935
|
+
}
|
|
81936
|
+
},
|
|
81937
|
+
"required": [
|
|
81938
|
+
"entityId",
|
|
81939
|
+
"entityType",
|
|
81940
|
+
"fields"
|
|
81941
|
+
],
|
|
81942
|
+
"type": "object"
|
|
81943
|
+
}
|
|
82879
81944
|
}
|
|
82880
81945
|
}
|
|
82881
|
-
|
|
81946
|
+
},
|
|
82882
81947
|
"responses": {
|
|
82883
81948
|
"200": {
|
|
82884
81949
|
"content": {
|
|
82885
81950
|
"application/json": {
|
|
82886
81951
|
"schema": {
|
|
82887
|
-
"$ref": "#/components/schemas/
|
|
81952
|
+
"$ref": "#/components/schemas/CrmDeclineMiUpdateResult"
|
|
82888
81953
|
}
|
|
82889
81954
|
}
|
|
82890
81955
|
},
|
|
82891
|
-
"description": "
|
|
81956
|
+
"description": "The subset of the requested fields that actually diverged and are now suppressed. A field absent from this list no longer disagrees with MI, so there was nothing to decline."
|
|
82892
81957
|
},
|
|
82893
81958
|
"400": {
|
|
82894
81959
|
"content": {
|
|
@@ -82951,25 +82016,31 @@
|
|
|
82951
82016
|
"description": "Search timed out or the cluster is overloaded — retry after `Retry-After` seconds."
|
|
82952
82017
|
}
|
|
82953
82018
|
},
|
|
82954
|
-
"summary": "
|
|
82019
|
+
"summary": "Keep the pinned values — suppress divergence proposals",
|
|
82955
82020
|
"tags": [
|
|
82956
82021
|
"CRM"
|
|
82957
82022
|
]
|
|
82958
82023
|
}
|
|
82959
82024
|
},
|
|
82960
|
-
"/v1/crm/records/
|
|
82025
|
+
"/v1/crm/records/delete": {
|
|
82961
82026
|
"post": {
|
|
82962
|
-
"operationId": "
|
|
82027
|
+
"operationId": "deleteCrmRecords",
|
|
82963
82028
|
"requestBody": {
|
|
82964
82029
|
"content": {
|
|
82965
82030
|
"application/json": {
|
|
82966
82031
|
"schema": {
|
|
82967
82032
|
"properties": {
|
|
82968
|
-
"
|
|
82969
|
-
"
|
|
82970
|
-
|
|
82033
|
+
"entityIds": {
|
|
82034
|
+
"items": {
|
|
82035
|
+
"type": "string"
|
|
82036
|
+
},
|
|
82037
|
+
"minItems": 1,
|
|
82038
|
+
"type": "array"
|
|
82971
82039
|
}
|
|
82972
82040
|
},
|
|
82041
|
+
"required": [
|
|
82042
|
+
"entityIds"
|
|
82043
|
+
],
|
|
82973
82044
|
"type": "object"
|
|
82974
82045
|
}
|
|
82975
82046
|
}
|
|
@@ -82980,11 +82051,11 @@
|
|
|
82980
82051
|
"content": {
|
|
82981
82052
|
"application/json": {
|
|
82982
82053
|
"schema": {
|
|
82983
|
-
"$ref": "#/components/schemas/
|
|
82054
|
+
"$ref": "#/components/schemas/CrmDeleteRecordsResult"
|
|
82984
82055
|
}
|
|
82985
82056
|
}
|
|
82986
82057
|
},
|
|
82987
|
-
"description": "
|
|
82058
|
+
"description": "Ids actually removed vs. skipped (not owned / not found)."
|
|
82988
82059
|
},
|
|
82989
82060
|
"400": {
|
|
82990
82061
|
"content": {
|
|
@@ -83047,32 +82118,43 @@
|
|
|
83047
82118
|
"description": "Search timed out or the cluster is overloaded — retry after `Retry-After` seconds."
|
|
83048
82119
|
}
|
|
83049
82120
|
},
|
|
83050
|
-
"summary": "
|
|
82121
|
+
"summary": "Remove one or more records from the CRM",
|
|
83051
82122
|
"tags": [
|
|
83052
82123
|
"CRM"
|
|
83053
82124
|
]
|
|
83054
82125
|
}
|
|
83055
82126
|
},
|
|
83056
|
-
"/v1/crm/records/
|
|
82127
|
+
"/v1/crm/records/describe-on-add": {
|
|
83057
82128
|
"post": {
|
|
83058
|
-
"operationId": "
|
|
82129
|
+
"operationId": "describeCrmRecordsOnAdd",
|
|
83059
82130
|
"requestBody": {
|
|
83060
82131
|
"content": {
|
|
83061
82132
|
"application/json": {
|
|
83062
82133
|
"schema": {
|
|
83063
82134
|
"properties": {
|
|
83064
|
-
"
|
|
83065
|
-
"
|
|
83066
|
-
|
|
83067
|
-
|
|
83068
|
-
|
|
83069
|
-
|
|
83070
|
-
|
|
82135
|
+
"created": {
|
|
82136
|
+
"items": {
|
|
82137
|
+
"properties": {
|
|
82138
|
+
"entityId": {
|
|
82139
|
+
"type": "string"
|
|
82140
|
+
},
|
|
82141
|
+
"entityType": {
|
|
82142
|
+
"$ref": "#/components/schemas/CrmEntityType"
|
|
82143
|
+
}
|
|
82144
|
+
},
|
|
82145
|
+
"required": [
|
|
82146
|
+
"entityId",
|
|
82147
|
+
"entityType"
|
|
82148
|
+
],
|
|
82149
|
+
"type": "object"
|
|
82150
|
+
},
|
|
82151
|
+
"maxItems": 500,
|
|
82152
|
+
"minItems": 1,
|
|
82153
|
+
"type": "array"
|
|
83071
82154
|
}
|
|
83072
82155
|
},
|
|
83073
82156
|
"required": [
|
|
83074
|
-
"
|
|
83075
|
-
"entityType"
|
|
82157
|
+
"created"
|
|
83076
82158
|
],
|
|
83077
82159
|
"type": "object"
|
|
83078
82160
|
}
|
|
@@ -83084,11 +82166,11 @@
|
|
|
83084
82166
|
"content": {
|
|
83085
82167
|
"application/json": {
|
|
83086
82168
|
"schema": {
|
|
83087
|
-
"$ref": "#/components/schemas/
|
|
82169
|
+
"$ref": "#/components/schemas/CrmDescribeOnAddResult"
|
|
83088
82170
|
}
|
|
83089
82171
|
}
|
|
83090
82172
|
},
|
|
83091
|
-
"description": "The
|
|
82173
|
+
"description": "The created entity ids that need a generate-description run (cache misses this caller claimed)."
|
|
83092
82174
|
},
|
|
83093
82175
|
"400": {
|
|
83094
82176
|
"content": {
|
|
@@ -83151,24 +82233,33 @@
|
|
|
83151
82233
|
"description": "Search timed out or the cluster is overloaded — retry after `Retry-After` seconds."
|
|
83152
82234
|
}
|
|
83153
82235
|
},
|
|
83154
|
-
"summary": "
|
|
82236
|
+
"summary": "Resolve descriptions for just-created records (cache-first)",
|
|
83155
82237
|
"tags": [
|
|
83156
82238
|
"CRM"
|
|
83157
82239
|
]
|
|
83158
82240
|
}
|
|
83159
82241
|
},
|
|
83160
|
-
"/v1/crm/records/
|
|
82242
|
+
"/v1/crm/records/dismiss-mi-updates": {
|
|
83161
82243
|
"post": {
|
|
83162
|
-
"operationId": "
|
|
82244
|
+
"operationId": "dismissCrmMiUpdates",
|
|
83163
82245
|
"requestBody": {
|
|
83164
82246
|
"content": {
|
|
83165
82247
|
"application/json": {
|
|
83166
82248
|
"schema": {
|
|
83167
82249
|
"properties": {
|
|
83168
82250
|
"entityId": {
|
|
83169
|
-
"maxLength": 128,
|
|
83170
|
-
"minLength": 1,
|
|
83171
82251
|
"type": "string"
|
|
82252
|
+
},
|
|
82253
|
+
"seen": {
|
|
82254
|
+
"additionalProperties": {
|
|
82255
|
+
"items": {
|
|
82256
|
+
"maxLength": 512,
|
|
82257
|
+
"type": "string"
|
|
82258
|
+
},
|
|
82259
|
+
"maxItems": 50,
|
|
82260
|
+
"type": "array"
|
|
82261
|
+
},
|
|
82262
|
+
"type": "object"
|
|
83172
82263
|
}
|
|
83173
82264
|
},
|
|
83174
82265
|
"required": [
|
|
@@ -83184,11 +82275,11 @@
|
|
|
83184
82275
|
"content": {
|
|
83185
82276
|
"application/json": {
|
|
83186
82277
|
"schema": {
|
|
83187
|
-
"$ref": "#/components/schemas/
|
|
82278
|
+
"$ref": "#/components/schemas/CrmDismissMiUpdatesResult"
|
|
83188
82279
|
}
|
|
83189
82280
|
}
|
|
83190
82281
|
},
|
|
83191
|
-
"description": "
|
|
82282
|
+
"description": "Confirmation the check window was restarted. The seen-ledger is untouched."
|
|
83192
82283
|
},
|
|
83193
82284
|
"400": {
|
|
83194
82285
|
"content": {
|
|
@@ -83251,32 +82342,46 @@
|
|
|
83251
82342
|
"description": "Search timed out or the cluster is overloaded — retry after `Retry-After` seconds."
|
|
83252
82343
|
}
|
|
83253
82344
|
},
|
|
83254
|
-
"summary": "
|
|
82345
|
+
"summary": "Snooze surfaced MI updates for the check window",
|
|
83255
82346
|
"tags": [
|
|
83256
82347
|
"CRM"
|
|
83257
82348
|
]
|
|
83258
82349
|
}
|
|
83259
82350
|
},
|
|
83260
|
-
"/v1/crm/records/
|
|
82351
|
+
"/v1/crm/records/generate-description": {
|
|
83261
82352
|
"post": {
|
|
83262
|
-
"operationId": "
|
|
82353
|
+
"operationId": "generateCrmRecordDescription",
|
|
83263
82354
|
"requestBody": {
|
|
83264
82355
|
"content": {
|
|
83265
82356
|
"application/json": {
|
|
83266
82357
|
"schema": {
|
|
83267
82358
|
"properties": {
|
|
82359
|
+
"company": {
|
|
82360
|
+
"description": "Ignored.",
|
|
82361
|
+
"type": "string"
|
|
82362
|
+
},
|
|
83268
82363
|
"entityId": {
|
|
83269
|
-
"minLength": 1,
|
|
83270
82364
|
"type": "string"
|
|
83271
82365
|
},
|
|
83272
|
-
"
|
|
83273
|
-
"
|
|
82366
|
+
"entityType": {
|
|
82367
|
+
"$ref": "#/components/schemas/CrmEntityType"
|
|
82368
|
+
},
|
|
82369
|
+
"location": {
|
|
82370
|
+
"description": "Ignored.",
|
|
82371
|
+
"type": "string"
|
|
82372
|
+
},
|
|
82373
|
+
"name": {
|
|
82374
|
+
"description": "Ignored. Who is researched comes from the market-data record, not the request.",
|
|
82375
|
+
"type": "string"
|
|
82376
|
+
},
|
|
82377
|
+
"title": {
|
|
82378
|
+
"description": "Ignored.",
|
|
83274
82379
|
"type": "string"
|
|
83275
82380
|
}
|
|
83276
82381
|
},
|
|
83277
82382
|
"required": [
|
|
83278
|
-
"
|
|
83279
|
-
"
|
|
82383
|
+
"entityId",
|
|
82384
|
+
"entityType"
|
|
83280
82385
|
],
|
|
83281
82386
|
"type": "object"
|
|
83282
82387
|
}
|
|
@@ -83288,11 +82393,11 @@
|
|
|
83288
82393
|
"content": {
|
|
83289
82394
|
"application/json": {
|
|
83290
82395
|
"schema": {
|
|
83291
|
-
"$ref": "#/components/schemas/
|
|
82396
|
+
"$ref": "#/components/schemas/CrmGenerateDescriptionResult"
|
|
83292
82397
|
}
|
|
83293
82398
|
}
|
|
83294
82399
|
},
|
|
83295
|
-
"description": "The
|
|
82400
|
+
"description": "The generated description, or null when no usable source was found."
|
|
83296
82401
|
},
|
|
83297
82402
|
"400": {
|
|
83298
82403
|
"content": {
|
|
@@ -83344,25 +82449,15 @@
|
|
|
83344
82449
|
},
|
|
83345
82450
|
"description": "Response payload too large — detail endpoint capped to fit Lambda response limits"
|
|
83346
82451
|
},
|
|
83347
|
-
"
|
|
83348
|
-
"content": {
|
|
83349
|
-
"application/json": {
|
|
83350
|
-
"schema": {
|
|
83351
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
83352
|
-
}
|
|
83353
|
-
}
|
|
83354
|
-
},
|
|
83355
|
-
"description": "The record has no owner/admin to notify."
|
|
83356
|
-
},
|
|
83357
|
-
"502": {
|
|
82452
|
+
"429": {
|
|
83358
82453
|
"content": {
|
|
83359
82454
|
"application/json": {
|
|
83360
82455
|
"schema": {
|
|
83361
|
-
"$ref": "#/components/schemas/
|
|
82456
|
+
"$ref": "#/components/schemas/RateLimited"
|
|
83362
82457
|
}
|
|
83363
82458
|
}
|
|
83364
82459
|
},
|
|
83365
|
-
"description": "
|
|
82460
|
+
"description": "`rate_limited` — too many AI requests from this user in the last minute. Wait `retryAfterSeconds` (also sent as the `Retry-After` header)."
|
|
83366
82461
|
},
|
|
83367
82462
|
"503": {
|
|
83368
82463
|
"content": {
|
|
@@ -83375,35 +82470,27 @@
|
|
|
83375
82470
|
"description": "Search timed out or the cluster is overloaded — retry after `Retry-After` seconds."
|
|
83376
82471
|
}
|
|
83377
82472
|
},
|
|
83378
|
-
"summary": "
|
|
82473
|
+
"summary": "Auto-generate a record's description from the web",
|
|
83379
82474
|
"tags": [
|
|
83380
82475
|
"CRM"
|
|
83381
82476
|
]
|
|
83382
82477
|
}
|
|
83383
82478
|
},
|
|
83384
|
-
"/v1/crm/records/
|
|
82479
|
+
"/v1/crm/records/grant-access": {
|
|
83385
82480
|
"post": {
|
|
83386
|
-
"operationId": "
|
|
82481
|
+
"operationId": "grantCrmRecordAccessRequest",
|
|
83387
82482
|
"requestBody": {
|
|
83388
82483
|
"content": {
|
|
83389
82484
|
"application/json": {
|
|
83390
82485
|
"schema": {
|
|
83391
82486
|
"properties": {
|
|
83392
|
-
"
|
|
83393
|
-
"
|
|
83394
|
-
"type": "string"
|
|
83395
|
-
},
|
|
83396
|
-
"objectType": {
|
|
83397
|
-
"$ref": "#/components/schemas/CrmObjectType"
|
|
83398
|
-
},
|
|
83399
|
-
"q": {
|
|
83400
|
-
"description": "Free-text query.",
|
|
82487
|
+
"requestId": {
|
|
82488
|
+
"minLength": 1,
|
|
83401
82489
|
"type": "string"
|
|
83402
82490
|
}
|
|
83403
82491
|
},
|
|
83404
82492
|
"required": [
|
|
83405
|
-
"
|
|
83406
|
-
"q"
|
|
82493
|
+
"requestId"
|
|
83407
82494
|
],
|
|
83408
82495
|
"type": "object"
|
|
83409
82496
|
}
|
|
@@ -83415,92 +82502,11 @@
|
|
|
83415
82502
|
"content": {
|
|
83416
82503
|
"application/json": {
|
|
83417
82504
|
"schema": {
|
|
83418
|
-
"$ref": "#/components/schemas/
|
|
83419
|
-
}
|
|
83420
|
-
}
|
|
83421
|
-
},
|
|
83422
|
-
"description": "The matching namespaced entity ids."
|
|
83423
|
-
},
|
|
83424
|
-
"400": {
|
|
83425
|
-
"content": {
|
|
83426
|
-
"application/json": {
|
|
83427
|
-
"schema": {
|
|
83428
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
83429
|
-
}
|
|
83430
|
-
}
|
|
83431
|
-
},
|
|
83432
|
-
"description": "Validation error"
|
|
83433
|
-
},
|
|
83434
|
-
"401": {
|
|
83435
|
-
"content": {
|
|
83436
|
-
"application/json": {
|
|
83437
|
-
"schema": {
|
|
83438
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
83439
|
-
}
|
|
83440
|
-
}
|
|
83441
|
-
},
|
|
83442
|
-
"description": "Unauthorized"
|
|
83443
|
-
},
|
|
83444
|
-
"403": {
|
|
83445
|
-
"content": {
|
|
83446
|
-
"application/json": {
|
|
83447
|
-
"schema": {
|
|
83448
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
83449
|
-
}
|
|
83450
|
-
}
|
|
83451
|
-
},
|
|
83452
|
-
"description": "Forbidden (authenticated, but missing required context — e.g. no active organization)"
|
|
83453
|
-
},
|
|
83454
|
-
"404": {
|
|
83455
|
-
"content": {
|
|
83456
|
-
"application/json": {
|
|
83457
|
-
"schema": {
|
|
83458
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
83459
|
-
}
|
|
83460
|
-
}
|
|
83461
|
-
},
|
|
83462
|
-
"description": "Not found"
|
|
83463
|
-
},
|
|
83464
|
-
"413": {
|
|
83465
|
-
"content": {
|
|
83466
|
-
"application/json": {
|
|
83467
|
-
"schema": {
|
|
83468
|
-
"$ref": "#/components/schemas/PayloadTooLarge"
|
|
83469
|
-
}
|
|
83470
|
-
}
|
|
83471
|
-
},
|
|
83472
|
-
"description": "Response payload too large — detail endpoint capped to fit Lambda response limits"
|
|
83473
|
-
},
|
|
83474
|
-
"503": {
|
|
83475
|
-
"content": {
|
|
83476
|
-
"application/json": {
|
|
83477
|
-
"schema": {
|
|
83478
|
-
"$ref": "#/components/schemas/SearchUnavailable"
|
|
83479
|
-
}
|
|
83480
|
-
}
|
|
83481
|
-
},
|
|
83482
|
-
"description": "Search timed out or the cluster is overloaded — retry after `Retry-After` seconds."
|
|
83483
|
-
}
|
|
83484
|
-
},
|
|
83485
|
-
"summary": "Free-text search over CRM records",
|
|
83486
|
-
"tags": [
|
|
83487
|
-
"CRM"
|
|
83488
|
-
]
|
|
83489
|
-
}
|
|
83490
|
-
},
|
|
83491
|
-
"/v1/crm/recruiting/calls/active": {
|
|
83492
|
-
"get": {
|
|
83493
|
-
"operationId": "getRecruitingActiveCall",
|
|
83494
|
-
"responses": {
|
|
83495
|
-
"200": {
|
|
83496
|
-
"content": {
|
|
83497
|
-
"application/json": {
|
|
83498
|
-
"schema": {
|
|
83499
|
-
"$ref": "#/components/schemas/RecruitingActiveCallResult"
|
|
82505
|
+
"$ref": "#/components/schemas/CrmGrantRecordAccessRequestResult"
|
|
83500
82506
|
}
|
|
83501
82507
|
}
|
|
83502
82508
|
},
|
|
83503
|
-
"description": "The
|
|
82509
|
+
"description": "The requester was granted access (idempotent) and the ask closed."
|
|
83504
82510
|
},
|
|
83505
82511
|
"400": {
|
|
83506
82512
|
"content": {
|
|
@@ -83560,7 +82566,7 @@
|
|
|
83560
82566
|
}
|
|
83561
82567
|
}
|
|
83562
82568
|
},
|
|
83563
|
-
"description": "Auth service unavailable."
|
|
82569
|
+
"description": "Auth service unavailable (roster needed for the gate)."
|
|
83564
82570
|
},
|
|
83565
82571
|
"503": {
|
|
83566
82572
|
"content": {
|
|
@@ -83573,25 +82579,35 @@
|
|
|
83573
82579
|
"description": "Search timed out or the cluster is overloaded — retry after `Retry-After` seconds."
|
|
83574
82580
|
}
|
|
83575
82581
|
},
|
|
83576
|
-
"summary": "
|
|
82582
|
+
"summary": "Grant a pending record access request (owner/admin, one tap)",
|
|
83577
82583
|
"tags": [
|
|
83578
82584
|
"CRM"
|
|
83579
82585
|
]
|
|
83580
82586
|
}
|
|
83581
82587
|
},
|
|
83582
|
-
"/v1/crm/
|
|
82588
|
+
"/v1/crm/records/member-ids": {
|
|
83583
82589
|
"get": {
|
|
83584
|
-
"operationId": "
|
|
82590
|
+
"operationId": "getCrmRecordMemberIds",
|
|
82591
|
+
"parameters": [
|
|
82592
|
+
{
|
|
82593
|
+
"in": "query",
|
|
82594
|
+
"name": "objectType",
|
|
82595
|
+
"required": true,
|
|
82596
|
+
"schema": {
|
|
82597
|
+
"$ref": "#/components/schemas/CrmObjectType"
|
|
82598
|
+
}
|
|
82599
|
+
}
|
|
82600
|
+
],
|
|
83585
82601
|
"responses": {
|
|
83586
82602
|
"200": {
|
|
83587
82603
|
"content": {
|
|
83588
82604
|
"application/json": {
|
|
83589
82605
|
"schema": {
|
|
83590
|
-
"$ref": "#/components/schemas/
|
|
82606
|
+
"$ref": "#/components/schemas/CrmMemberIdsResult"
|
|
83591
82607
|
}
|
|
83592
82608
|
}
|
|
83593
82609
|
},
|
|
83594
|
-
"description": "
|
|
82610
|
+
"description": "Every workspace record id of the object type."
|
|
83595
82611
|
},
|
|
83596
82612
|
"400": {
|
|
83597
82613
|
"content": {
|
|
@@ -83643,16 +82659,6 @@
|
|
|
83643
82659
|
},
|
|
83644
82660
|
"description": "Response payload too large — detail endpoint capped to fit Lambda response limits"
|
|
83645
82661
|
},
|
|
83646
|
-
"502": {
|
|
83647
|
-
"content": {
|
|
83648
|
-
"application/json": {
|
|
83649
|
-
"schema": {
|
|
83650
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
83651
|
-
}
|
|
83652
|
-
}
|
|
83653
|
-
},
|
|
83654
|
-
"description": "Auth service unavailable."
|
|
83655
|
-
},
|
|
83656
82662
|
"503": {
|
|
83657
82663
|
"content": {
|
|
83658
82664
|
"application/json": {
|
|
@@ -83664,35 +82670,40 @@
|
|
|
83664
82670
|
"description": "Search timed out or the cluster is overloaded — retry after `Retry-After` seconds."
|
|
83665
82671
|
}
|
|
83666
82672
|
},
|
|
83667
|
-
"summary": "
|
|
82673
|
+
"summary": "List the workspace's record entity ids of an object type (ids only)",
|
|
83668
82674
|
"tags": [
|
|
83669
82675
|
"CRM"
|
|
83670
82676
|
]
|
|
83671
82677
|
}
|
|
83672
82678
|
},
|
|
83673
|
-
"/v1/crm/
|
|
83674
|
-
"
|
|
83675
|
-
"operationId": "
|
|
83676
|
-
"
|
|
83677
|
-
{
|
|
83678
|
-
"
|
|
83679
|
-
|
|
83680
|
-
|
|
83681
|
-
|
|
83682
|
-
|
|
82679
|
+
"/v1/crm/records/mention-search": {
|
|
82680
|
+
"post": {
|
|
82681
|
+
"operationId": "searchCrmMentionRecords",
|
|
82682
|
+
"requestBody": {
|
|
82683
|
+
"content": {
|
|
82684
|
+
"application/json": {
|
|
82685
|
+
"schema": {
|
|
82686
|
+
"properties": {
|
|
82687
|
+
"q": {
|
|
82688
|
+
"default": "",
|
|
82689
|
+
"type": "string"
|
|
82690
|
+
}
|
|
82691
|
+
},
|
|
82692
|
+
"type": "object"
|
|
82693
|
+
}
|
|
83683
82694
|
}
|
|
83684
82695
|
}
|
|
83685
|
-
|
|
82696
|
+
},
|
|
83686
82697
|
"responses": {
|
|
83687
82698
|
"200": {
|
|
83688
82699
|
"content": {
|
|
83689
82700
|
"application/json": {
|
|
83690
82701
|
"schema": {
|
|
83691
|
-
"$ref": "#/components/schemas/
|
|
82702
|
+
"$ref": "#/components/schemas/CrmMentionSearch"
|
|
83692
82703
|
}
|
|
83693
82704
|
}
|
|
83694
82705
|
},
|
|
83695
|
-
"description": "The
|
|
82706
|
+
"description": "The viewer-visible records matching the query (or recent)."
|
|
83696
82707
|
},
|
|
83697
82708
|
"400": {
|
|
83698
82709
|
"content": {
|
|
@@ -83744,16 +82755,6 @@
|
|
|
83744
82755
|
},
|
|
83745
82756
|
"description": "Response payload too large — detail endpoint capped to fit Lambda response limits"
|
|
83746
82757
|
},
|
|
83747
|
-
"502": {
|
|
83748
|
-
"content": {
|
|
83749
|
-
"application/json": {
|
|
83750
|
-
"schema": {
|
|
83751
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
83752
|
-
}
|
|
83753
|
-
}
|
|
83754
|
-
},
|
|
83755
|
-
"description": "Auth service unavailable."
|
|
83756
|
-
},
|
|
83757
82758
|
"503": {
|
|
83758
82759
|
"content": {
|
|
83759
82760
|
"application/json": {
|
|
@@ -83765,35 +82766,48 @@
|
|
|
83765
82766
|
"description": "Search timed out or the cluster is overloaded — retry after `Retry-After` seconds."
|
|
83766
82767
|
}
|
|
83767
82768
|
},
|
|
83768
|
-
"summary": "
|
|
82769
|
+
"summary": "Name-first search over visible CRM records for the mention picker",
|
|
83769
82770
|
"tags": [
|
|
83770
82771
|
"CRM"
|
|
83771
82772
|
]
|
|
83772
82773
|
}
|
|
83773
82774
|
},
|
|
83774
|
-
"/v1/crm/
|
|
83775
|
-
"
|
|
83776
|
-
"operationId": "
|
|
83777
|
-
"
|
|
83778
|
-
{
|
|
83779
|
-
"
|
|
83780
|
-
|
|
83781
|
-
|
|
83782
|
-
|
|
83783
|
-
|
|
82775
|
+
"/v1/crm/records/mi-updates": {
|
|
82776
|
+
"post": {
|
|
82777
|
+
"operationId": "getCrmMiUpdates",
|
|
82778
|
+
"requestBody": {
|
|
82779
|
+
"content": {
|
|
82780
|
+
"application/json": {
|
|
82781
|
+
"schema": {
|
|
82782
|
+
"properties": {
|
|
82783
|
+
"entityId": {
|
|
82784
|
+
"maxLength": 128,
|
|
82785
|
+
"minLength": 1,
|
|
82786
|
+
"type": "string"
|
|
82787
|
+
},
|
|
82788
|
+
"entityType": {
|
|
82789
|
+
"$ref": "#/components/schemas/CrmEntityType"
|
|
82790
|
+
}
|
|
82791
|
+
},
|
|
82792
|
+
"required": [
|
|
82793
|
+
"entityId",
|
|
82794
|
+
"entityType"
|
|
82795
|
+
],
|
|
82796
|
+
"type": "object"
|
|
82797
|
+
}
|
|
83784
82798
|
}
|
|
83785
82799
|
}
|
|
83786
|
-
|
|
82800
|
+
},
|
|
83787
82801
|
"responses": {
|
|
83788
82802
|
"200": {
|
|
83789
82803
|
"content": {
|
|
83790
82804
|
"application/json": {
|
|
83791
82805
|
"schema": {
|
|
83792
|
-
"$ref": "#/components/schemas/
|
|
82806
|
+
"$ref": "#/components/schemas/CrmMiUpdatesResult"
|
|
83793
82807
|
}
|
|
83794
82808
|
}
|
|
83795
82809
|
},
|
|
83796
|
-
"description": "
|
|
82810
|
+
"description": "The available per-field updates + the check timestamp (null when skipped)."
|
|
83797
82811
|
},
|
|
83798
82812
|
"400": {
|
|
83799
82813
|
"content": {
|
|
@@ -83845,7 +82859,57 @@
|
|
|
83845
82859
|
},
|
|
83846
82860
|
"description": "Response payload too large — detail endpoint capped to fit Lambda response limits"
|
|
83847
82861
|
},
|
|
83848
|
-
"
|
|
82862
|
+
"503": {
|
|
82863
|
+
"content": {
|
|
82864
|
+
"application/json": {
|
|
82865
|
+
"schema": {
|
|
82866
|
+
"$ref": "#/components/schemas/SearchUnavailable"
|
|
82867
|
+
}
|
|
82868
|
+
}
|
|
82869
|
+
},
|
|
82870
|
+
"description": "Search timed out or the cluster is overloaded — retry after `Retry-After` seconds."
|
|
82871
|
+
}
|
|
82872
|
+
},
|
|
82873
|
+
"summary": "Compute which Market-Insights fields differ from a record snapshot",
|
|
82874
|
+
"tags": [
|
|
82875
|
+
"CRM"
|
|
82876
|
+
]
|
|
82877
|
+
}
|
|
82878
|
+
},
|
|
82879
|
+
"/v1/crm/records/refresh-mirror": {
|
|
82880
|
+
"post": {
|
|
82881
|
+
"operationId": "refreshCrmRecordMirror",
|
|
82882
|
+
"requestBody": {
|
|
82883
|
+
"content": {
|
|
82884
|
+
"application/json": {
|
|
82885
|
+
"schema": {
|
|
82886
|
+
"properties": {
|
|
82887
|
+
"entityId": {
|
|
82888
|
+
"maxLength": 128,
|
|
82889
|
+
"minLength": 1,
|
|
82890
|
+
"type": "string"
|
|
82891
|
+
}
|
|
82892
|
+
},
|
|
82893
|
+
"required": [
|
|
82894
|
+
"entityId"
|
|
82895
|
+
],
|
|
82896
|
+
"type": "object"
|
|
82897
|
+
}
|
|
82898
|
+
}
|
|
82899
|
+
}
|
|
82900
|
+
},
|
|
82901
|
+
"responses": {
|
|
82902
|
+
"200": {
|
|
82903
|
+
"content": {
|
|
82904
|
+
"application/json": {
|
|
82905
|
+
"schema": {
|
|
82906
|
+
"$ref": "#/components/schemas/CrmRefreshMirrorResult"
|
|
82907
|
+
}
|
|
82908
|
+
}
|
|
82909
|
+
},
|
|
82910
|
+
"description": "Whether the mirror moved, and the display after the attempt. Never errors on a record that cannot be refreshed."
|
|
82911
|
+
},
|
|
82912
|
+
"400": {
|
|
83849
82913
|
"content": {
|
|
83850
82914
|
"application/json": {
|
|
83851
82915
|
"schema": {
|
|
@@ -83853,7 +82917,47 @@
|
|
|
83853
82917
|
}
|
|
83854
82918
|
}
|
|
83855
82919
|
},
|
|
83856
|
-
"description": "
|
|
82920
|
+
"description": "Validation error"
|
|
82921
|
+
},
|
|
82922
|
+
"401": {
|
|
82923
|
+
"content": {
|
|
82924
|
+
"application/json": {
|
|
82925
|
+
"schema": {
|
|
82926
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
82927
|
+
}
|
|
82928
|
+
}
|
|
82929
|
+
},
|
|
82930
|
+
"description": "Unauthorized"
|
|
82931
|
+
},
|
|
82932
|
+
"403": {
|
|
82933
|
+
"content": {
|
|
82934
|
+
"application/json": {
|
|
82935
|
+
"schema": {
|
|
82936
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
82937
|
+
}
|
|
82938
|
+
}
|
|
82939
|
+
},
|
|
82940
|
+
"description": "Forbidden (authenticated, but missing required context — e.g. no active organization)"
|
|
82941
|
+
},
|
|
82942
|
+
"404": {
|
|
82943
|
+
"content": {
|
|
82944
|
+
"application/json": {
|
|
82945
|
+
"schema": {
|
|
82946
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
82947
|
+
}
|
|
82948
|
+
}
|
|
82949
|
+
},
|
|
82950
|
+
"description": "Not found"
|
|
82951
|
+
},
|
|
82952
|
+
"413": {
|
|
82953
|
+
"content": {
|
|
82954
|
+
"application/json": {
|
|
82955
|
+
"schema": {
|
|
82956
|
+
"$ref": "#/components/schemas/PayloadTooLarge"
|
|
82957
|
+
}
|
|
82958
|
+
}
|
|
82959
|
+
},
|
|
82960
|
+
"description": "Response payload too large — detail endpoint capped to fit Lambda response limits"
|
|
83857
82961
|
},
|
|
83858
82962
|
"503": {
|
|
83859
82963
|
"content": {
|
|
@@ -83866,28 +82970,32 @@
|
|
|
83866
82970
|
"description": "Search timed out or the cluster is overloaded — retry after `Retry-After` seconds."
|
|
83867
82971
|
}
|
|
83868
82972
|
},
|
|
83869
|
-
"summary": "
|
|
82973
|
+
"summary": "Freshen a record's mirrored Market-Insights row on demand",
|
|
83870
82974
|
"tags": [
|
|
83871
82975
|
"CRM"
|
|
83872
82976
|
]
|
|
83873
82977
|
}
|
|
83874
82978
|
},
|
|
83875
|
-
"/v1/crm/
|
|
82979
|
+
"/v1/crm/records/request-access": {
|
|
83876
82980
|
"post": {
|
|
83877
|
-
"operationId": "
|
|
82981
|
+
"operationId": "requestCrmRecordAccess",
|
|
83878
82982
|
"requestBody": {
|
|
83879
82983
|
"content": {
|
|
83880
82984
|
"application/json": {
|
|
83881
82985
|
"schema": {
|
|
83882
82986
|
"properties": {
|
|
83883
|
-
"
|
|
83884
|
-
"
|
|
82987
|
+
"entityId": {
|
|
82988
|
+
"minLength": 1,
|
|
82989
|
+
"type": "string"
|
|
82990
|
+
},
|
|
82991
|
+
"organizationId": {
|
|
83885
82992
|
"minLength": 1,
|
|
83886
82993
|
"type": "string"
|
|
83887
82994
|
}
|
|
83888
82995
|
},
|
|
83889
82996
|
"required": [
|
|
83890
|
-
"
|
|
82997
|
+
"organizationId",
|
|
82998
|
+
"entityId"
|
|
83891
82999
|
],
|
|
83892
83000
|
"type": "object"
|
|
83893
83001
|
}
|
|
@@ -83899,11 +83007,11 @@
|
|
|
83899
83007
|
"content": {
|
|
83900
83008
|
"application/json": {
|
|
83901
83009
|
"schema": {
|
|
83902
|
-
"$ref": "#/components/schemas/
|
|
83010
|
+
"$ref": "#/components/schemas/CrmRecordRequestAccessResult"
|
|
83903
83011
|
}
|
|
83904
83012
|
}
|
|
83905
83013
|
},
|
|
83906
|
-
"description": "
|
|
83014
|
+
"description": "The owner was emailed, a recent request still stands, or the caller already has access."
|
|
83907
83015
|
},
|
|
83908
83016
|
"400": {
|
|
83909
83017
|
"content": {
|
|
@@ -83955,6 +83063,16 @@
|
|
|
83955
83063
|
},
|
|
83956
83064
|
"description": "Response payload too large — detail endpoint capped to fit Lambda response limits"
|
|
83957
83065
|
},
|
|
83066
|
+
"422": {
|
|
83067
|
+
"content": {
|
|
83068
|
+
"application/json": {
|
|
83069
|
+
"schema": {
|
|
83070
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
83071
|
+
}
|
|
83072
|
+
}
|
|
83073
|
+
},
|
|
83074
|
+
"description": "The record has no owner/admin to notify."
|
|
83075
|
+
},
|
|
83958
83076
|
"502": {
|
|
83959
83077
|
"content": {
|
|
83960
83078
|
"application/json": {
|
|
@@ -83963,7 +83081,7 @@
|
|
|
83963
83081
|
}
|
|
83964
83082
|
}
|
|
83965
83083
|
},
|
|
83966
|
-
"description": "
|
|
83084
|
+
"description": "Owner-roster lookup or email send failed — safe to retry."
|
|
83967
83085
|
},
|
|
83968
83086
|
"503": {
|
|
83969
83087
|
"content": {
|
|
@@ -83976,25 +83094,51 @@
|
|
|
83976
83094
|
"description": "Search timed out or the cluster is overloaded — retry after `Retry-After` seconds."
|
|
83977
83095
|
}
|
|
83978
83096
|
},
|
|
83979
|
-
"summary": "
|
|
83097
|
+
"summary": "Ask a record's owner to share it (membership-gated, notify-only)",
|
|
83980
83098
|
"tags": [
|
|
83981
83099
|
"CRM"
|
|
83982
83100
|
]
|
|
83983
83101
|
}
|
|
83984
83102
|
},
|
|
83985
|
-
"/v1/crm/
|
|
83986
|
-
"
|
|
83987
|
-
"operationId": "
|
|
83103
|
+
"/v1/crm/records/search": {
|
|
83104
|
+
"post": {
|
|
83105
|
+
"operationId": "searchCrmRecords",
|
|
83106
|
+
"requestBody": {
|
|
83107
|
+
"content": {
|
|
83108
|
+
"application/json": {
|
|
83109
|
+
"schema": {
|
|
83110
|
+
"properties": {
|
|
83111
|
+
"listId": {
|
|
83112
|
+
"description": "Scope to one list's members; omit for the full CRM.",
|
|
83113
|
+
"type": "string"
|
|
83114
|
+
},
|
|
83115
|
+
"objectType": {
|
|
83116
|
+
"$ref": "#/components/schemas/CrmObjectType"
|
|
83117
|
+
},
|
|
83118
|
+
"q": {
|
|
83119
|
+
"description": "Free-text query.",
|
|
83120
|
+
"type": "string"
|
|
83121
|
+
}
|
|
83122
|
+
},
|
|
83123
|
+
"required": [
|
|
83124
|
+
"objectType",
|
|
83125
|
+
"q"
|
|
83126
|
+
],
|
|
83127
|
+
"type": "object"
|
|
83128
|
+
}
|
|
83129
|
+
}
|
|
83130
|
+
}
|
|
83131
|
+
},
|
|
83988
83132
|
"responses": {
|
|
83989
83133
|
"200": {
|
|
83990
83134
|
"content": {
|
|
83991
83135
|
"application/json": {
|
|
83992
83136
|
"schema": {
|
|
83993
|
-
"$ref": "#/components/schemas/
|
|
83137
|
+
"$ref": "#/components/schemas/CrmRecordSearchResult"
|
|
83994
83138
|
}
|
|
83995
83139
|
}
|
|
83996
83140
|
},
|
|
83997
|
-
"description": "
|
|
83141
|
+
"description": "The matching namespaced entity ids."
|
|
83998
83142
|
},
|
|
83999
83143
|
"400": {
|
|
84000
83144
|
"content": {
|
|
@@ -84046,16 +83190,6 @@
|
|
|
84046
83190
|
},
|
|
84047
83191
|
"description": "Response payload too large — detail endpoint capped to fit Lambda response limits"
|
|
84048
83192
|
},
|
|
84049
|
-
"502": {
|
|
84050
|
-
"content": {
|
|
84051
|
-
"application/json": {
|
|
84052
|
-
"schema": {
|
|
84053
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
84054
|
-
}
|
|
84055
|
-
}
|
|
84056
|
-
},
|
|
84057
|
-
"description": "Auth service unavailable."
|
|
84058
|
-
},
|
|
84059
83193
|
"503": {
|
|
84060
83194
|
"content": {
|
|
84061
83195
|
"application/json": {
|
|
@@ -84067,7 +83201,7 @@
|
|
|
84067
83201
|
"description": "Search timed out or the cluster is overloaded — retry after `Retry-After` seconds."
|
|
84068
83202
|
}
|
|
84069
83203
|
},
|
|
84070
|
-
"summary": "
|
|
83204
|
+
"summary": "Free-text search over CRM records",
|
|
84071
83205
|
"tags": [
|
|
84072
83206
|
"CRM"
|
|
84073
83207
|
]
|
|
@@ -104508,7 +103642,7 @@
|
|
|
104508
103642
|
}
|
|
104509
103643
|
}
|
|
104510
103644
|
},
|
|
104511
|
-
"description": "Your own data cannot support this model as asked: no date column, too few rows or too few of one outcome, every row the same outcome, dates in the future, too few rows matched to homes, or a data point that is the outcome or was recorded after it. `error` states the numbers and what would help. `scope_too_small` — the ZIP codes or counties have too few past cases of the outcome to learn from and test fairly: nothing was started or charged; `details.suggestedScope` is the smallest wider area with enough (its county, the county and its neighbors, or the state) and `details.scopeSizes` lists each area's past cases. Send
|
|
103645
|
+
"description": "Your own data cannot support this model as asked: no date column, too few rows or too few of one outcome, every row the same outcome, dates in the future, too few rows matched to homes, or a data point that is the outcome or was recorded after it. `error` states the numbers and what would help. `scope_too_small` — the ZIP codes or counties have too few past cases of the outcome to learn from and test fairly: nothing was started or charged; `details.suggestedScope` is the smallest wider area with enough (its county, the county and its neighbors, or the state) and `details.scopeSizes` lists each area's past cases. Send the same request with `widen: \"auto\"` to train on it and score the area asked about, or `widen: \"off\"` to train on the area as asked."
|
|
104512
103646
|
},
|
|
104513
103647
|
"429": {
|
|
104514
103648
|
"content": {
|
|
@@ -104537,7 +103671,7 @@
|
|
|
104537
103671
|
]
|
|
104538
103672
|
},
|
|
104539
103673
|
"post": {
|
|
104540
|
-
"description": "Define a model — what to predict, for whom, in which state, and the data points to use — and start training it. It answers at once with `status: training` and `expectedMinutes`, a range that depends on the size of the state: a couple of minutes for a small state, 15 to 25 for the largest (an estimate; say the range, and say it is an estimate). Read the model with getStudioModel until it is `ready` or `refused`: `progress` gives the numbered step it is on and how long is left. `features` is the heart of it: the data points the person believes matter. Their own knowledge can be data points too — columns of their uploaded outcomes table such as a lead source or a rating their team gives. To learn from their own results instead of a market outcome, pass `outcomeSource` (an uploaded table with a home, a date and what happened on every row); that usually helps most. Everything a model learns from is taken strictly before each case's date, and a data point that could show it the answer is refused with the reason. To try a different list of data points, send the same `name` with `replace: true`, or a new name with `basedOn`: the new report card says what changed. An uploaded file's table is named `upload_<name>` (the upload `my_deals` is the table `upload_my_deals`); a wrong name is refused with the names that exist. A model may never use a protected characteristic — race, color, ethnicity, national origin, religion, sex or gender, familial status, disability, age, marital status or receipt of public assistance — as a data point, an own column, a direction rule or a boost: a column named for one is refused with `400 protected_characteristic`, naming them in `details.fields`; nothing unlocks it. Neighborhood data points (`needsFairLendingReview`), ZIP code and city boosts and directions on a place are allowed for everyone; the report card adds a fair-lending caveat. `basedOnPublished` starts from a model ModelMatch publishes (its `mm_model_*` table): its outcome, data points and weighting are copied into your organization as your own model — anything this request gives overrides them — and trained on your scope; its report card compares with the published original. Weighting is optional: `recencyWeighting` counts recent past cases more while learning (testing stays unweighted), a `direction` on a number data point holds the model to it, and `boosts` add `priorityScore` and `priorityRank` to the scores table after the model; the report card is about `score`, never the boosted order. A request that cannot work is refused now with a clear reason (`error`, `code`, and the numbers in `details`). A model of a few ZIP codes or counties is checked for enough past cases of the outcome first, in seconds and free: with too few it is refused (`422 scope_too_small`) with the smallest wider area that has enough — the county, the county and its neighbors, or the state, never another state — in `details.suggestedScope`, and each area's count in `details.scopeSizes`;
|
|
103674
|
+
"description": "Define a model — what to predict, for whom, in which state, and the data points to use — and start training it. It answers at once with `status: training` and `expectedMinutes`, a range that depends on the size of the state: a couple of minutes for a small state, 15 to 25 for the largest (an estimate; say the range, and say it is an estimate). Read the model with getStudioModel until it is `ready` or `refused`: `progress` gives the numbered step it is on and how long is left. `features` is the heart of it: the data points the person believes matter. Their own knowledge can be data points too — columns of their uploaded outcomes table such as a lead source or a rating their team gives. To learn from their own results instead of a market outcome, pass `outcomeSource` (an uploaded table with a home, a date and what happened on every row); that usually helps most. Everything a model learns from is taken strictly before each case's date, and a data point that could show it the answer is refused with the reason. To try a different list of data points, send the same `name` with `replace: true`, or a new name with `basedOn`: the new report card says what changed. An uploaded file's table is named `upload_<name>` (the upload `my_deals` is the table `upload_my_deals`); a wrong name is refused with the names that exist. A model may never use a protected characteristic — race, color, ethnicity, national origin, religion, sex or gender, familial status, disability, age, marital status or receipt of public assistance — as a data point, an own column, a direction rule or a boost: a column named for one is refused with `400 protected_characteristic`, naming them in `details.fields`; nothing unlocks it. Neighborhood data points (`needsFairLendingReview`), ZIP code and city boosts and directions on a place are allowed for everyone; the report card adds a fair-lending caveat. `basedOnPublished` starts from a model ModelMatch publishes (its `mm_model_*` table): its outcome, data points and weighting are copied into your organization as your own model — anything this request gives overrides them — and trained on your scope; its report card compares with the published original. Weighting is optional: `recencyWeighting` counts recent past cases more while learning (testing stays unweighted), a `direction` on a number data point holds the model to it, and `boosts` add `priorityScore` and `priorityRank` to the scores table after the model; the report card is about `score`, never the boosted order. A request that cannot work is refused now with a clear reason (`error`, `code`, and the numbers in `details`). A model of a few ZIP codes or counties is checked for enough past cases of the outcome first, in seconds and free: with too few it is refused (`422 scope_too_small`) with the smallest wider area that has enough — the county, the county and its neighbors, or the state, never another state — in `details.suggestedScope`, and each area's count in `details.scopeSizes`; `widen: \"auto\"` trains on that area instead and scores only the area asked about (the model's `focus`; `scoreArea: \"training\"` scores all of it, with `inFocus` on each row), priced like any model; a re-score keeps both areas and a retrain checks the size again. `widen: \"off\"` trains on the area as asked. An organization can have a few models running at once (3 by default; past that, `409 model_training_in_progress` says how many are running and the limit), and a model runs once at a time; up to 10 models. 50 credits for a model that passes its checks, charged once when it has finished: by the first call that reads it or, if nobody does, on its own within about two hours. A model that is refused or fails is free.",
|
|
104541
103675
|
"operationId": "createStudioModel",
|
|
104542
103676
|
"requestBody": {
|
|
104543
103677
|
"content": {
|
|
@@ -104618,7 +103752,7 @@
|
|
|
104618
103752
|
}
|
|
104619
103753
|
}
|
|
104620
103754
|
},
|
|
104621
|
-
"description": "Your own data cannot support this model as asked: no date column, too few rows or too few of one outcome, every row the same outcome, dates in the future, too few rows matched to homes, or a data point that is the outcome or was recorded after it. `error` states the numbers and what would help. `scope_too_small` — the ZIP codes or counties have too few past cases of the outcome to learn from and test fairly: nothing was started or charged; `details.suggestedScope` is the smallest wider area with enough (its county, the county and its neighbors, or the state) and `details.scopeSizes` lists each area's past cases. Send
|
|
103755
|
+
"description": "Your own data cannot support this model as asked: no date column, too few rows or too few of one outcome, every row the same outcome, dates in the future, too few rows matched to homes, or a data point that is the outcome or was recorded after it. `error` states the numbers and what would help. `scope_too_small` — the ZIP codes or counties have too few past cases of the outcome to learn from and test fairly: nothing was started or charged; `details.suggestedScope` is the smallest wider area with enough (its county, the county and its neighbors, or the state) and `details.scopeSizes` lists each area's past cases. Send the same request with `widen: \"auto\"` to train on it and score the area asked about, or `widen: \"off\"` to train on the area as asked."
|
|
104622
103756
|
},
|
|
104623
103757
|
"429": {
|
|
104624
103758
|
"content": {
|
|
@@ -104730,7 +103864,7 @@
|
|
|
104730
103864
|
}
|
|
104731
103865
|
}
|
|
104732
103866
|
},
|
|
104733
|
-
"description": "Your own data cannot support this model as asked: no date column, too few rows or too few of one outcome, every row the same outcome, dates in the future, too few rows matched to homes, or a data point that is the outcome or was recorded after it. `error` states the numbers and what would help. `scope_too_small` — the ZIP codes or counties have too few past cases of the outcome to learn from and test fairly: nothing was started or charged; `details.suggestedScope` is the smallest wider area with enough (its county, the county and its neighbors, or the state) and `details.scopeSizes` lists each area's past cases. Send
|
|
103867
|
+
"description": "Your own data cannot support this model as asked: no date column, too few rows or too few of one outcome, every row the same outcome, dates in the future, too few rows matched to homes, or a data point that is the outcome or was recorded after it. `error` states the numbers and what would help. `scope_too_small` — the ZIP codes or counties have too few past cases of the outcome to learn from and test fairly: nothing was started or charged; `details.suggestedScope` is the smallest wider area with enough (its county, the county and its neighbors, or the state) and `details.scopeSizes` lists each area's past cases. Send the same request with `widen: \"auto\"` to train on it and score the area asked about, or `widen: \"off\"` to train on the area as asked."
|
|
104734
103868
|
},
|
|
104735
103869
|
"429": {
|
|
104736
103870
|
"content": {
|
|
@@ -104942,7 +104076,7 @@
|
|
|
104942
104076
|
}
|
|
104943
104077
|
}
|
|
104944
104078
|
},
|
|
104945
|
-
"description": "Your own data cannot support this model as asked: no date column, too few rows or too few of one outcome, every row the same outcome, dates in the future, too few rows matched to homes, or a data point that is the outcome or was recorded after it. `error` states the numbers and what would help. `scope_too_small` — the ZIP codes or counties have too few past cases of the outcome to learn from and test fairly: nothing was started or charged; `details.suggestedScope` is the smallest wider area with enough (its county, the county and its neighbors, or the state) and `details.scopeSizes` lists each area's past cases. Send
|
|
104079
|
+
"description": "Your own data cannot support this model as asked: no date column, too few rows or too few of one outcome, every row the same outcome, dates in the future, too few rows matched to homes, or a data point that is the outcome or was recorded after it. `error` states the numbers and what would help. `scope_too_small` — the ZIP codes or counties have too few past cases of the outcome to learn from and test fairly: nothing was started or charged; `details.suggestedScope` is the smallest wider area with enough (its county, the county and its neighbors, or the state) and `details.scopeSizes` lists each area's past cases. Send the same request with `widen: \"auto\"` to train on it and score the area asked about, or `widen: \"off\"` to train on the area as asked."
|
|
104946
104080
|
},
|
|
104947
104081
|
"429": {
|
|
104948
104082
|
"content": {
|
|
@@ -105080,7 +104214,7 @@
|
|
|
105080
104214
|
}
|
|
105081
104215
|
}
|
|
105082
104216
|
},
|
|
105083
|
-
"description": "Your own data cannot support this model as asked: no date column, too few rows or too few of one outcome, every row the same outcome, dates in the future, too few rows matched to homes, or a data point that is the outcome or was recorded after it. `error` states the numbers and what would help. `scope_too_small` — the ZIP codes or counties have too few past cases of the outcome to learn from and test fairly: nothing was started or charged; `details.suggestedScope` is the smallest wider area with enough (its county, the county and its neighbors, or the state) and `details.scopeSizes` lists each area's past cases. Send
|
|
104217
|
+
"description": "Your own data cannot support this model as asked: no date column, too few rows or too few of one outcome, every row the same outcome, dates in the future, too few rows matched to homes, or a data point that is the outcome or was recorded after it. `error` states the numbers and what would help. `scope_too_small` — the ZIP codes or counties have too few past cases of the outcome to learn from and test fairly: nothing was started or charged; `details.suggestedScope` is the smallest wider area with enough (its county, the county and its neighbors, or the state) and `details.scopeSizes` lists each area's past cases. Send the same request with `widen: \"auto\"` to train on it and score the area asked about, or `widen: \"off\"` to train on the area as asked."
|
|
105084
104218
|
},
|
|
105085
104219
|
"429": {
|
|
105086
104220
|
"content": {
|
|
@@ -105216,7 +104350,7 @@
|
|
|
105216
104350
|
}
|
|
105217
104351
|
}
|
|
105218
104352
|
},
|
|
105219
|
-
"description": "Your own data cannot support this model as asked: no date column, too few rows or too few of one outcome, every row the same outcome, dates in the future, too few rows matched to homes, or a data point that is the outcome or was recorded after it. `error` states the numbers and what would help. `scope_too_small` — the ZIP codes or counties have too few past cases of the outcome to learn from and test fairly: nothing was started or charged; `details.suggestedScope` is the smallest wider area with enough (its county, the county and its neighbors, or the state) and `details.scopeSizes` lists each area's past cases. Send
|
|
104353
|
+
"description": "Your own data cannot support this model as asked: no date column, too few rows or too few of one outcome, every row the same outcome, dates in the future, too few rows matched to homes, or a data point that is the outcome or was recorded after it. `error` states the numbers and what would help. `scope_too_small` — the ZIP codes or counties have too few past cases of the outcome to learn from and test fairly: nothing was started or charged; `details.suggestedScope` is the smallest wider area with enough (its county, the county and its neighbors, or the state) and `details.scopeSizes` lists each area's past cases. Send the same request with `widen: \"auto\"` to train on it and score the area asked about, or `widen: \"off\"` to train on the area as asked."
|
|
105220
104354
|
},
|
|
105221
104355
|
"429": {
|
|
105222
104356
|
"content": {
|