@model-match/api 3.69.0 → 3.72.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/openapi.json CHANGED
@@ -3202,6 +3202,70 @@
3202
3202
  ],
3203
3203
  "type": "object"
3204
3204
  },
3205
+ "AgentPulseSignal": {
3206
+ "properties": {
3207
+ "agentId": {
3208
+ "description": "Agent id. Pass it to the agent routes only when `agentLinked` is true.",
3209
+ "type": "string"
3210
+ },
3211
+ "agentLinked": {
3212
+ "description": "Whether this agent has an agent profile. When false, `agentId` identifies the agent within this list only and cannot be looked up.",
3213
+ "type": "boolean"
3214
+ },
3215
+ "agentName": {
3216
+ "nullable": true,
3217
+ "type": "string"
3218
+ },
3219
+ "percentile": {
3220
+ "description": "Priority percentile, 0–100: where this priority score sits among everyone scored nationally for this signal (all scored loan officers, past clients, or agent relationships). 100 = highest priority. On the state list it is still the national percentile, not a within-state one.",
3221
+ "type": "number"
3222
+ },
3223
+ "rank": {
3224
+ "description": "1 = highest priority.",
3225
+ "type": "integer"
3226
+ },
3227
+ "reasons": {
3228
+ "description": "Up to three plain-language reasons this row is a priority.",
3229
+ "items": {
3230
+ "type": "string"
3231
+ },
3232
+ "type": "array"
3233
+ },
3234
+ "score": {
3235
+ "description": "Priority score (0–1) for this loan officer to work this buyer's agent relationship toward another closed deal in the next six months; higher is higher priority.",
3236
+ "type": "number"
3237
+ },
3238
+ "scoredAt": {
3239
+ "description": "When this score was computed (ISO 8601).",
3240
+ "type": "string"
3241
+ }
3242
+ },
3243
+ "required": [
3244
+ "rank",
3245
+ "agentId",
3246
+ "agentName",
3247
+ "agentLinked",
3248
+ "score",
3249
+ "percentile",
3250
+ "reasons",
3251
+ "scoredAt"
3252
+ ],
3253
+ "type": "object"
3254
+ },
3255
+ "AgentPulseSignalList": {
3256
+ "properties": {
3257
+ "data": {
3258
+ "items": {
3259
+ "$ref": "#/components/schemas/AgentPulseSignal"
3260
+ },
3261
+ "type": "array"
3262
+ }
3263
+ },
3264
+ "required": [
3265
+ "data"
3266
+ ],
3267
+ "type": "object"
3268
+ },
3205
3269
  "AgentRelationRequest": {
3206
3270
  "additionalProperties": false,
3207
3271
  "properties": {
@@ -11802,6 +11866,100 @@
11802
11866
  ],
11803
11867
  "type": "object"
11804
11868
  },
11869
+ "ClientRetentionSignal": {
11870
+ "properties": {
11871
+ "address": {
11872
+ "nullable": true,
11873
+ "type": "string"
11874
+ },
11875
+ "city": {
11876
+ "nullable": true,
11877
+ "type": "string"
11878
+ },
11879
+ "lastLoanDate": {
11880
+ "description": "Date of this loan officer's most recent loan on the property.",
11881
+ "nullable": true,
11882
+ "type": "string"
11883
+ },
11884
+ "lastLoanType": {
11885
+ "description": "Type of that loan, e.g. \"FHA\" or \"Home equity\".",
11886
+ "nullable": true,
11887
+ "type": "string"
11888
+ },
11889
+ "percentile": {
11890
+ "description": "Priority percentile, 0–100: where this priority score sits among everyone scored nationally for this signal (all scored loan officers, past clients, or agent relationships). 100 = highest priority. On the state list it is still the national percentile, not a within-state one.",
11891
+ "type": "number"
11892
+ },
11893
+ "propertyId": {
11894
+ "type": "string"
11895
+ },
11896
+ "rank": {
11897
+ "description": "1 = highest priority.",
11898
+ "type": "integer"
11899
+ },
11900
+ "reasons": {
11901
+ "description": "Up to three plain-language reasons this row is a priority.",
11902
+ "items": {
11903
+ "type": "string"
11904
+ },
11905
+ "type": "array"
11906
+ },
11907
+ "risk": {
11908
+ "description": "Same value as `score` for this signal: higher means more at risk of taking the next refinance or equity loan elsewhere.",
11909
+ "type": "number"
11910
+ },
11911
+ "score": {
11912
+ "description": "Priority score (0–1) for reaching out to this past client before their next refinance or equity loan goes to someone else; higher is higher priority.",
11913
+ "type": "number"
11914
+ },
11915
+ "scoredAt": {
11916
+ "description": "When this score was computed (ISO 8601).",
11917
+ "type": "string"
11918
+ },
11919
+ "state": {
11920
+ "nullable": true,
11921
+ "type": "string"
11922
+ },
11923
+ "zip": {
11924
+ "nullable": true,
11925
+ "type": "string"
11926
+ }
11927
+ },
11928
+ "required": [
11929
+ "rank",
11930
+ "propertyId",
11931
+ "address",
11932
+ "city",
11933
+ "state",
11934
+ "zip",
11935
+ "lastLoanDate",
11936
+ "lastLoanType",
11937
+ "score",
11938
+ "risk",
11939
+ "percentile",
11940
+ "reasons",
11941
+ "scoredAt"
11942
+ ],
11943
+ "type": "object"
11944
+ },
11945
+ "ClientRetentionSignalList": {
11946
+ "properties": {
11947
+ "cursor": {
11948
+ "description": "Pass as `cursor` for the next page. Absent on the last page.",
11949
+ "type": "string"
11950
+ },
11951
+ "data": {
11952
+ "items": {
11953
+ "$ref": "#/components/schemas/ClientRetentionSignal"
11954
+ },
11955
+ "type": "array"
11956
+ }
11957
+ },
11958
+ "required": [
11959
+ "data"
11960
+ ],
11961
+ "type": "object"
11962
+ },
11805
11963
  "CommunityLendingBenchmark": {
11806
11964
  "description": "Peer rank of an entity's neighborhood lending shares. Values describe the U.S. Census tract (neighborhood) as a whole — tract-level aggregate statistics, never an individual, household or applicant attribute. Percentages are 0-100.",
11807
11965
  "nullable": true,
@@ -27780,6 +27938,96 @@
27780
27938
  ],
27781
27939
  "type": "object"
27782
27940
  },
27941
+ "LoMoveSignal": {
27942
+ "properties": {
27943
+ "city": {
27944
+ "nullable": true,
27945
+ "type": "string"
27946
+ },
27947
+ "companyName": {
27948
+ "description": "Current company.",
27949
+ "nullable": true,
27950
+ "type": "string"
27951
+ },
27952
+ "companyNmlsId": {
27953
+ "description": "Current company's NMLS ID.",
27954
+ "nullable": true,
27955
+ "type": "string"
27956
+ },
27957
+ "name": {
27958
+ "nullable": true,
27959
+ "type": "string"
27960
+ },
27961
+ "nmlsId": {
27962
+ "type": "string"
27963
+ },
27964
+ "percentile": {
27965
+ "description": "Priority percentile, 0–100: where this priority score sits among everyone scored nationally for this signal (all scored loan officers, past clients, or agent relationships). 100 = highest priority. On the state list it is still the national percentile, not a within-state one.",
27966
+ "type": "number"
27967
+ },
27968
+ "reasons": {
27969
+ "description": "Up to three plain-language reasons this row is a priority.",
27970
+ "items": {
27971
+ "type": "string"
27972
+ },
27973
+ "type": "array"
27974
+ },
27975
+ "score": {
27976
+ "description": "Priority score (0–1) for reaching out to this loan officer about a move to a new company in the next six months; higher is higher priority.",
27977
+ "type": "number"
27978
+ },
27979
+ "scoredAt": {
27980
+ "description": "When this score was computed (ISO 8601).",
27981
+ "type": "string"
27982
+ },
27983
+ "state": {
27984
+ "nullable": true,
27985
+ "type": "string"
27986
+ }
27987
+ },
27988
+ "required": [
27989
+ "nmlsId",
27990
+ "name",
27991
+ "companyName",
27992
+ "companyNmlsId",
27993
+ "city",
27994
+ "state",
27995
+ "score",
27996
+ "percentile",
27997
+ "reasons",
27998
+ "scoredAt"
27999
+ ],
28000
+ "type": "object"
28001
+ },
28002
+ "LoMoveSignalDetail": {
28003
+ "properties": {
28004
+ "data": {
28005
+ "$ref": "#/components/schemas/LoMoveSignal"
28006
+ }
28007
+ },
28008
+ "required": [
28009
+ "data"
28010
+ ],
28011
+ "type": "object"
28012
+ },
28013
+ "LoMoveSignalList": {
28014
+ "properties": {
28015
+ "cursor": {
28016
+ "description": "Pass as `cursor` for the next page. Absent on the last page.",
28017
+ "type": "string"
28018
+ },
28019
+ "data": {
28020
+ "items": {
28021
+ "$ref": "#/components/schemas/LoMoveSignal"
28022
+ },
28023
+ "type": "array"
28024
+ }
28025
+ },
28026
+ "required": [
28027
+ "data"
28028
+ ],
28029
+ "type": "object"
28030
+ },
27783
28031
  "LoanBorrowerStatusFilterValue": {
27784
28032
  "anyOf": [
27785
28033
  {
@@ -43831,7 +44079,11 @@
43831
44079
  "city",
43832
44080
  "county",
43833
44081
  "state",
43834
- "zip"
44082
+ "zip",
44083
+ "schoolDistrict",
44084
+ "elementarySchool",
44085
+ "middleSchool",
44086
+ "highSchool"
43835
44087
  ],
43836
44088
  "type": "string"
43837
44089
  },
@@ -43845,13 +44097,24 @@
43845
44097
  "buyerNames": {
43846
44098
  "nullable": true
43847
44099
  },
44100
+ "description": {
44101
+ "description": "Listing description (the public remarks) as supplied with the listing, typically lower-cased. Subject to the display and attribution rules that apply to listing content.",
44102
+ "nullable": true,
44103
+ "type": "string"
44104
+ },
43848
44105
  "documentType": {
43849
44106
  "nullable": true,
43850
44107
  "type": "string"
43851
44108
  },
44109
+ "features": {
44110
+ "$ref": "#/components/schemas/SaleFeatures"
44111
+ },
43852
44112
  "listAgent": {
43853
44113
  "nullable": true
43854
44114
  },
44115
+ "listingContact": {
44116
+ "$ref": "#/components/schemas/SaleListingContact"
44117
+ },
43855
44118
  "mlsBoards": {
43856
44119
  "nullable": true
43857
44120
  },
@@ -43864,19 +44127,26 @@
43864
44127
  "mlsSoldDate": {
43865
44128
  "nullable": true
43866
44129
  },
43867
- "mmPropertyId": {
43868
- "nullable": true,
43869
- "type": "string"
43870
- },
43871
44130
  "mmSaleId": {
43872
44131
  "nullable": true,
43873
44132
  "type": "string"
43874
44133
  },
44134
+ "rental": {
44135
+ "$ref": "#/components/schemas/SaleRental"
44136
+ },
44137
+ "schools": {
44138
+ "$ref": "#/components/schemas/SaleSchools"
44139
+ },
43875
44140
  "sellerNames": {
43876
44141
  "nullable": true
43877
44142
  },
43878
44143
  "soldAgent": {
43879
44144
  "nullable": true
44145
+ },
44146
+ "tourUrl": {
44147
+ "description": "Link to the listing's tour or marketing page (Matterport, a photographer's site, etc.), verbatim. A third-party URL that may carry the sender's tracking parameters; link out, do not embed. Filled on roughly 40% of active listings.",
44148
+ "nullable": true,
44149
+ "type": "string"
43880
44150
  }
43881
44151
  },
43882
44152
  "type": "object"
@@ -43894,6 +44164,169 @@
43894
44164
  ],
43895
44165
  "type": "object"
43896
44166
  },
44167
+ "SaleElementarySchoolFilterValue": {
44168
+ "anyOf": [
44169
+ {
44170
+ "maxLength": 100,
44171
+ "type": "string"
44172
+ },
44173
+ {
44174
+ "items": {
44175
+ "maxLength": 100,
44176
+ "type": "string"
44177
+ },
44178
+ "maxItems": 25,
44179
+ "minItems": 1,
44180
+ "type": "array"
44181
+ },
44182
+ {
44183
+ "nullable": true
44184
+ }
44185
+ ],
44186
+ "description": "Elementary school name as listed, one or an array (any-of). Matched case-insensitively with the generic words (`School`, `Elementary`, `Middle`, `High`) removed, so `Lago Vista Elementary School` and `Lago Vista Elementary` select the same listings. All remaining words must appear in the stored name. The assigned school is as named on the listing record, not a boundary lookup. List the available values for an area with `POST /v1/sales/analytics/chart` and `slice: \"elementarySchool\"`."
44187
+ },
44188
+ "SaleFeatures": {
44189
+ "description": "Property facts from the MLS listing. Every field is nullable and filled far more densely on active listings (60-99%) than on sold ones (about half, and HOA fee / tax far less). Feature lists are RESO tokens, not display text.",
44190
+ "nullable": true,
44191
+ "properties": {
44192
+ "appliances": {
44193
+ "description": "Included appliance tokens",
44194
+ "items": {
44195
+ "type": "string"
44196
+ },
44197
+ "nullable": true,
44198
+ "type": "array"
44199
+ },
44200
+ "condition": {
44201
+ "description": "`Resale` or `NewConstruction`",
44202
+ "nullable": true,
44203
+ "type": "string"
44204
+ },
44205
+ "cooling": {
44206
+ "description": "Cooling feature tokens (e.g. `CentralAir`)",
44207
+ "items": {
44208
+ "type": "string"
44209
+ },
44210
+ "nullable": true,
44211
+ "type": "array"
44212
+ },
44213
+ "exteriorFeatures": {
44214
+ "description": "Exterior feature tokens",
44215
+ "items": {
44216
+ "type": "string"
44217
+ },
44218
+ "nullable": true,
44219
+ "type": "array"
44220
+ },
44221
+ "fireplace": {
44222
+ "nullable": true,
44223
+ "type": "boolean"
44224
+ },
44225
+ "garageSpaces": {
44226
+ "nullable": true,
44227
+ "type": "number"
44228
+ },
44229
+ "heating": {
44230
+ "description": "Heating feature tokens (e.g. `Central`)",
44231
+ "items": {
44232
+ "type": "string"
44233
+ },
44234
+ "nullable": true,
44235
+ "type": "array"
44236
+ },
44237
+ "hoaFee": {
44238
+ "description": "Primary association fee in dollars, per `hoaFeeFrequency`",
44239
+ "nullable": true,
44240
+ "type": "number"
44241
+ },
44242
+ "hoaFeeFrequency": {
44243
+ "description": "How often `hoaFee` is charged (e.g. `Monthly`, `Annually`)",
44244
+ "nullable": true,
44245
+ "type": "string"
44246
+ },
44247
+ "interiorFeatures": {
44248
+ "description": "Interior feature tokens",
44249
+ "items": {
44250
+ "type": "string"
44251
+ },
44252
+ "nullable": true,
44253
+ "type": "array"
44254
+ },
44255
+ "lotSizeAcres": {
44256
+ "nullable": true,
44257
+ "type": "number"
44258
+ },
44259
+ "lotSizeSqft": {
44260
+ "nullable": true,
44261
+ "type": "number"
44262
+ },
44263
+ "parkingFeatures": {
44264
+ "description": "Parking feature tokens (e.g. `Attached`)",
44265
+ "items": {
44266
+ "type": "string"
44267
+ },
44268
+ "nullable": true,
44269
+ "type": "array"
44270
+ },
44271
+ "parkingTotal": {
44272
+ "description": "Total parking spaces",
44273
+ "nullable": true,
44274
+ "type": "number"
44275
+ },
44276
+ "poolFeatures": {
44277
+ "description": "Pool feature tokens. The bare `None` token is dropped.",
44278
+ "items": {
44279
+ "type": "string"
44280
+ },
44281
+ "nullable": true,
44282
+ "type": "array"
44283
+ },
44284
+ "poolPrivate": {
44285
+ "description": "Whether the property has a private pool",
44286
+ "nullable": true,
44287
+ "type": "boolean"
44288
+ },
44289
+ "propertySubType": {
44290
+ "description": "Listing sub-type (e.g. `SingleFamilyResidence`, `Condominium`). More reliably filled than `propertyType`.",
44291
+ "nullable": true,
44292
+ "type": "string"
44293
+ },
44294
+ "stories": {
44295
+ "nullable": true,
44296
+ "type": "number"
44297
+ },
44298
+ "subdivision": {
44299
+ "nullable": true,
44300
+ "type": "string"
44301
+ },
44302
+ "taxAnnualAmount": {
44303
+ "description": "Annual property tax in dollars as listed",
44304
+ "nullable": true,
44305
+ "type": "number"
44306
+ },
44307
+ "taxAssessedValue": {
44308
+ "nullable": true,
44309
+ "type": "number"
44310
+ },
44311
+ "taxAssessedYear": {
44312
+ "nullable": true,
44313
+ "type": "number"
44314
+ },
44315
+ "view": {
44316
+ "description": "View tokens. The bare `None` token is dropped.",
44317
+ "items": {
44318
+ "type": "string"
44319
+ },
44320
+ "nullable": true,
44321
+ "type": "array"
44322
+ },
44323
+ "waterfront": {
44324
+ "nullable": true,
44325
+ "type": "boolean"
44326
+ }
44327
+ },
44328
+ "type": "object"
44329
+ },
43897
44330
  "SaleField": {
43898
44331
  "enum": [
43899
44332
  "city",
@@ -43924,12 +44357,35 @@
43924
44357
  "beds": {
43925
44358
  "$ref": "#/components/schemas/NumericFilterValue"
43926
44359
  },
44360
+ "catsAllowed": {
44361
+ "allOf": [
44362
+ {
44363
+ "$ref": "#/components/schemas/BooleanFilterValue"
44364
+ },
44365
+ {
44366
+ "description": "Lease listings. `true`: a cats-OK token. `false`: No, or dogs-only."
44367
+ }
44368
+ ]
44369
+ },
43927
44370
  "city": {
43928
44371
  "$ref": "#/components/schemas/TextFilterValue"
43929
44372
  },
43930
44373
  "county": {
43931
44374
  "$ref": "#/components/schemas/TextFilterValue"
43932
44375
  },
44376
+ "dogsAllowed": {
44377
+ "allOf": [
44378
+ {
44379
+ "$ref": "#/components/schemas/BooleanFilterValue"
44380
+ },
44381
+ {
44382
+ "description": "Lease listings. `true`: a dogs-OK token. `false`: No, or cats-only."
44383
+ }
44384
+ ]
44385
+ },
44386
+ "elementarySchool": {
44387
+ "$ref": "#/components/schemas/SaleElementarySchoolFilterValue"
44388
+ },
43933
44389
  "fips": {
43934
44390
  "allOf": [
43935
44391
  {
@@ -43940,15 +44396,67 @@
43940
44396
  }
43941
44397
  ]
43942
44398
  },
44399
+ "fireplace": {
44400
+ "allOf": [
44401
+ {
44402
+ "$ref": "#/components/schemas/BooleanFilterValue"
44403
+ },
44404
+ {
44405
+ "description": "`true`: the listing has a fireplace. `false`: it says it does not. Rows with no answer match neither value."
44406
+ }
44407
+ ]
44408
+ },
44409
+ "garageSpaces": {
44410
+ "allOf": [
44411
+ {
44412
+ "$ref": "#/components/schemas/NumericFilterValue"
44413
+ },
44414
+ {
44415
+ "description": "Garage spaces (e.g. `{gte: 2}`). Rows with no garage count are excluded unless `includeNulls: true`."
44416
+ }
44417
+ ]
44418
+ },
43943
44419
  "geoPoint": {
43944
44420
  "$ref": "#/components/schemas/GeoFilterValue"
43945
44421
  },
44422
+ "hasHoa": {
44423
+ "allOf": [
44424
+ {
44425
+ "$ref": "#/components/schemas/BooleanFilterValue"
44426
+ },
44427
+ {
44428
+ "description": "`true`: the listing says it has an association, or carries a positive HOA fee. `false`: positive evidence of none (association flag `N`, or an explicit $0 fee) and no contradicting signal. A row with neither signal matches neither value."
44429
+ }
44430
+ ]
44431
+ },
44432
+ "highSchool": {
44433
+ "$ref": "#/components/schemas/SaleHighSchoolFilterValue"
44434
+ },
44435
+ "hoaFee": {
44436
+ "$ref": "#/components/schemas/SaleHoaFeeFilterValue"
44437
+ },
44438
+ "keyword": {
44439
+ "$ref": "#/components/schemas/SaleKeywordFilterValue"
44440
+ },
43946
44441
  "listPrice": {
43947
44442
  "$ref": "#/components/schemas/NumericFilterValue"
43948
44443
  },
43949
44444
  "listingAgent": {
43950
44445
  "$ref": "#/components/schemas/TextFilterValue"
43951
44446
  },
44447
+ "lotSizeSqft": {
44448
+ "allOf": [
44449
+ {
44450
+ "$ref": "#/components/schemas/NumericFilterValue"
44451
+ },
44452
+ {
44453
+ "description": "Lot size in square feet (1 acre = 43,560). Rows with no lot size are excluded unless `includeNulls: true`."
44454
+ }
44455
+ ]
44456
+ },
44457
+ "middleSchool": {
44458
+ "$ref": "#/components/schemas/SaleMiddleSchoolFilterValue"
44459
+ },
43952
44460
  "mlsStatus": {
43953
44461
  "$ref": "#/components/schemas/SaleMlsStatusFilterValue"
43954
44462
  },
@@ -43959,6 +44467,49 @@
43959
44467
  ],
43960
44468
  "type": "string"
43961
44469
  },
44470
+ "newConstruction": {
44471
+ "allOf": [
44472
+ {
44473
+ "$ref": "#/components/schemas/BooleanFilterValue"
44474
+ },
44475
+ {
44476
+ "description": "`true`: the listing is flagged new construction, or its condition says new / under construction / to be built / pre-construction. `false`: flagged not-new and no such condition. A row with neither signal matches neither value."
44477
+ }
44478
+ ]
44479
+ },
44480
+ "petsAllowed": {
44481
+ "allOf": [
44482
+ {
44483
+ "$ref": "#/components/schemas/BooleanFilterValue"
44484
+ },
44485
+ {
44486
+ "description": "Lease listings (combine with `propertyType: \"Residential Lease\"`). `true`: cats OK, dogs OK or a plain Yes. `false`: No, with nothing permitting. `Negotiable` and detail-only values (size limit, deposit) with no OK token match neither value."
44487
+ }
44488
+ ]
44489
+ },
44490
+ "poolPrivate": {
44491
+ "allOf": [
44492
+ {
44493
+ "$ref": "#/components/schemas/BooleanFilterValue"
44494
+ },
44495
+ {
44496
+ "description": "`true`: the listing has a private pool. `false`: it says it does not. Community pools are not distinguished (feeds record them inconsistently). Rows with no answer match neither value."
44497
+ }
44498
+ ]
44499
+ },
44500
+ "priceReduced": {
44501
+ "allOf": [
44502
+ {
44503
+ "$ref": "#/components/schemas/BooleanFilterValue"
44504
+ },
44505
+ {
44506
+ "description": "`true`: the current list price is below the ORIGINAL list price. `false`: at or above it. Rows missing either price match neither value. (Not based on `previousListPrice`, which is unreliable.)"
44507
+ }
44508
+ ]
44509
+ },
44510
+ "priceReductionPercent": {
44511
+ "$ref": "#/components/schemas/SalePriceReductionPercentFilterValue"
44512
+ },
43962
44513
  "propertyId": {
43963
44514
  "allOf": [
43964
44515
  {
@@ -43978,6 +44529,9 @@
43978
44529
  "salePrice": {
43979
44530
  "$ref": "#/components/schemas/NumericFilterValue"
43980
44531
  },
44532
+ "schoolDistrict": {
44533
+ "$ref": "#/components/schemas/SaleSchoolDistrictFilterValue"
44534
+ },
43981
44535
  "soldAgent": {
43982
44536
  "$ref": "#/components/schemas/TextFilterValue"
43983
44537
  },
@@ -43990,6 +44544,26 @@
43990
44544
  "state": {
43991
44545
  "$ref": "#/components/schemas/TextFilterValue"
43992
44546
  },
44547
+ "stories": {
44548
+ "allOf": [
44549
+ {
44550
+ "$ref": "#/components/schemas/NumericFilterValue"
44551
+ },
44552
+ {
44553
+ "description": "Number of stories: `3`, `[1, 2]` or `{lte: 1}` for single level. Where the listing has no `stories` value the building's story count is used instead, which for a condo is the whole building. Rows with neither are excluded unless `includeNulls: true`."
44554
+ }
44555
+ ]
44556
+ },
44557
+ "waterfront": {
44558
+ "allOf": [
44559
+ {
44560
+ "$ref": "#/components/schemas/BooleanFilterValue"
44561
+ },
44562
+ {
44563
+ "description": "`true`: waterfront property. `false`: it says it is not. Rows with no answer match neither value."
44564
+ }
44565
+ ]
44566
+ },
43993
44567
  "yearBuilt": {
43994
44568
  "$ref": "#/components/schemas/NumericFilterValue"
43995
44569
  },
@@ -44009,6 +44583,60 @@
44009
44583
  },
44010
44584
  "type": "object"
44011
44585
  },
44586
+ "SaleHighSchoolFilterValue": {
44587
+ "anyOf": [
44588
+ {
44589
+ "maxLength": 100,
44590
+ "type": "string"
44591
+ },
44592
+ {
44593
+ "items": {
44594
+ "maxLength": 100,
44595
+ "type": "string"
44596
+ },
44597
+ "maxItems": 25,
44598
+ "minItems": 1,
44599
+ "type": "array"
44600
+ },
44601
+ {
44602
+ "nullable": true
44603
+ }
44604
+ ],
44605
+ "description": "High school name as listed, one or an array (any-of). Matched case-insensitively with the generic words (`School`, `Elementary`, `Middle`, `High`) removed, so `Lago Vista Elementary School` and `Lago Vista Elementary` select the same listings. All remaining words must appear in the stored name. The assigned school is as named on the listing record, not a boundary lookup. List the available values for an area with `POST /v1/sales/analytics/chart` and `slice: \"highSchool\"`."
44606
+ },
44607
+ "SaleHoaFeeFilterValue": {
44608
+ "additionalProperties": false,
44609
+ "description": "Monthly-equivalent HOA fee in dollars: a quarterly fee is divided by 3, an annual fee by 12, and so on, so `{lte: 300}` means \"at most $300 a month\" whatever the listing's payment frequency. Only rows with a recognized recurring frequency (monthly, quarterly, semi-annual, annual, semi-monthly, weekly) are comparable; one-time, unknown and missing frequencies are excluded. Rows with no fee are excluded unless `includeNulls: true` (use that to also keep homes with no HOA fee on record, or `hasHoa: false`). Reads the primary association only.",
44610
+ "nullable": true,
44611
+ "properties": {
44612
+ "gt": {
44613
+ "minimum": 0,
44614
+ "type": "number"
44615
+ },
44616
+ "gte": {
44617
+ "minimum": 0,
44618
+ "type": "number"
44619
+ },
44620
+ "includeNulls": {
44621
+ "description": "Also keep rows where the field is missing (a range drops them by default). Requires a bound.",
44622
+ "type": "boolean"
44623
+ },
44624
+ "lt": {
44625
+ "minimum": 0,
44626
+ "type": "number"
44627
+ },
44628
+ "lte": {
44629
+ "minimum": 0,
44630
+ "type": "number"
44631
+ }
44632
+ },
44633
+ "type": "object"
44634
+ },
44635
+ "SaleKeywordFilterValue": {
44636
+ "description": "Words that must ALL appear in the listing description (public remarks), in any order, case-insensitive. Plain text: operators and punctuation (`* ? \" ( ) AND OR - :`) are not interpreted. At most 200 characters and 12 words; empty or punctuation-only is a 400. Stemmed (`granite` matches `granites`), not fuzzy. Listing text is MLS-supplied; see the display rules that apply to it.",
44637
+ "nullable": true,
44638
+ "type": "string"
44639
+ },
44012
44640
  "SaleListRequest": {
44013
44641
  "additionalProperties": false,
44014
44642
  "properties": {
@@ -44075,6 +44703,54 @@
44075
44703
  ],
44076
44704
  "type": "object"
44077
44705
  },
44706
+ "SaleListingContact": {
44707
+ "description": "Listing agent and office contact as stored on the sale record. Personal data about a licensee: confirm you may display it before showing it to consumers.",
44708
+ "nullable": true,
44709
+ "properties": {
44710
+ "agentEmail": {
44711
+ "nullable": true,
44712
+ "type": "string"
44713
+ },
44714
+ "agentName": {
44715
+ "nullable": true,
44716
+ "type": "string"
44717
+ },
44718
+ "agentPhone": {
44719
+ "nullable": true,
44720
+ "type": "string"
44721
+ },
44722
+ "officeName": {
44723
+ "nullable": true,
44724
+ "type": "string"
44725
+ },
44726
+ "officePhone": {
44727
+ "nullable": true,
44728
+ "type": "string"
44729
+ }
44730
+ },
44731
+ "type": "object"
44732
+ },
44733
+ "SaleMiddleSchoolFilterValue": {
44734
+ "anyOf": [
44735
+ {
44736
+ "maxLength": 100,
44737
+ "type": "string"
44738
+ },
44739
+ {
44740
+ "items": {
44741
+ "maxLength": 100,
44742
+ "type": "string"
44743
+ },
44744
+ "maxItems": 25,
44745
+ "minItems": 1,
44746
+ "type": "array"
44747
+ },
44748
+ {
44749
+ "nullable": true
44750
+ }
44751
+ ],
44752
+ "description": "Middle school name as listed, one or an array (any-of). Matched case-insensitively with the generic words (`School`, `Elementary`, `Middle`, `High`) removed, so `Lago Vista Elementary School` and `Lago Vista Elementary` select the same listings. All remaining words must appear in the stored name. The assigned school is as named on the listing record, not a boundary lookup. List the available values for an area with `POST /v1/sales/analytics/chart` and `slice: \"middleSchool\"`."
44753
+ },
44078
44754
  "SaleMlsStatusFilterValue": {
44079
44755
  "anyOf": [
44080
44756
  {
@@ -44104,6 +44780,135 @@
44104
44780
  }
44105
44781
  ]
44106
44782
  },
44783
+ "SalePriceReductionPercentFilterValue": {
44784
+ "additionalProperties": false,
44785
+ "description": "How far the current list price is below the ORIGINAL list price, in percent of the original: `{gte: 5}` = cut by at least 5%. Negative means the price was raised. Rows missing either price are excluded unless `includeNulls: true`. Pair with `priceReduced: true` to exclude unchanged listings from a `lte` range.",
44786
+ "nullable": true,
44787
+ "properties": {
44788
+ "gt": {
44789
+ "maximum": 100,
44790
+ "minimum": 0,
44791
+ "type": "number"
44792
+ },
44793
+ "gte": {
44794
+ "maximum": 100,
44795
+ "minimum": 0,
44796
+ "type": "number"
44797
+ },
44798
+ "includeNulls": {
44799
+ "description": "Also keep rows where the field is missing (a range drops them by default). Requires a bound.",
44800
+ "type": "boolean"
44801
+ },
44802
+ "lt": {
44803
+ "maximum": 100,
44804
+ "minimum": 0,
44805
+ "type": "number"
44806
+ },
44807
+ "lte": {
44808
+ "maximum": 100,
44809
+ "minimum": 0,
44810
+ "type": "number"
44811
+ }
44812
+ },
44813
+ "type": "object"
44814
+ },
44815
+ "SaleRental": {
44816
+ "description": "Lease-listing terms as supplied with the listing; `null` unless the listing carries any. There is no furnished, availability-date or security-deposit field in the index.",
44817
+ "nullable": true,
44818
+ "properties": {
44819
+ "laundry": {
44820
+ "items": {
44821
+ "type": "string"
44822
+ },
44823
+ "nullable": true,
44824
+ "type": "array"
44825
+ },
44826
+ "leaseIncludes": {
44827
+ "description": "What the rent includes. Rarely filled (under 1% of active leases in the counties checked).",
44828
+ "items": {
44829
+ "type": "string"
44830
+ },
44831
+ "nullable": true,
44832
+ "type": "array"
44833
+ },
44834
+ "leaseTerm": {
44835
+ "description": "Lease term tokens, e.g. `TwelveMonths`, `Negotiable`.",
44836
+ "items": {
44837
+ "type": "string"
44838
+ },
44839
+ "nullable": true,
44840
+ "type": "array"
44841
+ },
44842
+ "pets": {
44843
+ "description": "Pet policy as RESO tokens, e.g. `CatsOk`, `DogsOk`, `SizeLimit`, `BreedRestrictions`, `PetDeposit`, `Yes`, `No`, `Negotiable` (spelling varies by feed: `Cats OK`). Filter with `petsAllowed` / `catsAllowed` / `dogsAllowed`.",
44844
+ "items": {
44845
+ "type": "string"
44846
+ },
44847
+ "nullable": true,
44848
+ "type": "array"
44849
+ },
44850
+ "utilities": {
44851
+ "items": {
44852
+ "type": "string"
44853
+ },
44854
+ "nullable": true,
44855
+ "type": "array"
44856
+ }
44857
+ },
44858
+ "type": "object"
44859
+ },
44860
+ "SaleSchoolDistrictFilterValue": {
44861
+ "anyOf": [
44862
+ {
44863
+ "maxLength": 100,
44864
+ "type": "string"
44865
+ },
44866
+ {
44867
+ "items": {
44868
+ "maxLength": 100,
44869
+ "type": "string"
44870
+ },
44871
+ "maxItems": 25,
44872
+ "minItems": 1,
44873
+ "type": "array"
44874
+ },
44875
+ {
44876
+ "nullable": true
44877
+ }
44878
+ ],
44879
+ "description": "School district name, one or an array (any-of). Matched case-insensitively with the generic words removed, so `Austin Independent School District`, `Austin ISD` and `AUSTIN` select the same listings. Matches the district assigned at any level (elementary, middle or high). It is a name match, not a boundary lookup: `Austin` would also match a district named `Austin Achieve`, so pair it with a location filter. List the available values for an area with `POST /v1/sales/analytics/chart` and `slice: \"schoolDistrict\"`."
44880
+ },
44881
+ "SaleSchools": {
44882
+ "description": "Schools assigned to the listing, as named on the listing record. These are not ratings and not a boundary lookup; label them as listed.",
44883
+ "nullable": true,
44884
+ "properties": {
44885
+ "elementary": {
44886
+ "nullable": true,
44887
+ "type": "string"
44888
+ },
44889
+ "elementaryDistrict": {
44890
+ "nullable": true,
44891
+ "type": "string"
44892
+ },
44893
+ "high": {
44894
+ "nullable": true,
44895
+ "type": "string"
44896
+ },
44897
+ "highDistrict": {
44898
+ "nullable": true,
44899
+ "type": "string"
44900
+ },
44901
+ "middle": {
44902
+ "nullable": true,
44903
+ "type": "string"
44904
+ },
44905
+ "middleDistrict": {
44906
+ "nullable": true,
44907
+ "type": "string"
44908
+ }
44909
+ },
44910
+ "type": "object"
44911
+ },
44107
44912
  "SaleSummary": {
44108
44913
  "properties": {
44109
44914
  "apn": {
@@ -44154,6 +44959,11 @@
44154
44959
  ],
44155
44960
  "type": "object"
44156
44961
  },
44962
+ "cumulativeDaysOnMarket": {
44963
+ "description": "Cumulative days on market across relists, as the MLS states it.",
44964
+ "nullable": true,
44965
+ "type": "number"
44966
+ },
44157
44967
  "daysOnMarket": {
44158
44968
  "nullable": true,
44159
44969
  "type": "number"
@@ -44166,6 +44976,11 @@
44166
44976
  "description": "Document ID",
44167
44977
  "type": "string"
44168
44978
  },
44979
+ "lastPriceChangeDate": {
44980
+ "description": "Date of the most recent list-price change (`YYYY-MM-DD`). Roughly 60% filled on active listings.",
44981
+ "nullable": true,
44982
+ "type": "string"
44983
+ },
44169
44984
  "listDate": {
44170
44985
  "description": "MLS list date (`YYYY-MM-DD`)",
44171
44986
  "nullable": true,
@@ -44185,6 +45000,11 @@
44185
45000
  "nullable": true,
44186
45001
  "type": "string"
44187
45002
  },
45003
+ "mlsDaysOnMarket": {
45004
+ "description": "Days on market as the MLS states it for this listing. Distinct from `daysOnMarket`, which is only filled on some sold rows.",
45005
+ "nullable": true,
45006
+ "type": "number"
45007
+ },
44188
45008
  "mlsStatus": {
44189
45009
  "description": "MLS listing status code",
44190
45010
  "enum": [
@@ -44212,11 +45032,31 @@
44212
45032
  "nullable": true,
44213
45033
  "type": "string"
44214
45034
  },
45035
+ "mmPropertyId": {
45036
+ "description": "Property id of the parcel this listing was matched to — the same id the `propertyId` filter takes. **May not resolve to a parcel in some counties:** in Travis, Williamson (TX), Hillsborough (FL) and Wake (NC) the id on a listing is built from the MLS account number and usually does NOT exist as a property record, while in e.g. Maricopa, Denver and Davidson it usually does. Do not treat it as a guaranteed join key to `/v1/properties`.",
45037
+ "nullable": true,
45038
+ "type": "string"
45039
+ },
45040
+ "originalListDate": {
45041
+ "description": "Date the property was first listed (`YYYY-MM-DD`), which can precede `listDate` when it was relisted.",
45042
+ "nullable": true,
45043
+ "type": "string"
45044
+ },
44215
45045
  "originalListPrice": {
44216
45046
  "description": "Original MLS list price in dollars",
44217
45047
  "nullable": true,
44218
45048
  "type": "number"
44219
45049
  },
45050
+ "pendingDate": {
45051
+ "description": "Date the listing went pending (`YYYY-MM-DD`). Filled on about half of sold listings and few active ones.",
45052
+ "nullable": true,
45053
+ "type": "string"
45054
+ },
45055
+ "previousListPrice": {
45056
+ "description": "List price before the most recent change, in dollars. Can equal `listPrice` (a change recorded on the list date) and is not guaranteed to be consistent with `lastPriceChangeDate` — verify before presenting a price-history timeline. Roughly 60% filled on active listings, about a third on sold.",
45057
+ "nullable": true,
45058
+ "type": "number"
45059
+ },
44220
45060
  "propertyType": {
44221
45061
  "description": "Listing property type (e.g. Residential, Condo)",
44222
45062
  "nullable": true,
@@ -46268,7 +47108,7 @@
46268
47108
  "info": {
46269
47109
  "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.",
46270
47110
  "title": "ModelMatch API",
46271
- "version": "3.144.0"
47111
+ "version": "3.150.0"
46272
47112
  },
46273
47113
  "openapi": "3.1.0",
46274
47114
  "paths": {
@@ -79473,7 +80313,109 @@
79473
80313
  }
79474
80314
  }
79475
80315
  },
79476
- "description": "Breakdown of the LO's loans by companies"
80316
+ "description": "Breakdown of the LO's loans by companies"
80317
+ },
80318
+ "400": {
80319
+ "content": {
80320
+ "application/json": {
80321
+ "schema": {
80322
+ "$ref": "#/components/schemas/ErrorResponse"
80323
+ }
80324
+ }
80325
+ },
80326
+ "description": "Validation error"
80327
+ },
80328
+ "401": {
80329
+ "content": {
80330
+ "application/json": {
80331
+ "schema": {
80332
+ "$ref": "#/components/schemas/ErrorResponse"
80333
+ }
80334
+ }
80335
+ },
80336
+ "description": "Unauthorized"
80337
+ },
80338
+ "403": {
80339
+ "content": {
80340
+ "application/json": {
80341
+ "schema": {
80342
+ "$ref": "#/components/schemas/ErrorResponse"
80343
+ }
80344
+ }
80345
+ },
80346
+ "description": "Forbidden (authenticated, but missing required context — e.g. no active organization)"
80347
+ },
80348
+ "404": {
80349
+ "content": {
80350
+ "application/json": {
80351
+ "schema": {
80352
+ "$ref": "#/components/schemas/ErrorResponse"
80353
+ }
80354
+ }
80355
+ },
80356
+ "description": "Not found"
80357
+ },
80358
+ "413": {
80359
+ "content": {
80360
+ "application/json": {
80361
+ "schema": {
80362
+ "$ref": "#/components/schemas/PayloadTooLarge"
80363
+ }
80364
+ }
80365
+ },
80366
+ "description": "Response payload too large — detail endpoint capped to fit Lambda response limits"
80367
+ },
80368
+ "503": {
80369
+ "content": {
80370
+ "application/json": {
80371
+ "schema": {
80372
+ "$ref": "#/components/schemas/SearchUnavailable"
80373
+ }
80374
+ }
80375
+ },
80376
+ "description": "Search timed out or the cluster is overloaded — retry after `Retry-After` seconds."
80377
+ }
80378
+ },
80379
+ "summary": "Funding companies (employer history) for this LO",
80380
+ "tags": [
80381
+ "Originators"
80382
+ ]
80383
+ }
80384
+ },
80385
+ "/v1/originators/{nmlsId}/breakdowns/counties": {
80386
+ "post": {
80387
+ "operationId": "originatorCountiesBreakdown",
80388
+ "parameters": [
80389
+ {
80390
+ "description": "Originator NMLS ID",
80391
+ "in": "path",
80392
+ "name": "nmlsId",
80393
+ "required": true,
80394
+ "schema": {
80395
+ "description": "Originator NMLS ID",
80396
+ "type": "string"
80397
+ }
80398
+ }
80399
+ ],
80400
+ "requestBody": {
80401
+ "content": {
80402
+ "application/json": {
80403
+ "schema": {
80404
+ "$ref": "#/components/schemas/BreakdownRequest"
80405
+ }
80406
+ }
80407
+ }
80408
+ },
80409
+ "responses": {
80410
+ "200": {
80411
+ "content": {
80412
+ "application/json": {
80413
+ "schema": {
80414
+ "$ref": "#/components/schemas/BreakdownResponse"
80415
+ }
80416
+ }
80417
+ },
80418
+ "description": "Breakdown of the LO's loans by counties"
79477
80419
  },
79478
80420
  "400": {
79479
80421
  "content": {
@@ -79536,15 +80478,15 @@
79536
80478
  "description": "Search timed out or the cluster is overloaded — retry after `Retry-After` seconds."
79537
80479
  }
79538
80480
  },
79539
- "summary": "Funding companies (employer history) for this LO",
80481
+ "summary": "County (FIPS) volume breakdown across this LO's loans",
79540
80482
  "tags": [
79541
80483
  "Originators"
79542
80484
  ]
79543
80485
  }
79544
80486
  },
79545
- "/v1/originators/{nmlsId}/breakdowns/counties": {
80487
+ "/v1/originators/{nmlsId}/breakdowns/lenders": {
79546
80488
  "post": {
79547
- "operationId": "originatorCountiesBreakdown",
80489
+ "operationId": "originatorLenders",
79548
80490
  "parameters": [
79549
80491
  {
79550
80492
  "description": "Originator NMLS ID",
@@ -79575,7 +80517,7 @@
79575
80517
  }
79576
80518
  }
79577
80519
  },
79578
- "description": "Breakdown of the LO's loans by counties"
80520
+ "description": "Breakdown of the LO's loans by lenders"
79579
80521
  },
79580
80522
  "400": {
79581
80523
  "content": {
@@ -79638,15 +80580,15 @@
79638
80580
  "description": "Search timed out or the cluster is overloaded — retry after `Retry-After` seconds."
79639
80581
  }
79640
80582
  },
79641
- "summary": "County (FIPS) volume breakdown across this LO's loans",
80583
+ "summary": "Lenders this LO has originated through",
79642
80584
  "tags": [
79643
80585
  "Originators"
79644
80586
  ]
79645
80587
  }
79646
80588
  },
79647
- "/v1/originators/{nmlsId}/breakdowns/lenders": {
80589
+ "/v1/originators/{nmlsId}/breakdowns/offices": {
79648
80590
  "post": {
79649
- "operationId": "originatorLenders",
80591
+ "operationId": "originatorOffices",
79650
80592
  "parameters": [
79651
80593
  {
79652
80594
  "description": "Originator NMLS ID",
@@ -79677,7 +80619,7 @@
79677
80619
  }
79678
80620
  }
79679
80621
  },
79680
- "description": "Breakdown of the LO's loans by lenders"
80622
+ "description": "Breakdown of the LO's loans by broker (office)"
79681
80623
  },
79682
80624
  "400": {
79683
80625
  "content": {
@@ -79740,15 +80682,15 @@
79740
80682
  "description": "Search timed out or the cluster is overloaded — retry after `Retry-After` seconds."
79741
80683
  }
79742
80684
  },
79743
- "summary": "Lenders this LO has originated through",
80685
+ "summary": "Real-estate offices this LO closed through (with sponsoring company)",
79744
80686
  "tags": [
79745
80687
  "Originators"
79746
80688
  ]
79747
80689
  }
79748
80690
  },
79749
- "/v1/originators/{nmlsId}/breakdowns/offices": {
80691
+ "/v1/originators/{nmlsId}/breakdowns/states": {
79750
80692
  "post": {
79751
- "operationId": "originatorOffices",
80693
+ "operationId": "originatorStatesBreakdown",
79752
80694
  "parameters": [
79753
80695
  {
79754
80696
  "description": "Originator NMLS ID",
@@ -79779,7 +80721,7 @@
79779
80721
  }
79780
80722
  }
79781
80723
  },
79782
- "description": "Breakdown of the LO's loans by broker (office)"
80724
+ "description": "Breakdown of the LO's loans by states"
79783
80725
  },
79784
80726
  "400": {
79785
80727
  "content": {
@@ -79842,15 +80784,16 @@
79842
80784
  "description": "Search timed out or the cluster is overloaded — retry after `Retry-After` seconds."
79843
80785
  }
79844
80786
  },
79845
- "summary": "Real-estate offices this LO closed through (with sponsoring company)",
80787
+ "summary": "State volume breakdown across this LO's loans",
79846
80788
  "tags": [
79847
80789
  "Originators"
79848
80790
  ]
79849
80791
  }
79850
80792
  },
79851
- "/v1/originators/{nmlsId}/breakdowns/states": {
80793
+ "/v1/originators/{nmlsId}/breakdowns/title-companies": {
79852
80794
  "post": {
79853
- "operationId": "originatorStatesBreakdown",
80795
+ "description": "Ranks the title companies on this entity's loans (recorded deeds, `recording_date` window — the same population and period axis as every other loans breakdown). Spellings of one company are MERGED: `label` is its most-used spelling, `id` the normalized name every spelling was grouped under (legal-form and filler words such as `inc`, `llc`, `co`, `company`, `title`, `escrow` removed; `natl` → `national`). Placeholder entries meaning \"no title company recorded\" (`none available` and its misspellings, `unknown`, `n/a`, …) and names shorter than 3 characters are excluded rather than ranked. `attorney` and `accommodation` are kept: they say who closed. `pctUnits` / `pctVolume` are shares of the entity's WHOLE loan population in the window, including loans with no title company, so they do not sum to 100 across the page. Pages of up to 100 via `pagination`.",
80796
+ "operationId": "originatorTitleCompanies",
79854
80797
  "parameters": [
79855
80798
  {
79856
80799
  "description": "Originator NMLS ID",
@@ -79881,7 +80824,7 @@
79881
80824
  }
79882
80825
  }
79883
80826
  },
79884
- "description": "Breakdown of the LO's loans by states"
80827
+ "description": "Breakdown of the entity's loans by title company"
79885
80828
  },
79886
80829
  "400": {
79887
80830
  "content": {
@@ -79944,16 +80887,15 @@
79944
80887
  "description": "Search timed out or the cluster is overloaded — retry after `Retry-After` seconds."
79945
80888
  }
79946
80889
  },
79947
- "summary": "State volume breakdown across this LO's loans",
80890
+ "summary": "Title companies on this LO's loans (spellings merged)",
79948
80891
  "tags": [
79949
80892
  "Originators"
79950
80893
  ]
79951
80894
  }
79952
80895
  },
79953
- "/v1/originators/{nmlsId}/breakdowns/title-companies": {
80896
+ "/v1/originators/{nmlsId}/breakdowns/zip-codes": {
79954
80897
  "post": {
79955
- "description": "Ranks the title companies on this entity's loans (recorded deeds, `recording_date` window — the same population and period axis as every other loans breakdown). Spellings of one company are MERGED: `label` is its most-used spelling, `id` the normalized name every spelling was grouped under (legal-form and filler words such as `inc`, `llc`, `co`, `company`, `title`, `escrow` removed; `natl` → `national`). Placeholder entries meaning \"no title company recorded\" (`none available` and its misspellings, `unknown`, `n/a`, …) and names shorter than 3 characters are excluded rather than ranked. `attorney` and `accommodation` are kept: they say who closed. `pctUnits` / `pctVolume` are shares of the entity's WHOLE loan population in the window, including loans with no title company, so they do not sum to 100 across the page. Pages of up to 100 via `pagination`.",
79956
- "operationId": "originatorTitleCompanies",
80898
+ "operationId": "originatorZipCodes",
79957
80899
  "parameters": [
79958
80900
  {
79959
80901
  "description": "Originator NMLS ID",
@@ -79984,7 +80926,7 @@
79984
80926
  }
79985
80927
  }
79986
80928
  },
79987
- "description": "Breakdown of the entity's loans by title company"
80929
+ "description": "Breakdown of the LO's loans by zip-codes"
79988
80930
  },
79989
80931
  "400": {
79990
80932
  "content": {
@@ -80047,15 +80989,16 @@
80047
80989
  "description": "Search timed out or the cluster is overloaded — retry after `Retry-After` seconds."
80048
80990
  }
80049
80991
  },
80050
- "summary": "Title companies on this LO's loans (spellings merged)",
80992
+ "summary": "Zip-code volume breakdown",
80051
80993
  "tags": [
80052
80994
  "Originators"
80053
80995
  ]
80054
80996
  }
80055
80997
  },
80056
- "/v1/originators/{nmlsId}/breakdowns/zip-codes": {
80057
- "post": {
80058
- "operationId": "originatorZipCodes",
80998
+ "/v1/originators/{nmlsId}/community-lending/benchmark": {
80999
+ "get": {
81000
+ "description": "Percentile rank and peer average of this entity's low- or moderate-income and majority-minority neighborhood shares, against peers producing in its top 12 states by units. `data` is null when the entity has no neighborhood-resolved loans in the period.",
81001
+ "operationId": "originatorCommunityLendingBenchmark",
80059
81002
  "parameters": [
80060
81003
  {
80061
81004
  "description": "Originator NMLS ID",
@@ -80066,27 +81009,34 @@
80066
81009
  "description": "Originator NMLS ID",
80067
81010
  "type": "string"
80068
81011
  }
80069
- }
80070
- ],
80071
- "requestBody": {
80072
- "content": {
80073
- "application/json": {
80074
- "schema": {
80075
- "$ref": "#/components/schemas/BreakdownRequest"
80076
- }
81012
+ },
81013
+ {
81014
+ "description": "Period window (default: last12Months).",
81015
+ "in": "query",
81016
+ "name": "period",
81017
+ "required": false,
81018
+ "schema": {
81019
+ "allOf": [
81020
+ {
81021
+ "$ref": "#/components/schemas/Period"
81022
+ },
81023
+ {
81024
+ "description": "Period window (default: last12Months)."
81025
+ }
81026
+ ]
80077
81027
  }
80078
81028
  }
80079
- },
81029
+ ],
80080
81030
  "responses": {
80081
81031
  "200": {
80082
81032
  "content": {
80083
81033
  "application/json": {
80084
81034
  "schema": {
80085
- "$ref": "#/components/schemas/BreakdownResponse"
81035
+ "$ref": "#/components/schemas/CommunityLendingBenchmarkResponse"
80086
81036
  }
80087
81037
  }
80088
81038
  },
80089
- "description": "Breakdown of the LO's loans by zip-codes"
81039
+ "description": "Peer benchmark"
80090
81040
  },
80091
81041
  "400": {
80092
81042
  "content": {
@@ -80149,16 +81099,16 @@
80149
81099
  "description": "Search timed out or the cluster is overloaded — retry after `Retry-After` seconds."
80150
81100
  }
80151
81101
  },
80152
- "summary": "Zip-code volume breakdown",
81102
+ "summary": "Community Lending peer benchmark (LMI / majority-minority)",
80153
81103
  "tags": [
80154
81104
  "Originators"
80155
81105
  ]
80156
81106
  }
80157
81107
  },
80158
- "/v1/originators/{nmlsId}/community-lending/benchmark": {
81108
+ "/v1/originators/{nmlsId}/community-lending/map": {
80159
81109
  "get": {
80160
- "description": "Percentile rank and peer average of this entity's low- or moderate-income and majority-minority neighborhood shares, against peers producing in its top 12 states by units. `data` is null when the entity has no neighborhood-resolved loans in the period.",
80161
- "operationId": "originatorCommunityLendingBenchmark",
81110
+ "description": "Map points for this loan officer's loans in the period that resolved to a Census tract, newest first (up to 4,000), plus a per-tract loan count keyed by 11-digit tract GEOID for a choropleth.",
81111
+ "operationId": "originatorCommunityLendingMap",
80162
81112
  "parameters": [
80163
81113
  {
80164
81114
  "description": "Originator NMLS ID",
@@ -80192,11 +81142,11 @@
80192
81142
  "content": {
80193
81143
  "application/json": {
80194
81144
  "schema": {
80195
- "$ref": "#/components/schemas/CommunityLendingBenchmarkResponse"
81145
+ "$ref": "#/components/schemas/CommunityLendingMapResponse"
80196
81146
  }
80197
81147
  }
80198
81148
  },
80199
- "description": "Peer benchmark"
81149
+ "description": "Map feed"
80200
81150
  },
80201
81151
  "400": {
80202
81152
  "content": {
@@ -80259,16 +81209,15 @@
80259
81209
  "description": "Search timed out or the cluster is overloaded — retry after `Retry-After` seconds."
80260
81210
  }
80261
81211
  },
80262
- "summary": "Community Lending peer benchmark (LMI / majority-minority)",
81212
+ "summary": "Community Lending map: geocoded loans + per-tract counts",
80263
81213
  "tags": [
80264
81214
  "Originators"
80265
81215
  ]
80266
81216
  }
80267
81217
  },
80268
- "/v1/originators/{nmlsId}/community-lending/map": {
80269
- "get": {
80270
- "description": "Map points for this loan officer's loans in the period that resolved to a Census tract, newest first (up to 4,000), plus a per-tract loan count keyed by 11-digit tract GEOID for a choropleth.",
80271
- "operationId": "originatorCommunityLendingMap",
81218
+ "/v1/originators/{nmlsId}/loans": {
81219
+ "post": {
81220
+ "operationId": "originatorLoans",
80272
81221
  "parameters": [
80273
81222
  {
80274
81223
  "description": "Originator NMLS ID",
@@ -80279,34 +81228,130 @@
80279
81228
  "description": "Originator NMLS ID",
80280
81229
  "type": "string"
80281
81230
  }
81231
+ }
81232
+ ],
81233
+ "requestBody": {
81234
+ "content": {
81235
+ "application/json": {
81236
+ "schema": {
81237
+ "$ref": "#/components/schemas/LoanListRequest"
81238
+ }
81239
+ }
81240
+ }
81241
+ },
81242
+ "responses": {
81243
+ "200": {
81244
+ "content": {
81245
+ "application/json": {
81246
+ "schema": {
81247
+ "$ref": "#/components/schemas/LoanListResponse"
81248
+ }
81249
+ }
81250
+ },
81251
+ "description": "Paginated list of loans originated by this LO"
81252
+ },
81253
+ "400": {
81254
+ "content": {
81255
+ "application/json": {
81256
+ "schema": {
81257
+ "$ref": "#/components/schemas/ErrorResponse"
81258
+ }
81259
+ }
81260
+ },
81261
+ "description": "Validation error"
80282
81262
  },
81263
+ "401": {
81264
+ "content": {
81265
+ "application/json": {
81266
+ "schema": {
81267
+ "$ref": "#/components/schemas/ErrorResponse"
81268
+ }
81269
+ }
81270
+ },
81271
+ "description": "Unauthorized"
81272
+ },
81273
+ "403": {
81274
+ "content": {
81275
+ "application/json": {
81276
+ "schema": {
81277
+ "$ref": "#/components/schemas/ErrorResponse"
81278
+ }
81279
+ }
81280
+ },
81281
+ "description": "Forbidden (authenticated, but missing required context — e.g. no active organization)"
81282
+ },
81283
+ "404": {
81284
+ "content": {
81285
+ "application/json": {
81286
+ "schema": {
81287
+ "$ref": "#/components/schemas/ErrorResponse"
81288
+ }
81289
+ }
81290
+ },
81291
+ "description": "Not found"
81292
+ },
81293
+ "413": {
81294
+ "content": {
81295
+ "application/json": {
81296
+ "schema": {
81297
+ "$ref": "#/components/schemas/PayloadTooLarge"
81298
+ }
81299
+ }
81300
+ },
81301
+ "description": "Response payload too large — detail endpoint capped to fit Lambda response limits"
81302
+ },
81303
+ "503": {
81304
+ "content": {
81305
+ "application/json": {
81306
+ "schema": {
81307
+ "$ref": "#/components/schemas/SearchUnavailable"
81308
+ }
81309
+ }
81310
+ },
81311
+ "description": "Search timed out or the cluster is overloaded — retry after `Retry-After` seconds."
81312
+ }
81313
+ },
81314
+ "summary": "Loans originated by this LO",
81315
+ "tags": [
81316
+ "Originators"
81317
+ ]
81318
+ }
81319
+ },
81320
+ "/v1/originators/{nmlsId}/markets": {
81321
+ "post": {
81322
+ "description": "One blended view of a loan officer's lending footprint: the ZIP codes they originated in, city / county / state rollups of the same scope, and the period totals those markets are a share of. AVERAGES ARE VOLUME-WEIGHTED: the summary loan size is Σ volume ÷ Σ units, not an unweighted mean of the per-market averages (on a real footprint the two differ by thousands of dollars). Sending `zipCodes` narrows every grain to those ZIPs; sending a `dateRange` re-cuts the window. Either switches the response from the LO's pre-aggregated footprint to a live aggregation of their loans — `source` and `sourceReasons` say which was used, and bucket `key` forms differ between them (use `name` for display). All shares on this response are 0–100 percentages. A summary can cover less than the whole book: production that could not be attributed to a place is held out and reported in `summary.unresolved` rather than being folded in or silently dropped. The summary also carries a Community Lending mix — what kind of neighborhood this book lands in. These are U.S. Census tract-level aggregates describing whole neighborhoods, never individual, household or applicant attributes. Unscoped it is the LO's own whole-period mix; a ZIP or date scope recomputes it over the markets in scope, and `summary.communityLending.basis` says which you got.",
81323
+ "operationId": "originatorMarkets",
81324
+ "parameters": [
80283
81325
  {
80284
- "description": "Period window (default: last12Months).",
80285
- "in": "query",
80286
- "name": "period",
80287
- "required": false,
81326
+ "description": "Originator NMLS ID",
81327
+ "in": "path",
81328
+ "name": "nmlsId",
81329
+ "required": true,
80288
81330
  "schema": {
80289
- "allOf": [
80290
- {
80291
- "$ref": "#/components/schemas/Period"
80292
- },
80293
- {
80294
- "description": "Period window (default: last12Months)."
80295
- }
80296
- ]
81331
+ "description": "Originator NMLS ID",
81332
+ "type": "string"
80297
81333
  }
80298
81334
  }
80299
81335
  ],
81336
+ "requestBody": {
81337
+ "content": {
81338
+ "application/json": {
81339
+ "schema": {
81340
+ "$ref": "#/components/schemas/OriginatorMarketsRequest"
81341
+ }
81342
+ }
81343
+ }
81344
+ },
80300
81345
  "responses": {
80301
81346
  "200": {
80302
81347
  "content": {
80303
81348
  "application/json": {
80304
81349
  "schema": {
80305
- "$ref": "#/components/schemas/CommunityLendingMapResponse"
81350
+ "$ref": "#/components/schemas/OriginatorMarketsResponse"
80306
81351
  }
80307
81352
  }
80308
81353
  },
80309
- "description": "Map feed"
81354
+ "description": "The LO's blended market footprint"
80310
81355
  },
80311
81356
  "400": {
80312
81357
  "content": {
@@ -80346,7 +81391,7 @@
80346
81391
  }
80347
81392
  }
80348
81393
  },
80349
- "description": "Not found"
81394
+ "description": "Originator not found"
80350
81395
  },
80351
81396
  "413": {
80352
81397
  "content": {
@@ -80369,15 +81414,16 @@
80369
81414
  "description": "Search timed out or the cluster is overloaded — retry after `Retry-After` seconds."
80370
81415
  }
80371
81416
  },
80372
- "summary": "Community Lending map: geocoded loans + per-tract counts",
81417
+ "summary": "The markets this LO lends in",
80373
81418
  "tags": [
80374
81419
  "Originators"
80375
81420
  ]
80376
81421
  }
80377
81422
  },
80378
- "/v1/originators/{nmlsId}/loans": {
81423
+ "/v1/originators/{nmlsId}/properties": {
80379
81424
  "post": {
80380
- "operationId": "originatorLoans",
81425
+ "description": "Returns the parcels this loan officer is attributed to in public record — the reverse of the `parties` block on `GET /v1/properties/{id}`. Accepts the same filters, sorts and pagination as the main property search, so a caller can ask 'this LO's parcels in Travis County built after 2015' in one request. Attribution is ALL-TIME: a parcel stays in this LO's set after the loan is paid off, because the question is career reach rather than current book. An LO with no attributed parcels returns an empty page, not a 404 — the LO may be real and simply have nothing in the public record yet.",
81426
+ "operationId": "originatorProperties",
80381
81427
  "parameters": [
80382
81428
  {
80383
81429
  "description": "Originator NMLS ID",
@@ -80394,7 +81440,7 @@
80394
81440
  "content": {
80395
81441
  "application/json": {
80396
81442
  "schema": {
80397
- "$ref": "#/components/schemas/LoanListRequest"
81443
+ "$ref": "#/components/schemas/PropertyListRequest"
80398
81444
  }
80399
81445
  }
80400
81446
  }
@@ -80404,11 +81450,11 @@
80404
81450
  "content": {
80405
81451
  "application/json": {
80406
81452
  "schema": {
80407
- "$ref": "#/components/schemas/LoanListResponse"
81453
+ "$ref": "#/components/schemas/PropertyListResponse"
80408
81454
  }
80409
81455
  }
80410
81456
  },
80411
- "description": "Paginated list of loans originated by this LO"
81457
+ "description": "Paginated list of parcels attributed to this LO"
80412
81458
  },
80413
81459
  "400": {
80414
81460
  "content": {
@@ -80471,16 +81517,16 @@
80471
81517
  "description": "Search timed out or the cluster is overloaded — retry after `Retry-After` seconds."
80472
81518
  }
80473
81519
  },
80474
- "summary": "Loans originated by this LO",
81520
+ "summary": "Properties this loan officer has touched",
80475
81521
  "tags": [
80476
81522
  "Originators"
80477
81523
  ]
80478
81524
  }
80479
81525
  },
80480
- "/v1/originators/{nmlsId}/markets": {
81526
+ "/v1/originators/{nmlsId}/retention": {
80481
81527
  "post": {
80482
- "description": "One blended view of a loan officer's lending footprint: the ZIP codes they originated in, city / county / state rollups of the same scope, and the period totals those markets are a share of. AVERAGES ARE VOLUME-WEIGHTED: the summary loan size is Σ volume ÷ Σ units, not an unweighted mean of the per-market averages (on a real footprint the two differ by thousands of dollars). Sending `zipCodes` narrows every grain to those ZIPs; sending a `dateRange` re-cuts the window. Either switches the response from the LO's pre-aggregated footprint to a live aggregation of their loans — `source` and `sourceReasons` say which was used, and bucket `key` forms differ between them (use `name` for display). All shares on this response are 0–100 percentages. A summary can cover less than the whole book: production that could not be attributed to a place is held out and reported in `summary.unresolved` rather than being folded in or silently dropped. The summary also carries a Community Lending mix — what kind of neighborhood this book lands in. These are U.S. Census tract-level aggregates describing whole neighborhoods, never individual, household or applicant attributes. Unscoped it is the LO's own whole-period mix; a ZIP or date scope recomputes it over the markets in scope, and `summary.communityLending.basis` says which you got.",
80483
- "operationId": "originatorMarkets",
81528
+ "description": "Classifies every loan this LO originated since 2017 against every later loan and MLS sale on the same parcel, for the period `start`–`end`: borrowers kept (the LO refinanced them again), lost (refinanced elsewhere — `churnedLoans`, with who captured them), sold, or a second lien taken elsewhere. Returns the summary, capture lanes (same funding lender vs other companies), capturing companies / LOs (top 25 + full-population totals), timing, monthly trend, the newest 500 loss rows, and exit signals on the retained book (`atRisk`). `compare` adds a second period's `summary` and monthly trend (`previous`) from the same scan. A very large book that cannot be read in time answers `status: \"timeout\"`.",
81529
+ "operationId": "originatorRetention",
80484
81530
  "parameters": [
80485
81531
  {
80486
81532
  "description": "Originator NMLS ID",
@@ -80497,7 +81543,7 @@
80497
81543
  "content": {
80498
81544
  "application/json": {
80499
81545
  "schema": {
80500
- "$ref": "#/components/schemas/OriginatorMarketsRequest"
81546
+ "$ref": "#/components/schemas/OriginatorRetentionRequest"
80501
81547
  }
80502
81548
  }
80503
81549
  }
@@ -80507,11 +81553,11 @@
80507
81553
  "content": {
80508
81554
  "application/json": {
80509
81555
  "schema": {
80510
- "$ref": "#/components/schemas/OriginatorMarketsResponse"
81556
+ "$ref": "#/components/schemas/OriginatorRetention"
80511
81557
  }
80512
81558
  }
80513
81559
  },
80514
- "description": "The LO's blended market footprint"
81560
+ "description": "Retention report"
80515
81561
  },
80516
81562
  "400": {
80517
81563
  "content": {
@@ -80551,7 +81597,7 @@
80551
81597
  }
80552
81598
  }
80553
81599
  },
80554
- "description": "Originator not found"
81600
+ "description": "Not found"
80555
81601
  },
80556
81602
  "413": {
80557
81603
  "content": {
@@ -80574,16 +81620,16 @@
80574
81620
  "description": "Search timed out or the cluster is overloaded — retry after `Retry-After` seconds."
80575
81621
  }
80576
81622
  },
80577
- "summary": "The markets this LO lends in",
81623
+ "summary": "Borrower retention report for this LO",
80578
81624
  "tags": [
80579
81625
  "Originators"
80580
81626
  ]
80581
81627
  }
80582
81628
  },
80583
- "/v1/originators/{nmlsId}/properties": {
81629
+ "/v1/originators/{nmlsId}/retention/captured": {
80584
81630
  "post": {
80585
- "description": "Returns the parcels this loan officer is attributed to in public record — the reverse of the `parties` block on `GET /v1/properties/{id}`. Accepts the same filters, sorts and pagination as the main property search, so a caller can ask 'this LO's parcels in Travis County built after 2015' in one request. Attribution is ALL-TIME: a parcel stays in this LO's set after the loan is paid off, because the question is career reach rather than current book. An LO with no attributed parcels returns an empty page, not a 404 — the LO may be real and simply have nothing in the public record yet.",
80586
- "operationId": "originatorProperties",
81631
+ "description": "The loss rows (`churnedLoans` shape) one capturing loan officer — or company — took from this LO's borrowers in `start`–`end`, newest first, paged. Same classification as `originatorRetention`, so `total` matches that capturer's `count` there; unlike the report, it is not limited to the newest 500 rows overall.",
81632
+ "operationId": "originatorRetentionCaptured",
80587
81633
  "parameters": [
80588
81634
  {
80589
81635
  "description": "Originator NMLS ID",
@@ -80600,7 +81646,7 @@
80600
81646
  "content": {
80601
81647
  "application/json": {
80602
81648
  "schema": {
80603
- "$ref": "#/components/schemas/PropertyListRequest"
81649
+ "$ref": "#/components/schemas/OriginatorRetentionCapturedRequest"
80604
81650
  }
80605
81651
  }
80606
81652
  }
@@ -80610,11 +81656,11 @@
80610
81656
  "content": {
80611
81657
  "application/json": {
80612
81658
  "schema": {
80613
- "$ref": "#/components/schemas/PropertyListResponse"
81659
+ "$ref": "#/components/schemas/OriginatorRetentionCaptured"
80614
81660
  }
80615
81661
  }
80616
81662
  },
80617
- "description": "Paginated list of parcels attributed to this LO"
81663
+ "description": "The capturer's loss rows"
80618
81664
  },
80619
81665
  "400": {
80620
81666
  "content": {
@@ -80677,47 +81723,53 @@
80677
81723
  "description": "Search timed out or the cluster is overloaded — retry after `Retry-After` seconds."
80678
81724
  }
80679
81725
  },
80680
- "summary": "Properties this loan officer has touched",
81726
+ "summary": "Loans one capturer took from this LO",
80681
81727
  "tags": [
80682
81728
  "Originators"
80683
81729
  ]
80684
81730
  }
80685
81731
  },
80686
- "/v1/originators/{nmlsId}/retention": {
80687
- "post": {
80688
- "description": "Classifies every loan this LO originated since 2017 against every later loan and MLS sale on the same parcel, for the period `start`–`end`: borrowers kept (the LO refinanced them again), lost (refinanced elsewhere — `churnedLoans`, with who captured them), sold, or a second lien taken elsewhere. Returns the summary, capture lanes (same funding lender vs other companies), capturing companies / LOs (top 25 + full-population totals), timing, monthly trend, the newest 500 loss rows, and exit signals on the retained book (`atRisk`). `compare` adds a second period's `summary` and monthly trend (`previous`) from the same scan. A very large book that cannot be read in time answers `status: \"timeout\"`.",
80689
- "operationId": "originatorRetention",
81732
+ "/v1/originators/{nmlsId}/signals/agent-pulse": {
81733
+ "get": {
81734
+ "description": "Relationship Pulse: the buyer's agents this loan officer has worked with, ordered by priority (highest first, up to 50) for working toward another closed deal together in the next six months. Each row has the agent (`agentLinked` says whether its id can be looked up with the agent routes), a priority score (0–1, higher is higher priority), its priority percentile among all scored agent relationships, and up to three plain-language reasons. Returns an empty `data` list when the loan officer is scored but has no agent relationships in scope; 404 when the loan officer is not scored at all. 1 credit per row returned.",
81735
+ "operationId": "getOriginatorAgentPulseSignals",
80690
81736
  "parameters": [
80691
81737
  {
80692
- "description": "Originator NMLS ID",
81738
+ "description": "Loan officer NMLS ID",
80693
81739
  "in": "path",
80694
81740
  "name": "nmlsId",
80695
81741
  "required": true,
80696
81742
  "schema": {
80697
- "description": "Originator NMLS ID",
81743
+ "description": "Loan officer NMLS ID",
81744
+ "example": "7206",
81745
+ "pattern": "^\\d{1,12}$",
80698
81746
  "type": "string"
80699
81747
  }
80700
- }
80701
- ],
80702
- "requestBody": {
80703
- "content": {
80704
- "application/json": {
80705
- "schema": {
80706
- "$ref": "#/components/schemas/OriginatorRetentionRequest"
80707
- }
81748
+ },
81749
+ {
81750
+ "description": "Rows per page (1–50, default 25)",
81751
+ "in": "query",
81752
+ "name": "limit",
81753
+ "required": false,
81754
+ "schema": {
81755
+ "default": 25,
81756
+ "description": "Rows per page (1–50, default 25)",
81757
+ "maximum": 50,
81758
+ "minimum": 1,
81759
+ "type": "integer"
80708
81760
  }
80709
81761
  }
80710
- },
81762
+ ],
80711
81763
  "responses": {
80712
81764
  "200": {
80713
81765
  "content": {
80714
81766
  "application/json": {
80715
81767
  "schema": {
80716
- "$ref": "#/components/schemas/OriginatorRetention"
81768
+ "$ref": "#/components/schemas/AgentPulseSignalList"
80717
81769
  }
80718
81770
  }
80719
81771
  },
80720
- "description": "Retention report"
81772
+ "description": "Agents, highest priority first"
80721
81773
  },
80722
81774
  "400": {
80723
81775
  "content": {
@@ -80727,7 +81779,7 @@
80727
81779
  }
80728
81780
  }
80729
81781
  },
80730
- "description": "Validation error"
81782
+ "description": "Invalid parameters or cursor"
80731
81783
  },
80732
81784
  "401": {
80733
81785
  "content": {
@@ -80757,70 +81809,77 @@
80757
81809
  }
80758
81810
  }
80759
81811
  },
80760
- "description": "Not found"
80761
- },
80762
- "413": {
80763
- "content": {
80764
- "application/json": {
80765
- "schema": {
80766
- "$ref": "#/components/schemas/PayloadTooLarge"
80767
- }
80768
- }
80769
- },
80770
- "description": "Response payload too large — detail endpoint capped to fit Lambda response limits"
81812
+ "description": "This loan officer has no predictive scores."
80771
81813
  },
80772
81814
  "503": {
80773
81815
  "content": {
80774
81816
  "application/json": {
80775
81817
  "schema": {
80776
- "$ref": "#/components/schemas/SearchUnavailable"
81818
+ "$ref": "#/components/schemas/ErrorResponse"
80777
81819
  }
80778
81820
  }
80779
81821
  },
80780
- "description": "Search timed out or the cluster is overloaded — retry after `Retry-After` seconds."
81822
+ "description": "Signals are temporarily unavailable. Retry later."
80781
81823
  }
80782
81824
  },
80783
- "summary": "Borrower retention report for this LO",
81825
+ "summary": "Buyer's agent relationships to prioritize for this loan officer",
80784
81826
  "tags": [
80785
- "Originators"
81827
+ "Signals"
80786
81828
  ]
80787
81829
  }
80788
81830
  },
80789
- "/v1/originators/{nmlsId}/retention/captured": {
80790
- "post": {
80791
- "description": "The loss rows (`churnedLoans` shape) one capturing loan officer — or company — took from this LO's borrowers in `start`–`end`, newest first, paged. Same classification as `originatorRetention`, so `total` matches that capturer's `count` there; unlike the report, it is not limited to the newest 500 rows overall.",
80792
- "operationId": "originatorRetentionCaptured",
81831
+ "/v1/originators/{nmlsId}/signals/client-retention": {
81832
+ "get": {
81833
+ "description": "Client Retention Risk: this loan officer's past clients (properties they financed between six months and ten years ago), ordered by priority (highest first): the clients most at risk of taking their next refinance or equity loan to a different loan officer come first. Each row has the property, the last loan this loan officer made on it, a priority score (0–1, higher is higher priority; `risk` carries the same value), its priority percentile among all scored past clients, and up to three plain-language reasons. Returns an empty `data` list when the loan officer is scored but has no past clients in scope; 404 when the loan officer is not scored at all. Pages with `limit` / `cursor`. 1 credit per row returned.",
81834
+ "operationId": "getOriginatorClientRetentionSignals",
80793
81835
  "parameters": [
80794
81836
  {
80795
- "description": "Originator NMLS ID",
81837
+ "description": "Loan officer NMLS ID",
80796
81838
  "in": "path",
80797
81839
  "name": "nmlsId",
80798
81840
  "required": true,
80799
81841
  "schema": {
80800
- "description": "Originator NMLS ID",
81842
+ "description": "Loan officer NMLS ID",
81843
+ "example": "7206",
81844
+ "pattern": "^\\d{1,12}$",
80801
81845
  "type": "string"
80802
81846
  }
80803
- }
80804
- ],
80805
- "requestBody": {
80806
- "content": {
80807
- "application/json": {
80808
- "schema": {
80809
- "$ref": "#/components/schemas/OriginatorRetentionCapturedRequest"
80810
- }
81847
+ },
81848
+ {
81849
+ "description": "Rows per page (1–100, default 25)",
81850
+ "in": "query",
81851
+ "name": "limit",
81852
+ "required": false,
81853
+ "schema": {
81854
+ "default": 25,
81855
+ "description": "Rows per page (1–100, default 25)",
81856
+ "maximum": 100,
81857
+ "minimum": 1,
81858
+ "type": "integer"
81859
+ }
81860
+ },
81861
+ {
81862
+ "description": "Opaque cursor from the previous page's `cursor`.",
81863
+ "in": "query",
81864
+ "name": "cursor",
81865
+ "required": false,
81866
+ "schema": {
81867
+ "description": "Opaque cursor from the previous page's `cursor`.",
81868
+ "maxLength": 2048,
81869
+ "type": "string"
80811
81870
  }
80812
81871
  }
80813
- },
81872
+ ],
80814
81873
  "responses": {
80815
81874
  "200": {
80816
81875
  "content": {
80817
81876
  "application/json": {
80818
81877
  "schema": {
80819
- "$ref": "#/components/schemas/OriginatorRetentionCaptured"
81878
+ "$ref": "#/components/schemas/ClientRetentionSignalList"
80820
81879
  }
80821
81880
  }
80822
81881
  },
80823
- "description": "The capturer's loss rows"
81882
+ "description": "A page of past clients, most at risk first"
80824
81883
  },
80825
81884
  "400": {
80826
81885
  "content": {
@@ -80830,7 +81889,7 @@
80830
81889
  }
80831
81890
  }
80832
81891
  },
80833
- "description": "Validation error"
81892
+ "description": "Invalid parameters or cursor"
80834
81893
  },
80835
81894
  "401": {
80836
81895
  "content": {
@@ -80860,32 +81919,108 @@
80860
81919
  }
80861
81920
  }
80862
81921
  },
80863
- "description": "Not found"
81922
+ "description": "This loan officer has no predictive scores."
80864
81923
  },
80865
- "413": {
81924
+ "503": {
80866
81925
  "content": {
80867
81926
  "application/json": {
80868
81927
  "schema": {
80869
- "$ref": "#/components/schemas/PayloadTooLarge"
81928
+ "$ref": "#/components/schemas/ErrorResponse"
80870
81929
  }
80871
81930
  }
80872
81931
  },
80873
- "description": "Response payload too large — detail endpoint capped to fit Lambda response limits"
81932
+ "description": "Signals are temporarily unavailable. Retry later."
81933
+ }
81934
+ },
81935
+ "summary": "This loan officer's past clients most at risk of going elsewhere",
81936
+ "tags": [
81937
+ "Signals"
81938
+ ]
81939
+ }
81940
+ },
81941
+ "/v1/originators/{nmlsId}/signals/lo-move": {
81942
+ "get": {
81943
+ "description": "Recruiting Radar for one loan officer: a priority score (0–1, higher is higher priority) for reaching out about a move to a new company in the next six months, its priority percentile among all scored loan officers, and up to three plain-language reasons. 404 when this loan officer is not scored. 1 credit.",
81944
+ "operationId": "getOriginatorLoMoveSignal",
81945
+ "parameters": [
81946
+ {
81947
+ "description": "Loan officer NMLS ID",
81948
+ "in": "path",
81949
+ "name": "nmlsId",
81950
+ "required": true,
81951
+ "schema": {
81952
+ "description": "Loan officer NMLS ID",
81953
+ "example": "7206",
81954
+ "pattern": "^\\d{1,12}$",
81955
+ "type": "string"
81956
+ }
81957
+ }
81958
+ ],
81959
+ "responses": {
81960
+ "200": {
81961
+ "content": {
81962
+ "application/json": {
81963
+ "schema": {
81964
+ "$ref": "#/components/schemas/LoMoveSignalDetail"
81965
+ }
81966
+ }
81967
+ },
81968
+ "description": "The loan officer's score"
81969
+ },
81970
+ "400": {
81971
+ "content": {
81972
+ "application/json": {
81973
+ "schema": {
81974
+ "$ref": "#/components/schemas/ErrorResponse"
81975
+ }
81976
+ }
81977
+ },
81978
+ "description": "Invalid parameters or cursor"
81979
+ },
81980
+ "401": {
81981
+ "content": {
81982
+ "application/json": {
81983
+ "schema": {
81984
+ "$ref": "#/components/schemas/ErrorResponse"
81985
+ }
81986
+ }
81987
+ },
81988
+ "description": "Unauthorized"
81989
+ },
81990
+ "403": {
81991
+ "content": {
81992
+ "application/json": {
81993
+ "schema": {
81994
+ "$ref": "#/components/schemas/ErrorResponse"
81995
+ }
81996
+ }
81997
+ },
81998
+ "description": "Forbidden (authenticated, but missing required context — e.g. no active organization)"
81999
+ },
82000
+ "404": {
82001
+ "content": {
82002
+ "application/json": {
82003
+ "schema": {
82004
+ "$ref": "#/components/schemas/ErrorResponse"
82005
+ }
82006
+ }
82007
+ },
82008
+ "description": "This loan officer has no predictive scores."
80874
82009
  },
80875
82010
  "503": {
80876
82011
  "content": {
80877
82012
  "application/json": {
80878
82013
  "schema": {
80879
- "$ref": "#/components/schemas/SearchUnavailable"
82014
+ "$ref": "#/components/schemas/ErrorResponse"
80880
82015
  }
80881
82016
  }
80882
82017
  },
80883
- "description": "Search timed out or the cluster is overloaded — retry after `Retry-After` seconds."
82018
+ "description": "Signals are temporarily unavailable. Retry later."
80884
82019
  }
80885
82020
  },
80886
- "summary": "Loans one capturer took from this LO",
82021
+ "summary": "This loan officer's recruiting priority",
80887
82022
  "tags": [
80888
- "Originators"
82023
+ "Signals"
80889
82024
  ]
80890
82025
  }
80891
82026
  },
@@ -84418,6 +85553,106 @@
84418
85553
  "Search"
84419
85554
  ]
84420
85555
  }
85556
+ },
85557
+ "/v1/signals/lo-move": {
85558
+ "get": {
85559
+ "description": "Recruiting Radar: loan officers active in `state`, ordered by priority for recruiting outreach (highest first), based on signs they may start at a new company within the next six months. Each row carries a priority score (0–1, higher is higher priority), its priority percentile among all scored loan officers nationally (not just this state), and up to three plain-language reasons. Use it to find recruiting targets in a market. `state` is required and must be a two-letter US state code. Pages with `limit` / `cursor`. 1 credit per row returned.",
85560
+ "operationId": "listLoMoveSignals",
85561
+ "parameters": [
85562
+ {
85563
+ "description": "Two-letter US state code (e.g. `CO`). Ranks the loan officers active in that state.",
85564
+ "in": "query",
85565
+ "name": "state",
85566
+ "required": true,
85567
+ "schema": {
85568
+ "description": "Two-letter US state code (e.g. `CO`). Ranks the loan officers active in that state.",
85569
+ "example": "CO",
85570
+ "pattern": "^[A-Za-z]{2}$",
85571
+ "type": "string"
85572
+ }
85573
+ },
85574
+ {
85575
+ "description": "Rows per page (1–100, default 25)",
85576
+ "in": "query",
85577
+ "name": "limit",
85578
+ "required": false,
85579
+ "schema": {
85580
+ "default": 25,
85581
+ "description": "Rows per page (1–100, default 25)",
85582
+ "maximum": 100,
85583
+ "minimum": 1,
85584
+ "type": "integer"
85585
+ }
85586
+ },
85587
+ {
85588
+ "description": "Opaque cursor from the previous page's `cursor`.",
85589
+ "in": "query",
85590
+ "name": "cursor",
85591
+ "required": false,
85592
+ "schema": {
85593
+ "description": "Opaque cursor from the previous page's `cursor`.",
85594
+ "maxLength": 2048,
85595
+ "type": "string"
85596
+ }
85597
+ }
85598
+ ],
85599
+ "responses": {
85600
+ "200": {
85601
+ "content": {
85602
+ "application/json": {
85603
+ "schema": {
85604
+ "$ref": "#/components/schemas/LoMoveSignalList"
85605
+ }
85606
+ }
85607
+ },
85608
+ "description": "A page of ranked loan officers"
85609
+ },
85610
+ "400": {
85611
+ "content": {
85612
+ "application/json": {
85613
+ "schema": {
85614
+ "$ref": "#/components/schemas/ErrorResponse"
85615
+ }
85616
+ }
85617
+ },
85618
+ "description": "Invalid parameters or cursor"
85619
+ },
85620
+ "401": {
85621
+ "content": {
85622
+ "application/json": {
85623
+ "schema": {
85624
+ "$ref": "#/components/schemas/ErrorResponse"
85625
+ }
85626
+ }
85627
+ },
85628
+ "description": "Unauthorized"
85629
+ },
85630
+ "403": {
85631
+ "content": {
85632
+ "application/json": {
85633
+ "schema": {
85634
+ "$ref": "#/components/schemas/ErrorResponse"
85635
+ }
85636
+ }
85637
+ },
85638
+ "description": "Forbidden (authenticated, but missing required context — e.g. no active organization)"
85639
+ },
85640
+ "503": {
85641
+ "content": {
85642
+ "application/json": {
85643
+ "schema": {
85644
+ "$ref": "#/components/schemas/ErrorResponse"
85645
+ }
85646
+ }
85647
+ },
85648
+ "description": "Signals are temporarily unavailable. Retry later."
85649
+ }
85650
+ },
85651
+ "summary": "Loan officers to prioritize for recruiting, by state",
85652
+ "tags": [
85653
+ "Signals"
85654
+ ]
85655
+ }
84421
85656
  }
84422
85657
  },
84423
85658
  "security": [
@@ -84504,6 +85739,10 @@
84504
85739
  {
84505
85740
  "description": "Instant multi-entity search",
84506
85741
  "name": "Search"
85742
+ },
85743
+ {
85744
+ "description": "Predictive scores: loan officers likely to change companies, past clients at risk of going elsewhere, and agent relationships likely to close again",
85745
+ "name": "Signals"
84507
85746
  }
84508
85747
  ]
84509
85748
  }