@amigo-ai/platform-sdk 0.4.3 → 0.4.5

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 (46) hide show
  1. package/README.md +46 -13
  2. package/assets/readme/amigo-banner.png +0 -0
  3. package/assets/readme/platform-architecture.svg +103 -0
  4. package/dist/core/retry.js +29 -1
  5. package/dist/core/retry.js.map +1 -1
  6. package/dist/index.cjs +27 -1
  7. package/dist/index.cjs.map +2 -2
  8. package/dist/index.mjs +27 -1
  9. package/dist/index.mjs.map +2 -2
  10. package/dist/types/core/retry.d.ts.map +1 -1
  11. package/dist/types/generated/api.d.ts +1132 -244
  12. package/dist/types/generated/api.d.ts.map +1 -1
  13. package/dist/types/resources/actions.d.ts.map +1 -1
  14. package/dist/types/resources/agents.d.ts +4 -4
  15. package/dist/types/resources/agents.d.ts.map +1 -1
  16. package/dist/types/resources/analytics.d.ts +1 -3
  17. package/dist/types/resources/analytics.d.ts.map +1 -1
  18. package/dist/types/resources/api-keys.d.ts.map +1 -1
  19. package/dist/types/resources/audit.d.ts.map +1 -1
  20. package/dist/types/resources/billing.d.ts.map +1 -1
  21. package/dist/types/resources/calls.d.ts +1 -1
  22. package/dist/types/resources/calls.d.ts.map +1 -1
  23. package/dist/types/resources/context-graphs.d.ts.map +1 -1
  24. package/dist/types/resources/data-sources.d.ts.map +1 -1
  25. package/dist/types/resources/functions.d.ts.map +1 -1
  26. package/dist/types/resources/integrations.d.ts.map +1 -1
  27. package/dist/types/resources/memory.d.ts.map +1 -1
  28. package/dist/types/resources/operators.d.ts +18 -18
  29. package/dist/types/resources/operators.d.ts.map +1 -1
  30. package/dist/types/resources/personas.d.ts.map +1 -1
  31. package/dist/types/resources/phone-numbers.d.ts +8 -8
  32. package/dist/types/resources/phone-numbers.d.ts.map +1 -1
  33. package/dist/types/resources/review-queue.d.ts +6 -6
  34. package/dist/types/resources/review-queue.d.ts.map +1 -1
  35. package/dist/types/resources/safety.d.ts.map +1 -1
  36. package/dist/types/resources/services.d.ts.map +1 -1
  37. package/dist/types/resources/settings.d.ts.map +1 -1
  38. package/dist/types/resources/simulations.d.ts.map +1 -1
  39. package/dist/types/resources/skills.d.ts.map +1 -1
  40. package/dist/types/resources/triggers.d.ts +35 -35
  41. package/dist/types/resources/triggers.d.ts.map +1 -1
  42. package/dist/types/resources/webhook-destinations.d.ts +6 -6
  43. package/dist/types/resources/webhook-destinations.d.ts.map +1 -1
  44. package/dist/types/resources/workspaces.d.ts.map +1 -1
  45. package/dist/types/resources/world.d.ts.map +1 -1
  46. package/package.json +5 -2
@@ -1592,6 +1592,26 @@ export interface paths {
1592
1592
  patch?: never;
1593
1593
  trace?: never;
1594
1594
  };
1595
+ "/v1/{workspace_id}/causal/drivers": {
1596
+ parameters: {
1597
+ query?: never;
1598
+ header?: never;
1599
+ path?: never;
1600
+ cookie?: never;
1601
+ };
1602
+ /**
1603
+ * List Drivers
1604
+ * @description Ranked SPR drivers for one (outcome_family, outcome_key). Byar 1978 95% CI. SPR > 1 = feature value over-indexes for this outcome vs. the workspace baseline. Filter by feature_family (demographic|comorbidity) or feature_arity (1=univariate, 2=pairwise). min_support_only=true (default) hides observed < 5 rows. This is DESCRIPTIVE attribution — v2 causal (ITS + synthetic control) lands via the analytics.public.causal_attribution pipeline in Phase 5.
1605
+ */
1606
+ get: operations["list_drivers_v1__workspace_id__causal_drivers_get"];
1607
+ put?: never;
1608
+ post?: never;
1609
+ delete?: never;
1610
+ options?: never;
1611
+ head?: never;
1612
+ patch?: never;
1613
+ trace?: never;
1614
+ };
1595
1615
  "/v1/{workspace_id}/command-center": {
1596
1616
  parameters: {
1597
1617
  query?: never;
@@ -2055,6 +2075,70 @@ export interface paths {
2055
2075
  patch?: never;
2056
2076
  trace?: never;
2057
2077
  };
2078
+ "/v1/{workspace_id}/demo-pulse/start": {
2079
+ parameters: {
2080
+ query?: never;
2081
+ header?: never;
2082
+ path?: never;
2083
+ cookie?: never;
2084
+ };
2085
+ get?: never;
2086
+ put?: never;
2087
+ /**
2088
+ * Start synthetic event emission for an internal demo workspace
2089
+ * @description Start a synthetic pulse on the workspace.
2090
+ *
2091
+ * Guardrails: admin/owner role + workspace must be in the allowlist env.
2092
+ * Replaces any currently-running pulse on the same workspace.
2093
+ */
2094
+ post: operations["start-demo-pulse"];
2095
+ delete?: never;
2096
+ options?: never;
2097
+ head?: never;
2098
+ patch?: never;
2099
+ trace?: never;
2100
+ };
2101
+ "/v1/{workspace_id}/demo-pulse/status": {
2102
+ parameters: {
2103
+ query?: never;
2104
+ header?: never;
2105
+ path?: never;
2106
+ cookie?: never;
2107
+ };
2108
+ /** Inspect the active pulse on a workspace */
2109
+ get: operations["get-demo-pulse-status"];
2110
+ put?: never;
2111
+ post?: never;
2112
+ delete?: never;
2113
+ options?: never;
2114
+ head?: never;
2115
+ patch?: never;
2116
+ trace?: never;
2117
+ };
2118
+ "/v1/{workspace_id}/demo-pulse/stop": {
2119
+ parameters: {
2120
+ query?: never;
2121
+ header?: never;
2122
+ path?: never;
2123
+ cookie?: never;
2124
+ };
2125
+ get?: never;
2126
+ put?: never;
2127
+ /**
2128
+ * Stop the synthetic pulse on a workspace
2129
+ * @description Stop the pulse on this workspace.
2130
+ *
2131
+ * ``body.task_id`` is optional; if provided, only that task is stopped (useful
2132
+ * for idempotence after a background race). Otherwise the workspace's
2133
+ * current task (if any) is stopped.
2134
+ */
2135
+ post: operations["stop-demo-pulse"];
2136
+ delete?: never;
2137
+ options?: never;
2138
+ head?: never;
2139
+ patch?: never;
2140
+ trace?: never;
2141
+ };
2058
2142
  "/v1/{workspace_id}/desktop-sessions": {
2059
2143
  parameters: {
2060
2144
  query?: never;
@@ -2140,6 +2224,30 @@ export interface paths {
2140
2224
  patch?: never;
2141
2225
  trace?: never;
2142
2226
  };
2227
+ "/v1/{workspace_id}/entities/{entity_id}/brief": {
2228
+ parameters: {
2229
+ query?: never;
2230
+ header?: never;
2231
+ path?: never;
2232
+ cookie?: never;
2233
+ };
2234
+ /**
2235
+ * Get Latest Brief
2236
+ * @description Return the latest Self-Image brief for the target entity (null shape if none).
2237
+ */
2238
+ get: operations["get_latest_brief_v1__workspace_id__entities__entity_id__brief_get"];
2239
+ put?: never;
2240
+ /**
2241
+ * Generate Brief
2242
+ * @description Generate a Self-Image brief for the target entity (PR1: patient only).
2243
+ */
2244
+ post: operations["generate_brief_v1__workspace_id__entities__entity_id__brief_post"];
2245
+ delete?: never;
2246
+ options?: never;
2247
+ head?: never;
2248
+ patch?: never;
2249
+ trace?: never;
2250
+ };
2143
2251
  "/v1/{workspace_id}/epidemiology/cohort-drivers": {
2144
2252
  parameters: {
2145
2253
  query?: never;
@@ -4628,6 +4736,40 @@ export interface paths {
4628
4736
  patch?: never;
4629
4737
  trace?: never;
4630
4738
  };
4739
+ "/v1/{workspace_id}/sensorium/connector-health": {
4740
+ parameters: {
4741
+ query?: never;
4742
+ header?: never;
4743
+ path?: never;
4744
+ cookie?: never;
4745
+ };
4746
+ /** Per-source event health for the workspace (last 24h) */
4747
+ get: operations["get-sensorium-connector-health"];
4748
+ put?: never;
4749
+ post?: never;
4750
+ delete?: never;
4751
+ options?: never;
4752
+ head?: never;
4753
+ patch?: never;
4754
+ trace?: never;
4755
+ };
4756
+ "/v1/{workspace_id}/sensorium/loop-latency": {
4757
+ parameters: {
4758
+ query?: never;
4759
+ header?: never;
4760
+ path?: never;
4761
+ cookie?: never;
4762
+ };
4763
+ /** Sense→act latency distribution for the workspace */
4764
+ get: operations["get-sensorium-loop-latency"];
4765
+ put?: never;
4766
+ post?: never;
4767
+ delete?: never;
4768
+ options?: never;
4769
+ head?: never;
4770
+ patch?: never;
4771
+ trace?: never;
4772
+ };
4631
4773
  "/v1/{workspace_id}/services": {
4632
4774
  parameters: {
4633
4775
  query?: never;
@@ -7257,32 +7399,32 @@ export interface components {
7257
7399
  * Call Sid
7258
7400
  * @description Twilio call SID
7259
7401
  */
7260
- call_sid: string | null;
7402
+ call_sid?: string | null;
7261
7403
  /**
7262
7404
  * Caller Id
7263
7405
  * @description Caller phone number
7264
7406
  */
7265
- caller_id: string | null;
7407
+ caller_id?: string | null;
7266
7408
  /**
7267
7409
  * Concept
7268
7410
  * @description Clinical concept that triggered escalation
7269
7411
  */
7270
- concept: string | null;
7412
+ concept?: string | null;
7271
7413
  /**
7272
7414
  * Connected At
7273
7415
  * @description ISO-8601 timestamp when operator connected
7274
7416
  */
7275
- connected_at: string | null;
7417
+ connected_at?: string | null;
7276
7418
  /**
7277
7419
  * Direction
7278
7420
  * @description Call direction
7279
7421
  */
7280
- direction?: ("inbound" | "outbound") | null;
7422
+ direction?: ("inbound" | "outbound" | "playground" | "simulated") | null;
7281
7423
  /**
7282
7424
  * Escalation Id
7283
7425
  * @description Escalation event ID
7284
7426
  */
7285
- escalation_id: string | null;
7427
+ escalation_id?: string | null;
7286
7428
  /**
7287
7429
  * Immediate
7288
7430
  * @description Whether the escalation requires immediate attention
@@ -7292,37 +7434,37 @@ export interface components {
7292
7434
  * Operator Entity Id
7293
7435
  * @description Entity ID of the connected operator
7294
7436
  */
7295
- operator_entity_id: string | null;
7437
+ operator_entity_id?: string | null;
7296
7438
  /**
7297
7439
  * Operator Type
7298
7440
  * @description Required operator specialization
7299
7441
  */
7300
- operator_type: ("clinical" | "administrative" | "crisis_counselor") | null;
7442
+ operator_type?: ("clinical" | "administrative" | "crisis_counselor") | null;
7301
7443
  /**
7302
7444
  * Phone Number
7303
7445
  * @description Service phone number
7304
7446
  */
7305
- phone_number: string | null;
7447
+ phone_number?: string | null;
7306
7448
  /**
7307
7449
  * Regulatory Basis
7308
7450
  * @description Regulatory reason for escalation
7309
7451
  */
7310
- regulatory_basis: string | null;
7452
+ regulatory_basis?: string | null;
7311
7453
  /**
7312
7454
  * Requested At
7313
7455
  * @description ISO-8601 timestamp when escalation was requested
7314
7456
  */
7315
- requested_at: string | null;
7457
+ requested_at?: string | null;
7316
7458
  /**
7317
7459
  * Risk Score
7318
7460
  * @description Risk score 0.0 to 1.0
7319
7461
  */
7320
- risk_score: number | null;
7462
+ risk_score?: number | null;
7321
7463
  /**
7322
7464
  * Started At
7323
7465
  * @description ISO-8601 timestamp when the call started
7324
7466
  */
7325
- started_at: string | null;
7467
+ started_at?: string | null;
7326
7468
  /**
7327
7469
  * Status
7328
7470
  * @description Current escalation state
@@ -7333,17 +7475,17 @@ export interface components {
7333
7475
  * Trigger
7334
7476
  * @description What triggered the escalation
7335
7477
  */
7336
- trigger: string | null;
7478
+ trigger?: string | null;
7337
7479
  /**
7338
7480
  * Trigger Source
7339
7481
  * @description Source system of the trigger
7340
7482
  */
7341
- trigger_source: string | null;
7483
+ trigger_source?: string | null;
7342
7484
  /**
7343
7485
  * Wait Seconds
7344
7486
  * @description Seconds the caller waited for an operator
7345
7487
  */
7346
- wait_seconds: number | null;
7488
+ wait_seconds?: number | null;
7347
7489
  };
7348
7490
  /** ActiveSession */
7349
7491
  ActiveSession: {
@@ -7356,11 +7498,8 @@ export interface components {
7356
7498
  * @default
7357
7499
  */
7358
7500
  current_state?: string;
7359
- /**
7360
- * Direction
7361
- * @enum {string}
7362
- */
7363
- direction: "inbound" | "outbound";
7501
+ /** Direction */
7502
+ direction: string;
7364
7503
  /** Duration Seconds */
7365
7504
  duration_seconds: number;
7366
7505
  /**
@@ -7484,16 +7623,10 @@ export interface components {
7484
7623
  /** Id */
7485
7624
  id: string;
7486
7625
  identity: components["schemas"]["Identity"];
7487
- /**
7488
- * Initials
7489
- * @default
7490
- */
7491
- initials?: string;
7492
- /**
7493
- * Name
7494
- * @default
7495
- */
7496
- name?: string;
7626
+ /** Initials */
7627
+ initials: string;
7628
+ /** Name */
7629
+ name: string;
7497
7630
  /**
7498
7631
  * Updated At
7499
7632
  * Format: date-time
@@ -8117,6 +8250,51 @@ export interface components {
8117
8250
  */
8118
8251
  status: "running" | "completed" | "failed";
8119
8252
  };
8253
+ /**
8254
+ * BriefResponse
8255
+ * @description Wire shape for a Self-Image brief.
8256
+ *
8257
+ * ``event_id`` is null when no brief has ever been generated for the
8258
+ * entity. All other fields are nullable in that case so the UI can
8259
+ * render a consistent empty state.
8260
+ */
8261
+ BriefResponse: {
8262
+ /** Confidence */
8263
+ confidence: number;
8264
+ /** Content Json */
8265
+ content_json: {
8266
+ [key: string]: unknown;
8267
+ } | null;
8268
+ /** Content Md */
8269
+ content_md?: string | null;
8270
+ /** Event Count */
8271
+ event_count: number;
8272
+ /** Event Id */
8273
+ event_id: string | null;
8274
+ /** Evidence Event Ids */
8275
+ evidence_event_ids?: string[];
8276
+ /** Generated At */
8277
+ generated_at: string | null;
8278
+ /** Model Name */
8279
+ model_name?: string | null;
8280
+ /**
8281
+ * Target Entity Id
8282
+ * Format: uuid
8283
+ */
8284
+ target_entity_id: string;
8285
+ /**
8286
+ * Target Entity Type
8287
+ * @constant
8288
+ */
8289
+ target_entity_type: "patient";
8290
+ /**
8291
+ * Truncated
8292
+ * @default false
8293
+ */
8294
+ truncated?: boolean;
8295
+ /** Version */
8296
+ version?: string | null;
8297
+ };
8120
8298
  /**
8121
8299
  * BriefingRequest
8122
8300
  * @description Request for operator briefing on a specific call.
@@ -8183,10 +8361,9 @@ export interface components {
8183
8361
  conversation_summary?: components["schemas"]["ConversationSummary"] | null;
8184
8362
  /**
8185
8363
  * Created At
8186
- * Format: date-time
8187
8364
  * @description When intelligence was computed
8188
8365
  */
8189
- created_at: string;
8366
+ created_at?: string | null;
8190
8367
  /**
8191
8368
  * Direction
8192
8369
  * @description Call direction
@@ -8243,27 +8420,42 @@ export interface components {
8243
8420
  };
8244
8421
  /** CallStatsResponse */
8245
8422
  CallStatsResponse: {
8246
- /** Avg Duration Seconds */
8423
+ /**
8424
+ * Avg Duration Seconds
8425
+ * @description Average call duration in seconds
8426
+ */
8247
8427
  avg_duration_seconds: number;
8248
- /** Calls By Date */
8249
- calls_by_date: {
8250
- [key: string]: unknown;
8251
- }[];
8428
+ /**
8429
+ * Calls By Date
8430
+ * @description Daily call volume breakdown
8431
+ */
8432
+ calls_by_date: components["schemas"]["DailyCallStat"][];
8252
8433
  /**
8253
8434
  * Period End
8254
8435
  * Format: date
8436
+ * @description End of the reporting period
8255
8437
  */
8256
8438
  period_end: string;
8257
8439
  /**
8258
8440
  * Period Start
8259
8441
  * Format: date
8442
+ * @description Start of the reporting period
8260
8443
  */
8261
8444
  period_start: string;
8262
- /** Total Calls */
8445
+ /**
8446
+ * Total Calls
8447
+ * @description Total number of calls in the period
8448
+ */
8263
8449
  total_calls: number;
8264
- /** Total Duration Seconds */
8450
+ /**
8451
+ * Total Duration Seconds
8452
+ * @description Sum of all call durations in seconds
8453
+ */
8265
8454
  total_duration_seconds: number;
8266
- /** Workspace Id */
8455
+ /**
8456
+ * Workspace Id
8457
+ * @description Workspace identifier
8458
+ */
8267
8459
  workspace_id: string;
8268
8460
  };
8269
8461
  /** CallSummary */
@@ -8357,7 +8549,7 @@ export interface components {
8357
8549
  * Status
8358
8550
  * @description Call status
8359
8551
  */
8360
- status?: string | null;
8552
+ status?: ("initiated" | "ringing" | "in-progress" | "completed" | "busy" | "no-answer" | "canceled" | "failed" | "unknown") | null;
8361
8553
  /**
8362
8554
  * Turns
8363
8555
  * @description Number of conversation turns
@@ -8546,11 +8738,8 @@ export interface components {
8546
8738
  assigned_to: string;
8547
8739
  /** Id */
8548
8740
  id: string;
8549
- /**
8550
- * Status
8551
- * @enum {string}
8552
- */
8553
- status: "pending" | "in_progress" | "completed" | "rejected";
8741
+ /** Status */
8742
+ status: string;
8554
8743
  };
8555
8744
  /**
8556
8745
  * CoachingItem
@@ -8655,11 +8844,8 @@ export interface components {
8655
8844
  CommandCenterAlert: {
8656
8845
  /** Code */
8657
8846
  code: string;
8658
- /**
8659
- * Level
8660
- * @enum {string}
8661
- */
8662
- level: "error" | "warning" | "info";
8847
+ /** Level */
8848
+ level: string;
8663
8849
  /** Message */
8664
8850
  message: string;
8665
8851
  /** Section */
@@ -8745,9 +8931,15 @@ export interface components {
8745
8931
  };
8746
8932
  /** ConfidenceBucket */
8747
8933
  ConfidenceBucket: {
8748
- /** Confidence Range */
8934
+ /**
8935
+ * Confidence Range
8936
+ * @description Confidence level bucket label (e.g. 'raw', 'verified', 'authoritative')
8937
+ */
8749
8938
  confidence_range: string;
8750
- /** Count */
8939
+ /**
8940
+ * Count
8941
+ * @description Number of events in this confidence bucket
8942
+ */
8751
8943
  count: number;
8752
8944
  };
8753
8945
  /** ConfigToPolicyRequest */
@@ -8808,6 +9000,45 @@ export interface components {
8808
9000
  */
8809
9001
  sync_strategy?: "manual" | "scheduled" | "webhook" | "continuous" | "polling";
8810
9002
  };
9003
+ /** ConnectorHealthItem */
9004
+ ConnectorHealthItem: {
9005
+ /**
9006
+ * Events Last 24H
9007
+ * @description Events ingested in the last 24 hours (rolling, not calendar-day).
9008
+ */
9009
+ events_last_24h: number;
9010
+ /** Events Last Hour */
9011
+ events_last_hour: number;
9012
+ /**
9013
+ * Events Per Minute
9014
+ * @description Mean events/min over the last hour (events_last_hour / 60).
9015
+ */
9016
+ events_per_minute: number;
9017
+ /**
9018
+ * Freshness
9019
+ * @description fresh < 5min · stale 5-60min · quiet > 60min · never = no events in 24h
9020
+ * @enum {string}
9021
+ */
9022
+ freshness: "fresh" | "stale" | "quiet" | "never";
9023
+ /** Last Ingested At */
9024
+ last_ingested_at: string | null;
9025
+ /**
9026
+ * Source
9027
+ * @description Operator-defined source identifier as written to world.events.source (e.g. 'charm', 'careclinic', 'hazel'). Enum-like; never user input.
9028
+ */
9029
+ source: string;
9030
+ };
9031
+ /** ConnectorHealthResponse */
9032
+ ConnectorHealthResponse: {
9033
+ /**
9034
+ * As Of
9035
+ * Format: date-time
9036
+ * @description Server clock at query time (UTC).
9037
+ */
9038
+ as_of: string;
9039
+ /** Sources */
9040
+ sources?: components["schemas"]["ConnectorHealthItem"][];
9041
+ };
8811
9042
  /** ConnectorHeartbeat */
8812
9043
  ConnectorHeartbeat: {
8813
9044
  /** Alive */
@@ -9847,10 +10078,9 @@ export interface components {
9847
10078
  } | null;
9848
10079
  /**
9849
10080
  * Created At
9850
- * Format: date-time
9851
10081
  * @description When the company was created
9852
10082
  */
9853
- created_at: string;
10083
+ created_at?: string | null;
9854
10084
  /** Domain */
9855
10085
  domain?: string | null;
9856
10086
  /** Entity Id */
@@ -9913,10 +10143,9 @@ export interface components {
9913
10143
  confidence?: number;
9914
10144
  /**
9915
10145
  * Created At
9916
- * Format: date-time
9917
10146
  * @description When the contact was created
9918
10147
  */
9919
- created_at: string;
10148
+ created_at?: string | null;
9920
10149
  /** Email */
9921
10150
  email?: string | null;
9922
10151
  /** Entity Id */
@@ -9974,10 +10203,9 @@ export interface components {
9974
10203
  confidence?: number;
9975
10204
  /**
9976
10205
  * Created At
9977
- * Format: date-time
9978
10206
  * @description When the contact was created
9979
10207
  */
9980
- created_at: string;
10208
+ created_at?: string | null;
9981
10209
  /** Email */
9982
10210
  email?: string | null;
9983
10211
  /** Entity Id */
@@ -10030,10 +10258,9 @@ export interface components {
10030
10258
  close_date?: string | null;
10031
10259
  /**
10032
10260
  * Created At
10033
- * Format: date-time
10034
10261
  * @description When the deal was created
10035
10262
  */
10036
- created_at: string;
10263
+ created_at?: string | null;
10037
10264
  /** Deal Type */
10038
10265
  deal_type?: string | null;
10039
10266
  /** Entity Id */
@@ -10195,6 +10422,27 @@ export interface components {
10195
10422
  */
10196
10423
  updated_at: string | null;
10197
10424
  };
10425
+ /**
10426
+ * DailyCallStat
10427
+ * @description Per-day call volume and duration.
10428
+ */
10429
+ DailyCallStat: {
10430
+ /**
10431
+ * Avg Duration Seconds
10432
+ * @description Average call duration in seconds
10433
+ */
10434
+ avg_duration_seconds?: number | null;
10435
+ /**
10436
+ * Count
10437
+ * @description Number of calls on this date
10438
+ */
10439
+ count: number;
10440
+ /**
10441
+ * Date
10442
+ * @description Date string (YYYY-MM-DD)
10443
+ */
10444
+ date: string;
10445
+ };
10198
10446
  /**
10199
10447
  * DailyCallVolume
10200
10448
  * @description Call volume for a single date.
@@ -10378,33 +10626,53 @@ export interface components {
10378
10626
  * @description Data quality metrics — confidence distribution, review pipeline stats.
10379
10627
  */
10380
10628
  DataQualityResponse: {
10381
- /** Confidence By Source */
10629
+ /**
10630
+ * Confidence By Source
10631
+ * @description Confidence distribution broken down by event source
10632
+ */
10382
10633
  confidence_by_source: {
10383
10634
  [key: string]: components["schemas"]["ConfidenceBucket"][];
10384
10635
  };
10385
- /** Confidence Distribution */
10636
+ /**
10637
+ * Confidence Distribution
10638
+ * @description Overall confidence distribution across buckets
10639
+ */
10386
10640
  confidence_distribution: components["schemas"]["ConfidenceBucket"][];
10387
10641
  /**
10388
10642
  * Period End
10389
10643
  * Format: date
10644
+ * @description End of the reporting period
10390
10645
  */
10391
10646
  period_end: string;
10392
10647
  /**
10393
10648
  * Period Start
10394
10649
  * Format: date
10650
+ * @description Start of the reporting period
10395
10651
  */
10396
10652
  period_start: string;
10397
- /** Review Pipeline */
10653
+ /**
10654
+ * Review Pipeline
10655
+ * @description Review pipeline throughput statistics
10656
+ */
10398
10657
  review_pipeline: {
10399
10658
  [key: string]: unknown;
10400
10659
  };
10401
- /** Timeseries */
10660
+ /**
10661
+ * Timeseries
10662
+ * @description Daily confidence averages and event counts
10663
+ */
10402
10664
  timeseries: {
10403
10665
  [key: string]: unknown;
10404
10666
  }[];
10405
- /** Total Events */
10667
+ /**
10668
+ * Total Events
10669
+ * @description Total number of events in the period
10670
+ */
10406
10671
  total_events: number;
10407
- /** Workspace Id */
10672
+ /**
10673
+ * Workspace Id
10674
+ * @description Workspace identifier
10675
+ */
10408
10676
  workspace_id: string;
10409
10677
  };
10410
10678
  /** DataQueryResponse */
@@ -10699,10 +10967,9 @@ export interface components {
10699
10967
  DeliveryResponse: {
10700
10968
  /**
10701
10969
  * Created At
10702
- * Format: date-time
10703
10970
  * @description When the delivery event was created
10704
10971
  */
10705
- created_at: string;
10972
+ created_at?: string | null;
10706
10973
  /** Data */
10707
10974
  data: {
10708
10975
  [key: string]: unknown;
@@ -10717,6 +10984,63 @@ export interface components {
10717
10984
  /** Event Type */
10718
10985
  event_type: string;
10719
10986
  };
10987
+ /** DemoPulseStartRequest */
10988
+ DemoPulseStartRequest: {
10989
+ /**
10990
+ * Duration Seconds
10991
+ * @description How long to emit events before auto-terminating (max 3600).
10992
+ * @default 600
10993
+ */
10994
+ duration_seconds?: number;
10995
+ /**
10996
+ * Events Per Minute
10997
+ * @description Emission rate per minute, 1 to 120.
10998
+ * @default 30
10999
+ */
11000
+ events_per_minute?: number;
11001
+ };
11002
+ /** DemoPulseStatusResponse */
11003
+ DemoPulseStatusResponse: {
11004
+ /** Tasks */
11005
+ tasks: components["schemas"]["DemoPulseTaskResponse"][];
11006
+ };
11007
+ /** DemoPulseStopRequest */
11008
+ DemoPulseStopRequest: {
11009
+ /**
11010
+ * Task Id
11011
+ * @description Optional task_id to stop. When set, only a matching active task is stopped — useful for idempotent retries after a background race. Omit to stop whatever pulse is currently active on the workspace.
11012
+ */
11013
+ task_id?: string | null;
11014
+ };
11015
+ /** DemoPulseStopResponse */
11016
+ DemoPulseStopResponse: {
11017
+ /** Stopped */
11018
+ stopped: boolean;
11019
+ task?: components["schemas"]["DemoPulseTaskResponse"] | null;
11020
+ };
11021
+ /** DemoPulseTaskResponse */
11022
+ DemoPulseTaskResponse: {
11023
+ /** Active */
11024
+ active: boolean;
11025
+ /** Events Attempted */
11026
+ events_attempted: number;
11027
+ /** Events Per Minute */
11028
+ events_per_minute: number;
11029
+ /**
11030
+ * Expires At
11031
+ * Format: date-time
11032
+ */
11033
+ expires_at: string;
11034
+ /**
11035
+ * Started At
11036
+ * Format: date-time
11037
+ */
11038
+ started_at: string;
11039
+ /** Task Id */
11040
+ task_id: string;
11041
+ /** Workspace Id */
11042
+ workspace_id: string;
11043
+ };
10720
11044
  DescriptionString: string;
10721
11045
  /**
10722
11046
  * DimensionAnalytics
@@ -10790,6 +11114,69 @@ export interface components {
10790
11114
  /** Ok */
10791
11115
  ok: boolean;
10792
11116
  };
11117
+ /**
11118
+ * DriverRow
11119
+ * @description One SPR row — generic (outcome, feature-tuple) grain.
11120
+ */
11121
+ DriverRow: {
11122
+ /** As Of Date */
11123
+ as_of_date?: string | null;
11124
+ /** Expected */
11125
+ expected?: number | null;
11126
+ /** Feature Arity */
11127
+ feature_arity: number;
11128
+ /** Feature Family 1 */
11129
+ feature_family_1: string;
11130
+ /** Feature Family 2 */
11131
+ feature_family_2?: string | null;
11132
+ /** Feature Name 1 */
11133
+ feature_name_1: string;
11134
+ /** Feature Name 2 */
11135
+ feature_name_2?: string | null;
11136
+ /** Feature Population */
11137
+ feature_population?: number | null;
11138
+ /** Feature Value 1 */
11139
+ feature_value_1: string;
11140
+ /** Feature Value 2 */
11141
+ feature_value_2?: string | null;
11142
+ /** Min Support Met */
11143
+ min_support_met: boolean;
11144
+ /** Observed */
11145
+ observed: number;
11146
+ /** Outcome Code System */
11147
+ outcome_code_system?: string | null;
11148
+ /** Outcome Display */
11149
+ outcome_display?: string | null;
11150
+ /** Outcome Family */
11151
+ outcome_family: string;
11152
+ /** Outcome Key */
11153
+ outcome_key: string;
11154
+ /** Spr */
11155
+ spr?: number | null;
11156
+ /** Spr Ci Lower */
11157
+ spr_ci_lower?: number | null;
11158
+ /** Spr Ci Upper */
11159
+ spr_ci_upper?: number | null;
11160
+ /** Window Days */
11161
+ window_days?: number | null;
11162
+ /** Workspace Id */
11163
+ workspace_id: string;
11164
+ };
11165
+ /** DriversResponse */
11166
+ DriversResponse: {
11167
+ /** Count */
11168
+ count: number;
11169
+ /** Items */
11170
+ items: components["schemas"]["DriverRow"][];
11171
+ /** Outcome Family */
11172
+ outcome_family: string;
11173
+ /** Outcome Key */
11174
+ outcome_key: string;
11175
+ /** Sort By */
11176
+ sort_by: string;
11177
+ /** Workspace Id */
11178
+ workspace_id: string;
11179
+ };
10793
11180
  /** EditSoapRequest */
10794
11181
  EditSoapRequest: {
10795
11182
  /** Content */
@@ -11184,10 +11571,9 @@ export interface components {
11184
11571
  confidence?: number;
11185
11572
  /**
11186
11573
  * Created At
11187
- * Format: date-time
11188
11574
  * @description When the event was created
11189
11575
  */
11190
- created_at: string;
11576
+ created_at?: string | null;
11191
11577
  /** Data */
11192
11578
  data?: {
11193
11579
  [key: string]: unknown;
@@ -11232,7 +11618,7 @@ export interface components {
11232
11618
  /** Sync Error */
11233
11619
  sync_error?: string | null;
11234
11620
  /** Sync Status */
11235
- sync_status?: string | null;
11621
+ sync_status?: ("pending" | "synced" | "failed" | "processing") | null;
11236
11622
  /** Synced At */
11237
11623
  synced_at?: string | null;
11238
11624
  };
@@ -11256,10 +11642,9 @@ export interface components {
11256
11642
  confidence?: number;
11257
11643
  /**
11258
11644
  * Created At
11259
- * Format: date-time
11260
11645
  * @description When the relationship was created
11261
11646
  */
11262
- created_at: string;
11647
+ created_at?: string | null;
11263
11648
  /** Data */
11264
11649
  data?: {
11265
11650
  [key: string]: unknown;
@@ -11629,10 +12014,9 @@ export interface components {
11629
12014
  confidence: number;
11630
12015
  /**
11631
12016
  * Created At
11632
- * Format: date-time
11633
12017
  * @description When the event occurred
11634
12018
  */
11635
- created_at: string;
12019
+ created_at?: string | null;
11636
12020
  /**
11637
12021
  * Data
11638
12022
  * @description Event payload — shape varies by event_type
@@ -11652,10 +12036,9 @@ export interface components {
11652
12036
  id: string;
11653
12037
  /**
11654
12038
  * Ingested At
11655
- * Format: date-time
11656
12039
  * @description When the event was ingested
11657
12040
  */
11658
- ingested_at: string;
12041
+ ingested_at?: string | null;
11659
12042
  /**
11660
12043
  * Source
11661
12044
  * @description System that emitted the event
@@ -11690,29 +12073,55 @@ export interface components {
11690
12073
  */
11691
12074
  workspace_id: string;
11692
12075
  };
12076
+ /**
12077
+ * EventBreakdownItem
12078
+ * @description Single row in an event breakdown aggregation.
12079
+ */
12080
+ EventBreakdownItem: {
12081
+ /**
12082
+ * Count
12083
+ * @description Number of events for this key
12084
+ */
12085
+ count: number;
12086
+ /**
12087
+ * Key
12088
+ * @description Grouping key (event type or source name)
12089
+ */
12090
+ key: string;
12091
+ };
11693
12092
  /** EventBreakdownResponse */
11694
12093
  EventBreakdownResponse: {
11695
- /** By Source */
11696
- by_source: {
11697
- [key: string]: unknown;
11698
- }[];
11699
- /** By Type */
11700
- by_type: {
11701
- [key: string]: unknown;
11702
- }[];
12094
+ /**
12095
+ * By Source
12096
+ * @description Event counts grouped by source
12097
+ */
12098
+ by_source: components["schemas"]["EventBreakdownItem"][];
12099
+ /**
12100
+ * By Type
12101
+ * @description Event counts grouped by event type
12102
+ */
12103
+ by_type: components["schemas"]["EventBreakdownItem"][];
11703
12104
  /**
11704
12105
  * Period End
11705
12106
  * Format: date
12107
+ * @description End of the reporting period
11706
12108
  */
11707
12109
  period_end: string;
11708
12110
  /**
11709
12111
  * Period Start
11710
12112
  * Format: date
12113
+ * @description Start of the reporting period
11711
12114
  */
11712
12115
  period_start: string;
11713
- /** Total Events */
12116
+ /**
12117
+ * Total Events
12118
+ * @description Total number of events in the period
12119
+ */
11714
12120
  total_events: number;
11715
- /** Workspace Id */
12121
+ /**
12122
+ * Workspace Id
12123
+ * @description Workspace identifier
12124
+ */
11716
12125
  workspace_id: string;
11717
12126
  };
11718
12127
  /**
@@ -11724,10 +12133,9 @@ export interface components {
11724
12133
  confidence: number;
11725
12134
  /**
11726
12135
  * Created At
11727
- * Format: date-time
11728
12136
  * @description When the event was created
11729
12137
  */
11730
- created_at: string;
12138
+ created_at?: string | null;
11731
12139
  /** Data */
11732
12140
  data: {
11733
12141
  [key: string]: unknown;
@@ -12880,11 +13288,8 @@ export interface components {
12880
13288
  * Format: uuid
12881
13289
  */
12882
13290
  id: string;
12883
- /**
12884
- * Scan Status
12885
- * @enum {string}
12886
- */
12887
- scan_status: "pending" | "clean" | "infected" | "error" | "skipped";
13291
+ /** Scan Status */
13292
+ scan_status: string;
12888
13293
  /** Sha256 */
12889
13294
  sha256: string;
12890
13295
  /** Size Bytes */
@@ -13484,6 +13889,54 @@ export interface components {
13484
13889
  /** Success */
13485
13890
  success: boolean;
13486
13891
  };
13892
+ /** LoopLatencyPointItem */
13893
+ LoopLatencyPointItem: {
13894
+ /**
13895
+ * Count
13896
+ * @description Sensing→action pairs whose sensing event lands in this hour.
13897
+ */
13898
+ count: number;
13899
+ /**
13900
+ * Hour
13901
+ * Format: date-time
13902
+ * @description UTC hour bucket (truncated to the hour).
13903
+ */
13904
+ hour: string;
13905
+ /**
13906
+ * P50 Seconds
13907
+ * @description Median latency for this hour; null if no pairs.
13908
+ */
13909
+ p50_seconds?: number | null;
13910
+ };
13911
+ /** LoopLatencyResponse */
13912
+ LoopLatencyResponse: {
13913
+ /**
13914
+ * As Of
13915
+ * Format: date-time
13916
+ * @description Server clock at query time (UTC).
13917
+ */
13918
+ as_of: string;
13919
+ /**
13920
+ * Overall Count
13921
+ * @description Total pairs across the window.
13922
+ */
13923
+ overall_count: number;
13924
+ /**
13925
+ * Overall P50 Seconds
13926
+ * @description Median latency across the whole window; null if no pairs.
13927
+ */
13928
+ overall_p50_seconds?: number | null;
13929
+ /** Sparkline */
13930
+ sparkline?: components["schemas"]["LoopLatencyPointItem"][];
13931
+ /**
13932
+ * Truncated
13933
+ * @description True when the underlying query hit the row cap; p50 is computed over the truncated sample.
13934
+ * @default false
13935
+ */
13936
+ truncated?: boolean;
13937
+ /** Window Hours */
13938
+ window_hours: number;
13939
+ };
13487
13940
  /** MarkSyncedRequest */
13488
13941
  MarkSyncedRequest: {
13489
13942
  /** Data Source Id */
@@ -13735,43 +14188,33 @@ export interface components {
13735
14188
  /**
13736
14189
  * Channel Scope
13737
14190
  * @default all
13738
- * @enum {string}
13739
14191
  */
13740
- channel_scope?: "all" | "voice" | "text";
14192
+ channel_scope?: string;
13741
14193
  /** Description */
13742
14194
  description?: string | null;
13743
14195
  /**
13744
14196
  * Extraction Mode
13745
14197
  * @default static
13746
- * @enum {string}
13747
14198
  */
13748
- extraction_mode?: "static" | "llm" | "hybrid";
14199
+ extraction_mode?: string;
13749
14200
  /** Key */
13750
14201
  key: string;
13751
- /**
13752
- * Metric Type
13753
- * @enum {string}
13754
- */
13755
- metric_type: "count" | "sum" | "avg" | "ratio" | "rate" | "boolean" | "text";
14202
+ /** Metric Type */
14203
+ metric_type: string;
13756
14204
  /**
13757
14205
  * Model Tier
13758
14206
  * @default free
13759
- * @enum {string}
13760
14207
  */
13761
- model_tier?: "free" | "standard" | "premium";
14208
+ model_tier?: string;
13762
14209
  /** Name */
13763
14210
  name: string;
13764
14211
  /**
13765
14212
  * Period Granularity
13766
14213
  * @default daily
13767
- * @enum {string}
13768
- */
13769
- period_granularity?: "daily" | "weekly" | "monthly";
13770
- /**
13771
- * Source
13772
- * @enum {string}
13773
14214
  */
13774
- source: "events" | "calls" | "entities" | "computed";
14215
+ period_granularity?: string;
14216
+ /** Source */
14217
+ source: string;
13775
14218
  /** Unit */
13776
14219
  unit?: string | null;
13777
14220
  };
@@ -13995,11 +14438,8 @@ export interface components {
13995
14438
  event_count: number;
13996
14439
  /** Metric Key */
13997
14440
  metric_key: string;
13998
- /**
13999
- * Metric Type
14000
- * @enum {string}
14001
- */
14002
- metric_type: "count" | "sum" | "avg" | "ratio" | "rate" | "boolean" | "text";
14441
+ /** Metric Type */
14442
+ metric_type: string;
14003
14443
  /** Period End */
14004
14444
  period_end: string;
14005
14445
  /** Period Start */
@@ -14088,12 +14528,12 @@ export interface components {
14088
14528
  * Last Call At
14089
14529
  * @description ISO-8601 timestamp of last call
14090
14530
  */
14091
- last_call_at: string | null;
14531
+ last_call_at?: string | null;
14092
14532
  /**
14093
14533
  * Name
14094
14534
  * @description Display name
14095
14535
  */
14096
- name: string | null;
14536
+ name?: string | null;
14097
14537
  /**
14098
14538
  * Operator Id
14099
14539
  * Format: uuid
@@ -14117,7 +14557,7 @@ export interface components {
14117
14557
  * Active Call Sid
14118
14558
  * @description Call SID if currently on a call
14119
14559
  */
14120
- active_call_sid: string | null;
14560
+ active_call_sid?: string | null;
14121
14561
  /**
14122
14562
  * Avg Handle Time Seconds
14123
14563
  * @description Average escalation handle time in seconds
@@ -14131,15 +14571,14 @@ export interface components {
14131
14571
  connection_method: "browser" | "phone";
14132
14572
  /**
14133
14573
  * Created At
14134
- * Format: date-time
14135
14574
  * @description When the operator was created
14136
14575
  */
14137
- created_at: string;
14576
+ created_at?: string | null;
14138
14577
  /**
14139
14578
  * Email
14140
14579
  * @description Contact email
14141
14580
  */
14142
- email: string | null;
14581
+ email?: string | null;
14143
14582
  /**
14144
14583
  * Id
14145
14584
  * Format: uuid
@@ -14149,22 +14588,22 @@ export interface components {
14149
14588
  * Last Call At
14150
14589
  * @description ISO-8601 timestamp of last call
14151
14590
  */
14152
- last_call_at: string | null;
14591
+ last_call_at?: string | null;
14153
14592
  /**
14154
14593
  * Last Status Change
14155
14594
  * @description ISO-8601 timestamp of last status transition
14156
14595
  */
14157
- last_status_change: string | null;
14596
+ last_status_change?: string | null;
14158
14597
  /**
14159
14598
  * Name
14160
14599
  * @description Display name
14161
14600
  */
14162
- name: string | null;
14601
+ name?: string | null;
14163
14602
  /**
14164
14603
  * Phone Number
14165
14604
  * @description E.164 phone number for phone-based operators
14166
14605
  */
14167
- phone_number: string | null;
14606
+ phone_number?: string | null;
14168
14607
  /**
14169
14608
  * Role
14170
14609
  * @description Permission role
@@ -14191,13 +14630,12 @@ export interface components {
14191
14630
  * Type
14192
14631
  * @description Operator specialization
14193
14632
  */
14194
- type: ("clinical" | "administrative" | "crisis_counselor") | null;
14633
+ type?: ("clinical" | "administrative" | "crisis_counselor") | null;
14195
14634
  /**
14196
14635
  * Updated At
14197
- * Format: date-time
14198
14636
  * @description When the operator was last updated
14199
14637
  */
14200
- updated_at: string;
14638
+ updated_at?: string | null;
14201
14639
  /**
14202
14640
  * Workspace Id
14203
14641
  * Format: uuid
@@ -14905,33 +15343,59 @@ export interface components {
14905
15343
  };
14906
15344
  /** PersonaResponse */
14907
15345
  PersonaResponse: {
14908
- /** Background */
15346
+ /**
15347
+ * Background
15348
+ * @description Background context and instructions for the persona
15349
+ */
14909
15350
  background: string;
14910
- /** Communication Style */
15351
+ /**
15352
+ * Communication Style
15353
+ * @description Communication style configuration
15354
+ */
14911
15355
  communication_style: {
14912
15356
  [key: string]: unknown;
14913
15357
  };
14914
15358
  /**
14915
15359
  * Created At
14916
15360
  * Format: date-time
15361
+ * @description When the persona was created
14917
15362
  */
14918
15363
  created_at: string;
14919
- /** Default Language */
15364
+ /**
15365
+ * Default Language
15366
+ * @description ISO 639-3 language code (e.g. 'eng')
15367
+ */
14920
15368
  default_language: string;
14921
- /** Developed By */
15369
+ /**
15370
+ * Developed By
15371
+ * @description Organization or team that created this persona
15372
+ */
14922
15373
  developed_by: string;
14923
- /** Id */
15374
+ /**
15375
+ * Id
15376
+ * @description Unique persona identifier
15377
+ */
14924
15378
  id: string;
14925
- /** Name */
15379
+ /**
15380
+ * Name
15381
+ * @description Display name of the persona
15382
+ */
14926
15383
  name: string;
14927
- /** Role */
15384
+ /**
15385
+ * Role
15386
+ * @description Role the persona embodies (e.g. 'Receptionist')
15387
+ */
14928
15388
  role: string;
14929
15389
  /**
14930
15390
  * Updated At
14931
15391
  * Format: date-time
15392
+ * @description When the persona was last updated
14932
15393
  */
14933
15394
  updated_at: string;
14934
- /** Workspace Id */
15395
+ /**
15396
+ * Workspace Id
15397
+ * @description Workspace that owns this persona
15398
+ */
14935
15399
  workspace_id: string;
14936
15400
  };
14937
15401
  /** PhoneNumberCallVolume */
@@ -15009,18 +15473,12 @@ export interface components {
15009
15473
  notes: string;
15010
15474
  /** Phone Number */
15011
15475
  phone_number: string;
15012
- /**
15013
- * Provider
15014
- * @enum {string}
15015
- */
15016
- provider: "twilio" | "livekit";
15476
+ /** Provider */
15477
+ provider: string;
15017
15478
  /** Provider Phone Sid */
15018
15479
  provider_phone_sid: string | null;
15019
- /**
15020
- * Status
15021
- * @enum {string}
15022
- */
15023
- status: "active" | "inactive";
15480
+ /** Status */
15481
+ status: string;
15024
15482
  /**
15025
15483
  * Updated At
15026
15484
  * Format: date-time
@@ -15034,9 +15492,8 @@ export interface components {
15034
15492
  /**
15035
15493
  * Connector Status
15036
15494
  * @default unavailable
15037
- * @enum {string}
15038
15495
  */
15039
- connector_status?: "healthy" | "degraded" | "failing" | "unknown" | "unavailable";
15496
+ connector_status?: string;
15040
15497
  /**
15041
15498
  * Events Last Hour
15042
15499
  * @default 0
@@ -15197,7 +15654,7 @@ export interface components {
15197
15654
  * @default inbound
15198
15655
  * @enum {string}
15199
15656
  */
15200
- direction?: "inbound" | "outbound";
15657
+ direction?: "inbound" | "outbound" | "playground" | "simulated";
15201
15658
  /** Entity Name */
15202
15659
  entity_name?: string | null;
15203
15660
  /**
@@ -15417,38 +15874,81 @@ export interface components {
15417
15874
  * @description Call recording metadata.
15418
15875
  */
15419
15876
  RecordingMetadataResponse: {
15420
- /** Call End Iso */
15877
+ /**
15878
+ * Call End Iso
15879
+ * @description Call end time as ISO-8601 string
15880
+ */
15421
15881
  call_end_iso: string;
15422
- /** Call Sid */
15882
+ /**
15883
+ * Call Sid
15884
+ * @description Twilio call SID
15885
+ */
15423
15886
  call_sid: string;
15424
- /** Call Start Iso */
15887
+ /**
15888
+ * Call Start Iso
15889
+ * @description Call start time as ISO-8601 string
15890
+ */
15425
15891
  call_start_iso: string;
15426
15892
  /**
15427
15893
  * Direction
15894
+ * @description Call direction
15428
15895
  * @enum {string}
15429
15896
  */
15430
15897
  direction: "inbound" | "outbound";
15431
- /** Duration Seconds */
15898
+ /**
15899
+ * Duration Seconds
15900
+ * @description Total call duration in seconds
15901
+ */
15432
15902
  duration_seconds: number;
15433
- /** Inbound Format */
15903
+ /**
15904
+ * Inbound Format
15905
+ * @description Audio format for the inbound (caller) channel
15906
+ */
15434
15907
  inbound_format: string;
15435
- /** Inbound Sample Rate */
15908
+ /**
15909
+ * Inbound Sample Rate
15910
+ * @description Sample rate in Hz for the inbound channel
15911
+ */
15436
15912
  inbound_sample_rate: number;
15437
- /** Inbound Size Bytes */
15913
+ /**
15914
+ * Inbound Size Bytes
15915
+ * @description Inbound audio file size in bytes
15916
+ */
15438
15917
  inbound_size_bytes: number;
15439
- /** Media Start Epoch Ms */
15918
+ /**
15919
+ * Media Start Epoch Ms
15920
+ * @description Media stream start time as Unix epoch milliseconds
15921
+ */
15440
15922
  media_start_epoch_ms: number;
15441
- /** Outbound Format */
15923
+ /**
15924
+ * Outbound Format
15925
+ * @description Audio format for the outbound (agent) channel
15926
+ */
15442
15927
  outbound_format: string;
15443
- /** Outbound Sample Rate */
15928
+ /**
15929
+ * Outbound Sample Rate
15930
+ * @description Sample rate in Hz for the outbound channel
15931
+ */
15444
15932
  outbound_sample_rate: number;
15445
- /** Outbound Size Bytes */
15933
+ /**
15934
+ * Outbound Size Bytes
15935
+ * @description Outbound audio file size in bytes
15936
+ */
15446
15937
  outbound_size_bytes: number;
15447
- /** Service Id */
15938
+ /**
15939
+ * Service Id
15940
+ * @description Service (agent) that handled the call
15941
+ */
15448
15942
  service_id: string;
15449
- /** Tts Provider */
15943
+ /**
15944
+ * Tts Provider
15945
+ * @description Text-to-speech provider used for the call
15946
+ */
15450
15947
  tts_provider: string;
15451
- /** Workspace Id */
15948
+ /**
15949
+ * Workspace Id
15950
+ * @description Workspace that owns this recording
15951
+ */
15452
15952
  workspace_id: string;
15453
15953
  };
15454
15954
  /**
@@ -15456,16 +15956,29 @@ export interface components {
15456
15956
  * @description Download paths for call recording playback.
15457
15957
  */
15458
15958
  RecordingUrlsResponse: {
15459
- /** Call Sid */
15959
+ /**
15960
+ * Call Sid
15961
+ * @description Twilio call SID
15962
+ */
15460
15963
  call_sid: string;
15461
- /** Inbound Url */
15964
+ /**
15965
+ * Inbound Url
15966
+ * @description Download URL for inbound (caller) audio
15967
+ */
15462
15968
  inbound_url?: string | null;
15463
- /** Metadata Url */
15969
+ /**
15970
+ * Metadata Url
15971
+ * @description Download URL for recording metadata JSON
15972
+ */
15464
15973
  metadata_url?: string | null;
15465
- /** Outbound Url */
15974
+ /**
15975
+ * Outbound Url
15976
+ * @description Download URL for outbound (agent) audio
15977
+ */
15466
15978
  outbound_url?: string | null;
15467
15979
  /**
15468
15980
  * Status
15981
+ * @description Recording availability status
15469
15982
  * @default available
15470
15983
  * @constant
15471
15984
  */
@@ -15690,10 +16203,9 @@ export interface components {
15690
16203
  completed_at: string | null;
15691
16204
  /**
15692
16205
  * Created At
15693
- * Format: date-time
15694
16206
  * @description When the review item was created
15695
16207
  */
15696
- created_at: string;
16208
+ created_at?: string | null;
15697
16209
  entity?: components["schemas"]["EntitySummary"] | null;
15698
16210
  /** Entity Id */
15699
16211
  entity_id: string | null;
@@ -15853,25 +16365,49 @@ export interface components {
15853
16365
  };
15854
16366
  /** SafetyRuleResponse */
15855
16367
  SafetyRuleResponse: {
15856
- /** Agent Config */
16368
+ /**
16369
+ * Agent Config
16370
+ * @description Agent triage configuration (model, timeout, action space)
16371
+ */
15857
16372
  agent_config: {
15858
16373
  [key: string]: unknown;
15859
16374
  };
15860
- /** Description */
16375
+ /**
16376
+ * Description
16377
+ * @description Human-readable description of what the rule detects
16378
+ */
15861
16379
  description: string;
15862
- /** Escalation */
16380
+ /**
16381
+ * Escalation
16382
+ * @description Escalation configuration (operator type, reason, regulatory basis)
16383
+ */
15863
16384
  escalation: {
15864
16385
  [key: string]: unknown;
15865
16386
  };
15866
- /** Name */
16387
+ /**
16388
+ * Name
16389
+ * @description Unique rule name within the template
16390
+ */
15867
16391
  name: string;
15868
- /** Standalone Threshold */
16392
+ /**
16393
+ * Standalone Threshold
16394
+ * @description Confidence threshold for triggering on a single turn
16395
+ */
15869
16396
  standalone_threshold: number;
15870
- /** Tags */
16397
+ /**
16398
+ * Tags
16399
+ * @description Classification tags for grouping and filtering
16400
+ */
15871
16401
  tags: string[];
15872
- /** Threshold */
16402
+ /**
16403
+ * Threshold
16404
+ * @description Confidence threshold for triggering in accumulated context
16405
+ */
15873
16406
  threshold: number;
15874
- /** Triage Hints */
16407
+ /**
16408
+ * Triage Hints
16409
+ * @description Hints for the triage model to identify this safety concern
16410
+ */
15875
16411
  triage_hints: string[];
15876
16412
  };
15877
16413
  /**
@@ -16994,19 +17530,37 @@ export interface components {
16994
17530
  };
16995
17531
  /** SubToolLog */
16996
17532
  SubToolLog: {
16997
- /** Duration Ms */
17533
+ /**
17534
+ * Duration Ms
17535
+ * @description Execution time in milliseconds
17536
+ */
16998
17537
  duration_ms: number;
16999
- /** Input */
17538
+ /**
17539
+ * Input
17540
+ * @description Input parameters passed to the tool
17541
+ */
17000
17542
  input: {
17001
17543
  [key: string]: unknown;
17002
17544
  };
17003
- /** Output */
17545
+ /**
17546
+ * Output
17547
+ * @description Raw output returned by the tool
17548
+ */
17004
17549
  output: string;
17005
- /** Round */
17550
+ /**
17551
+ * Round
17552
+ * @description Agent reasoning round in which the tool was called
17553
+ */
17006
17554
  round: number;
17007
- /** Succeeded */
17555
+ /**
17556
+ * Succeeded
17557
+ * @description Whether the tool invocation succeeded
17558
+ */
17008
17559
  succeeded: boolean;
17009
- /** Tool Name */
17560
+ /**
17561
+ * Tool Name
17562
+ * @description Name of the tool that was invoked
17563
+ */
17010
17564
  tool_name: string;
17011
17565
  };
17012
17566
  /** SubToolLogItem */
@@ -17249,10 +17803,9 @@ export interface components {
17249
17803
  SyncEventItem: {
17250
17804
  /**
17251
17805
  * Created At
17252
- * Format: date-time
17253
17806
  * @description When the event was created
17254
17807
  */
17255
- created_at: string;
17808
+ created_at?: string | null;
17256
17809
  /** Data Source Id */
17257
17810
  data_source_id?: string | null;
17258
17811
  /** Display Name */
@@ -17278,8 +17831,11 @@ export interface components {
17278
17831
  source_system?: string | null;
17279
17832
  /** Sync Error */
17280
17833
  sync_error?: string | null;
17281
- /** Sync Status */
17282
- sync_status: string;
17834
+ /**
17835
+ * Sync Status
17836
+ * @enum {string}
17837
+ */
17838
+ sync_status: "pending" | "synced" | "failed" | "processing";
17283
17839
  /** Synced At */
17284
17840
  synced_at?: string | null;
17285
17841
  };
@@ -17517,21 +18073,45 @@ export interface components {
17517
18073
  };
17518
18074
  /** TestSkillResponse */
17519
18075
  TestSkillResponse: {
17520
- /** Cached Tokens */
18076
+ /**
18077
+ * Cached Tokens
18078
+ * @description Number of tokens served from cache
18079
+ */
17521
18080
  cached_tokens: number;
17522
- /** Duration Ms */
18081
+ /**
18082
+ * Duration Ms
18083
+ * @description Total execution time in milliseconds
18084
+ */
17523
18085
  duration_ms: number;
17524
- /** Error */
18086
+ /**
18087
+ * Error
18088
+ * @description Error message if the skill execution failed
18089
+ */
17525
18090
  error?: string | null;
17526
- /** Input Tokens */
18091
+ /**
18092
+ * Input Tokens
18093
+ * @description Number of input tokens consumed
18094
+ */
17527
18095
  input_tokens: number;
17528
- /** Output Tokens */
18096
+ /**
18097
+ * Output Tokens
18098
+ * @description Number of output tokens generated
18099
+ */
17529
18100
  output_tokens: number;
17530
- /** Result */
18101
+ /**
18102
+ * Result
18103
+ * @description Final result text produced by the skill
18104
+ */
17531
18105
  result: string;
17532
- /** Rounds */
18106
+ /**
18107
+ * Rounds
18108
+ * @description Number of agent reasoning rounds executed
18109
+ */
17533
18110
  rounds: number;
17534
- /** Sub Tool Logs */
18111
+ /**
18112
+ * Sub Tool Logs
18113
+ * @description Chronological log of tool invocations
18114
+ */
17535
18115
  sub_tool_logs: components["schemas"]["SubToolLog"][];
17536
18116
  };
17537
18117
  /** ThroughputBucket */
@@ -18071,25 +18651,24 @@ export interface components {
18071
18651
  action_id: string;
18072
18652
  /**
18073
18653
  * Created At
18074
- * Format: date-time
18075
18654
  * @description When the trigger was created
18076
18655
  */
18077
- created_at: string;
18656
+ created_at?: string | null;
18078
18657
  /**
18079
18658
  * Created By
18080
18659
  * @description Entity ID of the creator
18081
18660
  */
18082
- created_by: string | null;
18661
+ created_by?: string | null;
18083
18662
  /**
18084
18663
  * Description
18085
18664
  * @description Human-readable description
18086
18665
  */
18087
- description: string | null;
18666
+ description?: string | null;
18088
18667
  /**
18089
18668
  * Event Filter
18090
18669
  * @description JSONPath filter on event data
18091
18670
  */
18092
- event_filter: {
18671
+ event_filter?: {
18093
18672
  [key: string]: unknown;
18094
18673
  } | null;
18095
18674
  /**
@@ -18123,12 +18702,12 @@ export interface components {
18123
18702
  * Next Fire At
18124
18703
  * @description Next scheduled fire time
18125
18704
  */
18126
- next_fire_at: string | null;
18705
+ next_fire_at?: string | null;
18127
18706
  /**
18128
18707
  * Schedule
18129
18708
  * @description Cron schedule expression (e.g. '0 9 * * 1-5')
18130
18709
  */
18131
- schedule: string | null;
18710
+ schedule?: string | null;
18132
18711
  /**
18133
18712
  * Timezone
18134
18713
  * @description IANA timezone for schedule evaluation
@@ -18136,10 +18715,9 @@ export interface components {
18136
18715
  timezone: string;
18137
18716
  /**
18138
18717
  * Updated At
18139
- * Format: date-time
18140
18718
  * @description When the trigger was last updated
18141
18719
  */
18142
- updated_at: string;
18720
+ updated_at?: string | null;
18143
18721
  /**
18144
18722
  * Workspace Id
18145
18723
  * Format: uuid
@@ -18150,10 +18728,9 @@ export interface components {
18150
18728
  TriggerRunResponse: {
18151
18729
  /**
18152
18730
  * Created At
18153
- * Format: date-time
18154
18731
  * @description When the run was created
18155
18732
  */
18156
- created_at: string;
18733
+ created_at?: string | null;
18157
18734
  /**
18158
18735
  * Data
18159
18736
  * @description Run result data
@@ -18165,7 +18742,7 @@ export interface components {
18165
18742
  * Effective At
18166
18743
  * @description When the run took effect
18167
18744
  */
18168
- effective_at: string | null;
18745
+ effective_at?: string | null;
18169
18746
  /**
18170
18747
  * Event Id
18171
18748
  * Format: uuid
@@ -18669,37 +19246,61 @@ export interface components {
18669
19246
  };
18670
19247
  /** UsageBucket */
18671
19248
  UsageBucket: {
18672
- /** Avg Duration Seconds */
19249
+ /**
19250
+ * Avg Duration Seconds
19251
+ * @description Average event duration in seconds
19252
+ */
18673
19253
  avg_duration_seconds?: number | null;
18674
- /** Count */
19254
+ /**
19255
+ * Count
19256
+ * @description Number of events in this bucket
19257
+ */
18675
19258
  count: number;
18676
19259
  /**
18677
19260
  * Event Date
18678
19261
  * Format: date
19262
+ * @description Date of the usage bucket
18679
19263
  */
18680
19264
  event_date: string;
18681
- /** Event Type */
19265
+ /**
19266
+ * Event Type
19267
+ * @description World event type
19268
+ */
18682
19269
  event_type: string;
18683
- /** Total Duration Seconds */
19270
+ /**
19271
+ * Total Duration Seconds
19272
+ * @description Total event duration in seconds
19273
+ */
18684
19274
  total_duration_seconds?: number | null;
18685
19275
  };
18686
19276
  /** UsageSummaryResponse */
18687
19277
  UsageSummaryResponse: {
18688
- /** Buckets */
19278
+ /**
19279
+ * Buckets
19280
+ * @description Usage data grouped by event type and date
19281
+ */
18689
19282
  buckets: components["schemas"]["UsageBucket"][];
18690
19283
  /**
18691
19284
  * Period End
18692
19285
  * Format: date
19286
+ * @description End of the reporting period
18693
19287
  */
18694
19288
  period_end: string;
18695
19289
  /**
18696
19290
  * Period Start
18697
19291
  * Format: date
19292
+ * @description Start of the reporting period
18698
19293
  */
18699
19294
  period_start: string;
18700
- /** Total Events */
19295
+ /**
19296
+ * Total Events
19297
+ * @description Total number of events in the period
19298
+ */
18701
19299
  total_events: number;
18702
- /** Workspace Id */
19300
+ /**
19301
+ * Workspace Id
19302
+ * @description Workspace identifier
19303
+ */
18703
19304
  workspace_id: string;
18704
19305
  };
18705
19306
  /** UsageTrendPoint */
@@ -18906,10 +19507,9 @@ export interface components {
18906
19507
  accepted_event_types: string[];
18907
19508
  /**
18908
19509
  * Created At
18909
- * Format: date-time
18910
19510
  * @description When the webhook destination was created
18911
19511
  */
18912
- created_at: string;
19512
+ created_at?: string | null;
18913
19513
  /** Created By */
18914
19514
  created_by: string | null;
18915
19515
  /** Description */
@@ -18938,10 +19538,9 @@ export interface components {
18938
19538
  trigger_id: string;
18939
19539
  /**
18940
19540
  * Updated At
18941
- * Format: date-time
18942
19541
  * @description When the webhook destination was last updated
18943
19542
  */
18944
- updated_at: string;
19543
+ updated_at?: string | null;
18945
19544
  /** Url */
18946
19545
  url: string;
18947
19546
  /**
@@ -18956,10 +19555,9 @@ export interface components {
18956
19555
  accepted_event_types: string[];
18957
19556
  /**
18958
19557
  * Created At
18959
- * Format: date-time
18960
19558
  * @description When the webhook destination was created
18961
19559
  */
18962
- created_at: string;
19560
+ created_at?: string | null;
18963
19561
  /** Created By */
18964
19562
  created_by: string | null;
18965
19563
  /** Description */
@@ -18986,10 +19584,9 @@ export interface components {
18986
19584
  trigger_id: string;
18987
19585
  /**
18988
19586
  * Updated At
18989
- * Format: date-time
18990
19587
  * @description When the webhook destination was last updated
18991
19588
  */
18992
- updated_at: string;
19589
+ updated_at?: string | null;
18993
19590
  /** Url */
18994
19591
  url: string;
18995
19592
  /**
@@ -19370,38 +19967,78 @@ export interface components {
19370
19967
  };
19371
19968
  /** AuditEventResponse */
19372
19969
  src__routes__audit__AuditEventResponse: {
19373
- /** Action */
19970
+ /**
19971
+ * Action
19972
+ * @description Action that was performed (e.g. 'entity.read')
19973
+ */
19374
19974
  action: string;
19375
- /** Actor Credential Id */
19975
+ /**
19976
+ * Actor Credential Id
19977
+ * @description Credential ID used by the actor
19978
+ */
19376
19979
  actor_credential_id?: string | null;
19377
- /** Actor Entity Id */
19980
+ /**
19981
+ * Actor Entity Id
19982
+ * @description Entity ID of the actor who performed the action
19983
+ */
19378
19984
  actor_entity_id?: string | null;
19379
- /** Id */
19985
+ /**
19986
+ * Id
19987
+ * @description Unique audit event identifier
19988
+ */
19380
19989
  id: string;
19381
- /** Ip Address */
19990
+ /**
19991
+ * Ip Address
19992
+ * @description IP address of the actor
19993
+ */
19382
19994
  ip_address?: string | null;
19383
- /** Metadata */
19995
+ /**
19996
+ * Metadata
19997
+ * @description Additional event-specific metadata
19998
+ */
19384
19999
  metadata?: {
19385
20000
  [key: string]: unknown;
19386
20001
  } | null;
19387
20002
  /**
19388
20003
  * Phi Accessed
20004
+ * @description Whether protected health information was accessed
19389
20005
  * @default false
19390
20006
  */
19391
20007
  phi_accessed?: boolean;
19392
- /** Resource Id */
20008
+ /**
20009
+ * Resource Id
20010
+ * @description ID of the accessed resource
20011
+ */
19393
20012
  resource_id?: string | null;
19394
- /** Resource Name */
20013
+ /**
20014
+ * Resource Name
20015
+ * @description Human-readable name of the accessed resource
20016
+ */
19395
20017
  resource_name?: string | null;
19396
- /** Resource Type */
20018
+ /**
20019
+ * Resource Type
20020
+ * @description Type of resource that was accessed
20021
+ */
19397
20022
  resource_type: string;
19398
- /** Service */
20023
+ /**
20024
+ * Service
20025
+ * @description Service that produced the event
20026
+ */
19399
20027
  service: string;
19400
- /** Timestamp */
20028
+ /**
20029
+ * Timestamp
20030
+ * @description ISO-8601 timestamp of the event
20031
+ */
19401
20032
  timestamp: string;
19402
- /** User Agent */
20033
+ /**
20034
+ * User Agent
20035
+ * @description User-Agent header from the request
20036
+ */
19403
20037
  user_agent?: string | null;
19404
- /** Workspace Id */
20038
+ /**
20039
+ * Workspace Id
20040
+ * @description Workspace that owns this audit event
20041
+ */
19405
20042
  workspace_id: string;
19406
20043
  };
19407
20044
  /** CreateSessionRequest */
@@ -19432,10 +20069,9 @@ export interface components {
19432
20069
  src__routes__operators_models__AuditEventResponse: {
19433
20070
  /**
19434
20071
  * Created At
19435
- * Format: date-time
19436
20072
  * @description When the event occurred
19437
20073
  */
19438
- created_at: string;
20074
+ created_at?: string | null;
19439
20075
  /**
19440
20076
  * Data
19441
20077
  * @description Audit payload — shape varies by event_type
@@ -19455,10 +20091,9 @@ export interface components {
19455
20091
  id: string;
19456
20092
  /**
19457
20093
  * Ingested At
19458
- * Format: date-time
19459
20094
  * @description When the event was ingested
19460
20095
  */
19461
- ingested_at: string;
20096
+ ingested_at?: string | null;
19462
20097
  /**
19463
20098
  * Source
19464
20099
  * @description System that emitted the event
@@ -23230,6 +23865,45 @@ export interface operations {
23230
23865
  };
23231
23866
  };
23232
23867
  };
23868
+ list_drivers_v1__workspace_id__causal_drivers_get: {
23869
+ parameters: {
23870
+ query: {
23871
+ outcome_family: "disease_incidence";
23872
+ outcome_key: string;
23873
+ feature_family?: ("demographic" | "comorbidity") | null;
23874
+ feature_arity?: (1 | 2) | null;
23875
+ min_support_only?: boolean;
23876
+ sort_by?: "spr" | "observed" | "feature_population";
23877
+ limit?: number;
23878
+ };
23879
+ header?: never;
23880
+ path: {
23881
+ workspace_id: string;
23882
+ };
23883
+ cookie?: never;
23884
+ };
23885
+ requestBody?: never;
23886
+ responses: {
23887
+ /** @description Successful Response */
23888
+ 200: {
23889
+ headers: {
23890
+ [name: string]: unknown;
23891
+ };
23892
+ content: {
23893
+ "application/json": components["schemas"]["DriversResponse"];
23894
+ };
23895
+ };
23896
+ /** @description Validation Error */
23897
+ 422: {
23898
+ headers: {
23899
+ [name: string]: unknown;
23900
+ };
23901
+ content: {
23902
+ "application/json": components["schemas"]["HTTPValidationError"];
23903
+ };
23904
+ };
23905
+ };
23906
+ };
23233
23907
  "get-command-center": {
23234
23908
  parameters: {
23235
23909
  query?: never;
@@ -24453,6 +25127,98 @@ export interface operations {
24453
25127
  };
24454
25128
  };
24455
25129
  };
25130
+ "start-demo-pulse": {
25131
+ parameters: {
25132
+ query?: never;
25133
+ header?: never;
25134
+ path: {
25135
+ workspace_id: string;
25136
+ };
25137
+ cookie?: never;
25138
+ };
25139
+ requestBody: {
25140
+ content: {
25141
+ "application/json": components["schemas"]["DemoPulseStartRequest"];
25142
+ };
25143
+ };
25144
+ responses: {
25145
+ /** @description Successful Response */
25146
+ 200: {
25147
+ headers: {
25148
+ [name: string]: unknown;
25149
+ };
25150
+ content: {
25151
+ "application/json": components["schemas"]["DemoPulseTaskResponse"];
25152
+ };
25153
+ };
25154
+ /** @description Validation Error */
25155
+ 422: {
25156
+ headers: {
25157
+ [name: string]: unknown;
25158
+ };
25159
+ content: {
25160
+ "application/json": components["schemas"]["HTTPValidationError"];
25161
+ };
25162
+ };
25163
+ };
25164
+ };
25165
+ "get-demo-pulse-status": {
25166
+ parameters: {
25167
+ query?: never;
25168
+ header?: never;
25169
+ path: {
25170
+ workspace_id: string;
25171
+ };
25172
+ cookie?: never;
25173
+ };
25174
+ requestBody?: never;
25175
+ responses: {
25176
+ /** @description Successful Response */
25177
+ 200: {
25178
+ headers: {
25179
+ [name: string]: unknown;
25180
+ };
25181
+ content: {
25182
+ "application/json": components["schemas"]["DemoPulseStatusResponse"];
25183
+ };
25184
+ };
25185
+ };
25186
+ };
25187
+ "stop-demo-pulse": {
25188
+ parameters: {
25189
+ query?: never;
25190
+ header?: never;
25191
+ path: {
25192
+ workspace_id: string;
25193
+ };
25194
+ cookie?: never;
25195
+ };
25196
+ requestBody: {
25197
+ content: {
25198
+ "application/json": components["schemas"]["DemoPulseStopRequest"];
25199
+ };
25200
+ };
25201
+ responses: {
25202
+ /** @description Successful Response */
25203
+ 200: {
25204
+ headers: {
25205
+ [name: string]: unknown;
25206
+ };
25207
+ content: {
25208
+ "application/json": components["schemas"]["DemoPulseStopResponse"];
25209
+ };
25210
+ };
25211
+ /** @description Validation Error */
25212
+ 422: {
25213
+ headers: {
25214
+ [name: string]: unknown;
25215
+ };
25216
+ content: {
25217
+ "application/json": components["schemas"]["HTTPValidationError"];
25218
+ };
25219
+ };
25220
+ };
25221
+ };
24456
25222
  create_desktop_session_v1__workspace_id__desktop_sessions_post: {
24457
25223
  parameters: {
24458
25224
  query?: never;
@@ -24620,6 +25386,72 @@ export interface operations {
24620
25386
  };
24621
25387
  };
24622
25388
  };
25389
+ get_latest_brief_v1__workspace_id__entities__entity_id__brief_get: {
25390
+ parameters: {
25391
+ query?: never;
25392
+ header?: never;
25393
+ path: {
25394
+ /** @description Target entity UUID */
25395
+ entity_id: string;
25396
+ workspace_id: string;
25397
+ };
25398
+ cookie?: never;
25399
+ };
25400
+ requestBody?: never;
25401
+ responses: {
25402
+ /** @description Successful Response */
25403
+ 200: {
25404
+ headers: {
25405
+ [name: string]: unknown;
25406
+ };
25407
+ content: {
25408
+ "application/json": components["schemas"]["BriefResponse"];
25409
+ };
25410
+ };
25411
+ /** @description Validation Error */
25412
+ 422: {
25413
+ headers: {
25414
+ [name: string]: unknown;
25415
+ };
25416
+ content: {
25417
+ "application/json": components["schemas"]["HTTPValidationError"];
25418
+ };
25419
+ };
25420
+ };
25421
+ };
25422
+ generate_brief_v1__workspace_id__entities__entity_id__brief_post: {
25423
+ parameters: {
25424
+ query?: never;
25425
+ header?: never;
25426
+ path: {
25427
+ /** @description Target entity UUID */
25428
+ entity_id: string;
25429
+ workspace_id: string;
25430
+ };
25431
+ cookie?: never;
25432
+ };
25433
+ requestBody?: never;
25434
+ responses: {
25435
+ /** @description Successful Response */
25436
+ 200: {
25437
+ headers: {
25438
+ [name: string]: unknown;
25439
+ };
25440
+ content: {
25441
+ "application/json": components["schemas"]["BriefResponse"];
25442
+ };
25443
+ };
25444
+ /** @description Validation Error */
25445
+ 422: {
25446
+ headers: {
25447
+ [name: string]: unknown;
25448
+ };
25449
+ content: {
25450
+ "application/json": components["schemas"]["HTTPValidationError"];
25451
+ };
25452
+ };
25453
+ };
25454
+ };
24623
25455
  list_cohort_drivers_v1__workspace_id__epidemiology_cohort_drivers_get: {
24624
25456
  parameters: {
24625
25457
  query: {
@@ -30025,6 +30857,62 @@ export interface operations {
30025
30857
  };
30026
30858
  };
30027
30859
  };
30860
+ "get-sensorium-connector-health": {
30861
+ parameters: {
30862
+ query?: never;
30863
+ header?: never;
30864
+ path: {
30865
+ workspace_id: string;
30866
+ };
30867
+ cookie?: never;
30868
+ };
30869
+ requestBody?: never;
30870
+ responses: {
30871
+ /** @description Successful Response */
30872
+ 200: {
30873
+ headers: {
30874
+ [name: string]: unknown;
30875
+ };
30876
+ content: {
30877
+ "application/json": components["schemas"]["ConnectorHealthResponse"];
30878
+ };
30879
+ };
30880
+ };
30881
+ };
30882
+ "get-sensorium-loop-latency": {
30883
+ parameters: {
30884
+ query?: {
30885
+ /** @description Window size in hours (1-168). */
30886
+ window_hours?: number;
30887
+ };
30888
+ header?: never;
30889
+ path: {
30890
+ workspace_id: string;
30891
+ };
30892
+ cookie?: never;
30893
+ };
30894
+ requestBody?: never;
30895
+ responses: {
30896
+ /** @description Successful Response */
30897
+ 200: {
30898
+ headers: {
30899
+ [name: string]: unknown;
30900
+ };
30901
+ content: {
30902
+ "application/json": components["schemas"]["LoopLatencyResponse"];
30903
+ };
30904
+ };
30905
+ /** @description Validation Error */
30906
+ 422: {
30907
+ headers: {
30908
+ [name: string]: unknown;
30909
+ };
30910
+ content: {
30911
+ "application/json": components["schemas"]["HTTPValidationError"];
30912
+ };
30913
+ };
30914
+ };
30915
+ };
30028
30916
  "list-services": {
30029
30917
  parameters: {
30030
30918
  query?: {
@@ -35918,7 +36806,7 @@ export interface operations {
35918
36806
  "world-sync-events": {
35919
36807
  parameters: {
35920
36808
  query: {
35921
- status: "pending" | "failed";
36809
+ status: "pending" | "synced" | "failed" | "processing";
35922
36810
  /** @description Filter events to a specific outbound data source. */
35923
36811
  data_source_id?: string | null;
35924
36812
  /** @description Filter events to a specific source system. */