@amigo-ai/platform-sdk 0.79.0 → 0.81.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.
@@ -679,7 +679,7 @@ export interface paths {
679
679
  get: operations["get-test-caller-numbers"];
680
680
  /**
681
681
  * Update test caller numbers
682
- * @description Set phone numbers to be treated as test callers. Calls from these numbers will have direction='test' and be excluded from outbound EHR sync.
682
+ * @description Set phone numbers to be treated as test callers. Calls from these numbers are tagged source='test' and excluded from billing, scores, analytics, outbound EHR sync, and entity views.
683
683
  */
684
684
  put: operations["update-test-caller-numbers"];
685
685
  post?: never;
@@ -689,6 +689,30 @@ export interface paths {
689
689
  patch?: never;
690
690
  trace?: never;
691
691
  };
692
+ "/v1/workspaces/{workspace_id}/test-credential-ids": {
693
+ parameters: {
694
+ query?: never;
695
+ header?: never;
696
+ path?: never;
697
+ cookie?: never;
698
+ };
699
+ /**
700
+ * Get test credential IDs
701
+ * @description Get the credential IDs configured as test principals for this workspace's text channel.
702
+ */
703
+ get: operations["get-test-credential-ids"];
704
+ /**
705
+ * Update test credential IDs
706
+ * @description Set credential IDs to be treated as test principals. Text turns from these credentials are tagged source='test' and excluded from billing, scores, analytics, outbound EHR sync, and entity views.
707
+ */
708
+ put: operations["update-test-credential-ids"];
709
+ post?: never;
710
+ delete?: never;
711
+ options?: never;
712
+ head?: never;
713
+ patch?: never;
714
+ trace?: never;
715
+ };
692
716
  "/v1/{workspace_id}/agents": {
693
717
  parameters: {
694
718
  query?: never;
@@ -1700,6 +1724,45 @@ export interface paths {
1700
1724
  patch?: never;
1701
1725
  trace?: never;
1702
1726
  };
1727
+ "/v1/{workspace_id}/calls/{conversation_id}/eval-results": {
1728
+ parameters: {
1729
+ query?: never;
1730
+ header?: never;
1731
+ path?: never;
1732
+ cookie?: never;
1733
+ };
1734
+ /** Get Call Eval Results */
1735
+ get: operations["get-call-eval-results"];
1736
+ put?: never;
1737
+ post?: never;
1738
+ delete?: never;
1739
+ options?: never;
1740
+ head?: never;
1741
+ patch?: never;
1742
+ trace?: never;
1743
+ };
1744
+ "/v1/{workspace_id}/calls/{conversation_id}/evaluate": {
1745
+ parameters: {
1746
+ query?: never;
1747
+ header?: never;
1748
+ path?: never;
1749
+ cookie?: never;
1750
+ };
1751
+ get?: never;
1752
+ put?: never;
1753
+ /**
1754
+ * Evaluate Call
1755
+ * @description Run the workspace's active eval definitions against one completed call and
1756
+ * persist the verdicts. Synchronous (the caller waits on the judge); the eager
1757
+ * post-call trigger is a separate change.
1758
+ */
1759
+ post: operations["evaluate-call"];
1760
+ delete?: never;
1761
+ options?: never;
1762
+ head?: never;
1763
+ patch?: never;
1764
+ trace?: never;
1765
+ };
1703
1766
  "/v1/{workspace_id}/channels/email/templates": {
1704
1767
  parameters: {
1705
1768
  query?: never;
@@ -1759,11 +1822,7 @@ export interface paths {
1759
1822
  path?: never;
1760
1823
  cookie?: never;
1761
1824
  };
1762
- /**
1763
- * List SES setups
1764
- * @description Paginated list of the SES setups owned by this workspace. Items carry the cached ``dns_verified`` aggregate; call ``GET /ses-setup/{id}`` for per-record DNS detail. Setups are scoped to the workspace that created them (intrinsic ownership); other tenants' setups are not returned. Requires ``Channel.view`` permission.
1765
- */
1766
- get: operations["list-ses-setups"];
1825
+ get?: never;
1767
1826
  put?: never;
1768
1827
  /**
1769
1828
  * Create an SES setup
@@ -3160,6 +3219,95 @@ export interface paths {
3160
3219
  patch?: never;
3161
3220
  trace?: never;
3162
3221
  };
3222
+ "/v1/{workspace_id}/intake/batches": {
3223
+ parameters: {
3224
+ query?: never;
3225
+ header?: never;
3226
+ path?: never;
3227
+ cookie?: never;
3228
+ };
3229
+ /** List Intake Batches */
3230
+ get: operations["list_intake_batches_v1__workspace_id__intake_batches_get"];
3231
+ put?: never;
3232
+ post?: never;
3233
+ delete?: never;
3234
+ options?: never;
3235
+ head?: never;
3236
+ patch?: never;
3237
+ trace?: never;
3238
+ };
3239
+ "/v1/{workspace_id}/intake/batches/{batch_id}": {
3240
+ parameters: {
3241
+ query?: never;
3242
+ header?: never;
3243
+ path?: never;
3244
+ cookie?: never;
3245
+ };
3246
+ /** Get Intake Batch */
3247
+ get: operations["get_intake_batch_v1__workspace_id__intake_batches__batch_id__get"];
3248
+ put?: never;
3249
+ post?: never;
3250
+ delete?: never;
3251
+ options?: never;
3252
+ head?: never;
3253
+ patch?: never;
3254
+ trace?: never;
3255
+ };
3256
+ "/v1/{workspace_id}/intake/batches/{batch_id}/process": {
3257
+ parameters: {
3258
+ query?: never;
3259
+ header?: never;
3260
+ path?: never;
3261
+ cookie?: never;
3262
+ };
3263
+ get?: never;
3264
+ put?: never;
3265
+ /**
3266
+ * Process Intake Batch
3267
+ * @description Start processing a batch (idempotent + resumable). Dispatches only the
3268
+ * still-``received`` files, so re-running picks up any that weren't triggered:
3269
+ *
3270
+ * * **Snapshot/CSV — ordered:** CDC depends on the prior curated baseline, so
3271
+ * only the lowest-version file fires now; each verdict chains the next via the
3272
+ * status write-back.
3273
+ * * **Documents — one batch run:** a single extract-job run processes every
3274
+ * received file (it pulls them from the processing-manifest). NOT one run-now
3275
+ * per file — that serialised on the request path and 504'd for large batches.
3276
+ *
3277
+ * The batch rolls up to completed/failed (via the write-back) once every file
3278
+ * reaches a terminal verdict. Allowed from ``ready`` or ``processing`` (re-kick
3279
+ * a partially-dispatched batch); a terminal batch is a 409.
3280
+ */
3281
+ post: operations["process_intake_batch_v1__workspace_id__intake_batches__batch_id__process_post"];
3282
+ delete?: never;
3283
+ options?: never;
3284
+ head?: never;
3285
+ patch?: never;
3286
+ trace?: never;
3287
+ };
3288
+ "/v1/{workspace_id}/intake/batches/{batch_id}/processing-manifest": {
3289
+ parameters: {
3290
+ query?: never;
3291
+ header?: never;
3292
+ path?: never;
3293
+ cookie?: never;
3294
+ };
3295
+ /**
3296
+ * Get Batch Processing Manifest
3297
+ * @description The per-file params the batch-extract job needs to process every still-
3298
+ * ``received`` file in one run. Same workspace-scoped auth as the write-back
3299
+ * (the job holds the batch's agent-session token). Documents only — snapshot/CSV
3300
+ * batches process in version order via the chained per-file path, not here.
3301
+ */
3302
+ get: operations["get_batch_processing_manifest_v1__workspace_id__intake_batches__batch_id__processing_manifest_get"];
3303
+ put?: never;
3304
+ post?: never;
3305
+ delete?: never;
3306
+ options?: never;
3307
+ head?: never;
3308
+ patch?: never;
3309
+ trace?: never;
3310
+ };
3163
3311
  "/v1/{workspace_id}/intake/datasets": {
3164
3312
  parameters: {
3165
3313
  query?: never;
@@ -3240,12 +3388,13 @@ export interface paths {
3240
3388
  put?: never;
3241
3389
  /**
3242
3390
  * Write Back Intake File Status
3243
- * @description Advance a file's status from the async CDC job (P4).
3391
+ * @description Advance a file's status from the async CDC/extraction job (P4).
3244
3392
  *
3245
3393
  * The job authenticates with the workspace's API key (Bearer) — the same
3246
3394
  * Databricks→platform-api path launch_dpc uses — so RLS scopes the update to
3247
3395
  * that workspace. Moves the row to its terminal verdict and records the
3248
- * curated/cdc paths.
3396
+ * curated/cdc paths. For a batch-sourced file, advances its batch (chain the
3397
+ * next snapshot version + roll up) once the verdict is terminal.
3249
3398
  */
3250
3399
  post: operations["write_back_intake_file_status_v1__workspace_id__intake_files__file_id__status_post"];
3251
3400
  delete?: never;
@@ -3346,6 +3495,41 @@ export interface paths {
3346
3495
  patch?: never;
3347
3496
  trace?: never;
3348
3497
  };
3498
+ "/v1/{workspace_id}/intake/sources": {
3499
+ parameters: {
3500
+ query?: never;
3501
+ header?: never;
3502
+ path?: never;
3503
+ cookie?: never;
3504
+ };
3505
+ /** List Intake Sources */
3506
+ get: operations["list_intake_sources_v1__workspace_id__intake_sources_get"];
3507
+ put?: never;
3508
+ /** Register Intake Source */
3509
+ post: operations["register_intake_source_v1__workspace_id__intake_sources_post"];
3510
+ delete?: never;
3511
+ options?: never;
3512
+ head?: never;
3513
+ patch?: never;
3514
+ trace?: never;
3515
+ };
3516
+ "/v1/{workspace_id}/intake/sources/{source_id}/sync": {
3517
+ parameters: {
3518
+ query?: never;
3519
+ header?: never;
3520
+ path?: never;
3521
+ cookie?: never;
3522
+ };
3523
+ get?: never;
3524
+ put?: never;
3525
+ /** Sync Intake Source */
3526
+ post: operations["sync_intake_source_v1__workspace_id__intake_sources__source_id__sync_post"];
3527
+ delete?: never;
3528
+ options?: never;
3529
+ head?: never;
3530
+ patch?: never;
3531
+ trace?: never;
3532
+ };
3349
3533
  "/v1/{workspace_id}/integrations": {
3350
3534
  parameters: {
3351
3535
  query?: never;
@@ -4572,6 +4756,43 @@ export interface paths {
4572
4756
  patch?: never;
4573
4757
  trace?: never;
4574
4758
  };
4759
+ "/v1/{workspace_id}/production-eval-definitions": {
4760
+ parameters: {
4761
+ query?: never;
4762
+ header?: never;
4763
+ path?: never;
4764
+ cookie?: never;
4765
+ };
4766
+ /** List Production Eval Definitions */
4767
+ get: operations["list-production-eval-definitions"];
4768
+ put?: never;
4769
+ /** Create Production Eval Definition */
4770
+ post: operations["create-production-eval-definition"];
4771
+ delete?: never;
4772
+ options?: never;
4773
+ head?: never;
4774
+ patch?: never;
4775
+ trace?: never;
4776
+ };
4777
+ "/v1/{workspace_id}/production-eval-definitions/{definition_id}": {
4778
+ parameters: {
4779
+ query?: never;
4780
+ header?: never;
4781
+ path?: never;
4782
+ cookie?: never;
4783
+ };
4784
+ /** Get Production Eval Definition */
4785
+ get: operations["get-production-eval-definition"];
4786
+ put?: never;
4787
+ post?: never;
4788
+ /** Delete Production Eval Definition */
4789
+ delete: operations["delete-production-eval-definition"];
4790
+ options?: never;
4791
+ head?: never;
4792
+ /** Update Production Eval Definition */
4793
+ patch: operations["update-production-eval-definition"];
4794
+ trace?: never;
4795
+ };
4575
4796
  "/v1/{workspace_id}/prompt-logs": {
4576
4797
  parameters: {
4577
4798
  query?: never;
@@ -5340,6 +5561,26 @@ export interface paths {
5340
5561
  patch?: never;
5341
5562
  trace?: never;
5342
5563
  };
5564
+ "/v1/{workspace_id}/sessions/fleet-status": {
5565
+ parameters: {
5566
+ query?: never;
5567
+ header?: never;
5568
+ path?: never;
5569
+ cookie?: never;
5570
+ };
5571
+ /**
5572
+ * Voice fleet capacity status
5573
+ * @description Live Agones voice-fleet capacity: Ready/Allocated/total GameServers plus headroom against the maxReplicas ceiling. Workspace-GLOBAL — one fleet serves every workspace, so the path workspace_id is only the auth anchor, never a data filter. Operator-only.
5574
+ */
5575
+ get: operations["get_fleet_status_v1__workspace_id__sessions_fleet_status_get"];
5576
+ put?: never;
5577
+ post?: never;
5578
+ delete?: never;
5579
+ options?: never;
5580
+ head?: never;
5581
+ patch?: never;
5582
+ trace?: never;
5583
+ };
5343
5584
  "/v1/{workspace_id}/sessions/start": {
5344
5585
  parameters: {
5345
5586
  query?: never;
@@ -8365,6 +8606,51 @@ export interface components {
8365
8606
  /** Notes */
8366
8607
  notes?: string | null;
8367
8608
  };
8609
+ /** BatchDetail */
8610
+ BatchDetail: {
8611
+ /** Created Ts */
8612
+ created_ts: string;
8613
+ /** Dataset */
8614
+ dataset: string;
8615
+ /**
8616
+ * Files
8617
+ * @default []
8618
+ */
8619
+ files?: components["schemas"]["IntakeFileRow"][];
8620
+ /** Files Found */
8621
+ files_found: number;
8622
+ /**
8623
+ * Id
8624
+ * Format: uuid
8625
+ * @description batch_id.
8626
+ */
8627
+ id: string;
8628
+ /** Source Id */
8629
+ source_id?: string | null;
8630
+ /**
8631
+ * Status
8632
+ * @description discovered | ready | processing | completed | failed.
8633
+ */
8634
+ status: string;
8635
+ };
8636
+ /**
8637
+ * BatchProcessingManifest
8638
+ * @description Per-file extraction params for a document batch's still-``received`` files —
8639
+ * consumed by the batch-extract job, which runs ONCE per batch and extracts
8640
+ * every file (instead of one run-now per file, which blows the request/gateway
8641
+ * timeout for large batches). Authenticated by the same short-lived
8642
+ * workspace-scoped token as the status write-back. ``document_processing`` is
8643
+ * dataset-wide (the contract); ``file_type`` is per-file (V265 multi-type).
8644
+ * Filenames are deliberately absent — PHI stays on the Lakebase row.
8645
+ */
8646
+ BatchProcessingManifest: {
8647
+ /** Document Processing */
8648
+ document_processing: {
8649
+ [key: string]: unknown;
8650
+ };
8651
+ /** Files */
8652
+ files: components["schemas"]["FileEntry"][];
8653
+ };
8368
8654
  /**
8369
8655
  * BatchRejectRequest
8370
8656
  * @description Batch reject multiple review items.
@@ -8375,6 +8661,31 @@ export interface components {
8375
8661
  /** Reason */
8376
8662
  reason: string;
8377
8663
  };
8664
+ /**
8665
+ * BatchRow
8666
+ * @description A source-sync batch (Batches list / detail).
8667
+ */
8668
+ BatchRow: {
8669
+ /** Created Ts */
8670
+ created_ts: string;
8671
+ /** Dataset */
8672
+ dataset: string;
8673
+ /** Files Found */
8674
+ files_found: number;
8675
+ /**
8676
+ * Id
8677
+ * Format: uuid
8678
+ * @description batch_id.
8679
+ */
8680
+ id: string;
8681
+ /** Source Id */
8682
+ source_id?: string | null;
8683
+ /**
8684
+ * Status
8685
+ * @description discovered | ready | processing | completed | failed.
8686
+ */
8687
+ status: string;
8688
+ };
8378
8689
  /** BillingDashboardResponse */
8379
8690
  BillingDashboardResponse: {
8380
8691
  /**
@@ -8425,6 +8736,8 @@ export interface components {
8425
8736
  Body_upload_intake_file_v1__workspace_id__intake_files_post: {
8426
8737
  /** Dataset */
8427
8738
  dataset: string;
8739
+ /** Document Id */
8740
+ document_id?: string | null;
8428
8741
  /** File */
8429
8742
  file: string;
8430
8743
  };
@@ -8880,6 +9193,78 @@ export interface components {
8880
9193
  */
8881
9194
  trigger: "caller" | "ai" | "operator";
8882
9195
  };
9196
+ /**
9197
+ * CallEvalResult
9198
+ * @description One eval verdict for one production call, keyed by ``conversation_id``.
9199
+ * Mirrors the sim eval-result shape. ``justification`` and ``cited_turns`` come
9200
+ * from the justified ai_query metric compute. PHI: ``justification`` / ``actual``
9201
+ * can echo live transcript content; never log them.
9202
+ */
9203
+ CallEvalResult: {
9204
+ /** Actual */
9205
+ actual?: unknown;
9206
+ /** Assertion Kind */
9207
+ assertion_kind?: string | null;
9208
+ /** Call Sid */
9209
+ call_sid?: string | null;
9210
+ /** Cited Turns */
9211
+ cited_turns?: unknown[];
9212
+ /** Computed At */
9213
+ computed_at?: string | null;
9214
+ /**
9215
+ * Conversation Id
9216
+ * Format: uuid
9217
+ */
9218
+ conversation_id: string;
9219
+ /** Created At */
9220
+ created_at?: string | null;
9221
+ /** Eval Key */
9222
+ eval_key: string;
9223
+ /**
9224
+ * Eval Type
9225
+ * @enum {string}
9226
+ */
9227
+ eval_type: "assertion" | "metric";
9228
+ /** Expected */
9229
+ expected?: unknown;
9230
+ /**
9231
+ * Id
9232
+ * Format: uuid
9233
+ */
9234
+ id?: string;
9235
+ /** Justification */
9236
+ justification?: string | null;
9237
+ /** Metric Key */
9238
+ metric_key?: string | null;
9239
+ /** Passed */
9240
+ passed?: boolean | null;
9241
+ /** Rationale */
9242
+ rationale?: string | null;
9243
+ /** Score */
9244
+ score?: number | null;
9245
+ /** Service Id */
9246
+ service_id?: string | null;
9247
+ /**
9248
+ * Status
9249
+ * @enum {string}
9250
+ */
9251
+ status: "passed" | "failed" | "pending" | "skipped" | "error";
9252
+ /**
9253
+ * Workspace Id
9254
+ * Format: uuid
9255
+ */
9256
+ workspace_id: string;
9257
+ };
9258
+ /** CallEvalResultsResponse */
9259
+ CallEvalResultsResponse: {
9260
+ /**
9261
+ * Conversation Id
9262
+ * Format: uuid
9263
+ */
9264
+ conversation_id: string;
9265
+ /** Results */
9266
+ results: components["schemas"]["CallEvalResult"][];
9267
+ };
8883
9268
  /**
8884
9269
  * CallIntelligenceDetail
8885
9270
  * @description Layer 4 (Narrative) intelligence for a completed call.
@@ -11040,6 +11425,33 @@ export interface components {
11040
11425
  */
11041
11426
  status: string;
11042
11427
  };
11428
+ /** CreateProductionEvalDefinitionRequest */
11429
+ CreateProductionEvalDefinitionRequest: {
11430
+ /**
11431
+ * Active
11432
+ * @default true
11433
+ */
11434
+ active?: boolean;
11435
+ /** Assertion Kind */
11436
+ assertion_kind?: string | null;
11437
+ /** Eval Key */
11438
+ eval_key: string;
11439
+ /**
11440
+ * Eval Type
11441
+ * @enum {string}
11442
+ */
11443
+ eval_type: "assertion" | "metric";
11444
+ /** Expected */
11445
+ expected?: unknown;
11446
+ /** Metric Key */
11447
+ metric_key?: string | null;
11448
+ /** Params */
11449
+ params?: {
11450
+ [key: string]: unknown;
11451
+ };
11452
+ /** Service Id */
11453
+ service_id?: string | null;
11454
+ };
11043
11455
  /** CreateRunRequest */
11044
11456
  CreateRunRequest: {
11045
11457
  /** Branch Name */
@@ -12178,9 +12590,19 @@ export interface components {
12178
12590
  * @description A registered schema in the Schemas list (intake-ui-mvp-design.md §5.3).
12179
12591
  */
12180
12592
  DatasetRow: {
12593
+ /**
12594
+ * Accepted File Types
12595
+ * @description Document datasets: the full accepted-type set (V265). Empty for snapshot
12596
+ * or legacy single-type documents (the UI falls back to ``file_type``).
12597
+ * @default []
12598
+ */
12599
+ accepted_file_types?: string[];
12181
12600
  /** Field Count */
12182
12601
  field_count: number;
12183
- /** File Type */
12602
+ /**
12603
+ * File Type
12604
+ * @description Primary/representative file type (the first accepted type).
12605
+ */
12184
12606
  file_type: string;
12185
12607
  /**
12186
12608
  * Ingestion Mode
@@ -12466,6 +12888,19 @@ export interface components {
12466
12888
  */
12467
12889
  retain_source?: boolean;
12468
12890
  };
12891
+ /**
12892
+ * DriveFolderMapping
12893
+ * @description One Google Drive folder ↔ one intake dataset.
12894
+ *
12895
+ * ``folder_id`` is the Drive folder id (the identity — never the folder name,
12896
+ * which can be renamed/moved). One folder maps to exactly one dataset.
12897
+ */
12898
+ DriveFolderMapping: {
12899
+ /** Dataset */
12900
+ dataset: string;
12901
+ /** Folder Id */
12902
+ folder_id: string;
12903
+ };
12469
12904
  /** DropColumnAction */
12470
12905
  DropColumnAction: {
12471
12906
  name: components["schemas"]["IdentifierString"];
@@ -14823,6 +15258,34 @@ export interface components {
14823
15258
  * @enum {string}
14824
15259
  */
14825
15260
  FieldType: "text" | "textarea" | "date" | "phone" | "email" | "number" | "select" | "multiselect" | "checkbox" | "photo" | "signature" | "file" | "heading" | "info";
15261
+ /** FileEntry */
15262
+ FileEntry: {
15263
+ /** Content Type */
15264
+ content_type: string;
15265
+ /** Contract Id */
15266
+ contract_id?: string | null;
15267
+ /** Contract Version */
15268
+ contract_version?: string | null;
15269
+ /** Document Id */
15270
+ document_id?: string | null;
15271
+ /**
15272
+ * File Id
15273
+ * Format: uuid
15274
+ */
15275
+ file_id: string;
15276
+ /** File Type */
15277
+ file_type: string;
15278
+ /** Ingested At */
15279
+ ingested_at: string;
15280
+ /** Sha256 */
15281
+ sha256: string;
15282
+ /** Size Bytes */
15283
+ size_bytes: number;
15284
+ /** Source Path */
15285
+ source_path: string;
15286
+ /** Version */
15287
+ version: number;
15288
+ };
14826
15289
  /** FireTriggerRequest */
14827
15290
  FireTriggerRequest: {
14828
15291
  /**
@@ -14833,6 +15296,55 @@ export interface components {
14833
15296
  [key: string]: unknown;
14834
15297
  } | null;
14835
15298
  };
15299
+ /**
15300
+ * FlagProviderHealthResponse
15301
+ * @description Whether feature-flag flips are actually runtime-controllable.
15302
+ *
15303
+ * Surfaces ``FeatureFlagClient.doctor()`` so operators can detect the
15304
+ * silently-inert state where flag flips, per-workspace ramps, kill switches,
15305
+ * and rollbacks resolve to code/env defaults instead of taking effect.
15306
+ */
15307
+ FlagProviderHealthResponse: {
15308
+ /** Env Enabled */
15309
+ env_enabled: boolean;
15310
+ /** Provider Ready */
15311
+ provider_ready: boolean;
15312
+ /** Provider Registered */
15313
+ provider_registered: boolean;
15314
+ /** Reason */
15315
+ reason: string;
15316
+ /** Runtime Controllable */
15317
+ runtime_controllable: boolean;
15318
+ };
15319
+ /**
15320
+ * FleetStatusResponse
15321
+ * @description Live voice Agones fleet capacity (workspace-global).
15322
+ *
15323
+ * ``headroom`` = remaining isolated-call slots (``max_replicas - allocated``);
15324
+ * ``max_replicas``/``headroom`` are null when the ceiling isn't configured upstream.
15325
+ * The counts span the whole fleet (one fleet serves every workspace) — this is NOT
15326
+ * per-workspace.
15327
+ */
15328
+ FleetStatusResponse: {
15329
+ /** Allocated */
15330
+ allocated: number;
15331
+ /** By State */
15332
+ by_state: {
15333
+ [key: string]: number;
15334
+ };
15335
+ /** Fleet */
15336
+ fleet: string;
15337
+ /** Headroom */
15338
+ headroom: number | null;
15339
+ /** Max Replicas */
15340
+ max_replicas: number | null;
15341
+ /** Namespace */
15342
+ namespace: string;
15343
+ /** Ready */
15344
+ ready: number;
15345
+ /** Total */
15346
+ total: number;
15347
+ };
14836
15348
  /** ForecastDrawPoint */
14837
15349
  ForecastDrawPoint: {
14838
15350
  /** Draw Id */
@@ -15593,6 +16105,12 @@ export interface components {
15593
16105
  * @description Schema slug (UI label "Schema").
15594
16106
  */
15595
16107
  dataset: string;
16108
+ /**
16109
+ * Document Id
16110
+ * @description The document this version belongs to (§5.9). Null for snapshot/CSV rows;
16111
+ * set for documents — the console groups versions by it and the version chain.
16112
+ */
16113
+ document_id?: string | null;
15596
16114
  /**
15597
16115
  * Error Reason
15598
16116
  * @description Null unless rejected/failed.
@@ -15618,7 +16136,27 @@ export interface components {
15618
16136
  schema_version?: string | null;
15619
16137
  /** Size Bytes */
15620
16138
  size_bytes: number;
16139
+ /**
16140
+ * Source File Id
16141
+ * @description The source's stable external id (e.g. the Google Drive file id) for the
16142
+ * document. Lets the console show provenance and confirm a re-synced file
16143
+ * bumped the *same* document. Null for manual uploads and snapshot rows.
16144
+ */
16145
+ source_file_id?: string | null;
16146
+ /**
16147
+ * Source Type
16148
+ * @description Origin of the document this version belongs to — ``manual`` for console
16149
+ * uploads, ``google_shared_drive`` for the Drive connector (V269). Null for
16150
+ * snapshot/CSV rows.
16151
+ */
16152
+ source_type?: string | null;
15621
16153
  status: components["schemas"]["_FileStatus"];
16154
+ /**
16155
+ * Version
16156
+ * @description The file's version number (per-document for documents, per-dataset for
16157
+ * snapshot). Lets the UI render a document's version history.
16158
+ */
16159
+ version?: number | null;
15622
16160
  };
15623
16161
  /** IntakeLinkResponse */
15624
16162
  IntakeLinkResponse: {
@@ -15662,6 +16200,38 @@ export interface components {
15662
16200
  */
15663
16201
  workspace_id: string;
15664
16202
  };
16203
+ /**
16204
+ * IntakeSourceRow
16205
+ * @description A registered intake source (Sources list).
16206
+ */
16207
+ IntakeSourceRow: {
16208
+ /**
16209
+ * Created Ts
16210
+ * @description ISO-8601 timestamp.
16211
+ */
16212
+ created_ts: string;
16213
+ /**
16214
+ * Credential Ssm Param Path
16215
+ * @description Where the SA key must be uploaded (derived; the secret itself is never returned).
16216
+ */
16217
+ credential_ssm_param_path: string;
16218
+ /** Display Name */
16219
+ display_name: string;
16220
+ /** Drive Id */
16221
+ drive_id?: string | null;
16222
+ /** Folders */
16223
+ folders: components["schemas"]["DriveFolderMapping"][];
16224
+ /**
16225
+ * Id
16226
+ * Format: uuid
16227
+ * @description source_id.
16228
+ */
16229
+ id: string;
16230
+ /** Source Type */
16231
+ source_type: string;
16232
+ /** Status */
16233
+ status: string;
16234
+ };
15665
16235
  /** IntakeUploadResponse */
15666
16236
  IntakeUploadResponse: {
15667
16237
  /** Content Type */
@@ -17941,6 +18511,17 @@ export interface components {
17941
18511
  /** Total */
17942
18512
  total?: number | null;
17943
18513
  };
18514
+ /** PaginatedResponse[BatchRow] */
18515
+ PaginatedResponse_BatchRow_: {
18516
+ /** Continuation Token */
18517
+ continuation_token?: number | null;
18518
+ /** Has More */
18519
+ has_more: boolean;
18520
+ /** Items */
18521
+ items: components["schemas"]["BatchRow"][];
18522
+ /** Total */
18523
+ total?: number | null;
18524
+ };
17944
18525
  /** PaginatedResponse[ContextGraphResponse] */
17945
18526
  PaginatedResponse_ContextGraphResponse_: {
17946
18527
  /** Continuation Token */
@@ -18040,6 +18621,17 @@ export interface components {
18040
18621
  /** Total */
18041
18622
  total?: number | null;
18042
18623
  };
18624
+ /** PaginatedResponse[IntakeSourceRow] */
18625
+ PaginatedResponse_IntakeSourceRow_: {
18626
+ /** Continuation Token */
18627
+ continuation_token?: number | null;
18628
+ /** Has More */
18629
+ has_more: boolean;
18630
+ /** Items */
18631
+ items: components["schemas"]["IntakeSourceRow"][];
18632
+ /** Total */
18633
+ total?: number | null;
18634
+ };
18043
18635
  /** PaginatedResponse[InvoiceItem] */
18044
18636
  PaginatedResponse_InvoiceItem_: {
18045
18637
  /** Continuation Token */
@@ -18084,6 +18676,17 @@ export interface components {
18084
18676
  /** Total */
18085
18677
  total?: number | null;
18086
18678
  };
18679
+ /** PaginatedResponse[ProductionEvalDefinition] */
18680
+ PaginatedResponse_ProductionEvalDefinition_: {
18681
+ /** Continuation Token */
18682
+ continuation_token?: number | null;
18683
+ /** Has More */
18684
+ has_more: boolean;
18685
+ /** Items */
18686
+ items: components["schemas"]["ProductionEvalDefinition"][];
18687
+ /** Total */
18688
+ total?: number | null;
18689
+ };
18087
18690
  /** PaginatedResponse[ReviewItemResponse] */
18088
18691
  PaginatedResponse_ReviewItemResponse_: {
18089
18692
  /** Continuation Token */
@@ -18117,17 +18720,6 @@ export interface components {
18117
18720
  /** Total */
18118
18721
  total?: number | null;
18119
18722
  };
18120
- /** PaginatedResponse[SesSetupListItemResponse] */
18121
- PaginatedResponse_SesSetupListItemResponse_: {
18122
- /** Continuation Token */
18123
- continuation_token?: number | null;
18124
- /** Has More */
18125
- has_more: boolean;
18126
- /** Items */
18127
- items: components["schemas"]["SesSetupListItemResponse"][];
18128
- /** Total */
18129
- total?: number | null;
18130
- };
18131
18723
  /** PaginatedResponse[SimulationCaseResponse] */
18132
18724
  PaginatedResponse_SimulationCaseResponse_: {
18133
18725
  /** Continuation Token */
@@ -19038,6 +19630,54 @@ export interface components {
19038
19630
  */
19039
19631
  workspace_id: string;
19040
19632
  };
19633
+ /**
19634
+ * ProductionEvalDefinition
19635
+ * @description An eval (assertion or metric-eval) that runs against a workspace's live
19636
+ * calls — the production analogue of a sim case's ``evals``. ``service_id``
19637
+ * None applies to every service in the workspace. ``expected`` is JSON: a
19638
+ * phrase string for assertions, or a ``{gte|lte|equals|...}`` threshold for
19639
+ * metric-evals.
19640
+ */
19641
+ ProductionEvalDefinition: {
19642
+ /**
19643
+ * Active
19644
+ * @default true
19645
+ */
19646
+ active?: boolean;
19647
+ /** Assertion Kind */
19648
+ assertion_kind?: string | null;
19649
+ /** Created At */
19650
+ created_at?: string | null;
19651
+ /** Eval Key */
19652
+ eval_key: string;
19653
+ /**
19654
+ * Eval Type
19655
+ * @enum {string}
19656
+ */
19657
+ eval_type: "assertion" | "metric";
19658
+ /** Expected */
19659
+ expected?: unknown;
19660
+ /**
19661
+ * Id
19662
+ * Format: uuid
19663
+ */
19664
+ id?: string;
19665
+ /** Metric Key */
19666
+ metric_key?: string | null;
19667
+ /** Params */
19668
+ params?: {
19669
+ [key: string]: unknown;
19670
+ };
19671
+ /** Service Id */
19672
+ service_id?: string | null;
19673
+ /** Updated At */
19674
+ updated_at?: string | null;
19675
+ /**
19676
+ * Workspace Id
19677
+ * Format: uuid
19678
+ */
19679
+ workspace_id: string;
19680
+ };
19041
19681
  /**
19042
19682
  * ProgressHint
19043
19683
  * @description How the agent narrates waiting on a tool.
@@ -19487,6 +20127,15 @@ export interface components {
19487
20127
  * ``schema_version`` auto).
19488
20128
  */
19489
20129
  RegisterSchemaRequest: {
20130
+ /**
20131
+ * Accepted File Types
20132
+ * @description Document only — the SET of accepted file types (V265, e.g.
20133
+ * ``["pdf","docx","md"]``). Empty → single-type (just ``file_type``).
20134
+ * ``file_type`` is included as the primary. Mixing in a tabular type
20135
+ * (csv/xls/xlsx) is rejected; snapshot datasets are single-type.
20136
+ * @default []
20137
+ */
20138
+ accepted_file_types?: components["schemas"]["_FileType"][];
19490
20139
  /** @description Document only — extraction config; defaulted server-side when omitted. */
19491
20140
  document_processing?: components["schemas"]["DocumentProcessingSpec"] | null;
19492
20141
  file_type: components["schemas"]["_FileType"];
@@ -19506,6 +20155,23 @@ export interface components {
19506
20155
  */
19507
20156
  schema?: components["schemas"]["SchemaFieldSpec"][];
19508
20157
  };
20158
+ /**
20159
+ * RegisterSourceRequest
20160
+ * @description Register a Google Shared Drive intake source (design §3).
20161
+ *
20162
+ * The credential is not part of the wire contract — the server derives the
20163
+ * SA-key SSM path deterministically from the generated ``source_id`` (the
20164
+ * ``/data-sources/`` convention) and the operator uploads the key there
20165
+ * out-of-band. ``drive_id`` is optional (resolved at sync if omitted).
20166
+ */
20167
+ RegisterSourceRequest: {
20168
+ /** Display Name */
20169
+ display_name: string;
20170
+ /** Drive Id */
20171
+ drive_id?: string | null;
20172
+ /** Folders */
20173
+ folders: components["schemas"]["DriveFolderMapping"][];
20174
+ };
19509
20175
  /**
19510
20176
  * RegisteredFunction
19511
20177
  * @description The authored shape of a platform function.
@@ -20760,32 +21426,6 @@ export interface components {
20760
21426
  */
20761
21427
  updated_at: string;
20762
21428
  };
20763
- /** SesSetupListItemResponse */
20764
- SesSetupListItemResponse: {
20765
- /**
20766
- * Created At
20767
- * Format: date-time
20768
- */
20769
- created_at: string;
20770
- /** Dns Checked At */
20771
- dns_checked_at: string | null;
20772
- /**
20773
- * Dns Verified
20774
- * @description Aggregate of every DNS record's ``verified`` at the last refresh.
20775
- */
20776
- dns_verified: boolean;
20777
- /** Domain Identity */
20778
- domain_identity: string;
20779
- /** Id */
20780
- id: string;
20781
- /** Tenant Name */
20782
- tenant_name: string;
20783
- /**
20784
- * Updated At
20785
- * Format: date-time
20786
- */
20787
- updated_at: string;
20788
- };
20789
21429
  /** SessionEndEvent */
20790
21430
  SessionEndEvent: {
20791
21431
  /**
@@ -22214,6 +22854,11 @@ export interface components {
22214
22854
  */
22215
22855
  workspace_id: string;
22216
22856
  };
22857
+ /** SourceSyncResponse */
22858
+ SourceSyncResponse: {
22859
+ /** Batches */
22860
+ batches: components["schemas"]["SyncBatchRow"][];
22861
+ };
22217
22862
  /**
22218
22863
  * Span
22219
22864
  * @description OTLP ``Span`` in OTLP/JSON encoding (ids hex, timestamps decimal-string).
@@ -23143,6 +23788,23 @@ export interface components {
23143
23788
  */
23144
23789
  mode: "listen" | "takeover";
23145
23790
  };
23791
+ /**
23792
+ * SyncBatchRow
23793
+ * @description One batch produced by a source sync (one per mapped folder/dataset).
23794
+ */
23795
+ SyncBatchRow: {
23796
+ /**
23797
+ * Batch Id
23798
+ * Format: uuid
23799
+ */
23800
+ batch_id: string;
23801
+ /** Dataset */
23802
+ dataset: string;
23803
+ /** Files Found */
23804
+ files_found: number;
23805
+ /** Status */
23806
+ status: string;
23807
+ };
23146
23808
  /** SyncFailureEntry */
23147
23809
  SyncFailureEntry: {
23148
23810
  /** Created At */
@@ -23229,6 +23891,16 @@ export interface components {
23229
23891
  /** Numbers */
23230
23892
  numbers: string[];
23231
23893
  };
23894
+ /** TestCredentialIdsRequest */
23895
+ TestCredentialIdsRequest: {
23896
+ /** Credential Ids */
23897
+ credential_ids: string[];
23898
+ };
23899
+ /** TestCredentialIdsResponse */
23900
+ TestCredentialIdsResponse: {
23901
+ /** Credential Ids */
23902
+ credential_ids: string[];
23903
+ };
23232
23904
  /**
23233
23905
  * TestInvokeResponse
23234
23906
  * @description Response shape for ``POST /v1/{ws}/functions/{name}/test``.
@@ -23771,6 +24443,12 @@ export interface components {
23771
24443
  failure_delivery_by_class?: {
23772
24444
  [key: string]: "interrupt" | "queue";
23773
24445
  } | null;
24446
+ /**
24447
+ * Lifecycle
24448
+ * @default independent
24449
+ * @enum {string}
24450
+ */
24451
+ lifecycle?: "coupled" | "independent";
23774
24452
  /**
23775
24453
  * Navigate On Completion
23776
24454
  * @default false
@@ -24927,6 +25605,27 @@ export interface components {
24927
25605
  /** Type */
24928
25606
  type?: ("clinical" | "administrative" | "crisis_counselor") | null;
24929
25607
  };
25608
+ /** UpdateProductionEvalDefinitionRequest */
25609
+ UpdateProductionEvalDefinitionRequest: {
25610
+ /** Active */
25611
+ active?: boolean | null;
25612
+ /** Assertion Kind */
25613
+ assertion_kind?: string | null;
25614
+ /** Eval Key */
25615
+ eval_key?: string | null;
25616
+ /** Eval Type */
25617
+ eval_type?: ("assertion" | "metric") | null;
25618
+ /** Expected */
25619
+ expected?: unknown;
25620
+ /** Metric Key */
25621
+ metric_key?: string | null;
25622
+ /** Params */
25623
+ params?: {
25624
+ [key: string]: unknown;
25625
+ } | null;
25626
+ /** Service Id */
25627
+ service_id?: string | null;
25628
+ };
24930
25629
  /**
24931
25630
  * UpdateSchedulingRuleSetRequest
24932
25631
  * @description Partial update — fields not provided are unchanged. ``params``
@@ -28729,6 +29428,63 @@ export interface operations {
28729
29428
  };
28730
29429
  };
28731
29430
  };
29431
+ "get-test-credential-ids": {
29432
+ parameters: {
29433
+ query?: never;
29434
+ header?: never;
29435
+ path: {
29436
+ workspace_id: string;
29437
+ };
29438
+ cookie?: never;
29439
+ };
29440
+ requestBody?: never;
29441
+ responses: {
29442
+ /** @description Successful Response */
29443
+ 200: {
29444
+ headers: {
29445
+ [name: string]: unknown;
29446
+ };
29447
+ content: {
29448
+ "application/json": components["schemas"]["TestCredentialIdsResponse"];
29449
+ };
29450
+ };
29451
+ };
29452
+ };
29453
+ "update-test-credential-ids": {
29454
+ parameters: {
29455
+ query?: never;
29456
+ header?: never;
29457
+ path: {
29458
+ workspace_id: string;
29459
+ };
29460
+ cookie?: never;
29461
+ };
29462
+ requestBody: {
29463
+ content: {
29464
+ "application/json": components["schemas"]["TestCredentialIdsRequest"];
29465
+ };
29466
+ };
29467
+ responses: {
29468
+ /** @description Successful Response */
29469
+ 200: {
29470
+ headers: {
29471
+ [name: string]: unknown;
29472
+ };
29473
+ content: {
29474
+ "application/json": components["schemas"]["TestCredentialIdsResponse"];
29475
+ };
29476
+ };
29477
+ /** @description Validation Error */
29478
+ 422: {
29479
+ headers: {
29480
+ [name: string]: unknown;
29481
+ };
29482
+ content: {
29483
+ "application/json": components["schemas"]["HTTPValidationError"];
29484
+ };
29485
+ };
29486
+ };
29487
+ };
28732
29488
  "list-agents": {
28733
29489
  parameters: {
28734
29490
  query?: {
@@ -31111,6 +31867,70 @@ export interface operations {
31111
31867
  };
31112
31868
  };
31113
31869
  };
31870
+ "get-call-eval-results": {
31871
+ parameters: {
31872
+ query?: never;
31873
+ header?: never;
31874
+ path: {
31875
+ workspace_id: string;
31876
+ conversation_id: string;
31877
+ };
31878
+ cookie?: never;
31879
+ };
31880
+ requestBody?: never;
31881
+ responses: {
31882
+ /** @description Successful Response */
31883
+ 200: {
31884
+ headers: {
31885
+ [name: string]: unknown;
31886
+ };
31887
+ content: {
31888
+ "application/json": components["schemas"]["CallEvalResultsResponse"];
31889
+ };
31890
+ };
31891
+ /** @description Validation Error */
31892
+ 422: {
31893
+ headers: {
31894
+ [name: string]: unknown;
31895
+ };
31896
+ content: {
31897
+ "application/json": components["schemas"]["HTTPValidationError"];
31898
+ };
31899
+ };
31900
+ };
31901
+ };
31902
+ "evaluate-call": {
31903
+ parameters: {
31904
+ query?: never;
31905
+ header?: never;
31906
+ path: {
31907
+ workspace_id: string;
31908
+ conversation_id: string;
31909
+ };
31910
+ cookie?: never;
31911
+ };
31912
+ requestBody?: never;
31913
+ responses: {
31914
+ /** @description Successful Response */
31915
+ 200: {
31916
+ headers: {
31917
+ [name: string]: unknown;
31918
+ };
31919
+ content: {
31920
+ "application/json": components["schemas"]["CallEvalResultsResponse"];
31921
+ };
31922
+ };
31923
+ /** @description Validation Error */
31924
+ 422: {
31925
+ headers: {
31926
+ [name: string]: unknown;
31927
+ };
31928
+ content: {
31929
+ "application/json": components["schemas"]["HTTPValidationError"];
31930
+ };
31931
+ };
31932
+ };
31933
+ };
31114
31934
  "list-email-templates": {
31115
31935
  parameters: {
31116
31936
  query: {
@@ -31427,47 +32247,6 @@ export interface operations {
31427
32247
  };
31428
32248
  };
31429
32249
  };
31430
- "list-ses-setups": {
31431
- parameters: {
31432
- query?: {
31433
- limit?: number;
31434
- continuation_token?: number;
31435
- };
31436
- header?: never;
31437
- path: {
31438
- workspace_id: string;
31439
- };
31440
- cookie?: never;
31441
- };
31442
- requestBody?: never;
31443
- responses: {
31444
- /** @description Successful Response */
31445
- 200: {
31446
- headers: {
31447
- [name: string]: unknown;
31448
- };
31449
- content: {
31450
- "application/json": components["schemas"]["PaginatedResponse_SesSetupListItemResponse_"];
31451
- };
31452
- };
31453
- /** @description Insufficient permissions. */
31454
- 403: {
31455
- headers: {
31456
- [name: string]: unknown;
31457
- };
31458
- content?: never;
31459
- };
31460
- /** @description Validation Error */
31461
- 422: {
31462
- headers: {
31463
- [name: string]: unknown;
31464
- };
31465
- content: {
31466
- "application/json": components["schemas"]["HTTPValidationError"];
31467
- };
31468
- };
31469
- };
31470
- };
31471
32250
  "create-ses-setup": {
31472
32251
  parameters: {
31473
32252
  query?: never;
@@ -35373,6 +36152,138 @@ export interface operations {
35373
36152
  };
35374
36153
  };
35375
36154
  };
36155
+ list_intake_batches_v1__workspace_id__intake_batches_get: {
36156
+ parameters: {
36157
+ query?: {
36158
+ limit?: number;
36159
+ continuation_token?: number;
36160
+ sort_by?: string;
36161
+ source_id?: string | null;
36162
+ };
36163
+ header?: never;
36164
+ path: {
36165
+ workspace_id: string;
36166
+ };
36167
+ cookie?: never;
36168
+ };
36169
+ requestBody?: never;
36170
+ responses: {
36171
+ /** @description Successful Response */
36172
+ 200: {
36173
+ headers: {
36174
+ [name: string]: unknown;
36175
+ };
36176
+ content: {
36177
+ "application/json": components["schemas"]["PaginatedResponse_BatchRow_"];
36178
+ };
36179
+ };
36180
+ /** @description Validation Error */
36181
+ 422: {
36182
+ headers: {
36183
+ [name: string]: unknown;
36184
+ };
36185
+ content: {
36186
+ "application/json": components["schemas"]["HTTPValidationError"];
36187
+ };
36188
+ };
36189
+ };
36190
+ };
36191
+ get_intake_batch_v1__workspace_id__intake_batches__batch_id__get: {
36192
+ parameters: {
36193
+ query?: never;
36194
+ header?: never;
36195
+ path: {
36196
+ workspace_id: string;
36197
+ batch_id: string;
36198
+ };
36199
+ cookie?: never;
36200
+ };
36201
+ requestBody?: never;
36202
+ responses: {
36203
+ /** @description Successful Response */
36204
+ 200: {
36205
+ headers: {
36206
+ [name: string]: unknown;
36207
+ };
36208
+ content: {
36209
+ "application/json": components["schemas"]["BatchDetail"];
36210
+ };
36211
+ };
36212
+ /** @description Validation Error */
36213
+ 422: {
36214
+ headers: {
36215
+ [name: string]: unknown;
36216
+ };
36217
+ content: {
36218
+ "application/json": components["schemas"]["HTTPValidationError"];
36219
+ };
36220
+ };
36221
+ };
36222
+ };
36223
+ process_intake_batch_v1__workspace_id__intake_batches__batch_id__process_post: {
36224
+ parameters: {
36225
+ query?: never;
36226
+ header?: never;
36227
+ path: {
36228
+ workspace_id: string;
36229
+ batch_id: string;
36230
+ };
36231
+ cookie?: never;
36232
+ };
36233
+ requestBody?: never;
36234
+ responses: {
36235
+ /** @description Successful Response */
36236
+ 202: {
36237
+ headers: {
36238
+ [name: string]: unknown;
36239
+ };
36240
+ content: {
36241
+ "application/json": components["schemas"]["BatchRow"];
36242
+ };
36243
+ };
36244
+ /** @description Validation Error */
36245
+ 422: {
36246
+ headers: {
36247
+ [name: string]: unknown;
36248
+ };
36249
+ content: {
36250
+ "application/json": components["schemas"]["HTTPValidationError"];
36251
+ };
36252
+ };
36253
+ };
36254
+ };
36255
+ get_batch_processing_manifest_v1__workspace_id__intake_batches__batch_id__processing_manifest_get: {
36256
+ parameters: {
36257
+ query?: never;
36258
+ header?: never;
36259
+ path: {
36260
+ workspace_id: string;
36261
+ batch_id: string;
36262
+ };
36263
+ cookie?: never;
36264
+ };
36265
+ requestBody?: never;
36266
+ responses: {
36267
+ /** @description Successful Response */
36268
+ 200: {
36269
+ headers: {
36270
+ [name: string]: unknown;
36271
+ };
36272
+ content: {
36273
+ "application/json": components["schemas"]["BatchProcessingManifest"];
36274
+ };
36275
+ };
36276
+ /** @description Validation Error */
36277
+ 422: {
36278
+ headers: {
36279
+ [name: string]: unknown;
36280
+ };
36281
+ content: {
36282
+ "application/json": components["schemas"]["HTTPValidationError"];
36283
+ };
36284
+ };
36285
+ };
36286
+ };
35376
36287
  list_intake_datasets_v1__workspace_id__intake_datasets_get: {
35377
36288
  parameters: {
35378
36289
  query?: {
@@ -35804,6 +36715,108 @@ export interface operations {
35804
36715
  };
35805
36716
  };
35806
36717
  };
36718
+ list_intake_sources_v1__workspace_id__intake_sources_get: {
36719
+ parameters: {
36720
+ query?: {
36721
+ limit?: number;
36722
+ continuation_token?: number;
36723
+ sort_by?: string;
36724
+ };
36725
+ header?: never;
36726
+ path: {
36727
+ workspace_id: string;
36728
+ };
36729
+ cookie?: never;
36730
+ };
36731
+ requestBody?: never;
36732
+ responses: {
36733
+ /** @description Successful Response */
36734
+ 200: {
36735
+ headers: {
36736
+ [name: string]: unknown;
36737
+ };
36738
+ content: {
36739
+ "application/json": components["schemas"]["PaginatedResponse_IntakeSourceRow_"];
36740
+ };
36741
+ };
36742
+ /** @description Validation Error */
36743
+ 422: {
36744
+ headers: {
36745
+ [name: string]: unknown;
36746
+ };
36747
+ content: {
36748
+ "application/json": components["schemas"]["HTTPValidationError"];
36749
+ };
36750
+ };
36751
+ };
36752
+ };
36753
+ register_intake_source_v1__workspace_id__intake_sources_post: {
36754
+ parameters: {
36755
+ query?: never;
36756
+ header?: never;
36757
+ path: {
36758
+ workspace_id: string;
36759
+ };
36760
+ cookie?: never;
36761
+ };
36762
+ requestBody: {
36763
+ content: {
36764
+ "application/json": components["schemas"]["RegisterSourceRequest"];
36765
+ };
36766
+ };
36767
+ responses: {
36768
+ /** @description Successful Response */
36769
+ 201: {
36770
+ headers: {
36771
+ [name: string]: unknown;
36772
+ };
36773
+ content: {
36774
+ "application/json": components["schemas"]["IntakeSourceRow"];
36775
+ };
36776
+ };
36777
+ /** @description Validation Error */
36778
+ 422: {
36779
+ headers: {
36780
+ [name: string]: unknown;
36781
+ };
36782
+ content: {
36783
+ "application/json": components["schemas"]["HTTPValidationError"];
36784
+ };
36785
+ };
36786
+ };
36787
+ };
36788
+ sync_intake_source_v1__workspace_id__intake_sources__source_id__sync_post: {
36789
+ parameters: {
36790
+ query?: never;
36791
+ header?: never;
36792
+ path: {
36793
+ workspace_id: string;
36794
+ source_id: string;
36795
+ };
36796
+ cookie?: never;
36797
+ };
36798
+ requestBody?: never;
36799
+ responses: {
36800
+ /** @description Successful Response */
36801
+ 201: {
36802
+ headers: {
36803
+ [name: string]: unknown;
36804
+ };
36805
+ content: {
36806
+ "application/json": components["schemas"]["SourceSyncResponse"];
36807
+ };
36808
+ };
36809
+ /** @description Validation Error */
36810
+ 422: {
36811
+ headers: {
36812
+ [name: string]: unknown;
36813
+ };
36814
+ content: {
36815
+ "application/json": components["schemas"]["HTTPValidationError"];
36816
+ };
36817
+ };
36818
+ };
36819
+ };
35807
36820
  "list-integrations": {
35808
36821
  parameters: {
35809
36822
  query?: {
@@ -38582,6 +39595,175 @@ export interface operations {
38582
39595
  };
38583
39596
  };
38584
39597
  };
39598
+ "list-production-eval-definitions": {
39599
+ parameters: {
39600
+ query?: {
39601
+ service_id?: string | null;
39602
+ active?: boolean | null;
39603
+ limit?: number;
39604
+ continuation_token?: number;
39605
+ };
39606
+ header?: never;
39607
+ path: {
39608
+ workspace_id: string;
39609
+ };
39610
+ cookie?: never;
39611
+ };
39612
+ requestBody?: never;
39613
+ responses: {
39614
+ /** @description Successful Response */
39615
+ 200: {
39616
+ headers: {
39617
+ [name: string]: unknown;
39618
+ };
39619
+ content: {
39620
+ "application/json": components["schemas"]["PaginatedResponse_ProductionEvalDefinition_"];
39621
+ };
39622
+ };
39623
+ /** @description Validation Error */
39624
+ 422: {
39625
+ headers: {
39626
+ [name: string]: unknown;
39627
+ };
39628
+ content: {
39629
+ "application/json": components["schemas"]["HTTPValidationError"];
39630
+ };
39631
+ };
39632
+ };
39633
+ };
39634
+ "create-production-eval-definition": {
39635
+ parameters: {
39636
+ query?: never;
39637
+ header?: never;
39638
+ path: {
39639
+ workspace_id: string;
39640
+ };
39641
+ cookie?: never;
39642
+ };
39643
+ requestBody: {
39644
+ content: {
39645
+ "application/json": components["schemas"]["CreateProductionEvalDefinitionRequest"];
39646
+ };
39647
+ };
39648
+ responses: {
39649
+ /** @description Successful Response */
39650
+ 201: {
39651
+ headers: {
39652
+ [name: string]: unknown;
39653
+ };
39654
+ content: {
39655
+ "application/json": components["schemas"]["ProductionEvalDefinition"];
39656
+ };
39657
+ };
39658
+ /** @description Validation Error */
39659
+ 422: {
39660
+ headers: {
39661
+ [name: string]: unknown;
39662
+ };
39663
+ content: {
39664
+ "application/json": components["schemas"]["HTTPValidationError"];
39665
+ };
39666
+ };
39667
+ };
39668
+ };
39669
+ "get-production-eval-definition": {
39670
+ parameters: {
39671
+ query?: never;
39672
+ header?: never;
39673
+ path: {
39674
+ workspace_id: string;
39675
+ definition_id: string;
39676
+ };
39677
+ cookie?: never;
39678
+ };
39679
+ requestBody?: never;
39680
+ responses: {
39681
+ /** @description Successful Response */
39682
+ 200: {
39683
+ headers: {
39684
+ [name: string]: unknown;
39685
+ };
39686
+ content: {
39687
+ "application/json": components["schemas"]["ProductionEvalDefinition"];
39688
+ };
39689
+ };
39690
+ /** @description Validation Error */
39691
+ 422: {
39692
+ headers: {
39693
+ [name: string]: unknown;
39694
+ };
39695
+ content: {
39696
+ "application/json": components["schemas"]["HTTPValidationError"];
39697
+ };
39698
+ };
39699
+ };
39700
+ };
39701
+ "delete-production-eval-definition": {
39702
+ parameters: {
39703
+ query?: never;
39704
+ header?: never;
39705
+ path: {
39706
+ workspace_id: string;
39707
+ definition_id: string;
39708
+ };
39709
+ cookie?: never;
39710
+ };
39711
+ requestBody?: never;
39712
+ responses: {
39713
+ /** @description Successful Response */
39714
+ 204: {
39715
+ headers: {
39716
+ [name: string]: unknown;
39717
+ };
39718
+ content?: never;
39719
+ };
39720
+ /** @description Validation Error */
39721
+ 422: {
39722
+ headers: {
39723
+ [name: string]: unknown;
39724
+ };
39725
+ content: {
39726
+ "application/json": components["schemas"]["HTTPValidationError"];
39727
+ };
39728
+ };
39729
+ };
39730
+ };
39731
+ "update-production-eval-definition": {
39732
+ parameters: {
39733
+ query?: never;
39734
+ header?: never;
39735
+ path: {
39736
+ workspace_id: string;
39737
+ definition_id: string;
39738
+ };
39739
+ cookie?: never;
39740
+ };
39741
+ requestBody: {
39742
+ content: {
39743
+ "application/json": components["schemas"]["UpdateProductionEvalDefinitionRequest"];
39744
+ };
39745
+ };
39746
+ responses: {
39747
+ /** @description Successful Response */
39748
+ 200: {
39749
+ headers: {
39750
+ [name: string]: unknown;
39751
+ };
39752
+ content: {
39753
+ "application/json": components["schemas"]["ProductionEvalDefinition"];
39754
+ };
39755
+ };
39756
+ /** @description Validation Error */
39757
+ 422: {
39758
+ headers: {
39759
+ [name: string]: unknown;
39760
+ };
39761
+ content: {
39762
+ "application/json": components["schemas"]["HTTPValidationError"];
39763
+ };
39764
+ };
39765
+ };
39766
+ };
38585
39767
  "list-prompt-logs": {
38586
39768
  parameters: {
38587
39769
  query?: {
@@ -40520,6 +41702,28 @@ export interface operations {
40520
41702
  };
40521
41703
  };
40522
41704
  };
41705
+ get_fleet_status_v1__workspace_id__sessions_fleet_status_get: {
41706
+ parameters: {
41707
+ query?: never;
41708
+ header?: never;
41709
+ path: {
41710
+ workspace_id: string;
41711
+ };
41712
+ cookie?: never;
41713
+ };
41714
+ requestBody?: never;
41715
+ responses: {
41716
+ /** @description Successful Response */
41717
+ 200: {
41718
+ headers: {
41719
+ [name: string]: unknown;
41720
+ };
41721
+ content: {
41722
+ "application/json": components["schemas"]["FleetStatusResponse"];
41723
+ };
41724
+ };
41725
+ };
41726
+ };
40523
41727
  start_text_session_v1__workspace_id__sessions_start_post: {
40524
41728
  parameters: {
40525
41729
  query?: never;