@model-match/api 3.85.0 → 3.86.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-vme166pE.d.mts → index-BPIdPjKd.d.mts} +382 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +1 -1
- package/dist/slim/index.d.mts +26 -2
- package/dist/slim/index.mjs +70 -2
- package/dist/{src-CQRSUGk6.mjs → src-Bcbt2n1a.mjs} +76 -0
- package/openapi.json +1118 -224
- package/package.json +1 -1
package/openapi.json
CHANGED
|
@@ -50270,6 +50270,424 @@
|
|
|
50270
50270
|
],
|
|
50271
50271
|
"type": "object"
|
|
50272
50272
|
},
|
|
50273
|
+
"StudioProgram": {
|
|
50274
|
+
"properties": {
|
|
50275
|
+
"available": {
|
|
50276
|
+
"description": "True when your organization can run programs. False: ask your ModelMatch admin to enable them.",
|
|
50277
|
+
"type": "boolean"
|
|
50278
|
+
},
|
|
50279
|
+
"name": {
|
|
50280
|
+
"example": "company_retention",
|
|
50281
|
+
"type": "string"
|
|
50282
|
+
},
|
|
50283
|
+
"options": {
|
|
50284
|
+
"description": "The switches you can set, with their defaults.",
|
|
50285
|
+
"items": {
|
|
50286
|
+
"properties": {
|
|
50287
|
+
"default": {
|
|
50288
|
+
"description": "Used when left out.",
|
|
50289
|
+
"nullable": true
|
|
50290
|
+
},
|
|
50291
|
+
"description": {
|
|
50292
|
+
"type": "string"
|
|
50293
|
+
},
|
|
50294
|
+
"name": {
|
|
50295
|
+
"type": "string"
|
|
50296
|
+
}
|
|
50297
|
+
},
|
|
50298
|
+
"required": [
|
|
50299
|
+
"name",
|
|
50300
|
+
"description"
|
|
50301
|
+
],
|
|
50302
|
+
"type": "object"
|
|
50303
|
+
},
|
|
50304
|
+
"type": "array"
|
|
50305
|
+
},
|
|
50306
|
+
"price": {
|
|
50307
|
+
"properties": {
|
|
50308
|
+
"credits": {
|
|
50309
|
+
"description": "Credits charged once for a run that succeeds, when it has finished. A run that fails or times out is free.",
|
|
50310
|
+
"type": "number"
|
|
50311
|
+
}
|
|
50312
|
+
},
|
|
50313
|
+
"required": [
|
|
50314
|
+
"credits"
|
|
50315
|
+
],
|
|
50316
|
+
"type": "object"
|
|
50317
|
+
},
|
|
50318
|
+
"summary": {
|
|
50319
|
+
"type": "string"
|
|
50320
|
+
},
|
|
50321
|
+
"tables": {
|
|
50322
|
+
"description": "The tables a run leaves in your organization: your `name` plus each `suffix` (empty for the first).",
|
|
50323
|
+
"items": {
|
|
50324
|
+
"properties": {
|
|
50325
|
+
"description": {
|
|
50326
|
+
"type": "string"
|
|
50327
|
+
},
|
|
50328
|
+
"suffix": {
|
|
50329
|
+
"type": "string"
|
|
50330
|
+
}
|
|
50331
|
+
},
|
|
50332
|
+
"required": [
|
|
50333
|
+
"suffix",
|
|
50334
|
+
"description"
|
|
50335
|
+
],
|
|
50336
|
+
"type": "object"
|
|
50337
|
+
},
|
|
50338
|
+
"type": "array"
|
|
50339
|
+
},
|
|
50340
|
+
"title": {
|
|
50341
|
+
"type": "string"
|
|
50342
|
+
}
|
|
50343
|
+
},
|
|
50344
|
+
"required": [
|
|
50345
|
+
"name",
|
|
50346
|
+
"title",
|
|
50347
|
+
"summary",
|
|
50348
|
+
"options",
|
|
50349
|
+
"tables",
|
|
50350
|
+
"price",
|
|
50351
|
+
"available"
|
|
50352
|
+
],
|
|
50353
|
+
"type": "object"
|
|
50354
|
+
},
|
|
50355
|
+
"StudioProgramCredits": {
|
|
50356
|
+
"properties": {
|
|
50357
|
+
"charged": {
|
|
50358
|
+
"description": "Credits this call charged: the program's price when it is the first to read a run that succeeded (its tables are then delivered), otherwise 0. A run is charged once.",
|
|
50359
|
+
"type": "number"
|
|
50360
|
+
},
|
|
50361
|
+
"pending": {
|
|
50362
|
+
"description": "Where a run was just started: what it will cost when it succeeds.",
|
|
50363
|
+
"type": "number"
|
|
50364
|
+
},
|
|
50365
|
+
"remaining": {
|
|
50366
|
+
"description": "Your balance after the charge, when one was made.",
|
|
50367
|
+
"type": "number"
|
|
50368
|
+
}
|
|
50369
|
+
},
|
|
50370
|
+
"required": [
|
|
50371
|
+
"charged"
|
|
50372
|
+
],
|
|
50373
|
+
"type": "object"
|
|
50374
|
+
},
|
|
50375
|
+
"StudioProgramError": {
|
|
50376
|
+
"properties": {
|
|
50377
|
+
"code": {
|
|
50378
|
+
"description": "`invalid_request` (a switch the program does not list, or a bad value), `invalid_name`, `program_not_found`, `run_not_found`, `table_exists`, `program_running`, `busy`, `rate_limited`, `entitlement_missing`, `entitlement_unavailable`, `billing_unavailable`, `no_organization`, `studio_not_enabled`, `studio_unavailable`.",
|
|
50379
|
+
"type": "string"
|
|
50380
|
+
},
|
|
50381
|
+
"details": {
|
|
50382
|
+
"description": "What the error is about: `retryAfterSeconds` and `limit` for a refusal to start now, `entitlementKey` for `entitlement_missing`.",
|
|
50383
|
+
"properties": {
|
|
50384
|
+
"availableTables": {
|
|
50385
|
+
"items": {
|
|
50386
|
+
"type": "string"
|
|
50387
|
+
},
|
|
50388
|
+
"type": "array"
|
|
50389
|
+
},
|
|
50390
|
+
"boostColumns": {
|
|
50391
|
+
"items": {
|
|
50392
|
+
"type": "string"
|
|
50393
|
+
},
|
|
50394
|
+
"type": "array"
|
|
50395
|
+
},
|
|
50396
|
+
"column": {
|
|
50397
|
+
"type": "string"
|
|
50398
|
+
},
|
|
50399
|
+
"dataPoint": {
|
|
50400
|
+
"type": "string"
|
|
50401
|
+
},
|
|
50402
|
+
"dataPoints": {
|
|
50403
|
+
"items": {
|
|
50404
|
+
"type": "string"
|
|
50405
|
+
},
|
|
50406
|
+
"type": "array"
|
|
50407
|
+
},
|
|
50408
|
+
"directionRules": {
|
|
50409
|
+
"items": {
|
|
50410
|
+
"type": "string"
|
|
50411
|
+
},
|
|
50412
|
+
"type": "array"
|
|
50413
|
+
},
|
|
50414
|
+
"entitlementKey": {
|
|
50415
|
+
"type": "string"
|
|
50416
|
+
},
|
|
50417
|
+
"examples": {
|
|
50418
|
+
"type": "number"
|
|
50419
|
+
},
|
|
50420
|
+
"function": {
|
|
50421
|
+
"type": "string"
|
|
50422
|
+
},
|
|
50423
|
+
"limit": {
|
|
50424
|
+
"type": "number"
|
|
50425
|
+
},
|
|
50426
|
+
"matchRate": {
|
|
50427
|
+
"type": "number"
|
|
50428
|
+
},
|
|
50429
|
+
"matched": {
|
|
50430
|
+
"type": "number"
|
|
50431
|
+
},
|
|
50432
|
+
"minimum": {
|
|
50433
|
+
"type": "number"
|
|
50434
|
+
},
|
|
50435
|
+
"positives": {
|
|
50436
|
+
"type": "number"
|
|
50437
|
+
},
|
|
50438
|
+
"retryAfterSeconds": {
|
|
50439
|
+
"type": "number"
|
|
50440
|
+
},
|
|
50441
|
+
"rows": {
|
|
50442
|
+
"type": "number"
|
|
50443
|
+
},
|
|
50444
|
+
"running": {
|
|
50445
|
+
"type": "number"
|
|
50446
|
+
},
|
|
50447
|
+
"suggestions": {
|
|
50448
|
+
"items": {
|
|
50449
|
+
"type": "string"
|
|
50450
|
+
},
|
|
50451
|
+
"type": "array"
|
|
50452
|
+
},
|
|
50453
|
+
"table": {
|
|
50454
|
+
"type": "string"
|
|
50455
|
+
}
|
|
50456
|
+
},
|
|
50457
|
+
"type": "object"
|
|
50458
|
+
},
|
|
50459
|
+
"error": {
|
|
50460
|
+
"type": "string"
|
|
50461
|
+
}
|
|
50462
|
+
},
|
|
50463
|
+
"required": [
|
|
50464
|
+
"error",
|
|
50465
|
+
"code"
|
|
50466
|
+
],
|
|
50467
|
+
"type": "object"
|
|
50468
|
+
},
|
|
50469
|
+
"StudioProgramList": {
|
|
50470
|
+
"properties": {
|
|
50471
|
+
"data": {
|
|
50472
|
+
"items": {
|
|
50473
|
+
"$ref": "#/components/schemas/StudioProgram"
|
|
50474
|
+
},
|
|
50475
|
+
"type": "array"
|
|
50476
|
+
}
|
|
50477
|
+
},
|
|
50478
|
+
"required": [
|
|
50479
|
+
"data"
|
|
50480
|
+
],
|
|
50481
|
+
"type": "object"
|
|
50482
|
+
},
|
|
50483
|
+
"StudioProgramPaymentRequired": {
|
|
50484
|
+
"properties": {
|
|
50485
|
+
"balance": {
|
|
50486
|
+
"type": "number"
|
|
50487
|
+
},
|
|
50488
|
+
"cost": {
|
|
50489
|
+
"type": "number"
|
|
50490
|
+
},
|
|
50491
|
+
"error": {
|
|
50492
|
+
"enum": [
|
|
50493
|
+
"payment_required"
|
|
50494
|
+
],
|
|
50495
|
+
"type": "string"
|
|
50496
|
+
},
|
|
50497
|
+
"message": {
|
|
50498
|
+
"type": "string"
|
|
50499
|
+
},
|
|
50500
|
+
"reason": {
|
|
50501
|
+
"type": "string"
|
|
50502
|
+
}
|
|
50503
|
+
},
|
|
50504
|
+
"required": [
|
|
50505
|
+
"error",
|
|
50506
|
+
"balance",
|
|
50507
|
+
"cost"
|
|
50508
|
+
],
|
|
50509
|
+
"type": "object"
|
|
50510
|
+
},
|
|
50511
|
+
"StudioProgramRun": {
|
|
50512
|
+
"properties": {
|
|
50513
|
+
"asOf": {
|
|
50514
|
+
"type": "string"
|
|
50515
|
+
},
|
|
50516
|
+
"dataThrough": {
|
|
50517
|
+
"nullable": true,
|
|
50518
|
+
"type": "string"
|
|
50519
|
+
},
|
|
50520
|
+
"delivered": {
|
|
50521
|
+
"description": "True once the tables are in your organization: query them like any table (the catalog lists them).",
|
|
50522
|
+
"type": "boolean"
|
|
50523
|
+
},
|
|
50524
|
+
"elapsedMs": {
|
|
50525
|
+
"nullable": true,
|
|
50526
|
+
"type": "number"
|
|
50527
|
+
},
|
|
50528
|
+
"error": {
|
|
50529
|
+
"nullable": true,
|
|
50530
|
+
"properties": {
|
|
50531
|
+
"code": {
|
|
50532
|
+
"type": "string"
|
|
50533
|
+
},
|
|
50534
|
+
"message": {
|
|
50535
|
+
"type": "string"
|
|
50536
|
+
}
|
|
50537
|
+
},
|
|
50538
|
+
"required": [
|
|
50539
|
+
"code",
|
|
50540
|
+
"message"
|
|
50541
|
+
],
|
|
50542
|
+
"type": "object"
|
|
50543
|
+
},
|
|
50544
|
+
"finishedAt": {
|
|
50545
|
+
"nullable": true,
|
|
50546
|
+
"type": "string"
|
|
50547
|
+
},
|
|
50548
|
+
"name": {
|
|
50549
|
+
"description": "The name you gave the result.",
|
|
50550
|
+
"type": "string"
|
|
50551
|
+
},
|
|
50552
|
+
"options": {
|
|
50553
|
+
"additionalProperties": {
|
|
50554
|
+
"nullable": true
|
|
50555
|
+
},
|
|
50556
|
+
"type": "object"
|
|
50557
|
+
},
|
|
50558
|
+
"program": {
|
|
50559
|
+
"type": "string"
|
|
50560
|
+
},
|
|
50561
|
+
"progress": {
|
|
50562
|
+
"nullable": true,
|
|
50563
|
+
"properties": {
|
|
50564
|
+
"done": {
|
|
50565
|
+
"type": "number"
|
|
50566
|
+
},
|
|
50567
|
+
"step": {
|
|
50568
|
+
"type": "string"
|
|
50569
|
+
},
|
|
50570
|
+
"total": {
|
|
50571
|
+
"type": "number"
|
|
50572
|
+
}
|
|
50573
|
+
},
|
|
50574
|
+
"required": [
|
|
50575
|
+
"step"
|
|
50576
|
+
],
|
|
50577
|
+
"type": "object"
|
|
50578
|
+
},
|
|
50579
|
+
"runId": {
|
|
50580
|
+
"type": "string"
|
|
50581
|
+
},
|
|
50582
|
+
"startedAt": {
|
|
50583
|
+
"type": "string"
|
|
50584
|
+
},
|
|
50585
|
+
"state": {
|
|
50586
|
+
"enum": [
|
|
50587
|
+
"running",
|
|
50588
|
+
"succeeded",
|
|
50589
|
+
"failed"
|
|
50590
|
+
],
|
|
50591
|
+
"type": "string"
|
|
50592
|
+
},
|
|
50593
|
+
"tables": {
|
|
50594
|
+
"items": {
|
|
50595
|
+
"properties": {
|
|
50596
|
+
"rowCount": {
|
|
50597
|
+
"nullable": true,
|
|
50598
|
+
"type": "number"
|
|
50599
|
+
},
|
|
50600
|
+
"table": {
|
|
50601
|
+
"type": "string"
|
|
50602
|
+
}
|
|
50603
|
+
},
|
|
50604
|
+
"required": [
|
|
50605
|
+
"table",
|
|
50606
|
+
"rowCount"
|
|
50607
|
+
],
|
|
50608
|
+
"type": "object"
|
|
50609
|
+
},
|
|
50610
|
+
"type": "array"
|
|
50611
|
+
},
|
|
50612
|
+
"title": {
|
|
50613
|
+
"type": "string"
|
|
50614
|
+
}
|
|
50615
|
+
},
|
|
50616
|
+
"required": [
|
|
50617
|
+
"runId",
|
|
50618
|
+
"program",
|
|
50619
|
+
"title",
|
|
50620
|
+
"name",
|
|
50621
|
+
"state",
|
|
50622
|
+
"delivered",
|
|
50623
|
+
"tables",
|
|
50624
|
+
"startedAt",
|
|
50625
|
+
"finishedAt",
|
|
50626
|
+
"elapsedMs",
|
|
50627
|
+
"asOf",
|
|
50628
|
+
"options",
|
|
50629
|
+
"dataThrough",
|
|
50630
|
+
"progress",
|
|
50631
|
+
"error"
|
|
50632
|
+
],
|
|
50633
|
+
"type": "object"
|
|
50634
|
+
},
|
|
50635
|
+
"StudioProgramRunList": {
|
|
50636
|
+
"properties": {
|
|
50637
|
+
"credits": {
|
|
50638
|
+
"$ref": "#/components/schemas/StudioProgramCredits"
|
|
50639
|
+
},
|
|
50640
|
+
"data": {
|
|
50641
|
+
"items": {
|
|
50642
|
+
"$ref": "#/components/schemas/StudioProgramRun"
|
|
50643
|
+
},
|
|
50644
|
+
"type": "array"
|
|
50645
|
+
}
|
|
50646
|
+
},
|
|
50647
|
+
"required": [
|
|
50648
|
+
"data",
|
|
50649
|
+
"credits"
|
|
50650
|
+
],
|
|
50651
|
+
"type": "object"
|
|
50652
|
+
},
|
|
50653
|
+
"StudioProgramRunRequest": {
|
|
50654
|
+
"additionalProperties": false,
|
|
50655
|
+
"properties": {
|
|
50656
|
+
"name": {
|
|
50657
|
+
"description": "What to call the result: the first table gets this name, the others this name plus their suffix (`tables[].suffix` on the program). Lower-case letters, digits and underscores, starting with a letter. A name starting with mm_, crm_, upload_ or model_ is reserved. Running again with the same name replaces your earlier result, and keeps it as `<name>__previous`.",
|
|
50658
|
+
"example": "tx_retention",
|
|
50659
|
+
"maxLength": 63,
|
|
50660
|
+
"minLength": 1,
|
|
50661
|
+
"type": "string"
|
|
50662
|
+
},
|
|
50663
|
+
"options": {
|
|
50664
|
+
"additionalProperties": {
|
|
50665
|
+
"nullable": true
|
|
50666
|
+
},
|
|
50667
|
+
"description": "Values for the program's switches (`options` on the program), for example `{ \"states\": [\"TX\"] }`. Only the switches the program lists; anything else is refused with 400. Left out: every switch's default.",
|
|
50668
|
+
"type": "object"
|
|
50669
|
+
}
|
|
50670
|
+
},
|
|
50671
|
+
"required": [
|
|
50672
|
+
"name"
|
|
50673
|
+
],
|
|
50674
|
+
"type": "object"
|
|
50675
|
+
},
|
|
50676
|
+
"StudioProgramRunResult": {
|
|
50677
|
+
"properties": {
|
|
50678
|
+
"credits": {
|
|
50679
|
+
"$ref": "#/components/schemas/StudioProgramCredits"
|
|
50680
|
+
},
|
|
50681
|
+
"data": {
|
|
50682
|
+
"$ref": "#/components/schemas/StudioProgramRun"
|
|
50683
|
+
}
|
|
50684
|
+
},
|
|
50685
|
+
"required": [
|
|
50686
|
+
"data",
|
|
50687
|
+
"credits"
|
|
50688
|
+
],
|
|
50689
|
+
"type": "object"
|
|
50690
|
+
},
|
|
50273
50691
|
"StudioPublishedModel": {
|
|
50274
50692
|
"properties": {
|
|
50275
50693
|
"asOf": {
|
|
@@ -51977,7 +52395,7 @@
|
|
|
51977
52395
|
"info": {
|
|
51978
52396
|
"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.",
|
|
51979
52397
|
"title": "ModelMatch API",
|
|
51980
|
-
"version": "3.
|
|
52398
|
+
"version": "3.172.0"
|
|
51981
52399
|
},
|
|
51982
52400
|
"openapi": "3.1.0",
|
|
51983
52401
|
"paths": {
|
|
@@ -91878,34 +92296,608 @@
|
|
|
91878
92296
|
"description": "`models_unavailable` — training is switched off right now (reading models and querying published scores still work); `studio_unavailable` — try again in a minute. `billing_unavailable` — the model is finished but could not be charged for right now, so it is not published yet; read it again in a minute (it is never charged twice)."
|
|
91879
92297
|
}
|
|
91880
92298
|
},
|
|
91881
|
-
"summary": "Your organization's models",
|
|
92299
|
+
"summary": "Your organization's models",
|
|
92300
|
+
"tags": [
|
|
92301
|
+
"Studio"
|
|
92302
|
+
]
|
|
92303
|
+
},
|
|
92304
|
+
"post": {
|
|
92305
|
+
"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. Data points marked `needsFairLendingReview` describe the neighborhood and need neighborhood data enabled for the organization (`neighborhoodDataAllowed` on getStudioModelOptions): without it a model that uses them — including one that leaves `features` out, which means every data point — is refused with `403 entitlement_missing`, naming them in `details.dataPoints`; so is a priority boost on ZIP code or city, or a direction rule on a place (`details.boostColumns`, `details.directionRules`); tell the person to ask their ModelMatch admin, or pick other data points. `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. Neighborhood data points, boosts or directions it carries need neighborhood data enabled like your own (or override `features` / `boosts` to leave them out). 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`). 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.",
|
|
92306
|
+
"operationId": "createStudioModel",
|
|
92307
|
+
"requestBody": {
|
|
92308
|
+
"content": {
|
|
92309
|
+
"application/json": {
|
|
92310
|
+
"schema": {
|
|
92311
|
+
"$ref": "#/components/schemas/StudioModelCreate"
|
|
92312
|
+
}
|
|
92313
|
+
}
|
|
92314
|
+
},
|
|
92315
|
+
"required": true
|
|
92316
|
+
},
|
|
92317
|
+
"responses": {
|
|
92318
|
+
"201": {
|
|
92319
|
+
"content": {
|
|
92320
|
+
"application/json": {
|
|
92321
|
+
"schema": {
|
|
92322
|
+
"$ref": "#/components/schemas/StudioModelCreated"
|
|
92323
|
+
}
|
|
92324
|
+
}
|
|
92325
|
+
},
|
|
92326
|
+
"description": "Training has started"
|
|
92327
|
+
},
|
|
92328
|
+
"400": {
|
|
92329
|
+
"content": {
|
|
92330
|
+
"application/json": {
|
|
92331
|
+
"schema": {
|
|
92332
|
+
"$ref": "#/components/schemas/StudioModelError"
|
|
92333
|
+
}
|
|
92334
|
+
}
|
|
92335
|
+
},
|
|
92336
|
+
"description": "The request cannot be used: it is malformed, names an outcome or data point we do not have, or asks for a data point that could show the model the answer. `error` says which and what to use instead."
|
|
92337
|
+
},
|
|
92338
|
+
"401": {
|
|
92339
|
+
"content": {
|
|
92340
|
+
"application/json": {
|
|
92341
|
+
"schema": {
|
|
92342
|
+
"$ref": "#/components/schemas/StudioModelError"
|
|
92343
|
+
}
|
|
92344
|
+
}
|
|
92345
|
+
},
|
|
92346
|
+
"description": "`unauthenticated` — sign in, or send a valid credential."
|
|
92347
|
+
},
|
|
92348
|
+
"403": {
|
|
92349
|
+
"content": {
|
|
92350
|
+
"application/json": {
|
|
92351
|
+
"schema": {
|
|
92352
|
+
"$ref": "#/components/schemas/StudioModelError"
|
|
92353
|
+
}
|
|
92354
|
+
}
|
|
92355
|
+
},
|
|
92356
|
+
"description": "`no_organization` — models belong to an organization; select one and try again. `entitlement_missing` (creating or retraining a model) — the model uses neighborhood data points, or a priority boost or direction rule on where a home is (ZIP code, city, county…), which need a fair-lending review: ask your ModelMatch admin to enable neighborhood data, or leave them out. `details.dataPoints`, `details.boostColumns` and `details.directionRules` name them and `details.entitlementKey` what to enable. Refreshing the scores of an existing model is not affected."
|
|
92357
|
+
},
|
|
92358
|
+
"404": {
|
|
92359
|
+
"content": {
|
|
92360
|
+
"application/json": {
|
|
92361
|
+
"schema": {
|
|
92362
|
+
"$ref": "#/components/schemas/StudioModelError"
|
|
92363
|
+
}
|
|
92364
|
+
}
|
|
92365
|
+
},
|
|
92366
|
+
"description": "`model_not_found` — your organization has no model of that name. `published_model_not_found` — `basedOnPublished` names no model ModelMatch publishes."
|
|
92367
|
+
},
|
|
92368
|
+
"409": {
|
|
92369
|
+
"content": {
|
|
92370
|
+
"application/json": {
|
|
92371
|
+
"schema": {
|
|
92372
|
+
"$ref": "#/components/schemas/StudioModelError"
|
|
92373
|
+
}
|
|
92374
|
+
}
|
|
92375
|
+
},
|
|
92376
|
+
"description": "`model_exists` — the name is taken (pass `replace: true` for a new version); `model_limit_reached` — your organization is at its limit of models; `model_training_in_progress` — this model is already running (a model runs once at a time), or your organization already has as many models running as it may (`details.running` of `details.limit`, 3 by default): try again when one has finished; `model_not_ready` — the model has no trained version to refresh."
|
|
92377
|
+
},
|
|
92378
|
+
"422": {
|
|
92379
|
+
"content": {
|
|
92380
|
+
"application/json": {
|
|
92381
|
+
"schema": {
|
|
92382
|
+
"$ref": "#/components/schemas/StudioModelError"
|
|
92383
|
+
}
|
|
92384
|
+
}
|
|
92385
|
+
},
|
|
92386
|
+
"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."
|
|
92387
|
+
},
|
|
92388
|
+
"429": {
|
|
92389
|
+
"content": {
|
|
92390
|
+
"application/json": {
|
|
92391
|
+
"schema": {
|
|
92392
|
+
"$ref": "#/components/schemas/StudioModelError"
|
|
92393
|
+
}
|
|
92394
|
+
}
|
|
92395
|
+
},
|
|
92396
|
+
"description": "`rate_limited` — too many model requests from your organization in the last minute; or `busy` — every training slot across all organizations is taken; try again later. Wait `details.retryAfterSeconds` (also sent as `Retry-After`)."
|
|
92397
|
+
},
|
|
92398
|
+
"502": {
|
|
92399
|
+
"content": {
|
|
92400
|
+
"application/json": {
|
|
92401
|
+
"schema": {
|
|
92402
|
+
"$ref": "#/components/schemas/StudioModelError"
|
|
92403
|
+
}
|
|
92404
|
+
}
|
|
92405
|
+
},
|
|
92406
|
+
"description": "`entitlement_unavailable` — whether your organization can train on neighborhood data could not be confirmed right now; nothing was started. Try again in a minute."
|
|
92407
|
+
},
|
|
92408
|
+
"503": {
|
|
92409
|
+
"content": {
|
|
92410
|
+
"application/json": {
|
|
92411
|
+
"schema": {
|
|
92412
|
+
"$ref": "#/components/schemas/StudioModelError"
|
|
92413
|
+
}
|
|
92414
|
+
}
|
|
92415
|
+
},
|
|
92416
|
+
"description": "`models_unavailable` — training is switched off right now (reading models and querying published scores still work); `studio_unavailable` — try again in a minute. `billing_unavailable` — the model is finished but could not be charged for right now, so it is not published yet; read it again in a minute (it is never charged twice)."
|
|
92417
|
+
}
|
|
92418
|
+
},
|
|
92419
|
+
"summary": "Create a prediction model and start training it",
|
|
92420
|
+
"tags": [
|
|
92421
|
+
"Studio"
|
|
92422
|
+
]
|
|
92423
|
+
}
|
|
92424
|
+
},
|
|
92425
|
+
"/v1/studio/models/options": {
|
|
92426
|
+
"get": {
|
|
92427
|
+
"description": "Everything needed to define a model: the outcomes that can be predicted, who can be scored (`populations`), the data points a model may use, grouped by theme, each with a line on why someone might believe it matters, the limits, what a table of your own outcomes must contain, and how long a model takes for each state (`trainingTime`: a range of minutes, an estimate). Call this first, show the themes, and ASK which data points the person believes matter: a model is trained on exactly their picks, and its report card tests that belief. Free.",
|
|
92428
|
+
"operationId": "getStudioModelOptions",
|
|
92429
|
+
"responses": {
|
|
92430
|
+
"200": {
|
|
92431
|
+
"content": {
|
|
92432
|
+
"application/json": {
|
|
92433
|
+
"schema": {
|
|
92434
|
+
"$ref": "#/components/schemas/StudioModelOptionsResult"
|
|
92435
|
+
}
|
|
92436
|
+
}
|
|
92437
|
+
},
|
|
92438
|
+
"description": "The choices"
|
|
92439
|
+
},
|
|
92440
|
+
"400": {
|
|
92441
|
+
"content": {
|
|
92442
|
+
"application/json": {
|
|
92443
|
+
"schema": {
|
|
92444
|
+
"$ref": "#/components/schemas/StudioModelError"
|
|
92445
|
+
}
|
|
92446
|
+
}
|
|
92447
|
+
},
|
|
92448
|
+
"description": "The request cannot be used: it is malformed, names an outcome or data point we do not have, or asks for a data point that could show the model the answer. `error` says which and what to use instead."
|
|
92449
|
+
},
|
|
92450
|
+
"401": {
|
|
92451
|
+
"content": {
|
|
92452
|
+
"application/json": {
|
|
92453
|
+
"schema": {
|
|
92454
|
+
"$ref": "#/components/schemas/StudioModelError"
|
|
92455
|
+
}
|
|
92456
|
+
}
|
|
92457
|
+
},
|
|
92458
|
+
"description": "`unauthenticated` — sign in, or send a valid credential."
|
|
92459
|
+
},
|
|
92460
|
+
"403": {
|
|
92461
|
+
"content": {
|
|
92462
|
+
"application/json": {
|
|
92463
|
+
"schema": {
|
|
92464
|
+
"$ref": "#/components/schemas/StudioModelError"
|
|
92465
|
+
}
|
|
92466
|
+
}
|
|
92467
|
+
},
|
|
92468
|
+
"description": "`no_organization` — models belong to an organization; select one and try again. `entitlement_missing` (creating or retraining a model) — the model uses neighborhood data points, or a priority boost or direction rule on where a home is (ZIP code, city, county…), which need a fair-lending review: ask your ModelMatch admin to enable neighborhood data, or leave them out. `details.dataPoints`, `details.boostColumns` and `details.directionRules` name them and `details.entitlementKey` what to enable. Refreshing the scores of an existing model is not affected."
|
|
92469
|
+
},
|
|
92470
|
+
"404": {
|
|
92471
|
+
"content": {
|
|
92472
|
+
"application/json": {
|
|
92473
|
+
"schema": {
|
|
92474
|
+
"$ref": "#/components/schemas/StudioModelError"
|
|
92475
|
+
}
|
|
92476
|
+
}
|
|
92477
|
+
},
|
|
92478
|
+
"description": "`model_not_found` — your organization has no model of that name. `published_model_not_found` — `basedOnPublished` names no model ModelMatch publishes."
|
|
92479
|
+
},
|
|
92480
|
+
"409": {
|
|
92481
|
+
"content": {
|
|
92482
|
+
"application/json": {
|
|
92483
|
+
"schema": {
|
|
92484
|
+
"$ref": "#/components/schemas/StudioModelError"
|
|
92485
|
+
}
|
|
92486
|
+
}
|
|
92487
|
+
},
|
|
92488
|
+
"description": "`model_exists` — the name is taken (pass `replace: true` for a new version); `model_limit_reached` — your organization is at its limit of models; `model_training_in_progress` — this model is already running (a model runs once at a time), or your organization already has as many models running as it may (`details.running` of `details.limit`, 3 by default): try again when one has finished; `model_not_ready` — the model has no trained version to refresh."
|
|
92489
|
+
},
|
|
92490
|
+
"422": {
|
|
92491
|
+
"content": {
|
|
92492
|
+
"application/json": {
|
|
92493
|
+
"schema": {
|
|
92494
|
+
"$ref": "#/components/schemas/StudioModelError"
|
|
92495
|
+
}
|
|
92496
|
+
}
|
|
92497
|
+
},
|
|
92498
|
+
"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."
|
|
92499
|
+
},
|
|
92500
|
+
"429": {
|
|
92501
|
+
"content": {
|
|
92502
|
+
"application/json": {
|
|
92503
|
+
"schema": {
|
|
92504
|
+
"$ref": "#/components/schemas/StudioModelError"
|
|
92505
|
+
}
|
|
92506
|
+
}
|
|
92507
|
+
},
|
|
92508
|
+
"description": "`rate_limited` — too many model requests from your organization in the last minute; or `busy` — every training slot across all organizations is taken; try again later. Wait `details.retryAfterSeconds` (also sent as `Retry-After`)."
|
|
92509
|
+
},
|
|
92510
|
+
"503": {
|
|
92511
|
+
"content": {
|
|
92512
|
+
"application/json": {
|
|
92513
|
+
"schema": {
|
|
92514
|
+
"$ref": "#/components/schemas/StudioModelError"
|
|
92515
|
+
}
|
|
92516
|
+
}
|
|
92517
|
+
},
|
|
92518
|
+
"description": "`models_unavailable` — training is switched off right now (reading models and querying published scores still work); `studio_unavailable` — try again in a minute. `billing_unavailable` — the model is finished but could not be charged for right now, so it is not published yet; read it again in a minute (it is never charged twice)."
|
|
92519
|
+
}
|
|
92520
|
+
},
|
|
92521
|
+
"summary": "What a prediction model can be built from",
|
|
92522
|
+
"tags": [
|
|
92523
|
+
"Studio"
|
|
92524
|
+
]
|
|
92525
|
+
}
|
|
92526
|
+
},
|
|
92527
|
+
"/v1/studio/models/published/{table}": {
|
|
92528
|
+
"get": {
|
|
92529
|
+
"description": "The report card of a prediction model ModelMatch trains and publishes for every organization; its scores are the published table `table`. If `hasCaution` is true, say `caution` FIRST: the model fell behind the best simple rule in part of the test period while staying better than random. Then: what it predicts (`predicts`), the `headline` as written, what it learned from and was tested on (`learnedFrom.sentence`), the lift sentences (`metrics.top10`, `metrics.top1`), the three `metrics.checks`, the data points that mattered (`dataPoints.used`, strongest first, with how much the model leaned on each — not how much it causes the outcome) and the ones it barely used (`dataPoints.rejected`), and the `caveats`. Never promise accuracy, and never call a score a probability unless `metrics.calibrated` is true. Free.",
|
|
92530
|
+
"operationId": "getStudioPublishedModel",
|
|
92531
|
+
"parameters": [
|
|
92532
|
+
{
|
|
92533
|
+
"description": "Its `mm_model_*` table.",
|
|
92534
|
+
"in": "path",
|
|
92535
|
+
"name": "table",
|
|
92536
|
+
"required": true,
|
|
92537
|
+
"schema": {
|
|
92538
|
+
"description": "Its `mm_model_*` table.",
|
|
92539
|
+
"example": "mm_model_refi_watch",
|
|
92540
|
+
"pattern": "^mm_[a-z][a-z0-9_]{1,58}$",
|
|
92541
|
+
"type": "string"
|
|
92542
|
+
}
|
|
92543
|
+
}
|
|
92544
|
+
],
|
|
92545
|
+
"responses": {
|
|
92546
|
+
"200": {
|
|
92547
|
+
"content": {
|
|
92548
|
+
"application/json": {
|
|
92549
|
+
"schema": {
|
|
92550
|
+
"$ref": "#/components/schemas/StudioPublishedModelResult"
|
|
92551
|
+
}
|
|
92552
|
+
}
|
|
92553
|
+
},
|
|
92554
|
+
"description": "The report card"
|
|
92555
|
+
},
|
|
92556
|
+
"400": {
|
|
92557
|
+
"content": {
|
|
92558
|
+
"application/json": {
|
|
92559
|
+
"schema": {
|
|
92560
|
+
"$ref": "#/components/schemas/StudioError"
|
|
92561
|
+
}
|
|
92562
|
+
}
|
|
92563
|
+
},
|
|
92564
|
+
"description": "`invalid_request` — not a published table's name."
|
|
92565
|
+
},
|
|
92566
|
+
"401": {
|
|
92567
|
+
"content": {
|
|
92568
|
+
"application/json": {
|
|
92569
|
+
"schema": {
|
|
92570
|
+
"$ref": "#/components/schemas/StudioError"
|
|
92571
|
+
}
|
|
92572
|
+
}
|
|
92573
|
+
},
|
|
92574
|
+
"description": "`unauthenticated` — sign in, or send a valid credential."
|
|
92575
|
+
},
|
|
92576
|
+
"403": {
|
|
92577
|
+
"content": {
|
|
92578
|
+
"application/json": {
|
|
92579
|
+
"schema": {
|
|
92580
|
+
"$ref": "#/components/schemas/StudioError"
|
|
92581
|
+
}
|
|
92582
|
+
}
|
|
92583
|
+
},
|
|
92584
|
+
"description": "`no_organization` — select an organization; `studio_not_enabled` — Studio is not enabled for this account."
|
|
92585
|
+
},
|
|
92586
|
+
"404": {
|
|
92587
|
+
"content": {
|
|
92588
|
+
"application/json": {
|
|
92589
|
+
"schema": {
|
|
92590
|
+
"$ref": "#/components/schemas/StudioError"
|
|
92591
|
+
}
|
|
92592
|
+
}
|
|
92593
|
+
},
|
|
92594
|
+
"description": "`published_model_not_found` — no model of that name is published. The catalog lists what is."
|
|
92595
|
+
},
|
|
92596
|
+
"409": {
|
|
92597
|
+
"content": {
|
|
92598
|
+
"application/json": {
|
|
92599
|
+
"schema": {
|
|
92600
|
+
"$ref": "#/components/schemas/StudioError"
|
|
92601
|
+
}
|
|
92602
|
+
}
|
|
92603
|
+
},
|
|
92604
|
+
"description": "`published_unavailable` — published tables are switched off right now."
|
|
92605
|
+
},
|
|
92606
|
+
"503": {
|
|
92607
|
+
"content": {
|
|
92608
|
+
"application/json": {
|
|
92609
|
+
"schema": {
|
|
92610
|
+
"$ref": "#/components/schemas/StudioError"
|
|
92611
|
+
}
|
|
92612
|
+
}
|
|
92613
|
+
},
|
|
92614
|
+
"description": "`studio_unavailable` — try again in a minute."
|
|
92615
|
+
}
|
|
92616
|
+
},
|
|
92617
|
+
"summary": "A model ModelMatch publishes: its report card",
|
|
92618
|
+
"tags": [
|
|
92619
|
+
"Studio"
|
|
92620
|
+
]
|
|
92621
|
+
}
|
|
92622
|
+
},
|
|
92623
|
+
"/v1/studio/models/{name}": {
|
|
92624
|
+
"delete": {
|
|
92625
|
+
"description": "Delete a model: the trained model, its report card and its scores table. The table leaves the catalog at once, and questions and jobs that read it stop working. A run in progress is stopped. This cannot be undone. Free.",
|
|
92626
|
+
"operationId": "deleteStudioModel",
|
|
92627
|
+
"parameters": [
|
|
92628
|
+
{
|
|
92629
|
+
"description": "The model's name: 3 to 40 lower-case letters, digits and underscores, starting with a letter. Its scores are the table `model_<name>`.",
|
|
92630
|
+
"in": "path",
|
|
92631
|
+
"name": "name",
|
|
92632
|
+
"required": true,
|
|
92633
|
+
"schema": {
|
|
92634
|
+
"description": "The model's name: 3 to 40 lower-case letters, digits and underscores, starting with a letter. Its scores are the table `model_<name>`.",
|
|
92635
|
+
"example": "refi_watch",
|
|
92636
|
+
"pattern": "^[a-z][a-z0-9_]{2,39}$",
|
|
92637
|
+
"type": "string"
|
|
92638
|
+
}
|
|
92639
|
+
}
|
|
92640
|
+
],
|
|
92641
|
+
"responses": {
|
|
92642
|
+
"200": {
|
|
92643
|
+
"content": {
|
|
92644
|
+
"application/json": {
|
|
92645
|
+
"schema": {
|
|
92646
|
+
"$ref": "#/components/schemas/StudioModelDeleted"
|
|
92647
|
+
}
|
|
92648
|
+
}
|
|
92649
|
+
},
|
|
92650
|
+
"description": "Deleted"
|
|
92651
|
+
},
|
|
92652
|
+
"400": {
|
|
92653
|
+
"content": {
|
|
92654
|
+
"application/json": {
|
|
92655
|
+
"schema": {
|
|
92656
|
+
"$ref": "#/components/schemas/StudioModelError"
|
|
92657
|
+
}
|
|
92658
|
+
}
|
|
92659
|
+
},
|
|
92660
|
+
"description": "The request cannot be used: it is malformed, names an outcome or data point we do not have, or asks for a data point that could show the model the answer. `error` says which and what to use instead."
|
|
92661
|
+
},
|
|
92662
|
+
"401": {
|
|
92663
|
+
"content": {
|
|
92664
|
+
"application/json": {
|
|
92665
|
+
"schema": {
|
|
92666
|
+
"$ref": "#/components/schemas/StudioModelError"
|
|
92667
|
+
}
|
|
92668
|
+
}
|
|
92669
|
+
},
|
|
92670
|
+
"description": "`unauthenticated` — sign in, or send a valid credential."
|
|
92671
|
+
},
|
|
92672
|
+
"403": {
|
|
92673
|
+
"content": {
|
|
92674
|
+
"application/json": {
|
|
92675
|
+
"schema": {
|
|
92676
|
+
"$ref": "#/components/schemas/StudioModelError"
|
|
92677
|
+
}
|
|
92678
|
+
}
|
|
92679
|
+
},
|
|
92680
|
+
"description": "`no_organization` — models belong to an organization; select one and try again. `entitlement_missing` (creating or retraining a model) — the model uses neighborhood data points, or a priority boost or direction rule on where a home is (ZIP code, city, county…), which need a fair-lending review: ask your ModelMatch admin to enable neighborhood data, or leave them out. `details.dataPoints`, `details.boostColumns` and `details.directionRules` name them and `details.entitlementKey` what to enable. Refreshing the scores of an existing model is not affected."
|
|
92681
|
+
},
|
|
92682
|
+
"404": {
|
|
92683
|
+
"content": {
|
|
92684
|
+
"application/json": {
|
|
92685
|
+
"schema": {
|
|
92686
|
+
"$ref": "#/components/schemas/StudioModelError"
|
|
92687
|
+
}
|
|
92688
|
+
}
|
|
92689
|
+
},
|
|
92690
|
+
"description": "`model_not_found` — your organization has no model of that name. `published_model_not_found` — `basedOnPublished` names no model ModelMatch publishes."
|
|
92691
|
+
},
|
|
92692
|
+
"409": {
|
|
92693
|
+
"content": {
|
|
92694
|
+
"application/json": {
|
|
92695
|
+
"schema": {
|
|
92696
|
+
"$ref": "#/components/schemas/StudioModelError"
|
|
92697
|
+
}
|
|
92698
|
+
}
|
|
92699
|
+
},
|
|
92700
|
+
"description": "`model_exists` — the name is taken (pass `replace: true` for a new version); `model_limit_reached` — your organization is at its limit of models; `model_training_in_progress` — this model is already running (a model runs once at a time), or your organization already has as many models running as it may (`details.running` of `details.limit`, 3 by default): try again when one has finished; `model_not_ready` — the model has no trained version to refresh."
|
|
92701
|
+
},
|
|
92702
|
+
"422": {
|
|
92703
|
+
"content": {
|
|
92704
|
+
"application/json": {
|
|
92705
|
+
"schema": {
|
|
92706
|
+
"$ref": "#/components/schemas/StudioModelError"
|
|
92707
|
+
}
|
|
92708
|
+
}
|
|
92709
|
+
},
|
|
92710
|
+
"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."
|
|
92711
|
+
},
|
|
92712
|
+
"429": {
|
|
92713
|
+
"content": {
|
|
92714
|
+
"application/json": {
|
|
92715
|
+
"schema": {
|
|
92716
|
+
"$ref": "#/components/schemas/StudioModelError"
|
|
92717
|
+
}
|
|
92718
|
+
}
|
|
92719
|
+
},
|
|
92720
|
+
"description": "`rate_limited` — too many model requests from your organization in the last minute; or `busy` — every training slot across all organizations is taken; try again later. Wait `details.retryAfterSeconds` (also sent as `Retry-After`)."
|
|
92721
|
+
},
|
|
92722
|
+
"503": {
|
|
92723
|
+
"content": {
|
|
92724
|
+
"application/json": {
|
|
92725
|
+
"schema": {
|
|
92726
|
+
"$ref": "#/components/schemas/StudioModelError"
|
|
92727
|
+
}
|
|
92728
|
+
}
|
|
92729
|
+
},
|
|
92730
|
+
"description": "`models_unavailable` — training is switched off right now (reading models and querying published scores still work); `studio_unavailable` — try again in a minute. `billing_unavailable` — the model is finished but could not be charged for right now, so it is not published yet; read it again in a minute (it is never charged twice)."
|
|
92731
|
+
}
|
|
92732
|
+
},
|
|
92733
|
+
"summary": "Delete a model, its report card and its scores, permanently",
|
|
92734
|
+
"tags": [
|
|
92735
|
+
"Studio"
|
|
92736
|
+
]
|
|
92737
|
+
},
|
|
92738
|
+
"get": {
|
|
92739
|
+
"description": "The model and, once training has finished, its report card (`card`). While it trains, `progress` says which numbered step it is on, how long it has been and how long is left (an estimate, as a range). Read the card as it is written, using its sentences and labels: fields named `id`, `code`, `verdict`, `better`, and everything under `technical`, are for programs and are never shown to a person. It says how many past cases the model learned from and was tested on; the lift (`in the top 10% of the list, X of every 100 had the outcome, against Y at random and Z for the best simple rule`); three checks, each passed or not; how much each chosen data point mattered; how the person's picks compare with using every data point; and the caveats. Never promise accuracy, and never call a score a probability unless `card.calibration.calibrated` is true (then each home's estimated chance is an estimate from past cases). `status: refused` means the model is not dependable enough to publish: `card.refusal.reason` says why and `card.refusal.whatWouldHelp` what to try; a refused model has no scores. When `scores` is not null, query `scores.table` with runStudioQuery: one row per home with `rank`, `percentile`, `score`, `topReason`, the home's `city` and `zipCode` (select those and leave `streetAddress` out to show the list without street addresses), and `propertyId` to join to `loans` and `sales`. Reading is free. 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. 10 credits for refreshed scores, charged once, the same way (a scheduled refresh too). The charge is reported in `credits`.",
|
|
92740
|
+
"operationId": "getStudioModel",
|
|
92741
|
+
"parameters": [
|
|
92742
|
+
{
|
|
92743
|
+
"description": "The model's name: 3 to 40 lower-case letters, digits and underscores, starting with a letter. Its scores are the table `model_<name>`.",
|
|
92744
|
+
"in": "path",
|
|
92745
|
+
"name": "name",
|
|
92746
|
+
"required": true,
|
|
92747
|
+
"schema": {
|
|
92748
|
+
"description": "The model's name: 3 to 40 lower-case letters, digits and underscores, starting with a letter. Its scores are the table `model_<name>`.",
|
|
92749
|
+
"example": "refi_watch",
|
|
92750
|
+
"pattern": "^[a-z][a-z0-9_]{2,39}$",
|
|
92751
|
+
"type": "string"
|
|
92752
|
+
}
|
|
92753
|
+
}
|
|
92754
|
+
],
|
|
92755
|
+
"responses": {
|
|
92756
|
+
"200": {
|
|
92757
|
+
"content": {
|
|
92758
|
+
"application/json": {
|
|
92759
|
+
"schema": {
|
|
92760
|
+
"$ref": "#/components/schemas/StudioModelResult"
|
|
92761
|
+
}
|
|
92762
|
+
}
|
|
92763
|
+
},
|
|
92764
|
+
"description": "The model"
|
|
92765
|
+
},
|
|
92766
|
+
"400": {
|
|
92767
|
+
"content": {
|
|
92768
|
+
"application/json": {
|
|
92769
|
+
"schema": {
|
|
92770
|
+
"$ref": "#/components/schemas/StudioModelError"
|
|
92771
|
+
}
|
|
92772
|
+
}
|
|
92773
|
+
},
|
|
92774
|
+
"description": "The request cannot be used: it is malformed, names an outcome or data point we do not have, or asks for a data point that could show the model the answer. `error` says which and what to use instead."
|
|
92775
|
+
},
|
|
92776
|
+
"401": {
|
|
92777
|
+
"content": {
|
|
92778
|
+
"application/json": {
|
|
92779
|
+
"schema": {
|
|
92780
|
+
"$ref": "#/components/schemas/StudioModelError"
|
|
92781
|
+
}
|
|
92782
|
+
}
|
|
92783
|
+
},
|
|
92784
|
+
"description": "`unauthenticated` — sign in, or send a valid credential."
|
|
92785
|
+
},
|
|
92786
|
+
"402": {
|
|
92787
|
+
"content": {
|
|
92788
|
+
"application/json": {
|
|
92789
|
+
"schema": {
|
|
92790
|
+
"$ref": "#/components/schemas/StudioModelPaymentRequired"
|
|
92791
|
+
}
|
|
92792
|
+
}
|
|
92793
|
+
},
|
|
92794
|
+
"description": "The model finished and is waiting to be published, but your organization does not have the credits for it. Nothing was charged. Add credits and read the model again: it does not need to be trained again."
|
|
92795
|
+
},
|
|
92796
|
+
"403": {
|
|
92797
|
+
"content": {
|
|
92798
|
+
"application/json": {
|
|
92799
|
+
"schema": {
|
|
92800
|
+
"$ref": "#/components/schemas/StudioModelError"
|
|
92801
|
+
}
|
|
92802
|
+
}
|
|
92803
|
+
},
|
|
92804
|
+
"description": "`no_organization` — models belong to an organization; select one and try again. `entitlement_missing` (creating or retraining a model) — the model uses neighborhood data points, or a priority boost or direction rule on where a home is (ZIP code, city, county…), which need a fair-lending review: ask your ModelMatch admin to enable neighborhood data, or leave them out. `details.dataPoints`, `details.boostColumns` and `details.directionRules` name them and `details.entitlementKey` what to enable. Refreshing the scores of an existing model is not affected."
|
|
92805
|
+
},
|
|
92806
|
+
"404": {
|
|
92807
|
+
"content": {
|
|
92808
|
+
"application/json": {
|
|
92809
|
+
"schema": {
|
|
92810
|
+
"$ref": "#/components/schemas/StudioModelError"
|
|
92811
|
+
}
|
|
92812
|
+
}
|
|
92813
|
+
},
|
|
92814
|
+
"description": "`model_not_found` — your organization has no model of that name. `published_model_not_found` — `basedOnPublished` names no model ModelMatch publishes."
|
|
92815
|
+
},
|
|
92816
|
+
"409": {
|
|
92817
|
+
"content": {
|
|
92818
|
+
"application/json": {
|
|
92819
|
+
"schema": {
|
|
92820
|
+
"$ref": "#/components/schemas/StudioModelError"
|
|
92821
|
+
}
|
|
92822
|
+
}
|
|
92823
|
+
},
|
|
92824
|
+
"description": "`model_exists` — the name is taken (pass `replace: true` for a new version); `model_limit_reached` — your organization is at its limit of models; `model_training_in_progress` — this model is already running (a model runs once at a time), or your organization already has as many models running as it may (`details.running` of `details.limit`, 3 by default): try again when one has finished; `model_not_ready` — the model has no trained version to refresh."
|
|
92825
|
+
},
|
|
92826
|
+
"422": {
|
|
92827
|
+
"content": {
|
|
92828
|
+
"application/json": {
|
|
92829
|
+
"schema": {
|
|
92830
|
+
"$ref": "#/components/schemas/StudioModelError"
|
|
92831
|
+
}
|
|
92832
|
+
}
|
|
92833
|
+
},
|
|
92834
|
+
"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."
|
|
92835
|
+
},
|
|
92836
|
+
"429": {
|
|
92837
|
+
"content": {
|
|
92838
|
+
"application/json": {
|
|
92839
|
+
"schema": {
|
|
92840
|
+
"$ref": "#/components/schemas/StudioModelError"
|
|
92841
|
+
}
|
|
92842
|
+
}
|
|
92843
|
+
},
|
|
92844
|
+
"description": "`rate_limited` — too many model requests from your organization in the last minute; or `busy` — every training slot across all organizations is taken; try again later. Wait `details.retryAfterSeconds` (also sent as `Retry-After`)."
|
|
92845
|
+
},
|
|
92846
|
+
"503": {
|
|
92847
|
+
"content": {
|
|
92848
|
+
"application/json": {
|
|
92849
|
+
"schema": {
|
|
92850
|
+
"$ref": "#/components/schemas/StudioModelError"
|
|
92851
|
+
}
|
|
92852
|
+
}
|
|
92853
|
+
},
|
|
92854
|
+
"description": "`models_unavailable` — training is switched off right now (reading models and querying published scores still work); `studio_unavailable` — try again in a minute. `billing_unavailable` — the model is finished but could not be charged for right now, so it is not published yet; read it again in a minute (it is never charged twice)."
|
|
92855
|
+
}
|
|
92856
|
+
},
|
|
92857
|
+
"summary": "A model: its status and its report card",
|
|
91882
92858
|
"tags": [
|
|
91883
92859
|
"Studio"
|
|
91884
92860
|
]
|
|
91885
|
-
}
|
|
92861
|
+
}
|
|
92862
|
+
},
|
|
92863
|
+
"/v1/studio/models/{name}/refresh": {
|
|
91886
92864
|
"post": {
|
|
91887
|
-
"description": "
|
|
91888
|
-
"operationId": "
|
|
92865
|
+
"description": "Score the model's population again as of today, with the trained model as it is. The current scores stay queryable until the new ones are ready; read the model with getStudioModel to see when (`refresh` goes back to null and `scores.asOf` moves); `expectedMinutes` says how long it is expected to take, and `progress` which step it is on. Pass `retrain: true` to also train it again on the latest data (the same data points, a fresh report card; if it no longer passes its checks it becomes `refused` and its scores are taken down). A retrain of a model that uses neighborhood data points needs neighborhood data enabled for the organization, like creating one (`403 entitlement_missing` otherwise); a plain refresh of the scores does not. While it retrains the model stays `ready` with its current `card` and scores, and `progress` shows the training exactly as for a new model — the numbered step, the time left and the live `progress.trace`; the new card (with its final `trace`) replaces the current one when the run is published. A model with a `weekly` or `monthly` schedule is refreshed on its own. 10 credits for refreshed scores, charged once, the same way (a scheduled refresh too). 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.",
|
|
92866
|
+
"operationId": "refreshStudioModel",
|
|
92867
|
+
"parameters": [
|
|
92868
|
+
{
|
|
92869
|
+
"description": "The model's name: 3 to 40 lower-case letters, digits and underscores, starting with a letter. Its scores are the table `model_<name>`.",
|
|
92870
|
+
"in": "path",
|
|
92871
|
+
"name": "name",
|
|
92872
|
+
"required": true,
|
|
92873
|
+
"schema": {
|
|
92874
|
+
"description": "The model's name: 3 to 40 lower-case letters, digits and underscores, starting with a letter. Its scores are the table `model_<name>`.",
|
|
92875
|
+
"example": "refi_watch",
|
|
92876
|
+
"pattern": "^[a-z][a-z0-9_]{2,39}$",
|
|
92877
|
+
"type": "string"
|
|
92878
|
+
}
|
|
92879
|
+
}
|
|
92880
|
+
],
|
|
91889
92881
|
"requestBody": {
|
|
91890
92882
|
"content": {
|
|
91891
92883
|
"application/json": {
|
|
91892
92884
|
"schema": {
|
|
91893
|
-
"$ref": "#/components/schemas/
|
|
92885
|
+
"$ref": "#/components/schemas/StudioModelRefresh"
|
|
91894
92886
|
}
|
|
91895
92887
|
}
|
|
91896
92888
|
},
|
|
91897
|
-
"required":
|
|
92889
|
+
"required": false
|
|
91898
92890
|
},
|
|
91899
92891
|
"responses": {
|
|
91900
|
-
"
|
|
92892
|
+
"202": {
|
|
91901
92893
|
"content": {
|
|
91902
92894
|
"application/json": {
|
|
91903
92895
|
"schema": {
|
|
91904
|
-
"$ref": "#/components/schemas/
|
|
92896
|
+
"$ref": "#/components/schemas/StudioModelResult"
|
|
91905
92897
|
}
|
|
91906
92898
|
}
|
|
91907
92899
|
},
|
|
91908
|
-
"description": "
|
|
92900
|
+
"description": "The refresh has started"
|
|
91909
92901
|
},
|
|
91910
92902
|
"400": {
|
|
91911
92903
|
"content": {
|
|
@@ -91927,6 +92919,16 @@
|
|
|
91927
92919
|
},
|
|
91928
92920
|
"description": "`unauthenticated` — sign in, or send a valid credential."
|
|
91929
92921
|
},
|
|
92922
|
+
"402": {
|
|
92923
|
+
"content": {
|
|
92924
|
+
"application/json": {
|
|
92925
|
+
"schema": {
|
|
92926
|
+
"$ref": "#/components/schemas/StudioModelPaymentRequired"
|
|
92927
|
+
}
|
|
92928
|
+
}
|
|
92929
|
+
},
|
|
92930
|
+
"description": "The model finished and is waiting to be published, but your organization does not have the credits for it. Nothing was charged. Add credits and read the model again: it does not need to be trained again."
|
|
92931
|
+
},
|
|
91930
92932
|
"403": {
|
|
91931
92933
|
"content": {
|
|
91932
92934
|
"application/json": {
|
|
@@ -91998,42 +93000,42 @@
|
|
|
91998
93000
|
"description": "`models_unavailable` — training is switched off right now (reading models and querying published scores still work); `studio_unavailable` — try again in a minute. `billing_unavailable` — the model is finished but could not be charged for right now, so it is not published yet; read it again in a minute (it is never charged twice)."
|
|
91999
93001
|
}
|
|
92000
93002
|
},
|
|
92001
|
-
"summary": "
|
|
93003
|
+
"summary": "Refresh a model's scores with the latest data",
|
|
92002
93004
|
"tags": [
|
|
92003
93005
|
"Studio"
|
|
92004
93006
|
]
|
|
92005
93007
|
}
|
|
92006
93008
|
},
|
|
92007
|
-
"/v1/studio/
|
|
93009
|
+
"/v1/studio/program-runs": {
|
|
92008
93010
|
"get": {
|
|
92009
|
-
"description": "
|
|
92010
|
-
"operationId": "
|
|
93011
|
+
"description": "Your organization's program runs, newest first, with their state and the tables each left. A run that has succeeded since it was last read is charged and delivered here, like a read of it. Each program has a flat price (`price.credits` on listStudioPrograms), charged once when a run has SUCCEEDED — by the first call that reads it — and only then are its tables delivered. A run that fails or times out is free.",
|
|
93012
|
+
"operationId": "listStudioProgramRuns",
|
|
92011
93013
|
"responses": {
|
|
92012
93014
|
"200": {
|
|
92013
93015
|
"content": {
|
|
92014
93016
|
"application/json": {
|
|
92015
93017
|
"schema": {
|
|
92016
|
-
"$ref": "#/components/schemas/
|
|
93018
|
+
"$ref": "#/components/schemas/StudioProgramRunList"
|
|
92017
93019
|
}
|
|
92018
93020
|
}
|
|
92019
93021
|
},
|
|
92020
|
-
"description": "The
|
|
93022
|
+
"description": "The runs"
|
|
92021
93023
|
},
|
|
92022
93024
|
"400": {
|
|
92023
93025
|
"content": {
|
|
92024
93026
|
"application/json": {
|
|
92025
93027
|
"schema": {
|
|
92026
|
-
"$ref": "#/components/schemas/
|
|
93028
|
+
"$ref": "#/components/schemas/StudioProgramError"
|
|
92027
93029
|
}
|
|
92028
93030
|
}
|
|
92029
93031
|
},
|
|
92030
|
-
"description": "
|
|
93032
|
+
"description": "`invalid_request` — a switch the program does not list (only its own switches can be set), or a bad value: `error` names the switches you can set. `invalid_name` — the name cannot name every table of the program (reserved prefix, characters, length)."
|
|
92031
93033
|
},
|
|
92032
93034
|
"401": {
|
|
92033
93035
|
"content": {
|
|
92034
93036
|
"application/json": {
|
|
92035
93037
|
"schema": {
|
|
92036
|
-
"$ref": "#/components/schemas/
|
|
93038
|
+
"$ref": "#/components/schemas/StudioProgramError"
|
|
92037
93039
|
}
|
|
92038
93040
|
}
|
|
92039
93041
|
},
|
|
@@ -92043,83 +93045,83 @@
|
|
|
92043
93045
|
"content": {
|
|
92044
93046
|
"application/json": {
|
|
92045
93047
|
"schema": {
|
|
92046
|
-
"$ref": "#/components/schemas/
|
|
93048
|
+
"$ref": "#/components/schemas/StudioProgramError"
|
|
92047
93049
|
}
|
|
92048
93050
|
}
|
|
92049
93051
|
},
|
|
92050
|
-
"description": "`no_organization` —
|
|
93052
|
+
"description": "`no_organization` — select an organization. `entitlement_missing` — your organization cannot run ModelMatch programs yet (`details.entitlementKey`): ask your ModelMatch admin."
|
|
92051
93053
|
},
|
|
92052
93054
|
"404": {
|
|
92053
93055
|
"content": {
|
|
92054
93056
|
"application/json": {
|
|
92055
93057
|
"schema": {
|
|
92056
|
-
"$ref": "#/components/schemas/
|
|
93058
|
+
"$ref": "#/components/schemas/StudioProgramError"
|
|
92057
93059
|
}
|
|
92058
93060
|
}
|
|
92059
93061
|
},
|
|
92060
|
-
"description": "`
|
|
93062
|
+
"description": "`program_not_found` — no program of that name that you can run. `run_not_found` — your organization has no run of that id."
|
|
92061
93063
|
},
|
|
92062
93064
|
"409": {
|
|
92063
93065
|
"content": {
|
|
92064
93066
|
"application/json": {
|
|
92065
93067
|
"schema": {
|
|
92066
|
-
"$ref": "#/components/schemas/
|
|
93068
|
+
"$ref": "#/components/schemas/StudioProgramError"
|
|
92067
93069
|
}
|
|
92068
93070
|
}
|
|
92069
93071
|
},
|
|
92070
|
-
"description": "`
|
|
93072
|
+
"description": "`table_exists` — the name is taken by one of your tables or jobs that this program did not make. `program_running` — your organization already has a run in progress (one at a time): try again when it has finished."
|
|
92071
93073
|
},
|
|
92072
93074
|
"422": {
|
|
92073
93075
|
"content": {
|
|
92074
93076
|
"application/json": {
|
|
92075
93077
|
"schema": {
|
|
92076
|
-
"$ref": "#/components/schemas/
|
|
93078
|
+
"$ref": "#/components/schemas/StudioProgramError"
|
|
92077
93079
|
}
|
|
92078
93080
|
}
|
|
92079
93081
|
},
|
|
92080
|
-
"description": "
|
|
93082
|
+
"description": "The service could not do what was asked as given; `error` says why."
|
|
92081
93083
|
},
|
|
92082
93084
|
"429": {
|
|
92083
93085
|
"content": {
|
|
92084
93086
|
"application/json": {
|
|
92085
93087
|
"schema": {
|
|
92086
|
-
"$ref": "#/components/schemas/
|
|
93088
|
+
"$ref": "#/components/schemas/StudioProgramError"
|
|
92087
93089
|
}
|
|
92088
93090
|
}
|
|
92089
93091
|
},
|
|
92090
|
-
"description": "`rate_limited` — too many
|
|
93092
|
+
"description": "`rate_limited` — too many requests from your organization; `busy` — every slot for program runs is taken. Wait `details.retryAfterSeconds`."
|
|
92091
93093
|
},
|
|
92092
93094
|
"503": {
|
|
92093
93095
|
"content": {
|
|
92094
93096
|
"application/json": {
|
|
92095
93097
|
"schema": {
|
|
92096
|
-
"$ref": "#/components/schemas/
|
|
93098
|
+
"$ref": "#/components/schemas/StudioProgramError"
|
|
92097
93099
|
}
|
|
92098
93100
|
}
|
|
92099
93101
|
},
|
|
92100
|
-
"description": "`
|
|
93102
|
+
"description": "`studio_unavailable` — try again in a minute. `billing_unavailable` — the run succeeded but could not be charged for right now, so its tables are not delivered yet; read it again in a minute (it is never charged twice)."
|
|
92101
93103
|
}
|
|
92102
93104
|
},
|
|
92103
|
-
"summary": "
|
|
93105
|
+
"summary": "Your organization's program runs",
|
|
92104
93106
|
"tags": [
|
|
92105
93107
|
"Studio"
|
|
92106
93108
|
]
|
|
92107
93109
|
}
|
|
92108
93110
|
},
|
|
92109
|
-
"/v1/studio/
|
|
93111
|
+
"/v1/studio/program-runs/{runId}": {
|
|
92110
93112
|
"get": {
|
|
92111
|
-
"description": "
|
|
92112
|
-
"operationId": "
|
|
93113
|
+
"description": "Read a run until it is `succeeded` or `failed`. The first read after it succeeded charges it (once) and delivers its tables into your organization (`delivered: true`, `credits.charged`); then query them by the names in `tables`. Reading it again is free. Each program has a flat price (`price.credits` on listStudioPrograms), charged once when a run has SUCCEEDED — by the first call that reads it — and only then are its tables delivered. A run that fails or times out is free.",
|
|
93114
|
+
"operationId": "getStudioProgramRun",
|
|
92113
93115
|
"parameters": [
|
|
92114
93116
|
{
|
|
92115
|
-
"description": "
|
|
93117
|
+
"description": "The run, as startStudioProgramRun returned it.",
|
|
92116
93118
|
"in": "path",
|
|
92117
|
-
"name": "
|
|
93119
|
+
"name": "runId",
|
|
92118
93120
|
"required": true,
|
|
92119
93121
|
"schema": {
|
|
92120
|
-
"description": "
|
|
92121
|
-
"example": "
|
|
92122
|
-
"pattern": "^
|
|
93122
|
+
"description": "The run, as startStudioProgramRun returned it.",
|
|
93123
|
+
"example": "20261120T080000Z-a1b2",
|
|
93124
|
+
"pattern": "^[0-9A-Za-z-]{1,64}$",
|
|
92123
93125
|
"type": "string"
|
|
92124
93126
|
}
|
|
92125
93127
|
}
|
|
@@ -92129,333 +93131,225 @@
|
|
|
92129
93131
|
"content": {
|
|
92130
93132
|
"application/json": {
|
|
92131
93133
|
"schema": {
|
|
92132
|
-
"$ref": "#/components/schemas/
|
|
93134
|
+
"$ref": "#/components/schemas/StudioProgramRunResult"
|
|
92133
93135
|
}
|
|
92134
93136
|
}
|
|
92135
93137
|
},
|
|
92136
|
-
"description": "The
|
|
93138
|
+
"description": "The run"
|
|
92137
93139
|
},
|
|
92138
93140
|
"400": {
|
|
92139
93141
|
"content": {
|
|
92140
93142
|
"application/json": {
|
|
92141
93143
|
"schema": {
|
|
92142
|
-
"$ref": "#/components/schemas/
|
|
93144
|
+
"$ref": "#/components/schemas/StudioProgramError"
|
|
92143
93145
|
}
|
|
92144
93146
|
}
|
|
92145
93147
|
},
|
|
92146
|
-
"description": "`invalid_request` — not a
|
|
93148
|
+
"description": "`invalid_request` — a switch the program does not list (only its own switches can be set), or a bad value: `error` names the switches you can set. `invalid_name` — the name cannot name every table of the program (reserved prefix, characters, length)."
|
|
92147
93149
|
},
|
|
92148
93150
|
"401": {
|
|
92149
93151
|
"content": {
|
|
92150
93152
|
"application/json": {
|
|
92151
93153
|
"schema": {
|
|
92152
|
-
"$ref": "#/components/schemas/
|
|
93154
|
+
"$ref": "#/components/schemas/StudioProgramError"
|
|
92153
93155
|
}
|
|
92154
93156
|
}
|
|
92155
93157
|
},
|
|
92156
93158
|
"description": "`unauthenticated` — sign in, or send a valid credential."
|
|
92157
93159
|
},
|
|
92158
|
-
"
|
|
92159
|
-
"content": {
|
|
92160
|
-
"application/json": {
|
|
92161
|
-
"schema": {
|
|
92162
|
-
"$ref": "#/components/schemas/StudioError"
|
|
92163
|
-
}
|
|
92164
|
-
}
|
|
92165
|
-
},
|
|
92166
|
-
"description": "`no_organization` — select an organization; `studio_not_enabled` — Studio is not enabled for this account."
|
|
92167
|
-
},
|
|
92168
|
-
"404": {
|
|
92169
|
-
"content": {
|
|
92170
|
-
"application/json": {
|
|
92171
|
-
"schema": {
|
|
92172
|
-
"$ref": "#/components/schemas/StudioError"
|
|
92173
|
-
}
|
|
92174
|
-
}
|
|
92175
|
-
},
|
|
92176
|
-
"description": "`published_model_not_found` — no model of that name is published. The catalog lists what is."
|
|
92177
|
-
},
|
|
92178
|
-
"409": {
|
|
92179
|
-
"content": {
|
|
92180
|
-
"application/json": {
|
|
92181
|
-
"schema": {
|
|
92182
|
-
"$ref": "#/components/schemas/StudioError"
|
|
92183
|
-
}
|
|
92184
|
-
}
|
|
92185
|
-
},
|
|
92186
|
-
"description": "`published_unavailable` — published tables are switched off right now."
|
|
92187
|
-
},
|
|
92188
|
-
"503": {
|
|
92189
|
-
"content": {
|
|
92190
|
-
"application/json": {
|
|
92191
|
-
"schema": {
|
|
92192
|
-
"$ref": "#/components/schemas/StudioError"
|
|
92193
|
-
}
|
|
92194
|
-
}
|
|
92195
|
-
},
|
|
92196
|
-
"description": "`studio_unavailable` — try again in a minute."
|
|
92197
|
-
}
|
|
92198
|
-
},
|
|
92199
|
-
"summary": "A model ModelMatch publishes: its report card",
|
|
92200
|
-
"tags": [
|
|
92201
|
-
"Studio"
|
|
92202
|
-
]
|
|
92203
|
-
}
|
|
92204
|
-
},
|
|
92205
|
-
"/v1/studio/models/{name}": {
|
|
92206
|
-
"delete": {
|
|
92207
|
-
"description": "Delete a model: the trained model, its report card and its scores table. The table leaves the catalog at once, and questions and jobs that read it stop working. A run in progress is stopped. This cannot be undone. Free.",
|
|
92208
|
-
"operationId": "deleteStudioModel",
|
|
92209
|
-
"parameters": [
|
|
92210
|
-
{
|
|
92211
|
-
"description": "The model's name: 3 to 40 lower-case letters, digits and underscores, starting with a letter. Its scores are the table `model_<name>`.",
|
|
92212
|
-
"in": "path",
|
|
92213
|
-
"name": "name",
|
|
92214
|
-
"required": true,
|
|
92215
|
-
"schema": {
|
|
92216
|
-
"description": "The model's name: 3 to 40 lower-case letters, digits and underscores, starting with a letter. Its scores are the table `model_<name>`.",
|
|
92217
|
-
"example": "refi_watch",
|
|
92218
|
-
"pattern": "^[a-z][a-z0-9_]{2,39}$",
|
|
92219
|
-
"type": "string"
|
|
92220
|
-
}
|
|
92221
|
-
}
|
|
92222
|
-
],
|
|
92223
|
-
"responses": {
|
|
92224
|
-
"200": {
|
|
92225
|
-
"content": {
|
|
92226
|
-
"application/json": {
|
|
92227
|
-
"schema": {
|
|
92228
|
-
"$ref": "#/components/schemas/StudioModelDeleted"
|
|
92229
|
-
}
|
|
92230
|
-
}
|
|
92231
|
-
},
|
|
92232
|
-
"description": "Deleted"
|
|
92233
|
-
},
|
|
92234
|
-
"400": {
|
|
92235
|
-
"content": {
|
|
92236
|
-
"application/json": {
|
|
92237
|
-
"schema": {
|
|
92238
|
-
"$ref": "#/components/schemas/StudioModelError"
|
|
92239
|
-
}
|
|
92240
|
-
}
|
|
92241
|
-
},
|
|
92242
|
-
"description": "The request cannot be used: it is malformed, names an outcome or data point we do not have, or asks for a data point that could show the model the answer. `error` says which and what to use instead."
|
|
92243
|
-
},
|
|
92244
|
-
"401": {
|
|
93160
|
+
"402": {
|
|
92245
93161
|
"content": {
|
|
92246
93162
|
"application/json": {
|
|
92247
93163
|
"schema": {
|
|
92248
|
-
"$ref": "#/components/schemas/
|
|
93164
|
+
"$ref": "#/components/schemas/StudioProgramPaymentRequired"
|
|
92249
93165
|
}
|
|
92250
93166
|
}
|
|
92251
93167
|
},
|
|
92252
|
-
"description": "
|
|
93168
|
+
"description": "Starting: your balance does not cover the run's price, so nothing was started. Reading a finished run: your balance does not cover it, so its tables wait; add credits and read it again (it does not run again)."
|
|
92253
93169
|
},
|
|
92254
93170
|
"403": {
|
|
92255
93171
|
"content": {
|
|
92256
93172
|
"application/json": {
|
|
92257
93173
|
"schema": {
|
|
92258
|
-
"$ref": "#/components/schemas/
|
|
93174
|
+
"$ref": "#/components/schemas/StudioProgramError"
|
|
92259
93175
|
}
|
|
92260
93176
|
}
|
|
92261
93177
|
},
|
|
92262
|
-
"description": "`no_organization` —
|
|
93178
|
+
"description": "`no_organization` — select an organization. `entitlement_missing` — your organization cannot run ModelMatch programs yet (`details.entitlementKey`): ask your ModelMatch admin."
|
|
92263
93179
|
},
|
|
92264
93180
|
"404": {
|
|
92265
93181
|
"content": {
|
|
92266
93182
|
"application/json": {
|
|
92267
93183
|
"schema": {
|
|
92268
|
-
"$ref": "#/components/schemas/
|
|
93184
|
+
"$ref": "#/components/schemas/StudioProgramError"
|
|
92269
93185
|
}
|
|
92270
93186
|
}
|
|
92271
93187
|
},
|
|
92272
|
-
"description": "`
|
|
93188
|
+
"description": "`program_not_found` — no program of that name that you can run. `run_not_found` — your organization has no run of that id."
|
|
92273
93189
|
},
|
|
92274
93190
|
"409": {
|
|
92275
93191
|
"content": {
|
|
92276
93192
|
"application/json": {
|
|
92277
93193
|
"schema": {
|
|
92278
|
-
"$ref": "#/components/schemas/
|
|
93194
|
+
"$ref": "#/components/schemas/StudioProgramError"
|
|
92279
93195
|
}
|
|
92280
93196
|
}
|
|
92281
93197
|
},
|
|
92282
|
-
"description": "`
|
|
93198
|
+
"description": "`table_exists` — the name is taken by one of your tables or jobs that this program did not make. `program_running` — your organization already has a run in progress (one at a time): try again when it has finished."
|
|
92283
93199
|
},
|
|
92284
93200
|
"422": {
|
|
92285
93201
|
"content": {
|
|
92286
93202
|
"application/json": {
|
|
92287
93203
|
"schema": {
|
|
92288
|
-
"$ref": "#/components/schemas/
|
|
93204
|
+
"$ref": "#/components/schemas/StudioProgramError"
|
|
92289
93205
|
}
|
|
92290
93206
|
}
|
|
92291
93207
|
},
|
|
92292
|
-
"description": "
|
|
93208
|
+
"description": "The service could not do what was asked as given; `error` says why."
|
|
92293
93209
|
},
|
|
92294
93210
|
"429": {
|
|
92295
93211
|
"content": {
|
|
92296
93212
|
"application/json": {
|
|
92297
93213
|
"schema": {
|
|
92298
|
-
"$ref": "#/components/schemas/
|
|
93214
|
+
"$ref": "#/components/schemas/StudioProgramError"
|
|
92299
93215
|
}
|
|
92300
93216
|
}
|
|
92301
93217
|
},
|
|
92302
|
-
"description": "`rate_limited` — too many
|
|
93218
|
+
"description": "`rate_limited` — too many requests from your organization; `busy` — every slot for program runs is taken. Wait `details.retryAfterSeconds`."
|
|
92303
93219
|
},
|
|
92304
93220
|
"503": {
|
|
92305
93221
|
"content": {
|
|
92306
93222
|
"application/json": {
|
|
92307
93223
|
"schema": {
|
|
92308
|
-
"$ref": "#/components/schemas/
|
|
93224
|
+
"$ref": "#/components/schemas/StudioProgramError"
|
|
92309
93225
|
}
|
|
92310
93226
|
}
|
|
92311
93227
|
},
|
|
92312
|
-
"description": "`
|
|
93228
|
+
"description": "`studio_unavailable` — try again in a minute. `billing_unavailable` — the run succeeded but could not be charged for right now, so its tables are not delivered yet; read it again in a minute (it is never charged twice)."
|
|
92313
93229
|
}
|
|
92314
93230
|
},
|
|
92315
|
-
"summary": "
|
|
93231
|
+
"summary": "One program run: its state, progress and tables",
|
|
92316
93232
|
"tags": [
|
|
92317
93233
|
"Studio"
|
|
92318
93234
|
]
|
|
92319
|
-
}
|
|
93235
|
+
}
|
|
93236
|
+
},
|
|
93237
|
+
"/v1/studio/programs": {
|
|
92320
93238
|
"get": {
|
|
92321
|
-
"description": "
|
|
92322
|
-
"operationId": "
|
|
92323
|
-
"parameters": [
|
|
92324
|
-
{
|
|
92325
|
-
"description": "The model's name: 3 to 40 lower-case letters, digits and underscores, starting with a letter. Its scores are the table `model_<name>`.",
|
|
92326
|
-
"in": "path",
|
|
92327
|
-
"name": "name",
|
|
92328
|
-
"required": true,
|
|
92329
|
-
"schema": {
|
|
92330
|
-
"description": "The model's name: 3 to 40 lower-case letters, digits and underscores, starting with a letter. Its scores are the table `model_<name>`.",
|
|
92331
|
-
"example": "refi_watch",
|
|
92332
|
-
"pattern": "^[a-z][a-z0-9_]{2,39}$",
|
|
92333
|
-
"type": "string"
|
|
92334
|
-
}
|
|
92335
|
-
}
|
|
92336
|
-
],
|
|
93239
|
+
"description": "Programs are the heavy computations behind some of the tables ModelMatch publishes for everyone (`mm_` tables, such as company retention). Most questions are answered by querying the published table — do that first, it is already computed and costs a normal question. Run a program when the person needs it computed with their own settings, such as only the states they work in: the result becomes their own tables. Each program lists the switches you can set, the tables a run leaves, and its price. `available: false` means the organization cannot run programs yet (ask their ModelMatch admin). Free.",
|
|
93240
|
+
"operationId": "listStudioPrograms",
|
|
92337
93241
|
"responses": {
|
|
92338
93242
|
"200": {
|
|
92339
93243
|
"content": {
|
|
92340
93244
|
"application/json": {
|
|
92341
93245
|
"schema": {
|
|
92342
|
-
"$ref": "#/components/schemas/
|
|
93246
|
+
"$ref": "#/components/schemas/StudioProgramList"
|
|
92343
93247
|
}
|
|
92344
93248
|
}
|
|
92345
93249
|
},
|
|
92346
|
-
"description": "The
|
|
93250
|
+
"description": "The programs"
|
|
92347
93251
|
},
|
|
92348
93252
|
"400": {
|
|
92349
93253
|
"content": {
|
|
92350
93254
|
"application/json": {
|
|
92351
93255
|
"schema": {
|
|
92352
|
-
"$ref": "#/components/schemas/
|
|
93256
|
+
"$ref": "#/components/schemas/StudioProgramError"
|
|
92353
93257
|
}
|
|
92354
93258
|
}
|
|
92355
93259
|
},
|
|
92356
|
-
"description": "
|
|
93260
|
+
"description": "`invalid_request` — a switch the program does not list (only its own switches can be set), or a bad value: `error` names the switches you can set. `invalid_name` — the name cannot name every table of the program (reserved prefix, characters, length)."
|
|
92357
93261
|
},
|
|
92358
93262
|
"401": {
|
|
92359
93263
|
"content": {
|
|
92360
93264
|
"application/json": {
|
|
92361
93265
|
"schema": {
|
|
92362
|
-
"$ref": "#/components/schemas/
|
|
93266
|
+
"$ref": "#/components/schemas/StudioProgramError"
|
|
92363
93267
|
}
|
|
92364
93268
|
}
|
|
92365
93269
|
},
|
|
92366
93270
|
"description": "`unauthenticated` — sign in, or send a valid credential."
|
|
92367
93271
|
},
|
|
92368
|
-
"402": {
|
|
92369
|
-
"content": {
|
|
92370
|
-
"application/json": {
|
|
92371
|
-
"schema": {
|
|
92372
|
-
"$ref": "#/components/schemas/StudioModelPaymentRequired"
|
|
92373
|
-
}
|
|
92374
|
-
}
|
|
92375
|
-
},
|
|
92376
|
-
"description": "The model finished and is waiting to be published, but your organization does not have the credits for it. Nothing was charged. Add credits and read the model again: it does not need to be trained again."
|
|
92377
|
-
},
|
|
92378
93272
|
"403": {
|
|
92379
93273
|
"content": {
|
|
92380
93274
|
"application/json": {
|
|
92381
93275
|
"schema": {
|
|
92382
|
-
"$ref": "#/components/schemas/
|
|
93276
|
+
"$ref": "#/components/schemas/StudioProgramError"
|
|
92383
93277
|
}
|
|
92384
93278
|
}
|
|
92385
93279
|
},
|
|
92386
|
-
"description": "`no_organization` —
|
|
93280
|
+
"description": "`no_organization` — select an organization. `entitlement_missing` — your organization cannot run ModelMatch programs yet (`details.entitlementKey`): ask your ModelMatch admin."
|
|
92387
93281
|
},
|
|
92388
93282
|
"404": {
|
|
92389
93283
|
"content": {
|
|
92390
93284
|
"application/json": {
|
|
92391
93285
|
"schema": {
|
|
92392
|
-
"$ref": "#/components/schemas/
|
|
93286
|
+
"$ref": "#/components/schemas/StudioProgramError"
|
|
92393
93287
|
}
|
|
92394
93288
|
}
|
|
92395
93289
|
},
|
|
92396
|
-
"description": "`
|
|
93290
|
+
"description": "`program_not_found` — no program of that name that you can run. `run_not_found` — your organization has no run of that id."
|
|
92397
93291
|
},
|
|
92398
93292
|
"409": {
|
|
92399
93293
|
"content": {
|
|
92400
93294
|
"application/json": {
|
|
92401
93295
|
"schema": {
|
|
92402
|
-
"$ref": "#/components/schemas/
|
|
93296
|
+
"$ref": "#/components/schemas/StudioProgramError"
|
|
92403
93297
|
}
|
|
92404
93298
|
}
|
|
92405
93299
|
},
|
|
92406
|
-
"description": "`
|
|
93300
|
+
"description": "`table_exists` — the name is taken by one of your tables or jobs that this program did not make. `program_running` — your organization already has a run in progress (one at a time): try again when it has finished."
|
|
92407
93301
|
},
|
|
92408
93302
|
"422": {
|
|
92409
93303
|
"content": {
|
|
92410
93304
|
"application/json": {
|
|
92411
93305
|
"schema": {
|
|
92412
|
-
"$ref": "#/components/schemas/
|
|
93306
|
+
"$ref": "#/components/schemas/StudioProgramError"
|
|
92413
93307
|
}
|
|
92414
93308
|
}
|
|
92415
93309
|
},
|
|
92416
|
-
"description": "
|
|
93310
|
+
"description": "The service could not do what was asked as given; `error` says why."
|
|
92417
93311
|
},
|
|
92418
93312
|
"429": {
|
|
92419
93313
|
"content": {
|
|
92420
93314
|
"application/json": {
|
|
92421
93315
|
"schema": {
|
|
92422
|
-
"$ref": "#/components/schemas/
|
|
93316
|
+
"$ref": "#/components/schemas/StudioProgramError"
|
|
92423
93317
|
}
|
|
92424
93318
|
}
|
|
92425
93319
|
},
|
|
92426
|
-
"description": "`rate_limited` — too many
|
|
93320
|
+
"description": "`rate_limited` — too many requests from your organization; `busy` — every slot for program runs is taken. Wait `details.retryAfterSeconds`."
|
|
92427
93321
|
},
|
|
92428
93322
|
"503": {
|
|
92429
93323
|
"content": {
|
|
92430
93324
|
"application/json": {
|
|
92431
93325
|
"schema": {
|
|
92432
|
-
"$ref": "#/components/schemas/
|
|
93326
|
+
"$ref": "#/components/schemas/StudioProgramError"
|
|
92433
93327
|
}
|
|
92434
93328
|
}
|
|
92435
93329
|
},
|
|
92436
|
-
"description": "`
|
|
93330
|
+
"description": "`studio_unavailable` — try again in a minute. `billing_unavailable` — the run succeeded but could not be charged for right now, so its tables are not delivered yet; read it again in a minute (it is never charged twice)."
|
|
92437
93331
|
}
|
|
92438
93332
|
},
|
|
92439
|
-
"summary": "
|
|
93333
|
+
"summary": "ModelMatch programs you can run for your own organization",
|
|
92440
93334
|
"tags": [
|
|
92441
93335
|
"Studio"
|
|
92442
93336
|
]
|
|
92443
93337
|
}
|
|
92444
93338
|
},
|
|
92445
|
-
"/v1/studio/
|
|
93339
|
+
"/v1/studio/programs/{program}/run": {
|
|
92446
93340
|
"post": {
|
|
92447
|
-
"description": "
|
|
92448
|
-
"operationId": "
|
|
93341
|
+
"description": "Start a run with your own values for the program's switches and a `name` for the result. It answers at once with `state: running`; read it with getStudioProgramRun until it is `succeeded` (then it is charged once and its tables are delivered: `delivered: true`) or `failed` (free). A run of the whole country can take one to two hours; one state, minutes — narrowing it (for example `states`) makes it much faster. `progress` says which step it is on. Only the switches the program lists can be set; anything else is refused with 400. The tables land in your organization only, never in the published tables; query them like any table, join them, or build jobs on them. One run at a time per organization (`409 program_running`). Your balance must cover the price to start (402 otherwise). Each program has a flat price (`price.credits` on listStudioPrograms), charged once when a run has SUCCEEDED — by the first call that reads it — and only then are its tables delivered. A run that fails or times out is free.",
|
|
93342
|
+
"operationId": "startStudioProgramRun",
|
|
92449
93343
|
"parameters": [
|
|
92450
93344
|
{
|
|
92451
|
-
"description": "The
|
|
93345
|
+
"description": "The program, as listStudioPrograms lists it.",
|
|
92452
93346
|
"in": "path",
|
|
92453
|
-
"name": "
|
|
93347
|
+
"name": "program",
|
|
92454
93348
|
"required": true,
|
|
92455
93349
|
"schema": {
|
|
92456
|
-
"description": "The
|
|
92457
|
-
"example": "
|
|
92458
|
-
"pattern": "^[a-z][a-z0-9_]{
|
|
93350
|
+
"description": "The program, as listStudioPrograms lists it.",
|
|
93351
|
+
"example": "company_retention",
|
|
93352
|
+
"pattern": "^[a-z][a-z0-9_]{0,62}$",
|
|
92459
93353
|
"type": "string"
|
|
92460
93354
|
}
|
|
92461
93355
|
}
|
|
@@ -92464,38 +93358,38 @@
|
|
|
92464
93358
|
"content": {
|
|
92465
93359
|
"application/json": {
|
|
92466
93360
|
"schema": {
|
|
92467
|
-
"$ref": "#/components/schemas/
|
|
93361
|
+
"$ref": "#/components/schemas/StudioProgramRunRequest"
|
|
92468
93362
|
}
|
|
92469
93363
|
}
|
|
92470
93364
|
},
|
|
92471
|
-
"required":
|
|
93365
|
+
"required": true
|
|
92472
93366
|
},
|
|
92473
93367
|
"responses": {
|
|
92474
93368
|
"202": {
|
|
92475
93369
|
"content": {
|
|
92476
93370
|
"application/json": {
|
|
92477
93371
|
"schema": {
|
|
92478
|
-
"$ref": "#/components/schemas/
|
|
93372
|
+
"$ref": "#/components/schemas/StudioProgramRunResult"
|
|
92479
93373
|
}
|
|
92480
93374
|
}
|
|
92481
93375
|
},
|
|
92482
|
-
"description": "The
|
|
93376
|
+
"description": "The run has started"
|
|
92483
93377
|
},
|
|
92484
93378
|
"400": {
|
|
92485
93379
|
"content": {
|
|
92486
93380
|
"application/json": {
|
|
92487
93381
|
"schema": {
|
|
92488
|
-
"$ref": "#/components/schemas/
|
|
93382
|
+
"$ref": "#/components/schemas/StudioProgramError"
|
|
92489
93383
|
}
|
|
92490
93384
|
}
|
|
92491
93385
|
},
|
|
92492
|
-
"description": "
|
|
93386
|
+
"description": "`invalid_request` — a switch the program does not list (only its own switches can be set), or a bad value: `error` names the switches you can set. `invalid_name` — the name cannot name every table of the program (reserved prefix, characters, length)."
|
|
92493
93387
|
},
|
|
92494
93388
|
"401": {
|
|
92495
93389
|
"content": {
|
|
92496
93390
|
"application/json": {
|
|
92497
93391
|
"schema": {
|
|
92498
|
-
"$ref": "#/components/schemas/
|
|
93392
|
+
"$ref": "#/components/schemas/StudioProgramError"
|
|
92499
93393
|
}
|
|
92500
93394
|
}
|
|
92501
93395
|
},
|
|
@@ -92505,84 +93399,84 @@
|
|
|
92505
93399
|
"content": {
|
|
92506
93400
|
"application/json": {
|
|
92507
93401
|
"schema": {
|
|
92508
|
-
"$ref": "#/components/schemas/
|
|
93402
|
+
"$ref": "#/components/schemas/StudioProgramPaymentRequired"
|
|
92509
93403
|
}
|
|
92510
93404
|
}
|
|
92511
93405
|
},
|
|
92512
|
-
"description": "
|
|
93406
|
+
"description": "Starting: your balance does not cover the run's price, so nothing was started. Reading a finished run: your balance does not cover it, so its tables wait; add credits and read it again (it does not run again)."
|
|
92513
93407
|
},
|
|
92514
93408
|
"403": {
|
|
92515
93409
|
"content": {
|
|
92516
93410
|
"application/json": {
|
|
92517
93411
|
"schema": {
|
|
92518
|
-
"$ref": "#/components/schemas/
|
|
93412
|
+
"$ref": "#/components/schemas/StudioProgramError"
|
|
92519
93413
|
}
|
|
92520
93414
|
}
|
|
92521
93415
|
},
|
|
92522
|
-
"description": "`no_organization` —
|
|
93416
|
+
"description": "`no_organization` — select an organization. `entitlement_missing` — your organization cannot run ModelMatch programs yet (`details.entitlementKey`): ask your ModelMatch admin."
|
|
92523
93417
|
},
|
|
92524
93418
|
"404": {
|
|
92525
93419
|
"content": {
|
|
92526
93420
|
"application/json": {
|
|
92527
93421
|
"schema": {
|
|
92528
|
-
"$ref": "#/components/schemas/
|
|
93422
|
+
"$ref": "#/components/schemas/StudioProgramError"
|
|
92529
93423
|
}
|
|
92530
93424
|
}
|
|
92531
93425
|
},
|
|
92532
|
-
"description": "`
|
|
93426
|
+
"description": "`program_not_found` — no program of that name that you can run. `run_not_found` — your organization has no run of that id."
|
|
92533
93427
|
},
|
|
92534
93428
|
"409": {
|
|
92535
93429
|
"content": {
|
|
92536
93430
|
"application/json": {
|
|
92537
93431
|
"schema": {
|
|
92538
|
-
"$ref": "#/components/schemas/
|
|
93432
|
+
"$ref": "#/components/schemas/StudioProgramError"
|
|
92539
93433
|
}
|
|
92540
93434
|
}
|
|
92541
93435
|
},
|
|
92542
|
-
"description": "`
|
|
93436
|
+
"description": "`table_exists` — the name is taken by one of your tables or jobs that this program did not make. `program_running` — your organization already has a run in progress (one at a time): try again when it has finished."
|
|
92543
93437
|
},
|
|
92544
93438
|
"422": {
|
|
92545
93439
|
"content": {
|
|
92546
93440
|
"application/json": {
|
|
92547
93441
|
"schema": {
|
|
92548
|
-
"$ref": "#/components/schemas/
|
|
93442
|
+
"$ref": "#/components/schemas/StudioProgramError"
|
|
92549
93443
|
}
|
|
92550
93444
|
}
|
|
92551
93445
|
},
|
|
92552
|
-
"description": "
|
|
93446
|
+
"description": "The service could not do what was asked as given; `error` says why."
|
|
92553
93447
|
},
|
|
92554
93448
|
"429": {
|
|
92555
93449
|
"content": {
|
|
92556
93450
|
"application/json": {
|
|
92557
93451
|
"schema": {
|
|
92558
|
-
"$ref": "#/components/schemas/
|
|
93452
|
+
"$ref": "#/components/schemas/StudioProgramError"
|
|
92559
93453
|
}
|
|
92560
93454
|
}
|
|
92561
93455
|
},
|
|
92562
|
-
"description": "`rate_limited` — too many
|
|
93456
|
+
"description": "`rate_limited` — too many requests from your organization; `busy` — every slot for program runs is taken. Wait `details.retryAfterSeconds`."
|
|
92563
93457
|
},
|
|
92564
93458
|
"502": {
|
|
92565
93459
|
"content": {
|
|
92566
93460
|
"application/json": {
|
|
92567
93461
|
"schema": {
|
|
92568
|
-
"$ref": "#/components/schemas/
|
|
93462
|
+
"$ref": "#/components/schemas/StudioProgramError"
|
|
92569
93463
|
}
|
|
92570
93464
|
}
|
|
92571
93465
|
},
|
|
92572
|
-
"description": "`entitlement_unavailable` — whether your organization can
|
|
93466
|
+
"description": "`entitlement_unavailable` — whether your organization can run programs could not be confirmed right now; nothing was started."
|
|
92573
93467
|
},
|
|
92574
93468
|
"503": {
|
|
92575
93469
|
"content": {
|
|
92576
93470
|
"application/json": {
|
|
92577
93471
|
"schema": {
|
|
92578
|
-
"$ref": "#/components/schemas/
|
|
93472
|
+
"$ref": "#/components/schemas/StudioProgramError"
|
|
92579
93473
|
}
|
|
92580
93474
|
}
|
|
92581
93475
|
},
|
|
92582
|
-
"description": "`
|
|
93476
|
+
"description": "`studio_unavailable` — try again in a minute. `billing_unavailable` — the run succeeded but could not be charged for right now, so its tables are not delivered yet; read it again in a minute (it is never charged twice)."
|
|
92583
93477
|
}
|
|
92584
93478
|
},
|
|
92585
|
-
"summary": "
|
|
93479
|
+
"summary": "Run a ModelMatch program for your own organization",
|
|
92586
93480
|
"tags": [
|
|
92587
93481
|
"Studio"
|
|
92588
93482
|
]
|