@amigo-ai/platform-sdk 0.4.6 → 0.5.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.
Files changed (64) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +2 -2
  3. package/api.md +1 -0
  4. package/dist/index.cjs +17 -0
  5. package/dist/index.cjs.map +2 -2
  6. package/dist/index.mjs +17 -0
  7. package/dist/index.mjs.map +2 -2
  8. package/dist/resources/data-sources.js +15 -0
  9. package/dist/resources/data-sources.js.map +1 -1
  10. package/dist/types/generated/api.d.ts +3232 -403
  11. package/dist/types/generated/api.d.ts.map +1 -1
  12. package/dist/types/resources/actions.d.ts +126 -22
  13. package/dist/types/resources/actions.d.ts.map +1 -1
  14. package/dist/types/resources/agents.d.ts +102 -16
  15. package/dist/types/resources/agents.d.ts.map +1 -1
  16. package/dist/types/resources/analytics.d.ts +74 -22
  17. package/dist/types/resources/analytics.d.ts.map +1 -1
  18. package/dist/types/resources/api-keys.d.ts +16 -3
  19. package/dist/types/resources/api-keys.d.ts.map +1 -1
  20. package/dist/types/resources/audit.d.ts +87 -31
  21. package/dist/types/resources/audit.d.ts.map +1 -1
  22. package/dist/types/resources/billing.d.ts +42 -9
  23. package/dist/types/resources/billing.d.ts.map +1 -1
  24. package/dist/types/resources/calls.d.ts +169 -65
  25. package/dist/types/resources/calls.d.ts.map +1 -1
  26. package/dist/types/resources/compliance.d.ts +6 -6
  27. package/dist/types/resources/context-graphs.d.ts +814 -17
  28. package/dist/types/resources/context-graphs.d.ts.map +1 -1
  29. package/dist/types/resources/data-sources.d.ts +83 -31
  30. package/dist/types/resources/data-sources.d.ts.map +1 -1
  31. package/dist/types/resources/functions.d.ts +49 -22
  32. package/dist/types/resources/functions.d.ts.map +1 -1
  33. package/dist/types/resources/integrations.d.ts +379 -49
  34. package/dist/types/resources/integrations.d.ts.map +1 -1
  35. package/dist/types/resources/memory.d.ts +48 -4
  36. package/dist/types/resources/memory.d.ts.map +1 -1
  37. package/dist/types/resources/operators.d.ts +189 -64
  38. package/dist/types/resources/operators.d.ts.map +1 -1
  39. package/dist/types/resources/personas.d.ts +20 -7
  40. package/dist/types/resources/personas.d.ts.map +1 -1
  41. package/dist/types/resources/phone-numbers.d.ts +46 -8
  42. package/dist/types/resources/phone-numbers.d.ts.map +1 -1
  43. package/dist/types/resources/recordings.d.ts +4 -4
  44. package/dist/types/resources/review-queue.d.ts +350 -49
  45. package/dist/types/resources/review-queue.d.ts.map +1 -1
  46. package/dist/types/resources/safety.d.ts +32 -6
  47. package/dist/types/resources/safety.d.ts.map +1 -1
  48. package/dist/types/resources/services.d.ts +242 -47
  49. package/dist/types/resources/services.d.ts.map +1 -1
  50. package/dist/types/resources/settings.d.ts +404 -36
  51. package/dist/types/resources/settings.d.ts.map +1 -1
  52. package/dist/types/resources/simulations.d.ts +150 -22
  53. package/dist/types/resources/simulations.d.ts.map +1 -1
  54. package/dist/types/resources/skills.d.ts +117 -21
  55. package/dist/types/resources/skills.d.ts.map +1 -1
  56. package/dist/types/resources/triggers.d.ts +92 -64
  57. package/dist/types/resources/triggers.d.ts.map +1 -1
  58. package/dist/types/resources/webhook-destinations.d.ts +44 -20
  59. package/dist/types/resources/webhook-destinations.d.ts.map +1 -1
  60. package/dist/types/resources/workspaces.d.ts +14 -3
  61. package/dist/types/resources/workspaces.d.ts.map +1 -1
  62. package/dist/types/resources/world.d.ts +323 -122
  63. package/dist/types/resources/world.d.ts.map +1 -1
  64. package/package.json +3 -3
@@ -258,6 +258,40 @@ export interface paths {
258
258
  patch?: never;
259
259
  trace?: never;
260
260
  };
261
+ "/upload/{link_token}/files": {
262
+ parameters: {
263
+ query?: never;
264
+ header?: never;
265
+ path?: never;
266
+ cookie?: never;
267
+ };
268
+ get?: never;
269
+ put?: never;
270
+ /** Receive Upload */
271
+ post: operations["upload-intake-file-via-link"];
272
+ delete?: never;
273
+ options?: never;
274
+ head?: never;
275
+ patch?: never;
276
+ trace?: never;
277
+ };
278
+ "/upload/{link_token}/info": {
279
+ parameters: {
280
+ query?: never;
281
+ header?: never;
282
+ path?: never;
283
+ cookie?: never;
284
+ };
285
+ /** Get Link Info */
286
+ get: operations["get-intake-link-info"];
287
+ put?: never;
288
+ post?: never;
289
+ delete?: never;
290
+ options?: never;
291
+ head?: never;
292
+ patch?: never;
293
+ trace?: never;
294
+ };
261
295
  "/v1/auth/me": {
262
296
  parameters: {
263
297
  query?: never;
@@ -1983,6 +2017,89 @@ export interface paths {
1983
2017
  patch?: never;
1984
2018
  trace?: never;
1985
2019
  };
2020
+ "/v1/{workspace_id}/dashboards": {
2021
+ parameters: {
2022
+ query?: never;
2023
+ header?: never;
2024
+ path?: never;
2025
+ cookie?: never;
2026
+ };
2027
+ /** List Dashboards */
2028
+ get: operations["list_dashboards_v1__workspace_id__dashboards_get"];
2029
+ put?: never;
2030
+ /** Create Dashboard */
2031
+ post: operations["create_dashboard_v1__workspace_id__dashboards_post"];
2032
+ delete?: never;
2033
+ options?: never;
2034
+ head?: never;
2035
+ patch?: never;
2036
+ trace?: never;
2037
+ };
2038
+ "/v1/{workspace_id}/dashboards/by-slug/{slug}": {
2039
+ parameters: {
2040
+ query?: never;
2041
+ header?: never;
2042
+ path?: never;
2043
+ cookie?: never;
2044
+ };
2045
+ /** Get Dashboard By Slug */
2046
+ get: operations["get_dashboard_by_slug_v1__workspace_id__dashboards_by_slug__slug__get"];
2047
+ put?: never;
2048
+ post?: never;
2049
+ delete?: never;
2050
+ options?: never;
2051
+ head?: never;
2052
+ patch?: never;
2053
+ trace?: never;
2054
+ };
2055
+ "/v1/{workspace_id}/dashboards/{dashboard_id}": {
2056
+ parameters: {
2057
+ query?: never;
2058
+ header?: never;
2059
+ path?: never;
2060
+ cookie?: never;
2061
+ };
2062
+ /** Get Dashboard */
2063
+ get: operations["get_dashboard_v1__workspace_id__dashboards__dashboard_id__get"];
2064
+ /** Update Dashboard */
2065
+ put: operations["update_dashboard_v1__workspace_id__dashboards__dashboard_id__put"];
2066
+ post?: never;
2067
+ /** Delete Dashboard */
2068
+ delete: operations["delete_dashboard_v1__workspace_id__dashboards__dashboard_id__delete"];
2069
+ options?: never;
2070
+ head?: never;
2071
+ patch?: never;
2072
+ trace?: never;
2073
+ };
2074
+ "/v1/{workspace_id}/dashboards/{dashboard_id}/execute": {
2075
+ parameters: {
2076
+ query?: never;
2077
+ header?: never;
2078
+ path?: never;
2079
+ cookie?: never;
2080
+ };
2081
+ get?: never;
2082
+ put?: never;
2083
+ /**
2084
+ * Execute Dashboard
2085
+ * @description Execute all panel queries and return results for rendering.
2086
+ *
2087
+ * SQL injection is mitigated by ResearchQueryService.execute_sql, which calls
2088
+ * _validate_read_only_sql to block DROP/TRUNCATE/ALTER/CREATE/GRANT/REVOKE/
2089
+ * DELETE/UPDATE/INSERT statements. Catalog-level access is further restricted
2090
+ * by the service principal's Databricks grants (read-only on analytics catalog).
2091
+ *
2092
+ * Every panel query MUST reference the ``:ws_id`` parameter so that
2093
+ * ResearchQueryService binds it to the requesting workspace. Queries
2094
+ * without this binding are rejected to prevent cross-tenant data access.
2095
+ */
2096
+ post: operations["execute_dashboard_v1__workspace_id__dashboards__dashboard_id__execute_post"];
2097
+ delete?: never;
2098
+ options?: never;
2099
+ head?: never;
2100
+ patch?: never;
2101
+ trace?: never;
2102
+ };
1986
2103
  "/v1/{workspace_id}/data-sources": {
1987
2104
  parameters: {
1988
2105
  query?: never;
@@ -2055,6 +2172,26 @@ export interface paths {
2055
2172
  patch?: never;
2056
2173
  trace?: never;
2057
2174
  };
2175
+ "/v1/{workspace_id}/data-sources/{data_source_id}/sync": {
2176
+ parameters: {
2177
+ query?: never;
2178
+ header?: never;
2179
+ path?: never;
2180
+ cookie?: never;
2181
+ };
2182
+ get?: never;
2183
+ put?: never;
2184
+ /**
2185
+ * Trigger a manual sync for a data source
2186
+ * @description Queues a one-off poll of the data source on connector-runner. Bypasses the business-hours gate and per-resource cadence counter. Returns 202 once the request is queued; the poll itself runs asynchronously. Returns 409 if the source is already mid-sync, 503 if connector-runner is unreachable. The 409 is best-effort: the status check and trigger are separate calls, so a scheduled poll can grab the lease between them — clients should treat 409 as a UX hint, not a hard guarantee.
2187
+ */
2188
+ post: operations["trigger-data-source-sync"];
2189
+ delete?: never;
2190
+ options?: never;
2191
+ head?: never;
2192
+ patch?: never;
2193
+ trace?: never;
2194
+ };
2058
2195
  "/v1/{workspace_id}/data-sources/{data_source_id}/sync-history": {
2059
2196
  parameters: {
2060
2197
  query?: never;
@@ -3028,6 +3165,61 @@ export interface paths {
3028
3165
  patch?: never;
3029
3166
  trace?: never;
3030
3167
  };
3168
+ "/v1/{workspace_id}/intake/links": {
3169
+ parameters: {
3170
+ query?: never;
3171
+ header?: never;
3172
+ path?: never;
3173
+ cookie?: never;
3174
+ };
3175
+ /** List upload links */
3176
+ get: operations["list-intake-links"];
3177
+ put?: never;
3178
+ /**
3179
+ * Generate upload link
3180
+ * @description Create a shareable upload link for a customer.
3181
+ */
3182
+ post: operations["create-intake-link"];
3183
+ delete?: never;
3184
+ options?: never;
3185
+ head?: never;
3186
+ patch?: never;
3187
+ trace?: never;
3188
+ };
3189
+ "/v1/{workspace_id}/intake/links/{link_id}": {
3190
+ parameters: {
3191
+ query?: never;
3192
+ header?: never;
3193
+ path?: never;
3194
+ cookie?: never;
3195
+ };
3196
+ get?: never;
3197
+ put?: never;
3198
+ post?: never;
3199
+ /** Revoke upload link */
3200
+ delete: operations["revoke-intake-link"];
3201
+ options?: never;
3202
+ head?: never;
3203
+ patch?: never;
3204
+ trace?: never;
3205
+ };
3206
+ "/v1/{workspace_id}/intake/links/{link_id}/uploads": {
3207
+ parameters: {
3208
+ query?: never;
3209
+ header?: never;
3210
+ path?: never;
3211
+ cookie?: never;
3212
+ };
3213
+ /** List uploads for a link */
3214
+ get: operations["list-intake-link-uploads"];
3215
+ put?: never;
3216
+ post?: never;
3217
+ delete?: never;
3218
+ options?: never;
3219
+ head?: never;
3220
+ patch?: never;
3221
+ trace?: never;
3222
+ };
3031
3223
  "/v1/{workspace_id}/integrations": {
3032
3224
  parameters: {
3033
3225
  query?: never;
@@ -3120,6 +3312,346 @@ export interface paths {
3120
3312
  patch?: never;
3121
3313
  trace?: never;
3122
3314
  };
3315
+ "/v1/{workspace_id}/m42/anomalies/ranked": {
3316
+ parameters: {
3317
+ query?: never;
3318
+ header?: never;
3319
+ path?: never;
3320
+ cookie?: never;
3321
+ };
3322
+ /**
3323
+ * List Anomalies Ranked
3324
+ * @description Ranked anomalies for a single indicator (default ``t2d_risk``). Includes inline decomposition + district centroids for the map. Schema-probes the alerts table so it works pre- and post-multi-indicator pipeline expansion.
3325
+ */
3326
+ get: operations["list_anomalies_ranked_v1__workspace_id__m42_anomalies_ranked_get"];
3327
+ put?: never;
3328
+ post?: never;
3329
+ delete?: never;
3330
+ options?: never;
3331
+ head?: never;
3332
+ patch?: never;
3333
+ trace?: never;
3334
+ };
3335
+ "/v1/{workspace_id}/m42/anomaly-alerts": {
3336
+ parameters: {
3337
+ query?: never;
3338
+ header?: never;
3339
+ path?: never;
3340
+ cookie?: never;
3341
+ };
3342
+ /**
3343
+ * List Anomaly Alerts
3344
+ * @description Emerging health anomalies with inline causal decomposition, recommended actions, and unacted projection. Hand-seeded demo data.
3345
+ */
3346
+ get: operations["list_anomaly_alerts_v1__workspace_id__m42_anomaly_alerts_get"];
3347
+ put?: never;
3348
+ post?: never;
3349
+ delete?: never;
3350
+ options?: never;
3351
+ head?: never;
3352
+ patch?: never;
3353
+ trace?: never;
3354
+ };
3355
+ "/v1/{workspace_id}/m42/catalog": {
3356
+ parameters: {
3357
+ query?: never;
3358
+ header?: never;
3359
+ path?: never;
3360
+ cookie?: never;
3361
+ };
3362
+ /**
3363
+ * List Catalog
3364
+ * @description Per-table layer + description + row count for the Catalog page.
3365
+ */
3366
+ get: operations["list_catalog_v1__workspace_id__m42_catalog_get"];
3367
+ put?: never;
3368
+ post?: never;
3369
+ delete?: never;
3370
+ options?: never;
3371
+ head?: never;
3372
+ patch?: never;
3373
+ trace?: never;
3374
+ };
3375
+ "/v1/{workspace_id}/m42/catalog/{table}/columns": {
3376
+ parameters: {
3377
+ query?: never;
3378
+ header?: never;
3379
+ path?: never;
3380
+ cookie?: never;
3381
+ };
3382
+ /**
3383
+ * Describe Table
3384
+ * @description Column metadata (name, type, comment) for one allowlisted m42 table.
3385
+ */
3386
+ get: operations["describe_table_v1__workspace_id__m42_catalog__table__columns_get"];
3387
+ put?: never;
3388
+ post?: never;
3389
+ delete?: never;
3390
+ options?: never;
3391
+ head?: never;
3392
+ patch?: never;
3393
+ trace?: never;
3394
+ };
3395
+ "/v1/{workspace_id}/m42/catalog/{table}/sample": {
3396
+ parameters: {
3397
+ query?: never;
3398
+ header?: never;
3399
+ path?: never;
3400
+ cookie?: never;
3401
+ };
3402
+ /**
3403
+ * Sample Table
3404
+ * @description Up to ``limit`` raw rows from one allowlisted m42 table for preview.
3405
+ */
3406
+ get: operations["sample_table_v1__workspace_id__m42_catalog__table__sample_get"];
3407
+ put?: never;
3408
+ post?: never;
3409
+ delete?: never;
3410
+ options?: never;
3411
+ head?: never;
3412
+ patch?: never;
3413
+ trace?: never;
3414
+ };
3415
+ "/v1/{workspace_id}/m42/clusters/forecast": {
3416
+ parameters: {
3417
+ query?: never;
3418
+ header?: never;
3419
+ path?: never;
3420
+ cookie?: never;
3421
+ };
3422
+ /**
3423
+ * List Cluster Forecast
3424
+ * @description Per-cluster forecast fan points for the Patient Profile multi-line chart. ``focus_area`` defaults to T2D for backward compat.
3425
+ */
3426
+ get: operations["list_cluster_forecast_v1__workspace_id__m42_clusters_forecast_get"];
3427
+ put?: never;
3428
+ post?: never;
3429
+ delete?: never;
3430
+ options?: never;
3431
+ head?: never;
3432
+ patch?: never;
3433
+ trace?: never;
3434
+ };
3435
+ "/v1/{workspace_id}/m42/clusters/summary": {
3436
+ parameters: {
3437
+ query?: never;
3438
+ header?: never;
3439
+ path?: never;
3440
+ cookie?: never;
3441
+ };
3442
+ /**
3443
+ * List Cluster Summary
3444
+ * @description Per-cluster cohort stats — size, mean age/BMI/HbA1c, prediabetes / T2D %, predicted-risk mean. Powers the Patient Profile cluster strip.
3445
+ */
3446
+ get: operations["list_cluster_summary_v1__workspace_id__m42_clusters_summary_get"];
3447
+ put?: never;
3448
+ post?: never;
3449
+ delete?: never;
3450
+ options?: never;
3451
+ head?: never;
3452
+ patch?: never;
3453
+ trace?: never;
3454
+ };
3455
+ "/v1/{workspace_id}/m42/district-metrics": {
3456
+ parameters: {
3457
+ query?: never;
3458
+ header?: never;
3459
+ path?: never;
3460
+ cookie?: never;
3461
+ };
3462
+ /**
3463
+ * List District Metrics
3464
+ * @description Per-district t2d observed vs predicted incidence, capacity gap, and unmet-demand score. Hand-seeded demo data.
3465
+ */
3466
+ get: operations["list_district_metrics_v1__workspace_id__m42_district_metrics_get"];
3467
+ put?: never;
3468
+ post?: never;
3469
+ delete?: never;
3470
+ options?: never;
3471
+ head?: never;
3472
+ patch?: never;
3473
+ trace?: never;
3474
+ };
3475
+ "/v1/{workspace_id}/m42/features": {
3476
+ parameters: {
3477
+ query?: never;
3478
+ header?: never;
3479
+ path?: never;
3480
+ cookie?: never;
3481
+ };
3482
+ /**
3483
+ * List Features
3484
+ * @description Allowlist of feature columns (continuous or binary) for the Explore UI.
3485
+ */
3486
+ get: operations["list_features_v1__workspace_id__m42_features_get"];
3487
+ put?: never;
3488
+ post?: never;
3489
+ delete?: never;
3490
+ options?: never;
3491
+ head?: never;
3492
+ patch?: never;
3493
+ trace?: never;
3494
+ };
3495
+ "/v1/{workspace_id}/m42/features/distribution": {
3496
+ parameters: {
3497
+ query?: never;
3498
+ header?: never;
3499
+ path?: never;
3500
+ cookie?: never;
3501
+ };
3502
+ /**
3503
+ * Feature Distribution
3504
+ * @description Histogram bins for one allowlisted feature, stratified by ``y_t2d_1yr`` outcome. Continuous features get ``bins`` buckets; binary features collapse to 2.
3505
+ */
3506
+ get: operations["feature_distribution_v1__workspace_id__m42_features_distribution_get"];
3507
+ put?: never;
3508
+ post?: never;
3509
+ delete?: never;
3510
+ options?: never;
3511
+ head?: never;
3512
+ patch?: never;
3513
+ trace?: never;
3514
+ };
3515
+ "/v1/{workspace_id}/m42/forecast-fan": {
3516
+ parameters: {
3517
+ query?: never;
3518
+ header?: never;
3519
+ path?: never;
3520
+ cookie?: never;
3521
+ };
3522
+ /**
3523
+ * List Forecast Fan
3524
+ * @description Forecast fan points (t, median, lower/upper 95% CI) for a named run + scenario. Used by the Sensorium observational fan and the Sims dual-envelope overlay.
3525
+ */
3526
+ get: operations["list_forecast_fan_v1__workspace_id__m42_forecast_fan_get"];
3527
+ put?: never;
3528
+ post?: never;
3529
+ delete?: never;
3530
+ options?: never;
3531
+ head?: never;
3532
+ patch?: never;
3533
+ trace?: never;
3534
+ };
3535
+ "/v1/{workspace_id}/m42/forecast-fan/draws": {
3536
+ parameters: {
3537
+ query?: never;
3538
+ header?: never;
3539
+ path?: never;
3540
+ cookie?: never;
3541
+ };
3542
+ /**
3543
+ * List Forecast Draws
3544
+ * @description Sampled subset of raw Poisson bootstrap draws (faint spaghetti curves behind the forecast fan).
3545
+ */
3546
+ get: operations["list_forecast_draws_v1__workspace_id__m42_forecast_fan_draws_get"];
3547
+ put?: never;
3548
+ post?: never;
3549
+ delete?: never;
3550
+ options?: never;
3551
+ head?: never;
3552
+ patch?: never;
3553
+ trace?: never;
3554
+ };
3555
+ "/v1/{workspace_id}/m42/model-registry": {
3556
+ parameters: {
3557
+ query?: never;
3558
+ header?: never;
3559
+ path?: never;
3560
+ cookie?: never;
3561
+ };
3562
+ /**
3563
+ * List Model Registry
3564
+ * @description Fitted GLM coefficients, training-set size, AUROC for each focus-area model. Inline JSON kept as strings — clients parse.
3565
+ */
3566
+ get: operations["list_model_registry_v1__workspace_id__m42_model_registry_get"];
3567
+ put?: never;
3568
+ post?: never;
3569
+ delete?: never;
3570
+ options?: never;
3571
+ head?: never;
3572
+ patch?: never;
3573
+ trace?: never;
3574
+ };
3575
+ "/v1/{workspace_id}/m42/patient-topology": {
3576
+ parameters: {
3577
+ query?: never;
3578
+ header?: never;
3579
+ path?: never;
3580
+ cookie?: never;
3581
+ };
3582
+ /**
3583
+ * List Patient Topology
3584
+ * @description Patient-level UMAP coordinates + predicted risk for the Self-Image scatter. Hand-seeded demo data (no ML training). Paginated.
3585
+ */
3586
+ get: operations["list_patient_topology_v1__workspace_id__m42_patient_topology_get"];
3587
+ put?: never;
3588
+ post?: never;
3589
+ delete?: never;
3590
+ options?: never;
3591
+ head?: never;
3592
+ patch?: never;
3593
+ trace?: never;
3594
+ };
3595
+ "/v1/{workspace_id}/m42/patients/{patient_id}/labs": {
3596
+ parameters: {
3597
+ query?: never;
3598
+ header?: never;
3599
+ path?: never;
3600
+ cookie?: never;
3601
+ };
3602
+ /**
3603
+ * List Patient Labs
3604
+ * @description Patient-level bronze lab rows ordered by observation_date. Drives the mini-trajectory charts in the Patient Profile drawer.
3605
+ */
3606
+ get: operations["list_patient_labs_v1__workspace_id__m42_patients__patient_id__labs_get"];
3607
+ put?: never;
3608
+ post?: never;
3609
+ delete?: never;
3610
+ options?: never;
3611
+ head?: never;
3612
+ patch?: never;
3613
+ trace?: never;
3614
+ };
3615
+ "/v1/{workspace_id}/m42/patients/{patient_id}/note": {
3616
+ parameters: {
3617
+ query?: never;
3618
+ header?: never;
3619
+ path?: never;
3620
+ cookie?: never;
3621
+ };
3622
+ /**
3623
+ * Get Patient Note
3624
+ * @description Patient's synthetic clinical note + LLM-extracted structured fields. NLP sample is 500 patients — returns 404 outside that set.
3625
+ */
3626
+ get: operations["get_patient_note_v1__workspace_id__m42_patients__patient_id__note_get"];
3627
+ put?: never;
3628
+ post?: never;
3629
+ delete?: never;
3630
+ options?: never;
3631
+ head?: never;
3632
+ patch?: never;
3633
+ trace?: never;
3634
+ };
3635
+ "/v1/{workspace_id}/m42/positive-signals": {
3636
+ parameters: {
3637
+ query?: never;
3638
+ header?: never;
3639
+ path?: never;
3640
+ cookie?: never;
3641
+ };
3642
+ /**
3643
+ * List Positive Signals
3644
+ * @description Small set of positive-trend headline metrics for the Sensorium hero strip. Hand-seeded demo data.
3645
+ */
3646
+ get: operations["list_positive_signals_v1__workspace_id__m42_positive_signals_get"];
3647
+ put?: never;
3648
+ post?: never;
3649
+ delete?: never;
3650
+ options?: never;
3651
+ head?: never;
3652
+ patch?: never;
3653
+ trace?: never;
3654
+ };
3123
3655
  "/v1/{workspace_id}/memory/analytics": {
3124
3656
  parameters: {
3125
3657
  query?: never;
@@ -3242,28 +3774,6 @@ export interface paths {
3242
3774
  patch?: never;
3243
3775
  trace?: never;
3244
3776
  };
3245
- "/v1/{workspace_id}/metrics/freshness": {
3246
- parameters: {
3247
- query?: never;
3248
- header?: never;
3249
- path?: never;
3250
- cookie?: never;
3251
- };
3252
- /**
3253
- * Get metric freshness status
3254
- * @description Get freshness status for all metrics in the workspace.
3255
- *
3256
- * Permissions: authenticated (any role).
3257
- */
3258
- get: operations["get-metric-freshness"];
3259
- put?: never;
3260
- post?: never;
3261
- delete?: never;
3262
- options?: never;
3263
- head?: never;
3264
- patch?: never;
3265
- trace?: never;
3266
- };
3267
3777
  "/v1/{workspace_id}/metrics/{metric_key}": {
3268
3778
  parameters: {
3269
3779
  query?: never;
@@ -4862,6 +5372,30 @@ export interface paths {
4862
5372
  patch?: never;
4863
5373
  trace?: never;
4864
5374
  };
5375
+ "/v1/{workspace_id}/services/{service_id}/voice-judge/recent": {
5376
+ parameters: {
5377
+ query?: never;
5378
+ header?: never;
5379
+ path?: never;
5380
+ cookie?: never;
5381
+ };
5382
+ /**
5383
+ * Recent voice-judge results for a service
5384
+ * @description Returns the most recent per-call voice-judge scores for one service, ordered newest first. Produced by the Databricks `voice_judge` job (stereo audio → Gemini 2.5 Flash → 10-dimension rubric). Used by the Agent Readiness page to populate Voice Quality criterion cards.
5385
+ *
5386
+ * **Latency**: 500ms-2s (reads from analytics warehouse, not OLTP).
5387
+ *
5388
+ * **Default limit**: 20. Max 100.
5389
+ */
5390
+ get: operations["list-voice-judge-recent"];
5391
+ put?: never;
5392
+ post?: never;
5393
+ delete?: never;
5394
+ options?: never;
5395
+ head?: never;
5396
+ patch?: never;
5397
+ trace?: never;
5398
+ };
4865
5399
  "/v1/{workspace_id}/services/{service_id}/voice-turn": {
4866
5400
  parameters: {
4867
5401
  query?: never;
@@ -5534,6 +6068,32 @@ export interface paths {
5534
6068
  patch?: never;
5535
6069
  trace?: never;
5536
6070
  };
6071
+ "/v1/{workspace_id}/simulations/bridge/plan": {
6072
+ parameters: {
6073
+ query?: never;
6074
+ header?: never;
6075
+ path?: never;
6076
+ cookie?: never;
6077
+ };
6078
+ get?: never;
6079
+ put?: never;
6080
+ /**
6081
+ * Simulation Bridge Plan
6082
+ * @description Infer a TargetSpec from an NL objective — preview before running /bridge.
6083
+ *
6084
+ * UX: user types "test scheduling failures in 20 different ways", we return
6085
+ * a structured target_spec + rationale. The frontend shows both, lets the
6086
+ * user edit (add/remove states, tighten pathways), then POSTs the final
6087
+ * spec to /bridge. Same LLM, same Vertex cost structure as /bridge, but
6088
+ * no run is created — pure inference.
6089
+ */
6090
+ post: operations["simulation-bridge-plan"];
6091
+ delete?: never;
6092
+ options?: never;
6093
+ head?: never;
6094
+ patch?: never;
6095
+ trace?: never;
6096
+ };
5537
6097
  "/v1/{workspace_id}/simulations/config-to-policy": {
5538
6098
  parameters: {
5539
6099
  query?: never;
@@ -5572,6 +6132,28 @@ export interface paths {
5572
6132
  patch?: never;
5573
6133
  trace?: never;
5574
6134
  };
6135
+ "/v1/{workspace_id}/simulations/runs/{run_id}": {
6136
+ parameters: {
6137
+ query?: never;
6138
+ header?: never;
6139
+ path?: never;
6140
+ cookie?: never;
6141
+ };
6142
+ /**
6143
+ * Get Simulation Run
6144
+ * @description Fetch a single run including objective / bridge_request / scenarios.
6145
+ *
6146
+ * Use the bridge_request payload to re-POST /bridge and replay the run.
6147
+ */
6148
+ get: operations["get-simulation-run"];
6149
+ put?: never;
6150
+ post?: never;
6151
+ delete?: never;
6152
+ options?: never;
6153
+ head?: never;
6154
+ patch?: never;
6155
+ trace?: never;
6156
+ };
5575
6157
  "/v1/{workspace_id}/simulations/runs/{run_id}/complete": {
5576
6158
  parameters: {
5577
6159
  query?: never;
@@ -7419,7 +8001,7 @@ export interface components {
7419
8001
  * Direction
7420
8002
  * @description Call direction
7421
8003
  */
7422
- direction?: ("inbound" | "outbound" | "playground" | "simulated") | null;
8004
+ direction?: ("inbound" | "outbound" | "playground" | "simulated" | "test") | null;
7423
8005
  /**
7424
8006
  * Escalation Id
7425
8007
  * @description Escalation event ID
@@ -7470,7 +8052,7 @@ export interface components {
7470
8052
  * @description Current escalation state
7471
8053
  * @enum {string}
7472
8054
  */
7473
- status: "none" | "requested" | "connected" | "completed" | "cancelled" | "timeout";
8055
+ status: "none" | "requested" | "connected" | "handback" | "completed";
7474
8056
  /**
7475
8057
  * Trigger
7476
8058
  * @description What triggered the escalation
@@ -7655,6 +8237,42 @@ export interface components {
7655
8237
  */
7656
8238
  type: "annotation";
7657
8239
  };
8240
+ /** AnomalyAlertResponse */
8241
+ AnomalyAlertResponse: {
8242
+ /** Count */
8243
+ count: number;
8244
+ /** Items */
8245
+ items: components["schemas"]["AnomalyAlertRow"][];
8246
+ /** Workspace Id */
8247
+ workspace_id: string;
8248
+ };
8249
+ /** AnomalyAlertRow */
8250
+ AnomalyAlertRow: {
8251
+ /** Actions Json */
8252
+ actions_json?: string | null;
8253
+ /** Alert Id */
8254
+ alert_id: string;
8255
+ /** Decomposition Json */
8256
+ decomposition_json?: string | null;
8257
+ /** Detected At */
8258
+ detected_at?: string | null;
8259
+ /** Mechanism */
8260
+ mechanism?: string | null;
8261
+ /** Narrative */
8262
+ narrative?: string | null;
8263
+ /** Priority Score */
8264
+ priority_score?: number | null;
8265
+ /** Projection Json */
8266
+ projection_json?: string | null;
8267
+ /** Severity */
8268
+ severity?: ("high" | "medium" | "low") | null;
8269
+ /** Slice Label */
8270
+ slice_label: string;
8271
+ /** Stats Json */
8272
+ stats_json?: string | null;
8273
+ /** Workspace Id */
8274
+ workspace_id: string;
8275
+ };
7658
8276
  /** ApiKeyResponse */
7659
8277
  ApiKeyResponse: {
7660
8278
  /**
@@ -8206,8 +8824,38 @@ export interface components {
8206
8824
  BrandingSettingsResponse: {
8207
8825
  branding: components["schemas"]["BrandingConfig"];
8208
8826
  };
8827
+ /** BridgePlanRequest */
8828
+ BridgePlanRequest: {
8829
+ /** Objective */
8830
+ objective: string;
8831
+ /**
8832
+ * Service Id
8833
+ * Format: uuid
8834
+ */
8835
+ service_id: string;
8836
+ };
8837
+ /** BridgePlanResponse */
8838
+ BridgePlanResponse: {
8839
+ /** Available States */
8840
+ available_states?: string[];
8841
+ /** Available Tools */
8842
+ available_tools?: string[];
8843
+ /** Rationale */
8844
+ rationale: string;
8845
+ target_spec: components["schemas"]["TargetSpec"];
8846
+ };
8209
8847
  /** BridgeRequest */
8210
8848
  BridgeRequest: {
8849
+ /**
8850
+ * Async Generation
8851
+ * @default false
8852
+ */
8853
+ async_generation?: boolean;
8854
+ /**
8855
+ * Auto Target Spec
8856
+ * @default false
8857
+ */
8858
+ auto_target_spec?: boolean;
8211
8859
  /** Branch Name */
8212
8860
  branch_name?: string | null;
8213
8861
  /**
@@ -8215,6 +8863,7 @@ export interface components {
8215
8863
  * @default 3
8216
8864
  */
8217
8865
  concurrency?: number;
8866
+ exploration?: components["schemas"]["ExplorationConfig"] | null;
8218
8867
  /**
8219
8868
  * Max Turns
8220
8869
  * @default 20
@@ -8234,9 +8883,13 @@ export interface components {
8234
8883
  service_id: string;
8235
8884
  /** Tags */
8236
8885
  tags?: string[];
8886
+ target_spec?: components["schemas"]["TargetSpec"] | null;
8237
8887
  };
8238
8888
  /** BridgeResponse */
8239
8889
  BridgeResponse: {
8890
+ inferred_target_spec?: components["schemas"]["TargetSpec"] | null;
8891
+ /** Inferred Target Spec Rationale */
8892
+ inferred_target_spec_rationale?: string | null;
8240
8893
  /**
8241
8894
  * Run Id
8242
8895
  * Format: uuid
@@ -8356,7 +9009,7 @@ export interface components {
8356
9009
  * Completion Reason
8357
9010
  * @description Why the call ended
8358
9011
  */
8359
- completion_reason?: ("completed" | "abandoned" | "escalated" | "transferred" | "timeout" | "error" | "voicemail" | "no_answer") | null;
9012
+ completion_reason?: ("completed" | "abandoned" | "escalated" | "transferred" | "timeout" | "error" | "voicemail" | "no_answer" | "caller_hangup" | "forwarded" | "terminal_state" | "warm_transfer_completed" | "no_inbound_audio" | "cancelled") | null;
8360
9013
  /** @description Conversation flow metrics */
8361
9014
  conversation_summary?: components["schemas"]["ConversationSummary"] | null;
8362
9015
  /**
@@ -8370,7 +9023,7 @@ export interface components {
8370
9023
  * @default inbound
8371
9024
  * @enum {string}
8372
9025
  */
8373
- direction?: "inbound" | "outbound" | "playground" | "simulated";
9026
+ direction?: "inbound" | "outbound" | "playground" | "simulated" | "test";
8374
9027
  /**
8375
9028
  * Duration Seconds
8376
9029
  * @description Call duration in seconds
@@ -8474,12 +9127,12 @@ export interface components {
8474
9127
  * Completion Reason
8475
9128
  * @description Why the call ended
8476
9129
  */
8477
- completion_reason?: ("completed" | "abandoned" | "escalated" | "transferred" | "timeout" | "error" | "voicemail" | "no_answer") | null;
9130
+ completion_reason?: ("completed" | "abandoned" | "escalated" | "transferred" | "timeout" | "error" | "voicemail" | "no_answer" | "caller_hangup" | "forwarded" | "terminal_state" | "warm_transfer_completed" | "no_inbound_audio" | "cancelled") | null;
8478
9131
  /**
8479
9132
  * Direction
8480
9133
  * @description Call direction
8481
9134
  */
8482
- direction?: ("inbound" | "outbound" | "playground" | "simulated") | null;
9135
+ direction?: ("inbound" | "outbound" | "playground" | "simulated" | "test") | null;
8483
9136
  /**
8484
9137
  * Duration Seconds
8485
9138
  * @description Call duration in seconds
@@ -8494,7 +9147,7 @@ export interface components {
8494
9147
  * Escalation Status
8495
9148
  * @description Escalation state if any
8496
9149
  */
8497
- escalation_status?: string | null;
9150
+ escalation_status?: ("none" | "requested" | "connected" | "handback" | "completed") | null;
8498
9151
  /**
8499
9152
  * Final State
8500
9153
  * @description Final conversation state
@@ -8539,7 +9192,7 @@ export interface components {
8539
9192
  * Source
8540
9193
  * @description Whether this is a real or simulated call
8541
9194
  */
8542
- source?: ("real" | "simulated") | null;
9195
+ source?: ("real" | "simulated" | "playground" | "scribe") | null;
8543
9196
  /**
8544
9197
  * Started At
8545
9198
  * @description When the call started
@@ -8570,6 +9223,19 @@ export interface components {
8570
9223
  /** Total Segments */
8571
9224
  total_segments: number;
8572
9225
  };
9226
+ /** CatalogEntry */
9227
+ CatalogEntry: {
9228
+ /** Description */
9229
+ description: string;
9230
+ /** Exists */
9231
+ exists: boolean;
9232
+ /** Layer */
9233
+ layer: string;
9234
+ /** Name */
9235
+ name: string;
9236
+ /** Row Count */
9237
+ row_count: number;
9238
+ };
8573
9239
  /**
8574
9240
  * CatalogFunctionDef
8575
9241
  * @description A function discovered from the Databricks UC catalog.
@@ -8741,6 +9407,64 @@ export interface components {
8741
9407
  /** Status */
8742
9408
  status: string;
8743
9409
  };
9410
+ /** ClusterForecastPointRow */
9411
+ ClusterForecastPointRow: {
9412
+ /** Cluster Name */
9413
+ cluster_name: string;
9414
+ /** Focus Area */
9415
+ focus_area?: string | null;
9416
+ /** Is Historical */
9417
+ is_historical?: boolean | null;
9418
+ /** Lower 95 */
9419
+ lower_95?: number | null;
9420
+ /** Median */
9421
+ median?: number | null;
9422
+ /** T */
9423
+ t: number;
9424
+ /** Upper 95 */
9425
+ upper_95?: number | null;
9426
+ /** Workspace Id */
9427
+ workspace_id: string;
9428
+ };
9429
+ /** ClusterForecastResponse */
9430
+ ClusterForecastResponse: {
9431
+ /** Count */
9432
+ count: number;
9433
+ /** Items */
9434
+ items: components["schemas"]["ClusterForecastPointRow"][];
9435
+ /** Workspace Id */
9436
+ workspace_id: string;
9437
+ };
9438
+ /** ClusterSummaryResponse */
9439
+ ClusterSummaryResponse: {
9440
+ /** Count */
9441
+ count: number;
9442
+ /** Items */
9443
+ items: components["schemas"]["ClusterSummaryRow"][];
9444
+ /** Workspace Id */
9445
+ workspace_id: string;
9446
+ };
9447
+ /** ClusterSummaryRow */
9448
+ ClusterSummaryRow: {
9449
+ /** Cluster Name */
9450
+ cluster_name: string;
9451
+ /** Cohort Size */
9452
+ cohort_size: number;
9453
+ /** Mean Age */
9454
+ mean_age?: number | null;
9455
+ /** Mean Bmi */
9456
+ mean_bmi?: number | null;
9457
+ /** Mean Hba1C */
9458
+ mean_hba1c?: number | null;
9459
+ /** Mean Y Hat */
9460
+ mean_y_hat?: number | null;
9461
+ /** Pct Male */
9462
+ pct_male?: number | null;
9463
+ /** Pct Prediabetes */
9464
+ pct_prediabetes?: number | null;
9465
+ /** Pct T2D */
9466
+ pct_t2d?: number | null;
9467
+ };
8744
9468
  /**
8745
9469
  * CoachingItem
8746
9470
  * @description A specific, actionable improvement tied to an exact moment in the call.
@@ -8840,12 +9564,33 @@ export interface components {
8840
9564
  /** Validation */
8841
9565
  validation?: string | null;
8842
9566
  };
9567
+ /** ColumnInfo */
9568
+ ColumnInfo: {
9569
+ /** Column Name */
9570
+ column_name: string;
9571
+ /** Comment */
9572
+ comment?: string | null;
9573
+ /** Data Type */
9574
+ data_type: string;
9575
+ };
9576
+ /** ColumnsResponse */
9577
+ ColumnsResponse: {
9578
+ /** Count */
9579
+ count: number;
9580
+ /** Items */
9581
+ items: components["schemas"]["ColumnInfo"][];
9582
+ /** Workspace Id */
9583
+ workspace_id: string;
9584
+ };
8843
9585
  /** CommandCenterAlert */
8844
9586
  CommandCenterAlert: {
8845
9587
  /** Code */
8846
9588
  code: string;
8847
- /** Level */
8848
- level: string;
9589
+ /**
9590
+ * Level
9591
+ * @enum {string}
9592
+ */
9593
+ level: "info" | "warning" | "critical";
8849
9594
  /** Message */
8850
9595
  message: string;
8851
9596
  /** Section */
@@ -8909,6 +9654,13 @@ export interface components {
8909
9654
  /** Workspace Id */
8910
9655
  workspace_id: string;
8911
9656
  };
9657
+ /** CompletionCriteria */
9658
+ CompletionCriteria: {
9659
+ /** State Based */
9660
+ state_based?: string[];
9661
+ /** Tool Based */
9662
+ tool_based?: string[];
9663
+ };
8912
9664
  /**
8913
9665
  * ComplianceDashboardResponse
8914
9666
  * @description Composite compliance health overview.
@@ -9067,8 +9819,9 @@ export interface components {
9067
9819
  /**
9068
9820
  * Health Status
9069
9821
  * @default unknown
9822
+ * @enum {string}
9070
9823
  */
9071
- health_status?: string;
9824
+ health_status?: "unknown" | "healthy" | "degraded";
9072
9825
  /**
9073
9826
  * Is Active
9074
9827
  * @default true
@@ -9082,7 +9835,7 @@ export interface components {
9082
9835
  */
9083
9836
  last_sync_event_count?: number;
9084
9837
  /** Last Sync Status */
9085
- last_sync_status?: string | null;
9838
+ last_sync_status?: ("success" | "error") | null;
9086
9839
  /** Name */
9087
9840
  name: string;
9088
9841
  /** Source Type */
@@ -9102,6 +9855,7 @@ export interface components {
9102
9855
  ConnectorResourcesResponse: {
9103
9856
  /**
9104
9857
  * Data Source Id
9858
+ * Format: uuid
9105
9859
  * @description UUID of the connected data source
9106
9860
  */
9107
9861
  data_source_id: string;
@@ -9518,6 +10272,28 @@ export interface components {
9518
10272
  /** Slug */
9519
10273
  slug: string;
9520
10274
  };
10275
+ /** CreateDashboardRequest */
10276
+ CreateDashboardRequest: {
10277
+ description?: components["schemas"]["DescriptionString"] | null;
10278
+ /** Filters */
10279
+ filters?: {
10280
+ [key: string]: unknown;
10281
+ }[];
10282
+ /** Page Context */
10283
+ page_context?: ("home" | "patients" | "calls" | "analytics" | "pipeline" | "operators" | "surfaces" | "compliance" | "custom") | null;
10284
+ /** Panels */
10285
+ panels?: {
10286
+ [key: string]: unknown;
10287
+ }[];
10288
+ /**
10289
+ * Refresh Interval
10290
+ * @default 300
10291
+ */
10292
+ refresh_interval?: number;
10293
+ /** Slug */
10294
+ slug: string;
10295
+ title: components["schemas"]["NameString"];
10296
+ };
9521
10297
  /** CreateDataSourceRequest */
9522
10298
  CreateDataSourceRequest: {
9523
10299
  /** Connection Config */
@@ -9595,6 +10371,21 @@ export interface components {
9595
10371
  */
9596
10372
  protocol?: "rest" | "fhir" | "mcp";
9597
10373
  };
10374
+ /** CreateLinkRequest */
10375
+ CreateLinkRequest: {
10376
+ customer_slug: components["schemas"]["SlugString"];
10377
+ display_name?: components["schemas"]["NameString"] | null;
10378
+ /**
10379
+ * Expires In Hours
10380
+ * @default 168
10381
+ */
10382
+ expires_in_hours?: number;
10383
+ /**
10384
+ * Max Uploads
10385
+ * @default 100
10386
+ */
10387
+ max_uploads?: number;
10388
+ };
9598
10389
  /** CreateMonitorConceptRequest */
9599
10390
  CreateMonitorConceptRequest: {
9600
10391
  agent_config?: components["schemas"]["AgentConfigPayload"];
@@ -10349,7 +11140,7 @@ export interface components {
10349
11140
  /** Last Sync At */
10350
11141
  last_sync_at?: string | null;
10351
11142
  /** Last Sync Status */
10352
- last_sync_status?: string | null;
11143
+ last_sync_status?: ("success" | "error") | null;
10353
11144
  /**
10354
11145
  * Sync Failure Count
10355
11146
  * @default 0
@@ -10487,82 +11278,98 @@ export interface components {
10487
11278
  */
10488
11279
  date: string;
10489
11280
  };
10490
- /** DashboardResponse */
10491
- DashboardResponse: {
10492
- /** Active Escalations */
10493
- active_escalations: number;
10494
- escalations_today: components["schemas"]["EscalationDailyStats"];
10495
- operators: components["schemas"]["OperatorStatusCounts"];
10496
- /** Recent Escalations */
10497
- recent_escalations: components["schemas"]["ActiveEscalationItem"][];
11281
+ /** DashboardDefinitionResponse */
11282
+ DashboardDefinitionResponse: {
10498
11283
  /**
10499
- * Workspace Id
11284
+ * Created At
11285
+ * @description When the dashboard was created
11286
+ */
11287
+ created_at?: string | null;
11288
+ /**
11289
+ * Created By
11290
+ * @description Creator identifier
11291
+ */
11292
+ created_by?: string | null;
11293
+ /**
11294
+ * Description
11295
+ * @description Human-readable description
11296
+ */
11297
+ description?: string | null;
11298
+ /**
11299
+ * Filters
11300
+ * @description Dashboard-level filter controls
11301
+ */
11302
+ filters: {
11303
+ [key: string]: unknown;
11304
+ }[];
11305
+ /**
11306
+ * Id
10500
11307
  * Format: uuid
10501
11308
  */
10502
- workspace_id: string;
10503
- };
10504
- /**
10505
- * DataCollectionState
10506
- * @description Structured voice/text data collection with field tracking.
10507
- *
10508
- * The engine presents fields conversationally, tracks completion, and
10509
- * optionally falls back to a Surface form after N turns. Each collected
10510
- * field produces a world.event with confidence 0.5.
10511
- */
10512
- "DataCollectionState-Input": {
11309
+ id: string;
10513
11310
  /**
10514
- * Action Guidelines
10515
- * @default []
11311
+ * Is Active
11312
+ * @description Whether the dashboard is active
10516
11313
  */
10517
- action_guidelines?: string[];
11314
+ is_active: boolean;
10518
11315
  /**
10519
- * Boundary Constraints
10520
- * @default []
11316
+ * Page Context
11317
+ * @description Developer console page where this dashboard renders
10521
11318
  */
10522
- boundary_constraints?: string[];
10523
- /** Channel Overrides */
10524
- channel_overrides?: {
10525
- [key: string]: components["schemas"]["ChannelOverride"];
10526
- };
10527
- /** Fields */
10528
- fields: components["schemas"]["CollectionField"][];
11319
+ page_context?: string | null;
10529
11320
  /**
10530
- * Guardrails
10531
- * @default []
11321
+ * Panels
11322
+ * @description Ordered list of panel definitions
10532
11323
  */
10533
- guardrails?: components["schemas"]["Guardrail"][];
11324
+ panels: {
11325
+ [key: string]: unknown;
11326
+ }[];
10534
11327
  /**
10535
- * Max Turns
10536
- * @default 10
11328
+ * Refresh Interval
11329
+ * @description Auto-refresh interval in seconds
10537
11330
  */
10538
- max_turns?: number;
10539
- /** Name */
10540
- name: string;
10541
- /** Objective */
10542
- objective: string;
10543
- /** On Complete */
10544
- on_complete: string;
11331
+ refresh_interval: number;
10545
11332
  /**
10546
- * Surface Fallback
10547
- * @default false
11333
+ * Slug
11334
+ * @description URL-safe identifier
10548
11335
  */
10549
- surface_fallback?: boolean;
11336
+ slug: string;
10550
11337
  /**
10551
- * Surface Fallback After Turns
10552
- * @default 6
11338
+ * Title
11339
+ * @description Dashboard display title
10553
11340
  */
10554
- surface_fallback_after_turns?: number;
11341
+ title: string;
10555
11342
  /**
10556
- * Tool Call Specs
10557
- * @default []
11343
+ * Updated At
11344
+ * @description When the dashboard was last updated
10558
11345
  */
10559
- tool_call_specs?: components["schemas"]["ToolCallSpec"][];
10560
- turn_policy?: components["schemas"]["TurnPolicy"] | null;
11346
+ updated_at?: string | null;
11347
+ /** Workspace Id */
11348
+ workspace_id?: string | null;
11349
+ };
11350
+ /** DashboardExecuteResponse */
11351
+ DashboardExecuteResponse: {
10561
11352
  /**
10562
- * @description discriminator enum property added by openapi-typescript
10563
- * @enum {string}
11353
+ * Dashboard Id
11354
+ * Format: uuid
10564
11355
  */
10565
- type: "data_collection";
11356
+ dashboard_id: string;
11357
+ /** Results */
11358
+ results: components["schemas"]["PanelResultResponse"][];
11359
+ };
11360
+ /** DashboardResponse */
11361
+ DashboardResponse: {
11362
+ /** Active Escalations */
11363
+ active_escalations: number;
11364
+ escalations_today: components["schemas"]["EscalationDailyStats"];
11365
+ operators: components["schemas"]["OperatorStatusCounts"];
11366
+ /** Recent Escalations */
11367
+ recent_escalations: components["schemas"]["ActiveEscalationItem"][];
11368
+ /**
11369
+ * Workspace Id
11370
+ * Format: uuid
11371
+ */
11372
+ workspace_id: string;
10566
11373
  };
10567
11374
  /**
10568
11375
  * DataCollectionState
@@ -10572,7 +11379,70 @@ export interface components {
10572
11379
  * optionally falls back to a Surface form after N turns. Each collected
10573
11380
  * field produces a world.event with confidence 0.5.
10574
11381
  */
10575
- "DataCollectionState-Output": {
11382
+ "DataCollectionState-Input": {
11383
+ /**
11384
+ * Action Guidelines
11385
+ * @default []
11386
+ */
11387
+ action_guidelines?: string[];
11388
+ /**
11389
+ * Boundary Constraints
11390
+ * @default []
11391
+ */
11392
+ boundary_constraints?: string[];
11393
+ /** Channel Overrides */
11394
+ channel_overrides?: {
11395
+ [key: string]: components["schemas"]["ChannelOverride"];
11396
+ };
11397
+ /** Fields */
11398
+ fields: components["schemas"]["CollectionField"][];
11399
+ /**
11400
+ * Guardrails
11401
+ * @default []
11402
+ */
11403
+ guardrails?: components["schemas"]["Guardrail"][];
11404
+ /**
11405
+ * Max Turns
11406
+ * @default 10
11407
+ */
11408
+ max_turns?: number;
11409
+ /** Name */
11410
+ name: string;
11411
+ /** Objective */
11412
+ objective: string;
11413
+ /** On Complete */
11414
+ on_complete: string;
11415
+ /**
11416
+ * Surface Fallback
11417
+ * @default false
11418
+ */
11419
+ surface_fallback?: boolean;
11420
+ /**
11421
+ * Surface Fallback After Turns
11422
+ * @default 6
11423
+ */
11424
+ surface_fallback_after_turns?: number;
11425
+ /**
11426
+ * Tool Call Specs
11427
+ * @default []
11428
+ */
11429
+ tool_call_specs?: components["schemas"]["ToolCallSpec"][];
11430
+ turn_policy?: components["schemas"]["TurnPolicy"] | null;
11431
+ /**
11432
+ * @description discriminator enum property added by openapi-typescript
11433
+ * @enum {string}
11434
+ */
11435
+ type: "data_collection";
11436
+ };
11437
+ /**
11438
+ * DataCollectionState
11439
+ * @description Structured voice/text data collection with field tracking.
11440
+ *
11441
+ * The engine presents fields conversationally, tracks completion, and
11442
+ * optionally falls back to a Surface form after N turns. Each collected
11443
+ * field produces a world.event with confidence 0.5.
11444
+ */
11445
+ "DataCollectionState-Output": {
10576
11446
  /**
10577
11447
  * Action Guidelines
10578
11448
  * @default []
@@ -10735,8 +11605,11 @@ export interface components {
10735
11605
  field_mappings: {
10736
11606
  [key: string]: unknown;
10737
11607
  };
10738
- /** Health Status */
10739
- health_status: string;
11608
+ /**
11609
+ * Health Status
11610
+ * @enum {string}
11611
+ */
11612
+ health_status: "unknown" | "healthy" | "degraded";
10740
11613
  /** Id */
10741
11614
  id: string;
10742
11615
  /** Is Active */
@@ -10750,15 +11623,21 @@ export interface components {
10750
11623
  /** Last Sync Event Count */
10751
11624
  last_sync_event_count: number;
10752
11625
  /** Last Sync Status */
10753
- last_sync_status: string | null;
11626
+ last_sync_status: ("success" | "error") | null;
10754
11627
  /** Name */
10755
11628
  name: string;
10756
- /** Source Type */
10757
- source_type: string;
11629
+ /**
11630
+ * Source Type
11631
+ * @enum {string}
11632
+ */
11633
+ source_type: "rest_api" | "webhook" | "file_drop" | "fhir" | "fhir_store" | "ehr" | "crm" | "database" | "custom" | "smart_fhir";
10758
11634
  /** Sync Schedule */
10759
11635
  sync_schedule: string | null;
10760
- /** Sync Strategy */
10761
- sync_strategy: string;
11636
+ /**
11637
+ * Sync Strategy
11638
+ * @enum {string}
11639
+ */
11640
+ sync_strategy: "manual" | "scheduled" | "webhook" | "continuous";
10762
11641
  /**
10763
11642
  * Updated At
10764
11643
  * Format: date-time
@@ -10775,8 +11654,11 @@ export interface components {
10775
11654
  event_count: number;
10776
11655
  /** Failed Count */
10777
11656
  failed_count: number;
10778
- /** Health Status */
10779
- health_status: string;
11657
+ /**
11658
+ * Health Status
11659
+ * @enum {string}
11660
+ */
11661
+ health_status: "unknown" | "healthy" | "degraded";
10780
11662
  /** Is Active */
10781
11663
  is_active: boolean;
10782
11664
  /** Last Sync At */
@@ -10784,7 +11666,7 @@ export interface components {
10784
11666
  /** Last Sync Event Count */
10785
11667
  last_sync_event_count: number;
10786
11668
  /** Last Sync Status */
10787
- last_sync_status: string | null;
11669
+ last_sync_status: ("success" | "error") | null;
10788
11670
  /** Name */
10789
11671
  name: string;
10790
11672
  /** Synced Count */
@@ -10954,6 +11836,23 @@ export interface components {
10954
11836
  /** Wait For */
10955
11837
  wait_for?: ("surface_submission" | "human_approval") | null;
10956
11838
  };
11839
+ /** DecompositionRow */
11840
+ DecompositionRow: {
11841
+ /** Beta */
11842
+ beta?: number | null;
11843
+ /** Ci Hi */
11844
+ ci_hi?: number | null;
11845
+ /** Ci Lo */
11846
+ ci_lo?: number | null;
11847
+ /** Contribution */
11848
+ contribution: number;
11849
+ /** Delta X */
11850
+ delta_x?: number | null;
11851
+ /** Family */
11852
+ family?: string | null;
11853
+ /** Feature Name */
11854
+ feature_name: string;
11855
+ };
10957
11856
  /**
10958
11857
  * DeliverSurfaceRequest
10959
11858
  * @description Request to mark a surface as delivered.
@@ -11070,6 +11969,15 @@ export interface components {
11070
11969
  workspace_id: string;
11071
11970
  };
11072
11971
  DescriptionString: string;
11972
+ /** DestroySessionResponse */
11973
+ DestroySessionResponse: {
11974
+ /**
11975
+ * Status
11976
+ * @description Session destruction status
11977
+ * @constant
11978
+ */
11979
+ status: "destroyed";
11980
+ };
11073
11981
  /**
11074
11982
  * DimensionAnalytics
11075
11983
  * @description Per-dimension aggregate stats across all entities.
@@ -11142,6 +12050,44 @@ export interface components {
11142
12050
  /** Ok */
11143
12051
  ok: boolean;
11144
12052
  };
12053
+ /** DistrictMetricsResponse */
12054
+ DistrictMetricsResponse: {
12055
+ /** Count */
12056
+ count: number;
12057
+ /** Items */
12058
+ items: components["schemas"]["DistrictMetricsRow"][];
12059
+ /** Workspace Id */
12060
+ workspace_id: string;
12061
+ };
12062
+ /** DistrictMetricsRow */
12063
+ DistrictMetricsRow: {
12064
+ /** Access Narrative */
12065
+ access_narrative?: string | null;
12066
+ /** Anomaly Narrative */
12067
+ anomaly_narrative?: string | null;
12068
+ /** Capacity Gap Pct */
12069
+ capacity_gap_pct?: number | null;
12070
+ /** Cohort Size */
12071
+ cohort_size?: number | null;
12072
+ /** District Name */
12073
+ district_name: string;
12074
+ /** Is Anomaly */
12075
+ is_anomaly?: boolean | null;
12076
+ /** Pcp Per 1K */
12077
+ pcp_per_1k?: number | null;
12078
+ /** Residual */
12079
+ residual?: number | null;
12080
+ /** T2D Incidence Per 1K */
12081
+ t2d_incidence_per_1k?: number | null;
12082
+ /** T2D Predicted Per 1K */
12083
+ t2d_predicted_per_1k?: number | null;
12084
+ /** Unmet Demand Score */
12085
+ unmet_demand_score?: number | null;
12086
+ /** Updated At */
12087
+ updated_at?: string | null;
12088
+ /** Workspace Id */
12089
+ workspace_id: string;
12090
+ };
11145
12091
  /**
11146
12092
  * DriverRow
11147
12093
  * @description One SPR row — generic (outcome, feature-tuple) grain.
@@ -11646,7 +12592,7 @@ export interface components {
11646
12592
  /** Sync Error */
11647
12593
  sync_error?: string | null;
11648
12594
  /** Sync Status */
11649
- sync_status?: ("pending" | "synced" | "failed" | "processing") | null;
12595
+ sync_status?: ("pending" | "synced" | "failed" | "processing" | "not_applicable") | null;
11650
12596
  /** Synced At */
11651
12597
  synced_at?: string | null;
11652
12598
  };
@@ -12200,6 +13146,16 @@ export interface components {
12200
13146
  /** Sources */
12201
13147
  sources: string[];
12202
13148
  };
13149
+ /** ExecutePanelRequest */
13150
+ ExecutePanelRequest: {
13151
+ /**
13152
+ * Filter Values
13153
+ * @description Filter values to apply to panel queries
13154
+ */
13155
+ filter_values?: {
13156
+ [key: string]: unknown;
13157
+ };
13158
+ };
12203
13159
  /** ExitCondition */
12204
13160
  ExitCondition: {
12205
13161
  /** Description */
@@ -12209,6 +13165,60 @@ export interface components {
12209
13165
  /** Next State */
12210
13166
  next_state: string;
12211
13167
  };
13168
+ /** ExplorationConfig */
13169
+ ExplorationConfig: {
13170
+ /**
13171
+ * Coverage Driven Selection
13172
+ * @default false
13173
+ */
13174
+ coverage_driven_selection?: boolean;
13175
+ /**
13176
+ * Enable Forking
13177
+ * @default false
13178
+ */
13179
+ enable_forking?: boolean;
13180
+ /**
13181
+ * Max Forks Per Scenario
13182
+ * @default 2
13183
+ */
13184
+ max_forks_per_scenario?: number;
13185
+ /**
13186
+ * Recommend Candidates
13187
+ * @default 3
13188
+ */
13189
+ recommend_candidates?: number;
13190
+ };
13191
+ /** FeatureDef */
13192
+ FeatureDef: {
13193
+ /** Kind */
13194
+ kind: string;
13195
+ /** Name */
13196
+ name: string;
13197
+ };
13198
+ /** FeatureDistributionResponse */
13199
+ FeatureDistributionResponse: {
13200
+ /** Bins */
13201
+ bins: components["schemas"]["HistogramBin"][];
13202
+ /** Feature */
13203
+ feature: string;
13204
+ /** Kind */
13205
+ kind: string;
13206
+ /** N Total */
13207
+ n_total: number;
13208
+ /** N Y1 */
13209
+ n_y1: number;
13210
+ /** Workspace Id */
13211
+ workspace_id: string;
13212
+ };
13213
+ /** FeaturesResponse */
13214
+ FeaturesResponse: {
13215
+ /** Count */
13216
+ count: number;
13217
+ /** Items */
13218
+ items: components["schemas"]["FeatureDef"][];
13219
+ /** Workspace Id */
13220
+ workspace_id: string;
13221
+ };
12212
13222
  /** FhirAppointmentListResponse */
12213
13223
  FhirAppointmentListResponse: {
12214
13224
  /** Appointments */
@@ -12657,6 +13667,55 @@ export interface components {
12657
13667
  [key: string]: unknown;
12658
13668
  } | null;
12659
13669
  };
13670
+ /** ForecastDrawPoint */
13671
+ ForecastDrawPoint: {
13672
+ /** Draw Id */
13673
+ draw_id: number;
13674
+ /** T */
13675
+ t: number;
13676
+ /** Value */
13677
+ value: number;
13678
+ };
13679
+ /** ForecastDrawsResponse */
13680
+ ForecastDrawsResponse: {
13681
+ /** Count */
13682
+ count: number;
13683
+ /** Items */
13684
+ items: components["schemas"]["ForecastDrawPoint"][];
13685
+ /** Workspace Id */
13686
+ workspace_id: string;
13687
+ };
13688
+ /** ForecastFanPointRow */
13689
+ ForecastFanPointRow: {
13690
+ /** Is Historical */
13691
+ is_historical?: boolean | null;
13692
+ /** Lower 95 */
13693
+ lower_95?: number | null;
13694
+ /** Median */
13695
+ median?: number | null;
13696
+ /** Run Id */
13697
+ run_id: string;
13698
+ /**
13699
+ * Scenario
13700
+ * @enum {string}
13701
+ */
13702
+ scenario: "baseline" | "with_policy" | "observational";
13703
+ /** T */
13704
+ t: number;
13705
+ /** Upper 95 */
13706
+ upper_95?: number | null;
13707
+ /** Workspace Id */
13708
+ workspace_id: string;
13709
+ };
13710
+ /** ForecastFanResponse */
13711
+ ForecastFanResponse: {
13712
+ /** Count */
13713
+ count: number;
13714
+ /** Items */
13715
+ items: components["schemas"]["ForecastFanPointRow"][];
13716
+ /** Workspace Id */
13717
+ workspace_id: string;
13718
+ };
12660
13719
  /** ForkAlternative */
12661
13720
  ForkAlternative: {
12662
13721
  /** Caller Text */
@@ -13254,6 +14313,17 @@ export interface components {
13254
14313
  /** Workspace Id */
13255
14314
  workspace_id: string;
13256
14315
  };
14316
+ /** HistogramBin */
14317
+ HistogramBin: {
14318
+ /** X Hi */
14319
+ x_hi: number;
14320
+ /** X Lo */
14321
+ x_lo: number;
14322
+ /** Y0 */
14323
+ y0: number;
14324
+ /** Y1 */
14325
+ y1: number;
14326
+ };
13257
14327
  /** Identity */
13258
14328
  Identity: {
13259
14329
  /** Default Spoken Language */
@@ -13325,6 +14395,74 @@ export interface components {
13325
14395
  /** Volume Path */
13326
14396
  volume_path: string;
13327
14397
  };
14398
+ /** IntakeLinkResponse */
14399
+ IntakeLinkResponse: {
14400
+ /**
14401
+ * Created At
14402
+ * Format: date-time
14403
+ */
14404
+ created_at: string;
14405
+ customer_slug: components["schemas"]["SlugString"];
14406
+ display_name: components["schemas"]["NameString"] | null;
14407
+ /**
14408
+ * Expires At
14409
+ * Format: date-time
14410
+ */
14411
+ expires_at: string;
14412
+ /**
14413
+ * Id
14414
+ * Format: uuid
14415
+ */
14416
+ id: string;
14417
+ /** Last Upload At */
14418
+ last_upload_at: string | null;
14419
+ /** Link Token */
14420
+ link_token: string;
14421
+ /** Max Uploads */
14422
+ max_uploads: number;
14423
+ /** Revoked At */
14424
+ revoked_at: string | null;
14425
+ /**
14426
+ * Status
14427
+ * @enum {string}
14428
+ */
14429
+ status: "active" | "expired" | "revoked" | "exhausted";
14430
+ /** Upload Count */
14431
+ upload_count: number;
14432
+ /** Upload Url */
14433
+ upload_url: string;
14434
+ /**
14435
+ * Workspace Id
14436
+ * Format: uuid
14437
+ */
14438
+ workspace_id: string;
14439
+ };
14440
+ /** IntakeUploadResponse */
14441
+ IntakeUploadResponse: {
14442
+ /** Content Type */
14443
+ content_type: string;
14444
+ customer_slug: components["schemas"]["SlugString"];
14445
+ filename: components["schemas"]["NameString"];
14446
+ /**
14447
+ * Id
14448
+ * Format: uuid
14449
+ */
14450
+ id: string;
14451
+ /**
14452
+ * Received At
14453
+ * Format: date-time
14454
+ */
14455
+ received_at: string;
14456
+ /**
14457
+ * Scan Status
14458
+ * @enum {string}
14459
+ */
14460
+ scan_status: "skipped" | "pending" | "clean" | "infected";
14461
+ /** Sha256 */
14462
+ sha256: string;
14463
+ /** Size Bytes */
14464
+ size_bytes: number;
14465
+ };
13328
14466
  /** IntegrationResponse */
13329
14467
  IntegrationResponse: {
13330
14468
  /** @description Authentication configuration */
@@ -13965,6 +15103,15 @@ export interface components {
13965
15103
  /** Window Hours */
13966
15104
  window_hours: number;
13967
15105
  };
15106
+ /** M42CatalogResponse */
15107
+ M42CatalogResponse: {
15108
+ /** Count */
15109
+ count: number;
15110
+ /** Items */
15111
+ items: components["schemas"]["CatalogEntry"][];
15112
+ /** Workspace Id */
15113
+ workspace_id: string;
15114
+ };
13968
15115
  /** MarkSyncedRequest */
13969
15116
  MarkSyncedRequest: {
13970
15117
  /** Data Source Id */
@@ -14213,36 +15360,38 @@ export interface components {
14213
15360
  MetricCatalogEntry: {
14214
15361
  /** Builtin */
14215
15362
  builtin: boolean;
14216
- /**
14217
- * Channel Scope
14218
- * @default all
14219
- */
14220
- channel_scope?: string;
14221
15363
  /** Description */
14222
15364
  description?: string | null;
14223
15365
  /**
14224
15366
  * Extraction Mode
14225
15367
  * @default static
15368
+ * @enum {string}
14226
15369
  */
14227
- extraction_mode?: string;
14228
- /** Key */
14229
- key: string;
14230
- /** Metric Type */
14231
- metric_type: string;
15370
+ extraction_mode?: "static" | "ai_classify" | "ai_extract" | "ai_sentiment" | "ai_query" | "sql_expr";
14232
15371
  /**
14233
- * Model Tier
14234
- * @default free
15372
+ * Granularity
15373
+ * @default aggregate
15374
+ * @enum {string}
14235
15375
  */
14236
- model_tier?: string;
14237
- /** Name */
14238
- name: string;
15376
+ granularity?: "aggregate" | "per_entity";
14239
15377
  /**
14240
- * Period Granularity
14241
- * @default daily
15378
+ * Has Prompt
15379
+ * @default false
14242
15380
  */
14243
- period_granularity?: string;
14244
- /** Source */
14245
- source: string;
15381
+ has_prompt?: boolean;
15382
+ key: components["schemas"]["SlugString"];
15383
+ /**
15384
+ * Metric Type
15385
+ * @enum {string}
15386
+ */
15387
+ metric_type: "numerical" | "categorical" | "boolean";
15388
+ /**
15389
+ * Model Tier
15390
+ * @default free
15391
+ * @enum {string}
15392
+ */
15393
+ model_tier?: "free" | "fast" | "balanced" | "max" | "custom";
15394
+ name: components["schemas"]["NameString"];
14246
15395
  /** Unit */
14247
15396
  unit?: string | null;
14248
15397
  };
@@ -14260,6 +15409,11 @@ export interface components {
14260
15409
  * (extract_path + aggregation). Shipped with every workspace.
14261
15410
  * - Custom metrics: extraction uses AI functions or static JSONB paths.
14262
15411
  * Defined per-workspace via settings API.
15412
+ *
15413
+ * Frozen: builtins are process-wide singletons exposed via the
15414
+ * ``BUILTIN_METRICS`` list. A mutable list field (e.g.
15415
+ * ``applies_to_product_types``) could otherwise be mutated by one caller
15416
+ * and leak into every subsequent call in the same process.
14263
15417
  */
14264
15418
  MetricDefinition: {
14265
15419
  /**
@@ -14286,7 +15440,7 @@ export interface components {
14286
15440
  ai_query_endpoint?: string | null;
14287
15441
  /**
14288
15442
  * Ai Query Prompt
14289
- * @description Prompt template for ai_query. Use {data} placeholder for event data. Example: 'Classify this call transcript into one of: {labels}. Transcript: {data}'
15443
+ * @description Prompt template for ai_query. Use {data} placeholder for event data. Example: 'Classify this call transcript into one of: {labels}. Transcript: {data}'. Budgeted at 8KB to hold the full rubric + output spec for standard quality judges (longest authored rubric — conversational_naturalness — is ~5KB).
14290
15444
  */
14291
15445
  ai_query_prompt?: string | null;
14292
15446
  /**
@@ -14296,6 +15450,11 @@ export interface components {
14296
15450
  ai_schema?: {
14297
15451
  [key: string]: unknown;
14298
15452
  } | null;
15453
+ /**
15454
+ * Applies To Product Types
15455
+ * @description Product types this metric applies to (matches service tags, e.g. 'scheduling', 'outbound', 'coaching', 'intake', 'triage', 'support'). When set, the metric only computes for calls belonging to services whose config.tags include one of these keys. When None (default), the metric applies to every service regardless of product type.
15456
+ */
15457
+ applies_to_product_types?: string[] | null;
14299
15458
  /**
14300
15459
  * Builtin
14301
15460
  * @description True for platform-provided metrics (read-only key).
@@ -14338,6 +15497,13 @@ export interface components {
14338
15497
  * @default 60
14339
15498
  */
14340
15499
  freshness_sla_minutes?: number;
15500
+ /**
15501
+ * Granularity
15502
+ * @description 'aggregate' groups by (workspace, period) — one value per time bucket. 'per_entity' keeps entity_id — one value per entity (call, encounter). Judge metrics are typically per_entity. Computed metrics are typically aggregate.
15503
+ * @default aggregate
15504
+ * @enum {string}
15505
+ */
15506
+ granularity?: "aggregate" | "per_entity";
14341
15507
  /**
14342
15508
  * Id
14343
15509
  * Format: uuid
@@ -14375,6 +15541,11 @@ export interface components {
14375
15541
  * @enum {string}
14376
15542
  */
14377
15543
  period_granularity?: "hourly" | "daily";
15544
+ /**
15545
+ * Prompt
15546
+ * @description Rubric prompt for LLM judge evaluation with {$.path} context variables. Each {$.path} reference is extracted from the entity's projected state and substituted before sending to ai_query. The prompt is both the evaluation criteria and the context specification.
15547
+ */
15548
+ prompt?: string | null;
14378
15549
  /**
14379
15550
  * Ratio Denominator Event
14380
15551
  * @description Event type for denominator when aggregation='ratio'.
@@ -14390,7 +15561,7 @@ export interface components {
14390
15561
  * @description 'call_intelligence' reads from world.call_intelligence table. 'world_events' reads from world.events. 'surface_events' reads from world.events WHERE domain='surface'.
14391
15562
  * @enum {string}
14392
15563
  */
14393
- source: "call_intelligence" | "world_events" | "surface_events" | "emotion_events" | "connector_events" | "zerobus_events";
15564
+ source: "call_intelligence" | "world_events" | "surface_events" | "emotion_events" | "connector_events" | "zerobus_events" | "voice_judge_results";
14394
15565
  /**
14395
15566
  * Source Filter
14396
15567
  * @description Optional SQL WHERE fragment for additional filtering (e.g. "source = 'voice_agent'"). Applied after event_type filter.
@@ -14417,22 +15588,6 @@ export interface components {
14417
15588
  */
14418
15589
  valid_range_min?: number | null;
14419
15590
  };
14420
- /** MetricFreshnessEntry */
14421
- MetricFreshnessEntry: {
14422
- /** Last Computed At */
14423
- last_computed_at?: string | null;
14424
- /** Latest Period End */
14425
- latest_period_end?: string | null;
14426
- /** Metric Key */
14427
- metric_key: string;
14428
- /** Value Count */
14429
- value_count: number;
14430
- };
14431
- /** MetricFreshnessResponse */
14432
- MetricFreshnessResponse: {
14433
- /** Freshness */
14434
- freshness: components["schemas"]["MetricFreshnessEntry"][];
14435
- };
14436
15591
  /** MetricListResponse */
14437
15592
  MetricListResponse: {
14438
15593
  /** Metrics */
@@ -14477,6 +15632,40 @@ export interface components {
14477
15632
  /** Value */
14478
15633
  value: unknown;
14479
15634
  };
15635
+ /** ModelRegistryResponse */
15636
+ ModelRegistryResponse: {
15637
+ /** Count */
15638
+ count: number;
15639
+ /** Items */
15640
+ items: components["schemas"]["ModelRegistryRow"][];
15641
+ /** Workspace Id */
15642
+ workspace_id: string;
15643
+ };
15644
+ /** ModelRegistryRow */
15645
+ ModelRegistryRow: {
15646
+ /** Algorithm */
15647
+ algorithm?: string | null;
15648
+ /** Coefficients Json */
15649
+ coefficients_json?: string | null;
15650
+ /** Focus Area */
15651
+ focus_area?: string | null;
15652
+ /** Metrics Json */
15653
+ metrics_json?: string | null;
15654
+ /** Model Id */
15655
+ model_id: string;
15656
+ /** Name */
15657
+ name?: string | null;
15658
+ /** Status */
15659
+ status?: string | null;
15660
+ /** Trained At */
15661
+ trained_at?: string | null;
15662
+ /** Training Set Size */
15663
+ training_set_size?: number | null;
15664
+ /** Version */
15665
+ version?: string | null;
15666
+ /** Workspace Id */
15667
+ workspace_id: string;
15668
+ };
14480
15669
  /** MonitorConceptResponse */
14481
15670
  MonitorConceptResponse: {
14482
15671
  /** Agent Config */
@@ -14515,6 +15704,17 @@ export interface components {
14515
15704
  workspace_id: string;
14516
15705
  };
14517
15706
  NameString: string;
15707
+ /** NonDesiredState */
15708
+ NonDesiredState: {
15709
+ /**
15710
+ * Mode
15711
+ * @default hard
15712
+ * @enum {string}
15713
+ */
15714
+ mode?: "hard" | "soft";
15715
+ /** State */
15716
+ state: string;
15717
+ };
14518
15718
  /** OcrRequest */
14519
15719
  OcrRequest: {
14520
15720
  /**
@@ -14640,7 +15840,8 @@ export interface components {
14640
15840
  OperatorPerformanceTrendPoint: {
14641
15841
  /**
14642
15842
  * Date
14643
- * @description ISO 8601 date string for the time bucket
15843
+ * Format: date
15844
+ * @description Date for the time bucket
14644
15845
  */
14645
15846
  date: string;
14646
15847
  /**
@@ -14756,6 +15957,13 @@ export interface components {
14756
15957
  /** Total */
14757
15958
  total: number;
14758
15959
  };
15960
+ /** OrderedPathway */
15961
+ OrderedPathway: {
15962
+ /** Id */
15963
+ id: string;
15964
+ /** Sequence */
15965
+ sequence: string[];
15966
+ };
14759
15967
  /** OutboundLogItem */
14760
15968
  OutboundLogItem: {
14761
15969
  /** Attempt Count */
@@ -14980,6 +16188,17 @@ export interface components {
14980
16188
  /** Total */
14981
16189
  total?: number | null;
14982
16190
  };
16191
+ /** PaginatedResponse[DashboardDefinitionResponse] */
16192
+ PaginatedResponse_DashboardDefinitionResponse_: {
16193
+ /** Continuation Token */
16194
+ continuation_token?: number | null;
16195
+ /** Has More */
16196
+ has_more: boolean;
16197
+ /** Items */
16198
+ items: components["schemas"]["DashboardDefinitionResponse"][];
16199
+ /** Total */
16200
+ total?: number | null;
16201
+ };
14983
16202
  /** PaginatedResponse[DataSourceResponse] */
14984
16203
  PaginatedResponse_DataSourceResponse_: {
14985
16204
  /** Continuation Token */
@@ -15211,6 +16430,29 @@ export interface components {
15211
16430
  /** Total */
15212
16431
  total?: number | null;
15213
16432
  };
16433
+ /** PanelResultResponse */
16434
+ PanelResultResponse: {
16435
+ /**
16436
+ * Columns
16437
+ * @description Column names
16438
+ */
16439
+ columns: string[];
16440
+ /**
16441
+ * Error
16442
+ * @description Error message if query failed
16443
+ */
16444
+ error?: string | null;
16445
+ /**
16446
+ * Panel Id
16447
+ * @description Panel identifier from the definition
16448
+ */
16449
+ panel_id: string;
16450
+ /**
16451
+ * Rows
16452
+ * @description Result rows
16453
+ */
16454
+ rows: unknown[][];
16455
+ };
15214
16456
  /** PatientBurdenDetailResponse */
15215
16457
  PatientBurdenDetailResponse: {
15216
16458
  /** Age Adjusted Charlson Index */
@@ -15301,6 +16543,30 @@ export interface components {
15301
16543
  /** Workspace Id */
15302
16544
  workspace_id: string;
15303
16545
  };
16546
+ /** PatientLabRow */
16547
+ PatientLabRow: {
16548
+ /** Loinc Code */
16549
+ loinc_code?: string | null;
16550
+ /** Observation Date */
16551
+ observation_date?: string | null;
16552
+ /** Patient Id */
16553
+ patient_id: string;
16554
+ /** Test Name */
16555
+ test_name: string;
16556
+ /** Units */
16557
+ units?: string | null;
16558
+ /** Value */
16559
+ value?: number | null;
16560
+ };
16561
+ /** PatientLabsResponse */
16562
+ PatientLabsResponse: {
16563
+ /** Count */
16564
+ count: number;
16565
+ /** Items */
16566
+ items: components["schemas"]["PatientLabRow"][];
16567
+ /** Workspace Id */
16568
+ workspace_id: string;
16569
+ };
15304
16570
  /**
15305
16571
  * PatientListItem
15306
16572
  * @description Typed patient list item — replaces untyped dict.
@@ -15346,6 +16612,47 @@ export interface components {
15346
16612
  */
15347
16613
  phone?: string | null;
15348
16614
  };
16615
+ /** PatientNoteExtractions */
16616
+ PatientNoteExtractions: {
16617
+ /** Activity Level */
16618
+ activity_level?: string | null;
16619
+ /** Concerns */
16620
+ concerns: string[];
16621
+ /** Food Pattern */
16622
+ food_pattern?: string | null;
16623
+ /** Hba1C Sentiment */
16624
+ hba1c_sentiment?: string | null;
16625
+ /** Medications Planned */
16626
+ medications_planned: string[];
16627
+ /**
16628
+ * N Concerns
16629
+ * @default 0
16630
+ */
16631
+ n_concerns?: number;
16632
+ /**
16633
+ * N Symptoms
16634
+ * @default 0
16635
+ */
16636
+ n_symptoms?: number;
16637
+ /** Smoking Status */
16638
+ smoking_status?: string | null;
16639
+ /** Symptoms */
16640
+ symptoms: string[];
16641
+ };
16642
+ /** PatientNoteResponse */
16643
+ PatientNoteResponse: {
16644
+ /** Author */
16645
+ author?: string | null;
16646
+ /** Authored At */
16647
+ authored_at?: string | null;
16648
+ extractions: components["schemas"]["PatientNoteExtractions"];
16649
+ /** Note Text */
16650
+ note_text: string;
16651
+ /** Patient Id */
16652
+ patient_id: string;
16653
+ /** Workspace Id */
16654
+ workspace_id: string;
16655
+ };
15349
16656
  /** PatientSearchResponse */
15350
16657
  PatientSearchResponse: {
15351
16658
  /**
@@ -15422,6 +16729,50 @@ export interface components {
15422
16729
  /** Total */
15423
16730
  total: number;
15424
16731
  };
16732
+ /** PatientTopologyResponse */
16733
+ PatientTopologyResponse: {
16734
+ /** Count */
16735
+ count: number;
16736
+ /** Items */
16737
+ items: components["schemas"]["PatientTopologyRow"][];
16738
+ /** Workspace Id */
16739
+ workspace_id: string;
16740
+ };
16741
+ /** PatientTopologyRow */
16742
+ PatientTopologyRow: {
16743
+ /** Age Bucket */
16744
+ age_bucket?: string | null;
16745
+ /** Bmi Latest */
16746
+ bmi_latest?: number | null;
16747
+ /** Charlson Cci */
16748
+ charlson_cci?: number | null;
16749
+ /** Cluster Name */
16750
+ cluster_name: string;
16751
+ /** District */
16752
+ district?: string | null;
16753
+ /** Emergence Month */
16754
+ emergence_month?: number | null;
16755
+ /** Gender */
16756
+ gender?: string | null;
16757
+ /** Hba1C Latest */
16758
+ hba1c_latest?: number | null;
16759
+ /** Nationality */
16760
+ nationality?: string | null;
16761
+ /** Patient Id */
16762
+ patient_id: string;
16763
+ /** Risk Tier */
16764
+ risk_tier?: number | null;
16765
+ /** Umap X */
16766
+ umap_x: number;
16767
+ /** Umap Y */
16768
+ umap_y: number;
16769
+ /** Workspace Id */
16770
+ workspace_id: string;
16771
+ /** Y Hat Composite */
16772
+ y_hat_composite?: number | null;
16773
+ /** Y Hat T2D 1Yr */
16774
+ y_hat_t2d_1yr?: number | null;
16775
+ };
15425
16776
  /** PerformanceSummaryResponse */
15426
16777
  PerformanceSummaryResponse: {
15427
16778
  /** Avg Handle Time Seconds */
@@ -15595,8 +16946,9 @@ export interface components {
15595
16946
  /**
15596
16947
  * Connector Status
15597
16948
  * @default unavailable
16949
+ * @enum {string}
15598
16950
  */
15599
- connector_status?: string;
16951
+ connector_status?: "healthy" | "degraded" | "unavailable";
15600
16952
  /**
15601
16953
  * Events Last Hour
15602
16954
  * @default 0
@@ -15686,6 +17038,36 @@ export interface components {
15686
17038
  /** Uptime Seconds */
15687
17039
  uptime_seconds?: number | null;
15688
17040
  };
17041
+ /** PositiveSignalResponse */
17042
+ PositiveSignalResponse: {
17043
+ /** Count */
17044
+ count: number;
17045
+ /** Items */
17046
+ items: components["schemas"]["PositiveSignalRow"][];
17047
+ /** Workspace Id */
17048
+ workspace_id: string;
17049
+ };
17050
+ /** PositiveSignalRow */
17051
+ PositiveSignalRow: {
17052
+ /** Baseline */
17053
+ baseline?: number | null;
17054
+ /** Delta Unit */
17055
+ delta_unit?: string | null;
17056
+ /** Delta Value */
17057
+ delta_value?: number | null;
17058
+ /** Headline */
17059
+ headline?: string | null;
17060
+ /** Metric Label */
17061
+ metric_label?: string | null;
17062
+ /** Narrative */
17063
+ narrative?: string | null;
17064
+ /** Signal Id */
17065
+ signal_id: string;
17066
+ /** Updated At */
17067
+ updated_at?: string | null;
17068
+ /** Workspace Id */
17069
+ workspace_id: string;
17070
+ };
15689
17071
  /** PrevalenceResponse */
15690
17072
  PrevalenceResponse: {
15691
17073
  /** Count */
@@ -15757,7 +17139,7 @@ export interface components {
15757
17139
  * @default inbound
15758
17140
  * @enum {string}
15759
17141
  */
15760
- direction?: "inbound" | "outbound" | "playground" | "simulated";
17142
+ direction?: "inbound" | "outbound" | "playground" | "simulated" | "test";
15761
17143
  /** Entity Name */
15762
17144
  entity_name?: string | null;
15763
17145
  /**
@@ -15808,10 +17190,18 @@ export interface components {
15808
17190
  * @description How the agent narrates waiting on a tool.
15809
17191
  *
15810
17192
  * The actual utterance is generated from tool semantics + turn emotion +
15811
- * patient context. No hardcoded vocabulary: operators describe the shape
15812
- * of the wait, the engine chooses the words.
17193
+ * patient context. Operators describe the shape of the wait, the engine
17194
+ * chooses the words.
17195
+ *
17196
+ * ``custom_phrase`` is a narrow escape hatch for demo-critical slow tools
17197
+ * where generic templates cannot cover the wait. Gated: only honored when
17198
+ * ``expected_latency_ms >= 4000`` and ``progress_class`` is set, and the
17199
+ * phrase is at most 30 words. The gate keeps the surface small so the
17200
+ * engine-picks-words contract holds for the bulk of tools.
15813
17201
  */
15814
17202
  ProgressHint: {
17203
+ /** Custom Phrase */
17204
+ custom_phrase?: string | null;
15815
17205
  /** Expected Latency Ms */
15816
17206
  expected_latency_ms?: number | null;
15817
17207
  /**
@@ -15962,6 +17352,75 @@ export interface components {
15962
17352
  */
15963
17353
  timezone?: string;
15964
17354
  };
17355
+ /** RankedAnomalyResponse */
17356
+ RankedAnomalyResponse: {
17357
+ /** Count */
17358
+ count: number;
17359
+ /** Items */
17360
+ items: components["schemas"]["RankedAnomalyRow"][];
17361
+ /** Workspace Id */
17362
+ workspace_id: string;
17363
+ };
17364
+ /** RankedAnomalyRow */
17365
+ RankedAnomalyRow: {
17366
+ /** Alert Id */
17367
+ alert_id?: string | null;
17368
+ /**
17369
+ * Cohort Size
17370
+ * @default 0
17371
+ */
17372
+ cohort_size?: number;
17373
+ /**
17374
+ * Decomposition
17375
+ * @default []
17376
+ */
17377
+ decomposition?: components["schemas"]["DecompositionRow"][];
17378
+ /** District Name */
17379
+ district_name: string;
17380
+ /**
17381
+ * Impact
17382
+ * @default 0
17383
+ */
17384
+ impact?: number;
17385
+ /**
17386
+ * Indicator
17387
+ * @default t2d_risk
17388
+ */
17389
+ indicator?: string;
17390
+ /**
17391
+ * Is Anomaly
17392
+ * @default true
17393
+ */
17394
+ is_anomaly?: boolean;
17395
+ /** Lat */
17396
+ lat?: number | null;
17397
+ /** Lon */
17398
+ lon?: number | null;
17399
+ /** Narrative */
17400
+ narrative?: string | null;
17401
+ /**
17402
+ * Priority Score
17403
+ * @default 0
17404
+ */
17405
+ priority_score?: number;
17406
+ /**
17407
+ * Rate Per 1K
17408
+ * @default 0
17409
+ */
17410
+ rate_per_1k?: number;
17411
+ /**
17412
+ * Residual
17413
+ * @default 0
17414
+ */
17415
+ residual?: number;
17416
+ /** Severity */
17417
+ severity?: string | null;
17418
+ /**
17419
+ * Territory Mean
17420
+ * @default 0
17421
+ */
17422
+ territory_mean?: number;
17423
+ };
15965
17424
  /** RecommendRequest */
15966
17425
  RecommendRequest: {
15967
17426
  /**
@@ -15972,6 +17431,14 @@ export interface components {
15972
17431
  /** Session Id */
15973
17432
  session_id: string;
15974
17433
  };
17434
+ /** RecommendResponse */
17435
+ RecommendResponse: {
17436
+ /**
17437
+ * Suggestions
17438
+ * @description LLM-generated caller message suggestions
17439
+ */
17440
+ suggestions: string[];
17441
+ };
15975
17442
  /**
15976
17443
  * RecordingMetadataResponse
15977
17444
  * @description Call recording metadata.
@@ -16537,7 +18004,8 @@ export interface components {
16537
18004
  SafetyTrendPoint: {
16538
18005
  /**
16539
18006
  * Date
16540
- * @description ISO 8601 date string for the time bucket
18007
+ * Format: date
18008
+ * @description Date for the time bucket
16541
18009
  */
16542
18010
  date: string;
16543
18011
  /**
@@ -16619,6 +18087,17 @@ export interface components {
16619
18087
  /** Extracted Text */
16620
18088
  extracted_text: string;
16621
18089
  };
18090
+ /** SampleResponse */
18091
+ SampleResponse: {
18092
+ /** Count */
18093
+ count: number;
18094
+ /** Items */
18095
+ items: {
18096
+ [key: string]: unknown;
18097
+ }[];
18098
+ /** Workspace Id */
18099
+ workspace_id: string;
18100
+ };
16622
18101
  /** Scenario */
16623
18102
  Scenario: {
16624
18103
  /** Description */
@@ -17026,8 +18505,12 @@ export interface components {
17026
18505
  barge_in_min_speech_s?: number | null;
17027
18506
  /** Eager Eot Threshold */
17028
18507
  eager_eot_threshold?: number | null;
18508
+ /** Empathy Hold Ms */
18509
+ empathy_hold_ms?: number | null;
17029
18510
  /** Eot Timeout Ms */
17030
18511
  eot_timeout_ms?: number | null;
18512
+ /** Filler Cooldown Ms */
18513
+ filler_cooldown_ms?: number | null;
17031
18514
  /**
17032
18515
  * Filler Style
17033
18516
  * @default backchannel
@@ -17049,6 +18532,14 @@ export interface components {
17049
18532
  max_response_words?: number | null;
17050
18533
  /** Min Tts Speed */
17051
18534
  min_tts_speed?: number | null;
18535
+ /** Post Eot Pause Ms */
18536
+ post_eot_pause_ms?: number | null;
18537
+ /** Progress Interval Ms */
18538
+ progress_interval_ms?: number | null;
18539
+ /** Progress Vocabulary */
18540
+ progress_vocabulary?: string[] | null;
18541
+ /** Transition Deadline Ms */
18542
+ transition_deadline_ms?: number | null;
17052
18543
  /** Tts Model */
17053
18544
  tts_model?: ("sonic-turbo" | "sonic-3") | null;
17054
18545
  };
@@ -17147,6 +18638,50 @@ export interface components {
17147
18638
  */
17148
18639
  tools_called?: string[];
17149
18640
  };
18641
+ /**
18642
+ * SimulationRunResponse
18643
+ * @description Full run payload — used by GET /runs/{run_id} for replay flows.
18644
+ */
18645
+ SimulationRunResponse: {
18646
+ /** Branch Name */
18647
+ branch_name?: string | null;
18648
+ bridge_request?: components["schemas"]["BridgeRequest"] | null;
18649
+ /** Completed At */
18650
+ completed_at?: string | null;
18651
+ /** Created At */
18652
+ created_at?: string | null;
18653
+ /**
18654
+ * Id
18655
+ * Format: uuid
18656
+ */
18657
+ id: string;
18658
+ /** Objective */
18659
+ objective?: string | null;
18660
+ /** Scenarios */
18661
+ scenarios?: components["schemas"]["Scenario"][] | null;
18662
+ /**
18663
+ * Service Id
18664
+ * Format: uuid
18665
+ */
18666
+ service_id: string;
18667
+ /**
18668
+ * Status
18669
+ * @enum {string}
18670
+ */
18671
+ status: "running" | "completed" | "failed";
18672
+ /** Tags */
18673
+ tags?: string[];
18674
+ /**
18675
+ * Total Sessions
18676
+ * @default 0
18677
+ */
18678
+ total_sessions?: number;
18679
+ /**
18680
+ * Total Turns
18681
+ * @default 0
18682
+ */
18683
+ total_turns?: number;
18684
+ };
17150
18685
  /** SimulationSessionResponse */
17151
18686
  SimulationSessionResponse: {
17152
18687
  /** Greeting */
@@ -17512,8 +19047,11 @@ export interface components {
17512
19047
  * @default 0
17513
19048
  */
17514
19049
  event_count?: number;
17515
- /** Health Status */
17516
- health_status: string;
19050
+ /**
19051
+ * Health Status
19052
+ * @enum {string}
19053
+ */
19054
+ health_status: "unknown" | "healthy" | "degraded";
17517
19055
  /** Id */
17518
19056
  id: string;
17519
19057
  /** Is Active */
@@ -17523,8 +19061,11 @@ export interface components {
17523
19061
  last_sync_at?: string | null;
17524
19062
  /** Name */
17525
19063
  name: string;
17526
- /** Source Type */
17527
- source_type: string;
19064
+ /**
19065
+ * Source Type
19066
+ * @enum {string}
19067
+ */
19068
+ source_type: "rest_api" | "webhook" | "file_drop" | "fhir" | "fhir_store" | "ehr" | "crm" | "database" | "custom" | "smart_fhir";
17528
19069
  };
17529
19070
  /** SourceOverviewResponse */
17530
19071
  SourceOverviewResponse: {
@@ -17542,8 +19083,11 @@ export interface components {
17542
19083
  * @default 0
17543
19084
  */
17544
19085
  event_count?: number;
17545
- /** Health Status */
17546
- health_status: string;
19086
+ /**
19087
+ * Health Status
19088
+ * @enum {string}
19089
+ */
19090
+ health_status: "unknown" | "healthy" | "degraded";
17547
19091
  /** Id */
17548
19092
  id: string;
17549
19093
  /** Is Active */
@@ -17557,7 +19101,7 @@ export interface components {
17557
19101
  */
17558
19102
  last_sync_event_count?: number;
17559
19103
  /** Last Sync Status */
17560
- last_sync_status?: string | null;
19104
+ last_sync_status?: ("success" | "error") | null;
17561
19105
  /** Name */
17562
19106
  name: string;
17563
19107
  /**
@@ -17574,8 +19118,11 @@ export interface components {
17574
19118
  * @default []
17575
19119
  */
17576
19120
  recent_failures?: components["schemas"]["SourceFailureItem"][];
17577
- /** Source Type */
17578
- source_type: string;
19121
+ /**
19122
+ * Source Type
19123
+ * @enum {string}
19124
+ */
19125
+ source_type: "rest_api" | "webhook" | "file_drop" | "fhir" | "fhir_store" | "ehr" | "crm" | "database" | "custom" | "smart_fhir";
17579
19126
  };
17580
19127
  /** SourceStatus */
17581
19128
  SourceStatus: {
@@ -17607,8 +19154,11 @@ export interface components {
17607
19154
  * @default 0
17608
19155
  */
17609
19156
  last_poll_event_count?: number;
17610
- /** Source Type */
17611
- source_type: string;
19157
+ /**
19158
+ * Source Type
19159
+ * @enum {string}
19160
+ */
19161
+ source_type: "rest_api" | "webhook" | "file_drop" | "fhir" | "fhir_store" | "ehr" | "crm" | "database" | "custom" | "smart_fhir";
17612
19162
  /** Status */
17613
19163
  status: string;
17614
19164
  /** Workspace Id */
@@ -18015,7 +19565,7 @@ export interface components {
18015
19565
  * Sync Status
18016
19566
  * @enum {string}
18017
19567
  */
18018
- sync_status: "pending" | "synced" | "failed" | "processing";
19568
+ sync_status: "pending" | "synced" | "failed" | "processing" | "not_applicable";
18019
19569
  /** Synced At */
18020
19570
  synced_at?: string | null;
18021
19571
  };
@@ -18110,6 +19660,16 @@ export interface components {
18110
19660
  /** Status */
18111
19661
  status: string;
18112
19662
  };
19663
+ /** TargetSpec */
19664
+ TargetSpec: {
19665
+ completion_criteria?: components["schemas"]["CompletionCriteria"];
19666
+ /** Desired States */
19667
+ desired_states?: string[];
19668
+ /** Non Desired States */
19669
+ non_desired_states?: components["schemas"]["NonDesiredState"][];
19670
+ /** Ordered Pathways */
19671
+ ordered_pathways?: components["schemas"]["OrderedPathway"][];
19672
+ };
18113
19673
  /** TaskListResponse */
18114
19674
  TaskListResponse: {
18115
19675
  /** Tasks */
@@ -18934,6 +20494,43 @@ export interface components {
18934
20494
  */
18935
20495
  event_type: string;
18936
20496
  };
20497
+ /**
20498
+ * TriggerSyncConflictDetails
20499
+ * @description Operational fields included in a 409 to power UI affordances like
20500
+ * "syncing for 30s" — strict allowlist, never the whole status entry.
20501
+ */
20502
+ TriggerSyncConflictDetails: {
20503
+ /** Last Poll At */
20504
+ last_poll_at?: string | null;
20505
+ /** Last Poll Duration Ms */
20506
+ last_poll_duration_ms?: number | null;
20507
+ };
20508
+ /**
20509
+ * TriggerSyncConflictResponse
20510
+ * @description Body shape for the 409 returned by POST /sync when the source is
20511
+ * already mid-poll. Documented in OpenAPI so SDK consumers get a typed
20512
+ * AlreadySyncing error instead of an opaque blob.
20513
+ */
20514
+ TriggerSyncConflictResponse: {
20515
+ details: components["schemas"]["TriggerSyncConflictDetails"];
20516
+ /** Message */
20517
+ message: string;
20518
+ };
20519
+ /** TriggerSyncResponse */
20520
+ TriggerSyncResponse: {
20521
+ /** Data Source Id */
20522
+ data_source_id: string;
20523
+ /**
20524
+ * Status
20525
+ * @constant
20526
+ */
20527
+ status: "started";
20528
+ /**
20529
+ * Triggered At
20530
+ * Format: date-time
20531
+ */
20532
+ triggered_at: string;
20533
+ };
18937
20534
  /**
18938
20535
  * TurnPolicy
18939
20536
  * @description Voice pipeline parameters declared per HSM state.
@@ -19081,6 +20678,25 @@ export interface components {
19081
20678
  /** Status */
19082
20679
  status?: ("active" | "archived") | null;
19083
20680
  };
20681
+ /** UpdateDashboardRequest */
20682
+ UpdateDashboardRequest: {
20683
+ description?: components["schemas"]["DescriptionString"] | null;
20684
+ /** Filters */
20685
+ filters?: {
20686
+ [key: string]: unknown;
20687
+ }[] | null;
20688
+ /** Page Context */
20689
+ page_context?: ("home" | "patients" | "calls" | "analytics" | "pipeline" | "operators" | "surfaces" | "compliance" | "custom") | null;
20690
+ /** Panels */
20691
+ panels?: {
20692
+ [key: string]: unknown;
20693
+ }[] | null;
20694
+ /** Refresh Interval */
20695
+ refresh_interval?: number | null;
20696
+ /** Slug */
20697
+ slug?: string | null;
20698
+ title?: components["schemas"]["NameString"] | null;
20699
+ };
19084
20700
  /** UpdateDataSourceRequest */
19085
20701
  UpdateDataSourceRequest: {
19086
20702
  /** Connection Config */
@@ -19561,6 +21177,62 @@ export interface components {
19561
21177
  /** Voice Id */
19562
21178
  voice_id: string;
19563
21179
  };
21180
+ /** VoiceJudgeRecentResponse */
21181
+ VoiceJudgeRecentResponse: {
21182
+ /** Count */
21183
+ count: number;
21184
+ /** Items */
21185
+ items: components["schemas"]["VoiceJudgeResultRow"][];
21186
+ /** Service Id */
21187
+ service_id: string;
21188
+ };
21189
+ /**
21190
+ * VoiceJudgeResultRow
21191
+ * @description One call's voice-judge scoring, as stored in the Delta output table.
21192
+ */
21193
+ VoiceJudgeResultRow: {
21194
+ /** Accent Quality Score */
21195
+ accent_quality_score?: number | null;
21196
+ /** Audio Consistency Score */
21197
+ audio_consistency_score?: number | null;
21198
+ /** Call Entity Id */
21199
+ call_entity_id?: string | null;
21200
+ /** Call Sid */
21201
+ call_sid: string;
21202
+ /** Clarity Score */
21203
+ clarity_score?: number | null;
21204
+ /** Computed At */
21205
+ computed_at?: string | null;
21206
+ /** Critical Count */
21207
+ critical_count?: number | null;
21208
+ /** Filler Silence Score */
21209
+ filler_silence_score?: number | null;
21210
+ /** Flag Count */
21211
+ flag_count?: number | null;
21212
+ /** Interruption Handling Score */
21213
+ interruption_handling_score?: number | null;
21214
+ /**
21215
+ * Judge Json
21216
+ * @description Raw Gemini judge output (evidence quotes, per-dim severity). Intended for UI drill-in; opaque string. Capped at 32KB.
21217
+ */
21218
+ judge_json?: string | null;
21219
+ /** Latency Dead Air Score */
21220
+ latency_dead_air_score?: number | null;
21221
+ /** Overall Score */
21222
+ overall_score?: number | null;
21223
+ /** Pacing Score */
21224
+ pacing_score?: number | null;
21225
+ /** Pronunciation Score */
21226
+ pronunciation_score?: number | null;
21227
+ /** Service Id */
21228
+ service_id?: string | null;
21229
+ /** Voice Identity Score */
21230
+ voice_identity_score?: number | null;
21231
+ /** Warmth Tone Score */
21232
+ warmth_tone_score?: number | null;
21233
+ /** Warning Count */
21234
+ warning_count?: number | null;
21235
+ };
19564
21236
  /** VoiceMetrics */
19565
21237
  VoiceMetrics: {
19566
21238
  /**
@@ -20899,6 +22571,143 @@ export interface operations {
20899
22571
  };
20900
22572
  };
20901
22573
  };
22574
+ "upload-intake-file-via-link": {
22575
+ parameters: {
22576
+ query?: never;
22577
+ header: {
22578
+ "x-amigo-intake-filename": string;
22579
+ "x-amigo-intake-content-type": string;
22580
+ };
22581
+ path: {
22582
+ link_token: string;
22583
+ };
22584
+ cookie?: never;
22585
+ };
22586
+ requestBody: {
22587
+ content: {
22588
+ "application/octet-stream": string;
22589
+ };
22590
+ };
22591
+ responses: {
22592
+ /** @description Successful Response */
22593
+ 200: {
22594
+ headers: {
22595
+ [name: string]: unknown;
22596
+ };
22597
+ content: {
22598
+ "application/json": unknown;
22599
+ };
22600
+ };
22601
+ /** @description File uploaded successfully */
22602
+ 201: {
22603
+ headers: {
22604
+ [name: string]: unknown;
22605
+ };
22606
+ content?: never;
22607
+ };
22608
+ /** @description Link not found */
22609
+ 404: {
22610
+ headers: {
22611
+ [name: string]: unknown;
22612
+ };
22613
+ content?: never;
22614
+ };
22615
+ /** @description Link expired */
22616
+ 410: {
22617
+ headers: {
22618
+ [name: string]: unknown;
22619
+ };
22620
+ content?: never;
22621
+ };
22622
+ /** @description File too large */
22623
+ 413: {
22624
+ headers: {
22625
+ [name: string]: unknown;
22626
+ };
22627
+ content?: never;
22628
+ };
22629
+ /** @description Invalid filename or content type */
22630
+ 422: {
22631
+ headers: {
22632
+ [name: string]: unknown;
22633
+ };
22634
+ content?: never;
22635
+ };
22636
+ /** @description Rate limited or upload limit reached */
22637
+ 429: {
22638
+ headers: {
22639
+ [name: string]: unknown;
22640
+ };
22641
+ content?: never;
22642
+ };
22643
+ /** @description Upload service unavailable */
22644
+ 503: {
22645
+ headers: {
22646
+ [name: string]: unknown;
22647
+ };
22648
+ content?: never;
22649
+ };
22650
+ };
22651
+ };
22652
+ "get-intake-link-info": {
22653
+ parameters: {
22654
+ query?: never;
22655
+ header?: never;
22656
+ path: {
22657
+ link_token: string;
22658
+ };
22659
+ cookie?: never;
22660
+ };
22661
+ requestBody?: never;
22662
+ responses: {
22663
+ /** @description Link metadata */
22664
+ 200: {
22665
+ headers: {
22666
+ [name: string]: unknown;
22667
+ };
22668
+ content: {
22669
+ "application/json": unknown;
22670
+ };
22671
+ };
22672
+ /** @description Invalid token */
22673
+ 400: {
22674
+ headers: {
22675
+ [name: string]: unknown;
22676
+ };
22677
+ content?: never;
22678
+ };
22679
+ /** @description Link not found */
22680
+ 404: {
22681
+ headers: {
22682
+ [name: string]: unknown;
22683
+ };
22684
+ content?: never;
22685
+ };
22686
+ /** @description Link expired */
22687
+ 410: {
22688
+ headers: {
22689
+ [name: string]: unknown;
22690
+ };
22691
+ content?: never;
22692
+ };
22693
+ /** @description Validation Error */
22694
+ 422: {
22695
+ headers: {
22696
+ [name: string]: unknown;
22697
+ };
22698
+ content: {
22699
+ "application/json": components["schemas"]["HTTPValidationError"];
22700
+ };
22701
+ };
22702
+ /** @description Upload limit reached */
22703
+ 429: {
22704
+ headers: {
22705
+ [name: string]: unknown;
22706
+ };
22707
+ content?: never;
22708
+ };
22709
+ };
22710
+ };
20902
22711
  "get-auth-info": {
20903
22712
  parameters: {
20904
22713
  query?: never;
@@ -24974,6 +26783,242 @@ export interface operations {
24974
26783
  };
24975
26784
  };
24976
26785
  };
26786
+ list_dashboards_v1__workspace_id__dashboards_get: {
26787
+ parameters: {
26788
+ query?: {
26789
+ page_context?: ("home" | "patients" | "calls" | "analytics" | "pipeline" | "operators" | "surfaces" | "compliance" | "custom") | null;
26790
+ limit?: number;
26791
+ continuation_token?: number;
26792
+ };
26793
+ header?: never;
26794
+ path: {
26795
+ workspace_id: string;
26796
+ };
26797
+ cookie?: never;
26798
+ };
26799
+ requestBody?: never;
26800
+ responses: {
26801
+ /** @description Successful Response */
26802
+ 200: {
26803
+ headers: {
26804
+ [name: string]: unknown;
26805
+ };
26806
+ content: {
26807
+ "application/json": components["schemas"]["PaginatedResponse_DashboardDefinitionResponse_"];
26808
+ };
26809
+ };
26810
+ /** @description Validation Error */
26811
+ 422: {
26812
+ headers: {
26813
+ [name: string]: unknown;
26814
+ };
26815
+ content: {
26816
+ "application/json": components["schemas"]["HTTPValidationError"];
26817
+ };
26818
+ };
26819
+ };
26820
+ };
26821
+ create_dashboard_v1__workspace_id__dashboards_post: {
26822
+ parameters: {
26823
+ query?: never;
26824
+ header?: never;
26825
+ path: {
26826
+ workspace_id: string;
26827
+ };
26828
+ cookie?: never;
26829
+ };
26830
+ requestBody: {
26831
+ content: {
26832
+ "application/json": components["schemas"]["CreateDashboardRequest"];
26833
+ };
26834
+ };
26835
+ responses: {
26836
+ /** @description Successful Response */
26837
+ 201: {
26838
+ headers: {
26839
+ [name: string]: unknown;
26840
+ };
26841
+ content: {
26842
+ "application/json": components["schemas"]["DashboardDefinitionResponse"];
26843
+ };
26844
+ };
26845
+ /** @description Validation Error */
26846
+ 422: {
26847
+ headers: {
26848
+ [name: string]: unknown;
26849
+ };
26850
+ content: {
26851
+ "application/json": components["schemas"]["HTTPValidationError"];
26852
+ };
26853
+ };
26854
+ };
26855
+ };
26856
+ get_dashboard_by_slug_v1__workspace_id__dashboards_by_slug__slug__get: {
26857
+ parameters: {
26858
+ query?: never;
26859
+ header?: never;
26860
+ path: {
26861
+ slug: string;
26862
+ workspace_id: string;
26863
+ };
26864
+ cookie?: never;
26865
+ };
26866
+ requestBody?: never;
26867
+ responses: {
26868
+ /** @description Successful Response */
26869
+ 200: {
26870
+ headers: {
26871
+ [name: string]: unknown;
26872
+ };
26873
+ content: {
26874
+ "application/json": components["schemas"]["DashboardDefinitionResponse"];
26875
+ };
26876
+ };
26877
+ /** @description Validation Error */
26878
+ 422: {
26879
+ headers: {
26880
+ [name: string]: unknown;
26881
+ };
26882
+ content: {
26883
+ "application/json": components["schemas"]["HTTPValidationError"];
26884
+ };
26885
+ };
26886
+ };
26887
+ };
26888
+ get_dashboard_v1__workspace_id__dashboards__dashboard_id__get: {
26889
+ parameters: {
26890
+ query?: never;
26891
+ header?: never;
26892
+ path: {
26893
+ dashboard_id: string;
26894
+ workspace_id: string;
26895
+ };
26896
+ cookie?: never;
26897
+ };
26898
+ requestBody?: never;
26899
+ responses: {
26900
+ /** @description Successful Response */
26901
+ 200: {
26902
+ headers: {
26903
+ [name: string]: unknown;
26904
+ };
26905
+ content: {
26906
+ "application/json": components["schemas"]["DashboardDefinitionResponse"];
26907
+ };
26908
+ };
26909
+ /** @description Validation Error */
26910
+ 422: {
26911
+ headers: {
26912
+ [name: string]: unknown;
26913
+ };
26914
+ content: {
26915
+ "application/json": components["schemas"]["HTTPValidationError"];
26916
+ };
26917
+ };
26918
+ };
26919
+ };
26920
+ update_dashboard_v1__workspace_id__dashboards__dashboard_id__put: {
26921
+ parameters: {
26922
+ query?: never;
26923
+ header?: never;
26924
+ path: {
26925
+ dashboard_id: string;
26926
+ workspace_id: string;
26927
+ };
26928
+ cookie?: never;
26929
+ };
26930
+ requestBody: {
26931
+ content: {
26932
+ "application/json": components["schemas"]["UpdateDashboardRequest"];
26933
+ };
26934
+ };
26935
+ responses: {
26936
+ /** @description Successful Response */
26937
+ 200: {
26938
+ headers: {
26939
+ [name: string]: unknown;
26940
+ };
26941
+ content: {
26942
+ "application/json": components["schemas"]["DashboardDefinitionResponse"];
26943
+ };
26944
+ };
26945
+ /** @description Validation Error */
26946
+ 422: {
26947
+ headers: {
26948
+ [name: string]: unknown;
26949
+ };
26950
+ content: {
26951
+ "application/json": components["schemas"]["HTTPValidationError"];
26952
+ };
26953
+ };
26954
+ };
26955
+ };
26956
+ delete_dashboard_v1__workspace_id__dashboards__dashboard_id__delete: {
26957
+ parameters: {
26958
+ query?: never;
26959
+ header?: never;
26960
+ path: {
26961
+ dashboard_id: string;
26962
+ workspace_id: string;
26963
+ };
26964
+ cookie?: never;
26965
+ };
26966
+ requestBody?: never;
26967
+ responses: {
26968
+ /** @description Successful Response */
26969
+ 204: {
26970
+ headers: {
26971
+ [name: string]: unknown;
26972
+ };
26973
+ content?: never;
26974
+ };
26975
+ /** @description Validation Error */
26976
+ 422: {
26977
+ headers: {
26978
+ [name: string]: unknown;
26979
+ };
26980
+ content: {
26981
+ "application/json": components["schemas"]["HTTPValidationError"];
26982
+ };
26983
+ };
26984
+ };
26985
+ };
26986
+ execute_dashboard_v1__workspace_id__dashboards__dashboard_id__execute_post: {
26987
+ parameters: {
26988
+ query?: never;
26989
+ header?: never;
26990
+ path: {
26991
+ dashboard_id: string;
26992
+ workspace_id: string;
26993
+ };
26994
+ cookie?: never;
26995
+ };
26996
+ requestBody?: {
26997
+ content: {
26998
+ "application/json": components["schemas"]["ExecutePanelRequest"] | null;
26999
+ };
27000
+ };
27001
+ responses: {
27002
+ /** @description Successful Response */
27003
+ 200: {
27004
+ headers: {
27005
+ [name: string]: unknown;
27006
+ };
27007
+ content: {
27008
+ "application/json": components["schemas"]["DashboardExecuteResponse"];
27009
+ };
27010
+ };
27011
+ /** @description Validation Error */
27012
+ 422: {
27013
+ headers: {
27014
+ [name: string]: unknown;
27015
+ };
27016
+ content: {
27017
+ "application/json": components["schemas"]["HTTPValidationError"];
27018
+ };
27019
+ };
27020
+ };
27021
+ };
24977
27022
  "list-data-sources": {
24978
27023
  parameters: {
24979
27024
  query?: {
@@ -25255,6 +27300,82 @@ export interface operations {
25255
27300
  };
25256
27301
  };
25257
27302
  };
27303
+ "trigger-data-source-sync": {
27304
+ parameters: {
27305
+ query?: never;
27306
+ header?: never;
27307
+ path: {
27308
+ data_source_id: string;
27309
+ workspace_id: string;
27310
+ };
27311
+ cookie?: never;
27312
+ };
27313
+ requestBody?: never;
27314
+ responses: {
27315
+ /** @description Successful Response */
27316
+ 202: {
27317
+ headers: {
27318
+ [name: string]: unknown;
27319
+ };
27320
+ content: {
27321
+ "application/json": components["schemas"]["TriggerSyncResponse"];
27322
+ };
27323
+ };
27324
+ /** @description Invalid data source ID format. */
27325
+ 400: {
27326
+ headers: {
27327
+ [name: string]: unknown;
27328
+ };
27329
+ content?: never;
27330
+ };
27331
+ /** @description Missing or invalid API key. */
27332
+ 401: {
27333
+ headers: {
27334
+ [name: string]: unknown;
27335
+ };
27336
+ content?: never;
27337
+ };
27338
+ /** @description Data source not found. */
27339
+ 404: {
27340
+ headers: {
27341
+ [name: string]: unknown;
27342
+ };
27343
+ content?: never;
27344
+ };
27345
+ /** @description Data source is already syncing. */
27346
+ 409: {
27347
+ headers: {
27348
+ [name: string]: unknown;
27349
+ };
27350
+ content: {
27351
+ "application/json": components["schemas"]["TriggerSyncConflictResponse"];
27352
+ };
27353
+ };
27354
+ /** @description Validation Error */
27355
+ 422: {
27356
+ headers: {
27357
+ [name: string]: unknown;
27358
+ };
27359
+ content: {
27360
+ "application/json": components["schemas"]["HTTPValidationError"];
27361
+ };
27362
+ };
27363
+ /** @description Rate limit exceeded. */
27364
+ 429: {
27365
+ headers: {
27366
+ [name: string]: unknown;
27367
+ };
27368
+ content?: never;
27369
+ };
27370
+ /** @description Connector-runner is unreachable. */
27371
+ 503: {
27372
+ headers: {
27373
+ [name: string]: unknown;
27374
+ };
27375
+ content?: never;
27376
+ };
27377
+ };
27378
+ };
25258
27379
  "data-source-sync-history": {
25259
27380
  parameters: {
25260
27381
  query?: {
@@ -27148,6 +29269,136 @@ export interface operations {
27148
29269
  };
27149
29270
  };
27150
29271
  };
29272
+ "list-intake-links": {
29273
+ parameters: {
29274
+ query?: {
29275
+ include_expired?: boolean;
29276
+ };
29277
+ header?: never;
29278
+ path: {
29279
+ workspace_id: string;
29280
+ };
29281
+ cookie?: never;
29282
+ };
29283
+ requestBody?: never;
29284
+ responses: {
29285
+ /** @description Successful Response */
29286
+ 200: {
29287
+ headers: {
29288
+ [name: string]: unknown;
29289
+ };
29290
+ content: {
29291
+ "application/json": components["schemas"]["IntakeLinkResponse"][];
29292
+ };
29293
+ };
29294
+ /** @description Validation Error */
29295
+ 422: {
29296
+ headers: {
29297
+ [name: string]: unknown;
29298
+ };
29299
+ content: {
29300
+ "application/json": components["schemas"]["HTTPValidationError"];
29301
+ };
29302
+ };
29303
+ };
29304
+ };
29305
+ "create-intake-link": {
29306
+ parameters: {
29307
+ query?: never;
29308
+ header?: never;
29309
+ path: {
29310
+ workspace_id: string;
29311
+ };
29312
+ cookie?: never;
29313
+ };
29314
+ requestBody: {
29315
+ content: {
29316
+ "application/json": components["schemas"]["CreateLinkRequest"];
29317
+ };
29318
+ };
29319
+ responses: {
29320
+ /** @description Successful Response */
29321
+ 201: {
29322
+ headers: {
29323
+ [name: string]: unknown;
29324
+ };
29325
+ content: {
29326
+ "application/json": components["schemas"]["IntakeLinkResponse"];
29327
+ };
29328
+ };
29329
+ /** @description Validation Error */
29330
+ 422: {
29331
+ headers: {
29332
+ [name: string]: unknown;
29333
+ };
29334
+ content: {
29335
+ "application/json": components["schemas"]["HTTPValidationError"];
29336
+ };
29337
+ };
29338
+ };
29339
+ };
29340
+ "revoke-intake-link": {
29341
+ parameters: {
29342
+ query?: never;
29343
+ header?: never;
29344
+ path: {
29345
+ link_id: string;
29346
+ workspace_id: string;
29347
+ };
29348
+ cookie?: never;
29349
+ };
29350
+ requestBody?: never;
29351
+ responses: {
29352
+ /** @description Successful Response */
29353
+ 204: {
29354
+ headers: {
29355
+ [name: string]: unknown;
29356
+ };
29357
+ content?: never;
29358
+ };
29359
+ /** @description Validation Error */
29360
+ 422: {
29361
+ headers: {
29362
+ [name: string]: unknown;
29363
+ };
29364
+ content: {
29365
+ "application/json": components["schemas"]["HTTPValidationError"];
29366
+ };
29367
+ };
29368
+ };
29369
+ };
29370
+ "list-intake-link-uploads": {
29371
+ parameters: {
29372
+ query?: never;
29373
+ header?: never;
29374
+ path: {
29375
+ link_id: string;
29376
+ workspace_id: string;
29377
+ };
29378
+ cookie?: never;
29379
+ };
29380
+ requestBody?: never;
29381
+ responses: {
29382
+ /** @description Successful Response */
29383
+ 200: {
29384
+ headers: {
29385
+ [name: string]: unknown;
29386
+ };
29387
+ content: {
29388
+ "application/json": components["schemas"]["IntakeUploadResponse"][];
29389
+ };
29390
+ };
29391
+ /** @description Validation Error */
29392
+ 422: {
29393
+ headers: {
29394
+ [name: string]: unknown;
29395
+ };
29396
+ content: {
29397
+ "application/json": components["schemas"]["HTTPValidationError"];
29398
+ };
29399
+ };
29400
+ };
29401
+ };
27151
29402
  "list-integrations": {
27152
29403
  parameters: {
27153
29404
  query?: {
@@ -27502,7 +29753,74 @@ export interface operations {
27502
29753
  };
27503
29754
  };
27504
29755
  };
27505
- "get-memory-analytics": {
29756
+ list_anomalies_ranked_v1__workspace_id__m42_anomalies_ranked_get: {
29757
+ parameters: {
29758
+ query?: {
29759
+ indicator?: string | null;
29760
+ };
29761
+ header?: never;
29762
+ path: {
29763
+ workspace_id: string;
29764
+ };
29765
+ cookie?: never;
29766
+ };
29767
+ requestBody?: never;
29768
+ responses: {
29769
+ /** @description Successful Response */
29770
+ 200: {
29771
+ headers: {
29772
+ [name: string]: unknown;
29773
+ };
29774
+ content: {
29775
+ "application/json": components["schemas"]["RankedAnomalyResponse"];
29776
+ };
29777
+ };
29778
+ /** @description Validation Error */
29779
+ 422: {
29780
+ headers: {
29781
+ [name: string]: unknown;
29782
+ };
29783
+ content: {
29784
+ "application/json": components["schemas"]["HTTPValidationError"];
29785
+ };
29786
+ };
29787
+ };
29788
+ };
29789
+ list_anomaly_alerts_v1__workspace_id__m42_anomaly_alerts_get: {
29790
+ parameters: {
29791
+ query?: {
29792
+ severity?: ("high" | "medium" | "low") | null;
29793
+ limit?: number;
29794
+ };
29795
+ header?: never;
29796
+ path: {
29797
+ workspace_id: string;
29798
+ };
29799
+ cookie?: never;
29800
+ };
29801
+ requestBody?: never;
29802
+ responses: {
29803
+ /** @description Successful Response */
29804
+ 200: {
29805
+ headers: {
29806
+ [name: string]: unknown;
29807
+ };
29808
+ content: {
29809
+ "application/json": components["schemas"]["AnomalyAlertResponse"];
29810
+ };
29811
+ };
29812
+ /** @description Validation Error */
29813
+ 422: {
29814
+ headers: {
29815
+ [name: string]: unknown;
29816
+ };
29817
+ content: {
29818
+ "application/json": components["schemas"]["HTTPValidationError"];
29819
+ };
29820
+ };
29821
+ };
29822
+ };
29823
+ list_catalog_v1__workspace_id__m42_catalog_get: {
27506
29824
  parameters: {
27507
29825
  query?: never;
27508
29826
  header?: never;
@@ -27519,25 +29837,115 @@ export interface operations {
27519
29837
  [name: string]: unknown;
27520
29838
  };
27521
29839
  content: {
27522
- "application/json": components["schemas"]["MemoryAnalyticsResponse"];
29840
+ "application/json": components["schemas"]["M42CatalogResponse"];
27523
29841
  };
27524
29842
  };
27525
- /** @description Rate limited */
27526
- 429: {
29843
+ };
29844
+ };
29845
+ describe_table_v1__workspace_id__m42_catalog__table__columns_get: {
29846
+ parameters: {
29847
+ query?: never;
29848
+ header?: never;
29849
+ path: {
29850
+ table: string;
29851
+ workspace_id: string;
29852
+ };
29853
+ cookie?: never;
29854
+ };
29855
+ requestBody?: never;
29856
+ responses: {
29857
+ /** @description Successful Response */
29858
+ 200: {
27527
29859
  headers: {
27528
29860
  [name: string]: unknown;
27529
29861
  };
27530
- content?: never;
29862
+ content: {
29863
+ "application/json": components["schemas"]["ColumnsResponse"];
29864
+ };
29865
+ };
29866
+ /** @description Validation Error */
29867
+ 422: {
29868
+ headers: {
29869
+ [name: string]: unknown;
29870
+ };
29871
+ content: {
29872
+ "application/json": components["schemas"]["HTTPValidationError"];
29873
+ };
27531
29874
  };
27532
29875
  };
27533
29876
  };
27534
- "get-entity-dimension-scores": {
29877
+ sample_table_v1__workspace_id__m42_catalog__table__sample_get: {
29878
+ parameters: {
29879
+ query?: {
29880
+ limit?: number;
29881
+ };
29882
+ header?: never;
29883
+ path: {
29884
+ table: string;
29885
+ workspace_id: string;
29886
+ };
29887
+ cookie?: never;
29888
+ };
29889
+ requestBody?: never;
29890
+ responses: {
29891
+ /** @description Successful Response */
29892
+ 200: {
29893
+ headers: {
29894
+ [name: string]: unknown;
29895
+ };
29896
+ content: {
29897
+ "application/json": components["schemas"]["SampleResponse"];
29898
+ };
29899
+ };
29900
+ /** @description Validation Error */
29901
+ 422: {
29902
+ headers: {
29903
+ [name: string]: unknown;
29904
+ };
29905
+ content: {
29906
+ "application/json": components["schemas"]["HTTPValidationError"];
29907
+ };
29908
+ };
29909
+ };
29910
+ };
29911
+ list_cluster_forecast_v1__workspace_id__m42_clusters_forecast_get: {
29912
+ parameters: {
29913
+ query?: {
29914
+ focus_area?: string | null;
29915
+ };
29916
+ header?: never;
29917
+ path: {
29918
+ workspace_id: string;
29919
+ };
29920
+ cookie?: never;
29921
+ };
29922
+ requestBody?: never;
29923
+ responses: {
29924
+ /** @description Successful Response */
29925
+ 200: {
29926
+ headers: {
29927
+ [name: string]: unknown;
29928
+ };
29929
+ content: {
29930
+ "application/json": components["schemas"]["ClusterForecastResponse"];
29931
+ };
29932
+ };
29933
+ /** @description Validation Error */
29934
+ 422: {
29935
+ headers: {
29936
+ [name: string]: unknown;
29937
+ };
29938
+ content: {
29939
+ "application/json": components["schemas"]["HTTPValidationError"];
29940
+ };
29941
+ };
29942
+ };
29943
+ };
29944
+ list_cluster_summary_v1__workspace_id__m42_clusters_summary_get: {
27535
29945
  parameters: {
27536
29946
  query?: never;
27537
29947
  header?: never;
27538
29948
  path: {
27539
- /** @description Entity UUID */
27540
- entity_id: string;
27541
29949
  workspace_id: string;
27542
29950
  };
27543
29951
  cookie?: never;
@@ -27550,34 +29958,335 @@ export interface operations {
27550
29958
  [name: string]: unknown;
27551
29959
  };
27552
29960
  content: {
27553
- "application/json": components["schemas"]["DimensionScoresResponse"];
29961
+ "application/json": components["schemas"]["ClusterSummaryResponse"];
27554
29962
  };
27555
29963
  };
27556
- /** @description Invalid entity_id */
29964
+ };
29965
+ };
29966
+ list_district_metrics_v1__workspace_id__m42_district_metrics_get: {
29967
+ parameters: {
29968
+ query?: never;
29969
+ header?: never;
29970
+ path: {
29971
+ workspace_id: string;
29972
+ };
29973
+ cookie?: never;
29974
+ };
29975
+ requestBody?: never;
29976
+ responses: {
29977
+ /** @description Successful Response */
29978
+ 200: {
29979
+ headers: {
29980
+ [name: string]: unknown;
29981
+ };
29982
+ content: {
29983
+ "application/json": components["schemas"]["DistrictMetricsResponse"];
29984
+ };
29985
+ };
29986
+ };
29987
+ };
29988
+ list_features_v1__workspace_id__m42_features_get: {
29989
+ parameters: {
29990
+ query?: never;
29991
+ header?: never;
29992
+ path: {
29993
+ workspace_id: string;
29994
+ };
29995
+ cookie?: never;
29996
+ };
29997
+ requestBody?: never;
29998
+ responses: {
29999
+ /** @description Successful Response */
30000
+ 200: {
30001
+ headers: {
30002
+ [name: string]: unknown;
30003
+ };
30004
+ content: {
30005
+ "application/json": components["schemas"]["FeaturesResponse"];
30006
+ };
30007
+ };
30008
+ };
30009
+ };
30010
+ feature_distribution_v1__workspace_id__m42_features_distribution_get: {
30011
+ parameters: {
30012
+ query: {
30013
+ feature: string;
30014
+ bins?: number;
30015
+ };
30016
+ header?: never;
30017
+ path: {
30018
+ workspace_id: string;
30019
+ };
30020
+ cookie?: never;
30021
+ };
30022
+ requestBody?: never;
30023
+ responses: {
30024
+ /** @description Successful Response */
30025
+ 200: {
30026
+ headers: {
30027
+ [name: string]: unknown;
30028
+ };
30029
+ content: {
30030
+ "application/json": components["schemas"]["FeatureDistributionResponse"];
30031
+ };
30032
+ };
30033
+ /** @description Validation Error */
27557
30034
  422: {
27558
30035
  headers: {
27559
30036
  [name: string]: unknown;
27560
30037
  };
27561
- content?: never;
30038
+ content: {
30039
+ "application/json": components["schemas"]["HTTPValidationError"];
30040
+ };
27562
30041
  };
27563
- /** @description Rate limited */
27564
- 429: {
30042
+ };
30043
+ };
30044
+ list_forecast_fan_v1__workspace_id__m42_forecast_fan_get: {
30045
+ parameters: {
30046
+ query?: {
30047
+ run_id?: string | null;
30048
+ scenario?: ("baseline" | "with_policy" | "observational") | null;
30049
+ };
30050
+ header?: never;
30051
+ path: {
30052
+ workspace_id: string;
30053
+ };
30054
+ cookie?: never;
30055
+ };
30056
+ requestBody?: never;
30057
+ responses: {
30058
+ /** @description Successful Response */
30059
+ 200: {
27565
30060
  headers: {
27566
30061
  [name: string]: unknown;
27567
30062
  };
27568
- content?: never;
30063
+ content: {
30064
+ "application/json": components["schemas"]["ForecastFanResponse"];
30065
+ };
30066
+ };
30067
+ /** @description Validation Error */
30068
+ 422: {
30069
+ headers: {
30070
+ [name: string]: unknown;
30071
+ };
30072
+ content: {
30073
+ "application/json": components["schemas"]["HTTPValidationError"];
30074
+ };
27569
30075
  };
27570
30076
  };
27571
30077
  };
27572
- "get-entity-memory-facts": {
30078
+ list_forecast_draws_v1__workspace_id__m42_forecast_fan_draws_get: {
27573
30079
  parameters: {
27574
30080
  query?: {
27575
- /** @description Filter by dimension key (clinical, behavioral, etc.) */
27576
- dimension?: string | null;
27577
- /** @description Max facts to return */
30081
+ run_id?: string;
30082
+ scenario?: string;
30083
+ sample?: number;
30084
+ };
30085
+ header?: never;
30086
+ path: {
30087
+ workspace_id: string;
30088
+ };
30089
+ cookie?: never;
30090
+ };
30091
+ requestBody?: never;
30092
+ responses: {
30093
+ /** @description Successful Response */
30094
+ 200: {
30095
+ headers: {
30096
+ [name: string]: unknown;
30097
+ };
30098
+ content: {
30099
+ "application/json": components["schemas"]["ForecastDrawsResponse"];
30100
+ };
30101
+ };
30102
+ /** @description Validation Error */
30103
+ 422: {
30104
+ headers: {
30105
+ [name: string]: unknown;
30106
+ };
30107
+ content: {
30108
+ "application/json": components["schemas"]["HTTPValidationError"];
30109
+ };
30110
+ };
30111
+ };
30112
+ };
30113
+ list_model_registry_v1__workspace_id__m42_model_registry_get: {
30114
+ parameters: {
30115
+ query?: never;
30116
+ header?: never;
30117
+ path: {
30118
+ workspace_id: string;
30119
+ };
30120
+ cookie?: never;
30121
+ };
30122
+ requestBody?: never;
30123
+ responses: {
30124
+ /** @description Successful Response */
30125
+ 200: {
30126
+ headers: {
30127
+ [name: string]: unknown;
30128
+ };
30129
+ content: {
30130
+ "application/json": components["schemas"]["ModelRegistryResponse"];
30131
+ };
30132
+ };
30133
+ };
30134
+ };
30135
+ list_patient_topology_v1__workspace_id__m42_patient_topology_get: {
30136
+ parameters: {
30137
+ query?: {
30138
+ cluster?: string | null;
30139
+ risk_tier?: number | null;
27578
30140
  limit?: number;
30141
+ offset?: number;
27579
30142
  };
27580
30143
  header?: never;
30144
+ path: {
30145
+ workspace_id: string;
30146
+ };
30147
+ cookie?: never;
30148
+ };
30149
+ requestBody?: never;
30150
+ responses: {
30151
+ /** @description Successful Response */
30152
+ 200: {
30153
+ headers: {
30154
+ [name: string]: unknown;
30155
+ };
30156
+ content: {
30157
+ "application/json": components["schemas"]["PatientTopologyResponse"];
30158
+ };
30159
+ };
30160
+ /** @description Validation Error */
30161
+ 422: {
30162
+ headers: {
30163
+ [name: string]: unknown;
30164
+ };
30165
+ content: {
30166
+ "application/json": components["schemas"]["HTTPValidationError"];
30167
+ };
30168
+ };
30169
+ };
30170
+ };
30171
+ list_patient_labs_v1__workspace_id__m42_patients__patient_id__labs_get: {
30172
+ parameters: {
30173
+ query?: never;
30174
+ header?: never;
30175
+ path: {
30176
+ patient_id: string;
30177
+ workspace_id: string;
30178
+ };
30179
+ cookie?: never;
30180
+ };
30181
+ requestBody?: never;
30182
+ responses: {
30183
+ /** @description Successful Response */
30184
+ 200: {
30185
+ headers: {
30186
+ [name: string]: unknown;
30187
+ };
30188
+ content: {
30189
+ "application/json": components["schemas"]["PatientLabsResponse"];
30190
+ };
30191
+ };
30192
+ /** @description Validation Error */
30193
+ 422: {
30194
+ headers: {
30195
+ [name: string]: unknown;
30196
+ };
30197
+ content: {
30198
+ "application/json": components["schemas"]["HTTPValidationError"];
30199
+ };
30200
+ };
30201
+ };
30202
+ };
30203
+ get_patient_note_v1__workspace_id__m42_patients__patient_id__note_get: {
30204
+ parameters: {
30205
+ query?: never;
30206
+ header?: never;
30207
+ path: {
30208
+ patient_id: string;
30209
+ workspace_id: string;
30210
+ };
30211
+ cookie?: never;
30212
+ };
30213
+ requestBody?: never;
30214
+ responses: {
30215
+ /** @description Successful Response */
30216
+ 200: {
30217
+ headers: {
30218
+ [name: string]: unknown;
30219
+ };
30220
+ content: {
30221
+ "application/json": components["schemas"]["PatientNoteResponse"];
30222
+ };
30223
+ };
30224
+ /** @description Validation Error */
30225
+ 422: {
30226
+ headers: {
30227
+ [name: string]: unknown;
30228
+ };
30229
+ content: {
30230
+ "application/json": components["schemas"]["HTTPValidationError"];
30231
+ };
30232
+ };
30233
+ };
30234
+ };
30235
+ list_positive_signals_v1__workspace_id__m42_positive_signals_get: {
30236
+ parameters: {
30237
+ query?: never;
30238
+ header?: never;
30239
+ path: {
30240
+ workspace_id: string;
30241
+ };
30242
+ cookie?: never;
30243
+ };
30244
+ requestBody?: never;
30245
+ responses: {
30246
+ /** @description Successful Response */
30247
+ 200: {
30248
+ headers: {
30249
+ [name: string]: unknown;
30250
+ };
30251
+ content: {
30252
+ "application/json": components["schemas"]["PositiveSignalResponse"];
30253
+ };
30254
+ };
30255
+ };
30256
+ };
30257
+ "get-memory-analytics": {
30258
+ parameters: {
30259
+ query?: never;
30260
+ header?: never;
30261
+ path: {
30262
+ workspace_id: string;
30263
+ };
30264
+ cookie?: never;
30265
+ };
30266
+ requestBody?: never;
30267
+ responses: {
30268
+ /** @description Successful Response */
30269
+ 200: {
30270
+ headers: {
30271
+ [name: string]: unknown;
30272
+ };
30273
+ content: {
30274
+ "application/json": components["schemas"]["MemoryAnalyticsResponse"];
30275
+ };
30276
+ };
30277
+ /** @description Rate limited */
30278
+ 429: {
30279
+ headers: {
30280
+ [name: string]: unknown;
30281
+ };
30282
+ content?: never;
30283
+ };
30284
+ };
30285
+ };
30286
+ "get-entity-dimension-scores": {
30287
+ parameters: {
30288
+ query?: never;
30289
+ header?: never;
27581
30290
  path: {
27582
30291
  /** @description Entity UUID */
27583
30292
  entity_id: string;
@@ -27593,10 +30302,10 @@ export interface operations {
27593
30302
  [name: string]: unknown;
27594
30303
  };
27595
30304
  content: {
27596
- "application/json": components["schemas"]["MemoryFactsResponse"];
30305
+ "application/json": components["schemas"]["DimensionScoresResponse"];
27597
30306
  };
27598
30307
  };
27599
- /** @description Invalid entity_id or dimension key */
30308
+ /** @description Invalid entity_id */
27600
30309
  422: {
27601
30310
  headers: {
27602
30311
  [name: string]: unknown;
@@ -27612,11 +30321,18 @@ export interface operations {
27612
30321
  };
27613
30322
  };
27614
30323
  };
27615
- "list-metrics": {
30324
+ "get-entity-memory-facts": {
27616
30325
  parameters: {
27617
- query?: never;
30326
+ query?: {
30327
+ /** @description Filter by dimension key (clinical, behavioral, etc.) */
30328
+ dimension?: string | null;
30329
+ /** @description Max facts to return */
30330
+ limit?: number;
30331
+ };
27618
30332
  header?: never;
27619
30333
  path: {
30334
+ /** @description Entity UUID */
30335
+ entity_id: string;
27620
30336
  workspace_id: string;
27621
30337
  };
27622
30338
  cookie?: never;
@@ -27629,8 +30345,15 @@ export interface operations {
27629
30345
  [name: string]: unknown;
27630
30346
  };
27631
30347
  content: {
27632
- "application/json": components["schemas"]["MetricListResponse"];
30348
+ "application/json": components["schemas"]["MemoryFactsResponse"];
30349
+ };
30350
+ };
30351
+ /** @description Invalid entity_id or dimension key */
30352
+ 422: {
30353
+ headers: {
30354
+ [name: string]: unknown;
27633
30355
  };
30356
+ content?: never;
27634
30357
  };
27635
30358
  /** @description Rate limited */
27636
30359
  429: {
@@ -27641,7 +30364,7 @@ export interface operations {
27641
30364
  };
27642
30365
  };
27643
30366
  };
27644
- "get-metric-catalog": {
30367
+ "list-metrics": {
27645
30368
  parameters: {
27646
30369
  query?: never;
27647
30370
  header?: never;
@@ -27658,7 +30381,7 @@ export interface operations {
27658
30381
  [name: string]: unknown;
27659
30382
  };
27660
30383
  content: {
27661
- "application/json": components["schemas"]["MetricCatalogResponse"];
30384
+ "application/json": components["schemas"]["MetricListResponse"];
27662
30385
  };
27663
30386
  };
27664
30387
  /** @description Rate limited */
@@ -27670,7 +30393,7 @@ export interface operations {
27670
30393
  };
27671
30394
  };
27672
30395
  };
27673
- "get-metric-freshness": {
30396
+ "get-metric-catalog": {
27674
30397
  parameters: {
27675
30398
  query?: never;
27676
30399
  header?: never;
@@ -27687,7 +30410,7 @@ export interface operations {
27687
30410
  [name: string]: unknown;
27688
30411
  };
27689
30412
  content: {
27690
- "application/json": components["schemas"]["MetricFreshnessResponse"];
30413
+ "application/json": components["schemas"]["MetricCatalogResponse"];
27691
30414
  };
27692
30415
  };
27693
30416
  /** @description Rate limited */
@@ -31489,6 +34212,49 @@ export interface operations {
31489
34212
  };
31490
34213
  };
31491
34214
  };
34215
+ "list-voice-judge-recent": {
34216
+ parameters: {
34217
+ query?: {
34218
+ /** @description Max rows to return (default 20, max 100) */
34219
+ limit?: number;
34220
+ };
34221
+ header?: never;
34222
+ path: {
34223
+ /** @description Service UUID */
34224
+ service_id: string;
34225
+ workspace_id: string;
34226
+ };
34227
+ cookie?: never;
34228
+ };
34229
+ requestBody?: never;
34230
+ responses: {
34231
+ /** @description Voice judge rows (newest first) */
34232
+ 200: {
34233
+ headers: {
34234
+ [name: string]: unknown;
34235
+ };
34236
+ content: {
34237
+ "application/json": components["schemas"]["VoiceJudgeRecentResponse"];
34238
+ };
34239
+ };
34240
+ /** @description Validation Error */
34241
+ 422: {
34242
+ headers: {
34243
+ [name: string]: unknown;
34244
+ };
34245
+ content: {
34246
+ "application/json": components["schemas"]["HTTPValidationError"];
34247
+ };
34248
+ };
34249
+ /** @description Analytics warehouse not configured or transiently unavailable */
34250
+ 503: {
34251
+ headers: {
34252
+ [name: string]: unknown;
34253
+ };
34254
+ content?: never;
34255
+ };
34256
+ };
34257
+ };
31492
34258
  "voice-turn": {
31493
34259
  parameters: {
31494
34260
  query?: never;
@@ -32446,7 +35212,235 @@ export interface operations {
32446
35212
  };
32447
35213
  };
32448
35214
  };
32449
- "get-retention-policy": {
35215
+ "get-retention-policy": {
35216
+ parameters: {
35217
+ query?: never;
35218
+ header?: never;
35219
+ path: {
35220
+ workspace_id: string;
35221
+ };
35222
+ cookie?: never;
35223
+ };
35224
+ requestBody?: never;
35225
+ responses: {
35226
+ /** @description Successful Response */
35227
+ 200: {
35228
+ headers: {
35229
+ [name: string]: unknown;
35230
+ };
35231
+ content: {
35232
+ "application/json": components["schemas"]["RetentionPolicyResponse"];
35233
+ };
35234
+ };
35235
+ /** @description Rate limited */
35236
+ 429: {
35237
+ headers: {
35238
+ [name: string]: unknown;
35239
+ };
35240
+ content?: never;
35241
+ };
35242
+ };
35243
+ };
35244
+ "update-retention-policy": {
35245
+ parameters: {
35246
+ query?: never;
35247
+ header?: never;
35248
+ path: {
35249
+ workspace_id: string;
35250
+ };
35251
+ cookie?: never;
35252
+ };
35253
+ requestBody: {
35254
+ content: {
35255
+ "application/json": components["schemas"]["RetentionPolicyRequest"];
35256
+ };
35257
+ };
35258
+ responses: {
35259
+ /** @description Successful Response */
35260
+ 200: {
35261
+ headers: {
35262
+ [name: string]: unknown;
35263
+ };
35264
+ content: {
35265
+ "application/json": components["schemas"]["RetentionPolicyResponse"];
35266
+ };
35267
+ };
35268
+ /** @description Workspace not found */
35269
+ 404: {
35270
+ headers: {
35271
+ [name: string]: unknown;
35272
+ };
35273
+ content?: never;
35274
+ };
35275
+ /** @description Validation error */
35276
+ 422: {
35277
+ headers: {
35278
+ [name: string]: unknown;
35279
+ };
35280
+ content?: never;
35281
+ };
35282
+ /** @description Rate limited */
35283
+ 429: {
35284
+ headers: {
35285
+ [name: string]: unknown;
35286
+ };
35287
+ content?: never;
35288
+ };
35289
+ };
35290
+ };
35291
+ "get-scribe-settings": {
35292
+ parameters: {
35293
+ query?: never;
35294
+ header?: never;
35295
+ path: {
35296
+ workspace_id: string;
35297
+ };
35298
+ cookie?: never;
35299
+ };
35300
+ requestBody?: never;
35301
+ responses: {
35302
+ /** @description Successful Response */
35303
+ 200: {
35304
+ headers: {
35305
+ [name: string]: unknown;
35306
+ };
35307
+ content: {
35308
+ "application/json": components["schemas"]["ScribeSettingsResponse"];
35309
+ };
35310
+ };
35311
+ /** @description Rate limited */
35312
+ 429: {
35313
+ headers: {
35314
+ [name: string]: unknown;
35315
+ };
35316
+ content?: never;
35317
+ };
35318
+ };
35319
+ };
35320
+ "update-scribe-settings": {
35321
+ parameters: {
35322
+ query?: never;
35323
+ header?: never;
35324
+ path: {
35325
+ workspace_id: string;
35326
+ };
35327
+ cookie?: never;
35328
+ };
35329
+ requestBody: {
35330
+ content: {
35331
+ "application/json": components["schemas"]["ScribeSettingsRequest"];
35332
+ };
35333
+ };
35334
+ responses: {
35335
+ /** @description Successful Response */
35336
+ 200: {
35337
+ headers: {
35338
+ [name: string]: unknown;
35339
+ };
35340
+ content: {
35341
+ "application/json": components["schemas"]["ScribeSettingsResponse"];
35342
+ };
35343
+ };
35344
+ /** @description Workspace not found */
35345
+ 404: {
35346
+ headers: {
35347
+ [name: string]: unknown;
35348
+ };
35349
+ content?: never;
35350
+ };
35351
+ /** @description Validation error */
35352
+ 422: {
35353
+ headers: {
35354
+ [name: string]: unknown;
35355
+ };
35356
+ content?: never;
35357
+ };
35358
+ /** @description Rate limited */
35359
+ 429: {
35360
+ headers: {
35361
+ [name: string]: unknown;
35362
+ };
35363
+ content?: never;
35364
+ };
35365
+ };
35366
+ };
35367
+ "get-security-settings": {
35368
+ parameters: {
35369
+ query?: never;
35370
+ header?: never;
35371
+ path: {
35372
+ workspace_id: string;
35373
+ };
35374
+ cookie?: never;
35375
+ };
35376
+ requestBody?: never;
35377
+ responses: {
35378
+ /** @description Successful Response */
35379
+ 200: {
35380
+ headers: {
35381
+ [name: string]: unknown;
35382
+ };
35383
+ content: {
35384
+ "application/json": components["schemas"]["SecuritySettingsResponse"];
35385
+ };
35386
+ };
35387
+ /** @description Rate limited */
35388
+ 429: {
35389
+ headers: {
35390
+ [name: string]: unknown;
35391
+ };
35392
+ content?: never;
35393
+ };
35394
+ };
35395
+ };
35396
+ "update-security-settings": {
35397
+ parameters: {
35398
+ query?: never;
35399
+ header?: never;
35400
+ path: {
35401
+ workspace_id: string;
35402
+ };
35403
+ cookie?: never;
35404
+ };
35405
+ requestBody: {
35406
+ content: {
35407
+ "application/json": components["schemas"]["SecuritySettingsRequest"];
35408
+ };
35409
+ };
35410
+ responses: {
35411
+ /** @description Successful Response */
35412
+ 200: {
35413
+ headers: {
35414
+ [name: string]: unknown;
35415
+ };
35416
+ content: {
35417
+ "application/json": components["schemas"]["SecuritySettingsResponse"];
35418
+ };
35419
+ };
35420
+ /** @description Workspace not found */
35421
+ 404: {
35422
+ headers: {
35423
+ [name: string]: unknown;
35424
+ };
35425
+ content?: never;
35426
+ };
35427
+ /** @description Validation error */
35428
+ 422: {
35429
+ headers: {
35430
+ [name: string]: unknown;
35431
+ };
35432
+ content?: never;
35433
+ };
35434
+ /** @description Rate limited */
35435
+ 429: {
35436
+ headers: {
35437
+ [name: string]: unknown;
35438
+ };
35439
+ content?: never;
35440
+ };
35441
+ };
35442
+ };
35443
+ "get-voice-settings": {
32450
35444
  parameters: {
32451
35445
  query?: never;
32452
35446
  header?: never;
@@ -32463,7 +35457,7 @@ export interface operations {
32463
35457
  [name: string]: unknown;
32464
35458
  };
32465
35459
  content: {
32466
- "application/json": components["schemas"]["RetentionPolicyResponse"];
35460
+ "application/json": components["schemas"]["VoiceSettingsResponse"];
32467
35461
  };
32468
35462
  };
32469
35463
  /** @description Rate limited */
@@ -32475,7 +35469,7 @@ export interface operations {
32475
35469
  };
32476
35470
  };
32477
35471
  };
32478
- "update-retention-policy": {
35472
+ "update-voice-settings": {
32479
35473
  parameters: {
32480
35474
  query?: never;
32481
35475
  header?: never;
@@ -32486,7 +35480,7 @@ export interface operations {
32486
35480
  };
32487
35481
  requestBody: {
32488
35482
  content: {
32489
- "application/json": components["schemas"]["RetentionPolicyRequest"];
35483
+ "application/json": components["schemas"]["VoiceSettingsRequest"];
32490
35484
  };
32491
35485
  };
32492
35486
  responses: {
@@ -32496,7 +35490,7 @@ export interface operations {
32496
35490
  [name: string]: unknown;
32497
35491
  };
32498
35492
  content: {
32499
- "application/json": components["schemas"]["RetentionPolicyResponse"];
35493
+ "application/json": components["schemas"]["VoiceSettingsResponse"];
32500
35494
  };
32501
35495
  };
32502
35496
  /** @description Workspace not found */
@@ -32522,7 +35516,7 @@ export interface operations {
32522
35516
  };
32523
35517
  };
32524
35518
  };
32525
- "get-scribe-settings": {
35519
+ "get-workflow-settings": {
32526
35520
  parameters: {
32527
35521
  query?: never;
32528
35522
  header?: never;
@@ -32539,7 +35533,7 @@ export interface operations {
32539
35533
  [name: string]: unknown;
32540
35534
  };
32541
35535
  content: {
32542
- "application/json": components["schemas"]["ScribeSettingsResponse"];
35536
+ "application/json": components["schemas"]["WorkflowSettingsResponse"];
32543
35537
  };
32544
35538
  };
32545
35539
  /** @description Rate limited */
@@ -32551,7 +35545,7 @@ export interface operations {
32551
35545
  };
32552
35546
  };
32553
35547
  };
32554
- "update-scribe-settings": {
35548
+ "update-workflow-settings": {
32555
35549
  parameters: {
32556
35550
  query?: never;
32557
35551
  header?: never;
@@ -32562,7 +35556,7 @@ export interface operations {
32562
35556
  };
32563
35557
  requestBody: {
32564
35558
  content: {
32565
- "application/json": components["schemas"]["ScribeSettingsRequest"];
35559
+ "application/json": components["schemas"]["WorkflowSettingsRequest"];
32566
35560
  };
32567
35561
  };
32568
35562
  responses: {
@@ -32572,7 +35566,7 @@ export interface operations {
32572
35566
  [name: string]: unknown;
32573
35567
  };
32574
35568
  content: {
32575
- "application/json": components["schemas"]["ScribeSettingsResponse"];
35569
+ "application/json": components["schemas"]["WorkflowSettingsResponse"];
32576
35570
  };
32577
35571
  };
32578
35572
  /** @description Workspace not found */
@@ -32598,7 +35592,7 @@ export interface operations {
32598
35592
  };
32599
35593
  };
32600
35594
  };
32601
- "get-security-settings": {
35595
+ "list-simulation-branches": {
32602
35596
  parameters: {
32603
35597
  query?: never;
32604
35598
  header?: never;
@@ -32615,19 +35609,14 @@ export interface operations {
32615
35609
  [name: string]: unknown;
32616
35610
  };
32617
35611
  content: {
32618
- "application/json": components["schemas"]["SecuritySettingsResponse"];
32619
- };
32620
- };
32621
- /** @description Rate limited */
32622
- 429: {
32623
- headers: {
32624
- [name: string]: unknown;
35612
+ "application/json": {
35613
+ [key: string]: unknown;
35614
+ };
32625
35615
  };
32626
- content?: never;
32627
35616
  };
32628
35617
  };
32629
35618
  };
32630
- "update-security-settings": {
35619
+ "create-simulation-branch": {
32631
35620
  parameters: {
32632
35621
  query?: never;
32633
35622
  header?: never;
@@ -32638,7 +35627,7 @@ export interface operations {
32638
35627
  };
32639
35628
  requestBody: {
32640
35629
  content: {
32641
- "application/json": components["schemas"]["SecuritySettingsRequest"];
35630
+ "application/json": components["schemas"]["CreateBranchRequest"];
32642
35631
  };
32643
35632
  };
32644
35633
  responses: {
@@ -32648,62 +35637,23 @@ export interface operations {
32648
35637
  [name: string]: unknown;
32649
35638
  };
32650
35639
  content: {
32651
- "application/json": components["schemas"]["SecuritySettingsResponse"];
32652
- };
32653
- };
32654
- /** @description Workspace not found */
32655
- 404: {
32656
- headers: {
32657
- [name: string]: unknown;
35640
+ "application/json": {
35641
+ [key: string]: unknown;
35642
+ };
32658
35643
  };
32659
- content?: never;
32660
35644
  };
32661
- /** @description Validation error */
35645
+ /** @description Validation Error */
32662
35646
  422: {
32663
- headers: {
32664
- [name: string]: unknown;
32665
- };
32666
- content?: never;
32667
- };
32668
- /** @description Rate limited */
32669
- 429: {
32670
- headers: {
32671
- [name: string]: unknown;
32672
- };
32673
- content?: never;
32674
- };
32675
- };
32676
- };
32677
- "get-voice-settings": {
32678
- parameters: {
32679
- query?: never;
32680
- header?: never;
32681
- path: {
32682
- workspace_id: string;
32683
- };
32684
- cookie?: never;
32685
- };
32686
- requestBody?: never;
32687
- responses: {
32688
- /** @description Successful Response */
32689
- 200: {
32690
35647
  headers: {
32691
35648
  [name: string]: unknown;
32692
35649
  };
32693
35650
  content: {
32694
- "application/json": components["schemas"]["VoiceSettingsResponse"];
32695
- };
32696
- };
32697
- /** @description Rate limited */
32698
- 429: {
32699
- headers: {
32700
- [name: string]: unknown;
35651
+ "application/json": components["schemas"]["HTTPValidationError"];
32701
35652
  };
32702
- content?: never;
32703
35653
  };
32704
35654
  };
32705
35655
  };
32706
- "update-voice-settings": {
35656
+ "simulation-bridge": {
32707
35657
  parameters: {
32708
35658
  query?: never;
32709
35659
  header?: never;
@@ -32714,7 +35664,7 @@ export interface operations {
32714
35664
  };
32715
35665
  requestBody: {
32716
35666
  content: {
32717
- "application/json": components["schemas"]["VoiceSettingsRequest"];
35667
+ "application/json": components["schemas"]["BridgeRequest"];
32718
35668
  };
32719
35669
  };
32720
35670
  responses: {
@@ -32724,62 +35674,21 @@ export interface operations {
32724
35674
  [name: string]: unknown;
32725
35675
  };
32726
35676
  content: {
32727
- "application/json": components["schemas"]["VoiceSettingsResponse"];
32728
- };
32729
- };
32730
- /** @description Workspace not found */
32731
- 404: {
32732
- headers: {
32733
- [name: string]: unknown;
35677
+ "application/json": components["schemas"]["BridgeResponse"];
32734
35678
  };
32735
- content?: never;
32736
35679
  };
32737
- /** @description Validation error */
35680
+ /** @description Validation Error */
32738
35681
  422: {
32739
- headers: {
32740
- [name: string]: unknown;
32741
- };
32742
- content?: never;
32743
- };
32744
- /** @description Rate limited */
32745
- 429: {
32746
- headers: {
32747
- [name: string]: unknown;
32748
- };
32749
- content?: never;
32750
- };
32751
- };
32752
- };
32753
- "get-workflow-settings": {
32754
- parameters: {
32755
- query?: never;
32756
- header?: never;
32757
- path: {
32758
- workspace_id: string;
32759
- };
32760
- cookie?: never;
32761
- };
32762
- requestBody?: never;
32763
- responses: {
32764
- /** @description Successful Response */
32765
- 200: {
32766
35682
  headers: {
32767
35683
  [name: string]: unknown;
32768
35684
  };
32769
35685
  content: {
32770
- "application/json": components["schemas"]["WorkflowSettingsResponse"];
32771
- };
32772
- };
32773
- /** @description Rate limited */
32774
- 429: {
32775
- headers: {
32776
- [name: string]: unknown;
35686
+ "application/json": components["schemas"]["HTTPValidationError"];
32777
35687
  };
32778
- content?: never;
32779
35688
  };
32780
35689
  };
32781
35690
  };
32782
- "update-workflow-settings": {
35691
+ "simulation-bridge-plan": {
32783
35692
  parameters: {
32784
35693
  query?: never;
32785
35694
  header?: never;
@@ -32790,7 +35699,7 @@ export interface operations {
32790
35699
  };
32791
35700
  requestBody: {
32792
35701
  content: {
32793
- "application/json": components["schemas"]["WorkflowSettingsRequest"];
35702
+ "application/json": components["schemas"]["BridgePlanRequest"];
32794
35703
  };
32795
35704
  };
32796
35705
  responses: {
@@ -32800,57 +35709,21 @@ export interface operations {
32800
35709
  [name: string]: unknown;
32801
35710
  };
32802
35711
  content: {
32803
- "application/json": components["schemas"]["WorkflowSettingsResponse"];
35712
+ "application/json": components["schemas"]["BridgePlanResponse"];
32804
35713
  };
32805
35714
  };
32806
- /** @description Workspace not found */
32807
- 404: {
32808
- headers: {
32809
- [name: string]: unknown;
32810
- };
32811
- content?: never;
32812
- };
32813
- /** @description Validation error */
35715
+ /** @description Validation Error */
32814
35716
  422: {
32815
- headers: {
32816
- [name: string]: unknown;
32817
- };
32818
- content?: never;
32819
- };
32820
- /** @description Rate limited */
32821
- 429: {
32822
- headers: {
32823
- [name: string]: unknown;
32824
- };
32825
- content?: never;
32826
- };
32827
- };
32828
- };
32829
- "list-simulation-branches": {
32830
- parameters: {
32831
- query?: never;
32832
- header?: never;
32833
- path: {
32834
- workspace_id: string;
32835
- };
32836
- cookie?: never;
32837
- };
32838
- requestBody?: never;
32839
- responses: {
32840
- /** @description Successful Response */
32841
- 200: {
32842
35717
  headers: {
32843
35718
  [name: string]: unknown;
32844
35719
  };
32845
35720
  content: {
32846
- "application/json": {
32847
- [key: string]: unknown;
32848
- };
35721
+ "application/json": components["schemas"]["HTTPValidationError"];
32849
35722
  };
32850
35723
  };
32851
35724
  };
32852
35725
  };
32853
- "create-simulation-branch": {
35726
+ "config-to-turn-policy": {
32854
35727
  parameters: {
32855
35728
  query?: never;
32856
35729
  header?: never;
@@ -32861,7 +35734,7 @@ export interface operations {
32861
35734
  };
32862
35735
  requestBody: {
32863
35736
  content: {
32864
- "application/json": components["schemas"]["CreateBranchRequest"];
35737
+ "application/json": components["schemas"]["ConfigToPolicyRequest"];
32865
35738
  };
32866
35739
  };
32867
35740
  responses: {
@@ -32887,20 +35760,19 @@ export interface operations {
32887
35760
  };
32888
35761
  };
32889
35762
  };
32890
- "simulation-bridge": {
35763
+ "list-simulation-runs": {
32891
35764
  parameters: {
32892
- query?: never;
35765
+ query?: {
35766
+ service_id?: string | null;
35767
+ limit?: number;
35768
+ };
32893
35769
  header?: never;
32894
35770
  path: {
32895
35771
  workspace_id: string;
32896
35772
  };
32897
35773
  cookie?: never;
32898
35774
  };
32899
- requestBody: {
32900
- content: {
32901
- "application/json": components["schemas"]["BridgeRequest"];
32902
- };
32903
- };
35775
+ requestBody?: never;
32904
35776
  responses: {
32905
35777
  /** @description Successful Response */
32906
35778
  200: {
@@ -32908,7 +35780,9 @@ export interface operations {
32908
35780
  [name: string]: unknown;
32909
35781
  };
32910
35782
  content: {
32911
- "application/json": components["schemas"]["BridgeResponse"];
35783
+ "application/json": {
35784
+ [key: string]: unknown;
35785
+ };
32912
35786
  };
32913
35787
  };
32914
35788
  /** @description Validation Error */
@@ -32922,7 +35796,7 @@ export interface operations {
32922
35796
  };
32923
35797
  };
32924
35798
  };
32925
- "config-to-turn-policy": {
35799
+ "create-simulation-run": {
32926
35800
  parameters: {
32927
35801
  query?: never;
32928
35802
  header?: never;
@@ -32933,45 +35807,9 @@ export interface operations {
32933
35807
  };
32934
35808
  requestBody: {
32935
35809
  content: {
32936
- "application/json": components["schemas"]["ConfigToPolicyRequest"];
32937
- };
32938
- };
32939
- responses: {
32940
- /** @description Successful Response */
32941
- 200: {
32942
- headers: {
32943
- [name: string]: unknown;
32944
- };
32945
- content: {
32946
- "application/json": {
32947
- [key: string]: unknown;
32948
- };
32949
- };
32950
- };
32951
- /** @description Validation Error */
32952
- 422: {
32953
- headers: {
32954
- [name: string]: unknown;
32955
- };
32956
- content: {
32957
- "application/json": components["schemas"]["HTTPValidationError"];
32958
- };
32959
- };
32960
- };
32961
- };
32962
- "list-simulation-runs": {
32963
- parameters: {
32964
- query?: {
32965
- service_id?: string | null;
32966
- limit?: number;
32967
- };
32968
- header?: never;
32969
- path: {
32970
- workspace_id: string;
35810
+ "application/json": components["schemas"]["CreateRunRequest"];
32971
35811
  };
32972
- cookie?: never;
32973
35812
  };
32974
- requestBody?: never;
32975
35813
  responses: {
32976
35814
  /** @description Successful Response */
32977
35815
  200: {
@@ -32995,20 +35833,17 @@ export interface operations {
32995
35833
  };
32996
35834
  };
32997
35835
  };
32998
- "create-simulation-run": {
35836
+ "get-simulation-run": {
32999
35837
  parameters: {
33000
35838
  query?: never;
33001
35839
  header?: never;
33002
35840
  path: {
35841
+ run_id: string;
33003
35842
  workspace_id: string;
33004
35843
  };
33005
35844
  cookie?: never;
33006
35845
  };
33007
- requestBody: {
33008
- content: {
33009
- "application/json": components["schemas"]["CreateRunRequest"];
33010
- };
33011
- };
35846
+ requestBody?: never;
33012
35847
  responses: {
33013
35848
  /** @description Successful Response */
33014
35849
  200: {
@@ -33016,9 +35851,7 @@ export interface operations {
33016
35851
  [name: string]: unknown;
33017
35852
  };
33018
35853
  content: {
33019
- "application/json": {
33020
- [key: string]: unknown;
33021
- };
35854
+ "application/json": components["schemas"]["SimulationRunResponse"];
33022
35855
  };
33023
35856
  };
33024
35857
  /** @description Validation Error */
@@ -33343,9 +36176,7 @@ export interface operations {
33343
36176
  [name: string]: unknown;
33344
36177
  };
33345
36178
  content: {
33346
- "application/json": {
33347
- [key: string]: unknown;
33348
- };
36179
+ "application/json": components["schemas"]["RecommendResponse"];
33349
36180
  };
33350
36181
  };
33351
36182
  /** @description Validation Error */
@@ -33444,9 +36275,7 @@ export interface operations {
33444
36275
  [name: string]: unknown;
33445
36276
  };
33446
36277
  content: {
33447
- "application/json": {
33448
- [key: string]: string;
33449
- };
36278
+ "application/json": components["schemas"]["DestroySessionResponse"];
33450
36279
  };
33451
36280
  };
33452
36281
  /** @description Validation Error */
@@ -36980,7 +39809,7 @@ export interface operations {
36980
39809
  "world-sync-events": {
36981
39810
  parameters: {
36982
39811
  query: {
36983
- status: "pending" | "synced" | "failed" | "processing";
39812
+ status: "pending" | "synced" | "failed" | "processing" | "not_applicable";
36984
39813
  /** @description Filter events to a specific outbound data source. */
36985
39814
  data_source_id?: string | null;
36986
39815
  /** @description Filter events to a specific source system. */