@mastra/client-js 1.47.0-alpha.4 → 1.47.0-alpha.6

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.
@@ -101,7 +101,7 @@ type InputShared_Auxiliary_246 = {
101
101
  none: InputShared_Auxiliary_201;
102
102
  };
103
103
  };
104
- type InputShared_Auxiliary_657 = {
104
+ type InputShared_Auxiliary_662 = {
105
105
  op: 'eq' | 'ne' | 'lt' | 'lte' | 'gt' | 'gte';
106
106
  left: {
107
107
  path: string;
@@ -133,24 +133,24 @@ type InputShared_Auxiliary_657 = {
133
133
  };
134
134
  } | {
135
135
  op: 'and' | 'or';
136
- args: InputShared_Auxiliary_657[];
136
+ args: InputShared_Auxiliary_662[];
137
137
  } | {
138
138
  op: 'not';
139
- arg: InputShared_Auxiliary_657;
139
+ arg: InputShared_Auxiliary_662;
140
140
  };
141
- type InputShared_Auxiliary_731 = {
141
+ type InputShared_Auxiliary_736 = {
142
142
  id?: string | undefined;
143
143
  name: string;
144
144
  type: 'file' | 'folder';
145
145
  content?: string | undefined;
146
- children?: InputShared_Auxiliary_731[] | undefined;
146
+ children?: InputShared_Auxiliary_736[] | undefined;
147
147
  };
148
- type Shared_Auxiliary_739 = {
148
+ type Shared_Auxiliary_745 = {
149
149
  id?: string | undefined;
150
150
  name: string;
151
151
  type: 'file' | 'folder';
152
152
  content?: string | undefined;
153
- children?: Shared_Auxiliary_739[] | undefined;
153
+ children?: Shared_Auxiliary_745[] | undefined;
154
154
  };
155
155
  type InputShared_Type_0 = {
156
156
  thread: string | {
@@ -884,10 +884,14 @@ type InputShared_Type_53 = {
884
884
  indexName?: string | undefined;
885
885
  };
886
886
  type InputShared_Type_54 = {
887
- /** Model ID in format provider/model-name (ModelRouterModelId) */
888
- model: string;
887
+ /** Model ID in format provider/model-name (ModelRouterModelId); defaults to the agent's own model */
888
+ model?: string | undefined;
889
889
  /** Custom instructions for title generation */
890
890
  instructions?: string | undefined;
891
+ /** Minimum number of thread messages required before a title is generated */
892
+ minMessages?: number | undefined;
893
+ /** Emit the generated title as a data-thread-title chunk on the run stream */
894
+ emitEvent?: boolean | undefined;
891
895
  };
892
896
  type InputShared_Type_55 = {
893
897
  readOnly?: boolean | undefined;
@@ -1266,7 +1270,7 @@ type InputShared_Type_86 = {
1266
1270
  [key: string]: unknown;
1267
1271
  } | undefined;
1268
1272
  steps: InputShared_Type_81[];
1269
- predicates: InputShared_Auxiliary_657[];
1273
+ predicates: InputShared_Auxiliary_662[];
1270
1274
  };
1271
1275
  type InputShared_Type_87 = {
1272
1276
  type: 'loop';
@@ -1277,7 +1281,7 @@ type InputShared_Type_87 = {
1277
1281
  } | undefined;
1278
1282
  step: InputShared_Type_81;
1279
1283
  loopType: 'dowhile' | 'dountil';
1280
- predicate: InputShared_Auxiliary_657;
1284
+ predicate: InputShared_Auxiliary_662;
1281
1285
  };
1282
1286
  type InputShared_Type_88 = InputShared_Type_78 | InputShared_Type_79 | InputShared_Type_80 | {
1283
1287
  type: 'workflow';
@@ -1848,10 +1852,14 @@ type Shared_Type_22 = {
1848
1852
  indexName?: string | undefined;
1849
1853
  };
1850
1854
  type Shared_Type_23 = {
1851
- /** Model ID in format provider/model-name (ModelRouterModelId) */
1852
- model: string;
1855
+ /** Model ID in format provider/model-name (ModelRouterModelId); defaults to the agent's own model */
1856
+ model?: string | undefined;
1853
1857
  /** Custom instructions for title generation */
1854
1858
  instructions?: string | undefined;
1859
+ /** Minimum number of thread messages required before a title is generated */
1860
+ minMessages?: number | undefined;
1861
+ /** Emit the generated title as a data-thread-title chunk on the run stream */
1862
+ emitEvent?: boolean | undefined;
1855
1863
  };
1856
1864
  type Shared_Type_24 = {
1857
1865
  readOnly?: boolean | undefined;
@@ -2553,6 +2561,26 @@ type Shared_Type_61 = {
2553
2561
  updatedAt: Date | null;
2554
2562
  };
2555
2563
  type Shared_Type_62 = {
2564
+ traceId: string;
2565
+ rootSpanId: string;
2566
+ name: string;
2567
+ entityId: string | null;
2568
+ parentSpanId: string | null;
2569
+ createdAt: string;
2570
+ metadata: {
2571
+ [key: string]: unknown;
2572
+ } | null;
2573
+ inputPreview: string | null;
2574
+ threadId: string | null;
2575
+ resourceId: string | null;
2576
+ startedAt: string;
2577
+ endedAt: string;
2578
+ entityName: string | null;
2579
+ entityType: string | null;
2580
+ environment: string | null;
2581
+ status: 'success' | 'error';
2582
+ };
2583
+ type Shared_Type_63 = {
2556
2584
  /** Unique id for this score event */
2557
2585
  scoreId?: (string | null) | undefined;
2558
2586
  /** When the score was recorded */
@@ -2604,7 +2632,7 @@ type Shared_Type_62 = {
2604
2632
  [key: string]: unknown;
2605
2633
  } | null) | undefined;
2606
2634
  };
2607
- type Shared_Type_63 = {
2635
+ type Shared_Type_64 = {
2608
2636
  name: string;
2609
2637
  description?: string | undefined;
2610
2638
  inputSchema: unknown;
@@ -2614,7 +2642,7 @@ type Shared_Type_63 = {
2614
2642
  [key: string]: unknown;
2615
2643
  } | undefined;
2616
2644
  };
2617
- type Shared_Type_64 = {
2645
+ type Shared_Type_65 = {
2618
2646
  /** Unique identifier for the version (UUID) */
2619
2647
  id: string;
2620
2648
  /** ID of the agent this version belongs to */
@@ -2706,7 +2734,7 @@ type Shared_Type_64 = {
2706
2734
  /** When this version was created */
2707
2735
  createdAt: Date;
2708
2736
  };
2709
- type Shared_Type_65 = {
2737
+ type Shared_Type_66 = {
2710
2738
  /** The field path that changed */
2711
2739
  field: string;
2712
2740
  /** The value in the "from" version */
@@ -2714,7 +2742,7 @@ type Shared_Type_65 = {
2714
2742
  /** The value in the "to" version */
2715
2743
  currentValue: unknown;
2716
2744
  };
2717
- type Shared_Type_66 = {
2745
+ type Shared_Type_67 = {
2718
2746
  id: string;
2719
2747
  description?: string | undefined;
2720
2748
  metadata?: {
@@ -2731,7 +2759,7 @@ type Shared_Type_66 = {
2731
2759
  createdAt: Date | string;
2732
2760
  updatedAt: Date | string;
2733
2761
  };
2734
- type Shared_Type_67 = {
2762
+ type Shared_Type_68 = {
2735
2763
  /** Transport type: stdio for local processes, http for remote servers */
2736
2764
  type: 'stdio' | 'http';
2737
2765
  /** Command to run (stdio only) */
@@ -2747,7 +2775,7 @@ type Shared_Type_67 = {
2747
2775
  /** Connection timeout in milliseconds */
2748
2776
  timeout?: number | undefined;
2749
2777
  };
2750
- type Shared_Type_68 = {
2778
+ type Shared_Type_69 = {
2751
2779
  id: string;
2752
2780
  /** MCP client status: draft, published, or archived */
2753
2781
  status: string;
@@ -2764,10 +2792,10 @@ type Shared_Type_68 = {
2764
2792
  description?: string | undefined;
2765
2793
  /** Map of server name to server configuration */
2766
2794
  servers: {
2767
- [key: string]: Shared_Type_67;
2795
+ [key: string]: Shared_Type_68;
2768
2796
  };
2769
2797
  };
2770
- type Shared_Type_69 = {
2798
+ type Shared_Type_70 = {
2771
2799
  type: 'stdio' | 'http';
2772
2800
  command?: string | undefined;
2773
2801
  args?: string[] | undefined;
@@ -2777,7 +2805,7 @@ type Shared_Type_69 = {
2777
2805
  url?: string | undefined;
2778
2806
  timeout?: number | undefined;
2779
2807
  };
2780
- type Shared_Type_70 = {
2808
+ type Shared_Type_71 = {
2781
2809
  /** Unique identifier for the version (UUID) */
2782
2810
  id: string;
2783
2811
  /** ID of the MCP client this version belongs to */
@@ -2789,7 +2817,7 @@ type Shared_Type_70 = {
2789
2817
  /** Description of the MCP client */
2790
2818
  description?: string | undefined;
2791
2819
  servers: {
2792
- [key: string]: Shared_Type_69;
2820
+ [key: string]: Shared_Type_70;
2793
2821
  };
2794
2822
  /** Array of field names that changed from the previous version */
2795
2823
  changedFields?: string[] | undefined;
@@ -2798,7 +2826,7 @@ type Shared_Type_70 = {
2798
2826
  /** When this version was created */
2799
2827
  createdAt: Date;
2800
2828
  };
2801
- type Shared_Type_71 = {
2829
+ type Shared_Type_72 = {
2802
2830
  id: string;
2803
2831
  /** Prompt block status: draft, published, or archived */
2804
2832
  status: string;
@@ -2824,7 +2852,7 @@ type Shared_Type_71 = {
2824
2852
  [key: string]: unknown;
2825
2853
  } | undefined;
2826
2854
  };
2827
- type Shared_Type_72 = {
2855
+ type Shared_Type_73 = {
2828
2856
  /** Unique identifier for the version (UUID) */
2829
2857
  id: string;
2830
2858
  /** ID of the prompt block this version belongs to */
@@ -2850,8 +2878,8 @@ type Shared_Type_72 = {
2850
2878
  /** When this version was created */
2851
2879
  createdAt: Date;
2852
2880
  };
2853
- type Shared_Type_73 = 'llm-judge' | 'answer-relevancy' | 'answer-similarity' | 'bias' | 'context-precision' | 'context-relevance' | 'faithfulness' | 'hallucination' | 'noise-sensitivity' | 'prompt-alignment' | 'tool-call-accuracy' | 'toxicity';
2854
- type Shared_Type_74 = {
2881
+ type Shared_Type_74 = 'llm-judge' | 'answer-relevancy' | 'answer-similarity' | 'bias' | 'context-precision' | 'context-relevance' | 'faithfulness' | 'hallucination' | 'noise-sensitivity' | 'prompt-alignment' | 'tool-call-accuracy' | 'toxicity';
2882
+ type Shared_Type_75 = {
2855
2883
  id: string;
2856
2884
  /** Scorer status: draft, published, or archived */
2857
2885
  status: string;
@@ -2867,7 +2895,7 @@ type Shared_Type_74 = {
2867
2895
  /** Description of the scorer */
2868
2896
  description?: string | undefined;
2869
2897
  /** Scorer type: llm-judge for custom, or a preset type name */
2870
- type: Shared_Type_73;
2898
+ type: Shared_Type_74;
2871
2899
  model?: Shared_Type_12 | undefined;
2872
2900
  /** System instructions for the judge LLM */
2873
2901
  instructions?: string | undefined;
@@ -2885,7 +2913,7 @@ type Shared_Type_74 = {
2885
2913
  rate: number;
2886
2914
  }) | undefined;
2887
2915
  };
2888
- type Shared_Type_75 = {
2916
+ type Shared_Type_76 = {
2889
2917
  /** Unique identifier for the version (UUID) */
2890
2918
  id: string;
2891
2919
  /** ID of the scorer this version belongs to */
@@ -2896,7 +2924,7 @@ type Shared_Type_75 = {
2896
2924
  name: string;
2897
2925
  /** Description of the scorer */
2898
2926
  description?: string | undefined;
2899
- type: Shared_Type_73;
2927
+ type: Shared_Type_74;
2900
2928
  model?: Shared_Type_12 | undefined;
2901
2929
  instructions?: string | undefined;
2902
2930
  scoreRange?: {
@@ -2919,7 +2947,7 @@ type Shared_Type_75 = {
2919
2947
  /** When this version was created */
2920
2948
  createdAt: Date;
2921
2949
  };
2922
- type Shared_Type_76 = {
2950
+ type Shared_Type_77 = {
2923
2951
  id: string;
2924
2952
  /** Workspace status: draft, published, or archived */
2925
2953
  status: string;
@@ -2951,7 +2979,7 @@ type Shared_Type_76 = {
2951
2979
  /** Operation timeout in milliseconds */
2952
2980
  operationTimeout?: number | undefined;
2953
2981
  };
2954
- type Shared_Type_77 = {
2982
+ type Shared_Type_78 = {
2955
2983
  type: 'external';
2956
2984
  /** Package path for external source */
2957
2985
  packagePath: string;
@@ -2964,7 +2992,7 @@ type Shared_Type_77 = {
2964
2992
  /** Mastra path for managed source */
2965
2993
  mastraPath: string;
2966
2994
  };
2967
- type Shared_Type_78 = {
2995
+ type Shared_Type_79 = {
2968
2996
  id: string;
2969
2997
  /** Skill status: draft, published, or archived */
2970
2998
  status: string;
@@ -2988,7 +3016,7 @@ type Shared_Type_78 = {
2988
3016
  /** Compatibility requirements */
2989
3017
  compatibility?: unknown | undefined;
2990
3018
  /** Source location of the skill */
2991
- source?: Shared_Type_77 | undefined;
3019
+ source?: Shared_Type_78 | undefined;
2992
3020
  /** List of reference file paths */
2993
3021
  references?: string[] | undefined;
2994
3022
  /** List of script file paths */
@@ -2996,13 +3024,13 @@ type Shared_Type_78 = {
2996
3024
  /** List of asset file paths */
2997
3025
  assets?: string[] | undefined;
2998
3026
  /** Full file tree structure for the skill */
2999
- files?: Shared_Auxiliary_739[] | undefined;
3027
+ files?: Shared_Auxiliary_745[] | undefined;
3000
3028
  /** Additional metadata for the skill */
3001
3029
  metadata?: {
3002
3030
  [key: string]: unknown;
3003
3031
  } | undefined;
3004
3032
  };
3005
- type Shared_Type_79 = {
3033
+ type Shared_Type_80 = {
3006
3034
  id: string;
3007
3035
  name: string;
3008
3036
  description?: (string | undefined) | null;
@@ -3026,7 +3054,7 @@ type Shared_Type_79 = {
3026
3054
  createdAt: Date;
3027
3055
  updatedAt: Date;
3028
3056
  };
3029
- type Shared_Type_80 = {
3057
+ type Shared_Type_81 = {
3030
3058
  /** Name of the tool this mock applies to */
3031
3059
  toolName: string;
3032
3060
  /** Arguments to match against the tool call */
@@ -3038,13 +3066,13 @@ type Shared_Type_80 = {
3038
3066
  /** Argument matching mode. 'strict' (default) deep-equals args; 'ignore' matches on toolName only */
3039
3067
  matchArgs?: ('strict' | 'ignore') | undefined;
3040
3068
  };
3041
- type Shared_Type_81 = {
3069
+ type Shared_Type_82 = {
3042
3070
  /** How this item was created */
3043
3071
  type: 'csv' | 'json' | 'trace' | 'llm' | 'experiment-result' | 'candidate-screener';
3044
3072
  /** Reference identifier (e.g., trace id, csv filename) */
3045
3073
  referenceId?: string | undefined;
3046
3074
  };
3047
- type Shared_Type_82 = {
3075
+ type Shared_Type_83 = {
3048
3076
  id: string;
3049
3077
  datasetId: string;
3050
3078
  datasetVersion: number;
@@ -3053,7 +3081,7 @@ type Shared_Type_82 = {
3053
3081
  groundTruth?: unknown | undefined;
3054
3082
  expectedTrajectory?: unknown | undefined;
3055
3083
  /** Ordered item-level static tool mocks served in place of executing the real tool */
3056
- toolMocks?: (Shared_Type_80[] | undefined) | null;
3084
+ toolMocks?: (Shared_Type_81[] | undefined) | null;
3057
3085
  /** Policy for undeclared tool calls. 'allow' runs them live; 'deny' fails the experiment item */
3058
3086
  unmockedToolPolicy?: (('allow' | 'deny') | undefined) | null;
3059
3087
  scorerIds?: (string[] | undefined) | null;
@@ -3064,11 +3092,11 @@ type Shared_Type_82 = {
3064
3092
  [key: string]: unknown;
3065
3093
  } | undefined) | null;
3066
3094
  /** Source/provenance of this dataset item */
3067
- source?: (Shared_Type_81 | undefined) | null;
3095
+ source?: (Shared_Type_82 | undefined) | null;
3068
3096
  createdAt: Date;
3069
3097
  updatedAt: Date;
3070
3098
  };
3071
- type Shared_Type_83 = {
3099
+ type Shared_Type_84 = {
3072
3100
  source?: string | undefined;
3073
3101
  sourceId?: string | undefined;
3074
3102
  sourceVersion?: string | undefined;
@@ -3076,7 +3104,7 @@ type Shared_Type_83 = {
3076
3104
  [key: string]: unknown;
3077
3105
  } | undefined;
3078
3106
  };
3079
- type Shared_Type_84 = {
3107
+ type Shared_Type_85 = {
3080
3108
  id: string;
3081
3109
  datasetId: string | null;
3082
3110
  datasetVersion: number | null;
@@ -3089,7 +3117,7 @@ type Shared_Type_84 = {
3089
3117
  metadata?: {
3090
3118
  [key: string]: unknown;
3091
3119
  } | undefined;
3092
- provenance?: (Shared_Type_83 | null) | undefined;
3120
+ provenance?: (Shared_Type_84 | null) | undefined;
3093
3121
  runnerAttestation?: ({
3094
3122
  runnerId: string;
3095
3123
  invocationId: string;
@@ -3109,7 +3137,7 @@ type Shared_Type_84 = {
3109
3137
  createdAt: Date;
3110
3138
  updatedAt: Date;
3111
3139
  };
3112
- type Shared_Type_85 = {
3140
+ type Shared_Type_86 = {
3113
3141
  served: {
3114
3142
  mockIndex: number;
3115
3143
  toolName: string;
@@ -3130,7 +3158,7 @@ type Shared_Type_85 = {
3130
3158
  args: unknown;
3131
3159
  } | undefined;
3132
3160
  };
3133
- type Shared_Type_86 = {
3161
+ type Shared_Type_87 = {
3134
3162
  id: string;
3135
3163
  experimentId: string;
3136
3164
  itemId: string;
@@ -3156,10 +3184,10 @@ type Shared_Type_86 = {
3156
3184
  tags?: (string[] | null) | undefined;
3157
3185
  comment?: (string | null) | undefined;
3158
3186
  /** Diagnostic receipt for item-level tool mocks */
3159
- toolMockReport?: (Shared_Type_85 | undefined) | null;
3187
+ toolMockReport?: (Shared_Type_86 | undefined) | null;
3160
3188
  createdAt: Date;
3161
3189
  };
3162
- type Shared_Type_87 = {
3190
+ type Shared_Type_88 = {
3163
3191
  id: string;
3164
3192
  status: 'pending' | 'running' | 'suspended' | 'completed' | 'failed' | 'cancelled' | 'timed_out';
3165
3193
  toolName: string;
@@ -3184,7 +3212,7 @@ type Shared_Type_87 = {
3184
3212
  timeoutMs: number;
3185
3213
  suspendPayload?: unknown | undefined;
3186
3214
  };
3187
- type Shared_Type_88 = {
3215
+ type Shared_Type_89 = {
3188
3216
  kind: 'custom';
3189
3217
  provider: string;
3190
3218
  modelId?: string | undefined;
@@ -3192,7 +3220,7 @@ type Shared_Type_88 = {
3192
3220
  provider: string;
3193
3221
  modelId?: string | undefined;
3194
3222
  };
3195
- type Shared_Type_89 = {
3223
+ type Shared_Type_90 = {
3196
3224
  kind: 'custom';
3197
3225
  provider: string;
3198
3226
  modelId: string;
@@ -3200,13 +3228,13 @@ type Shared_Type_89 = {
3200
3228
  provider: string;
3201
3229
  modelId: string;
3202
3230
  };
3203
- type Shared_Type_90 = {
3231
+ type Shared_Type_91 = {
3204
3232
  behavior?: ('deliver' | 'persist' | 'discard') | undefined;
3205
3233
  attributes?: {
3206
3234
  [key: string]: (string | number | boolean | null) | undefined;
3207
3235
  } | undefined;
3208
3236
  };
3209
- type Shared_Type_91 = {
3237
+ type Shared_Type_92 = {
3210
3238
  behavior?: ('wake' | 'persist' | 'discard') | undefined;
3211
3239
  attributes?: {
3212
3240
  [key: string]: (string | number | boolean | null) | undefined;
@@ -3217,7 +3245,7 @@ type Shared_Type_91 = {
3217
3245
  } | undefined;
3218
3246
  } | undefined;
3219
3247
  };
3220
- type Shared_Type_92 = {
3248
+ type Shared_Type_93 = {
3221
3249
  id: string;
3222
3250
  agentId: string;
3223
3251
  workflowId?: undefined | undefined;
@@ -3237,8 +3265,8 @@ type Shared_Type_92 = {
3237
3265
  attributes?: {
3238
3266
  [key: string]: (string | number | boolean | null) | undefined;
3239
3267
  } | undefined;
3240
- ifActive?: Shared_Type_90 | undefined;
3241
- ifIdle?: Shared_Type_91 | undefined;
3268
+ ifActive?: Shared_Type_91 | undefined;
3269
+ ifIdle?: Shared_Type_92 | undefined;
3242
3270
  providerOptions?: {
3243
3271
  [key: string]: unknown;
3244
3272
  } | undefined;
@@ -3248,14 +3276,14 @@ type Shared_Type_92 = {
3248
3276
  createdAt: number;
3249
3277
  updatedAt: number;
3250
3278
  };
3251
- type Shared_Type_93 = {
3279
+ type Shared_Type_94 = {
3252
3280
  status: 'running' | 'success' | 'failed' | 'tripwire' | 'suspended' | 'waiting' | 'pending' | 'canceled' | 'bailed' | 'paused' | 'skipped';
3253
3281
  startedAt?: number | undefined;
3254
3282
  completedAt?: number | undefined;
3255
3283
  durationMs?: number | undefined;
3256
3284
  error?: string | undefined;
3257
3285
  };
3258
- type Shared_Type_94 = {
3286
+ type Shared_Type_95 = {
3259
3287
  id: string;
3260
3288
  workflowId: string;
3261
3289
  agentId?: undefined | undefined;
@@ -3265,7 +3293,7 @@ type Shared_Type_94 = {
3265
3293
  nextFireAt: number;
3266
3294
  lastFireAt?: number | undefined;
3267
3295
  lastRunId?: string | undefined;
3268
- lastRun?: Shared_Type_93 | undefined;
3296
+ lastRun?: Shared_Type_94 | undefined;
3269
3297
  inputData?: unknown | undefined;
3270
3298
  initialState?: unknown | undefined;
3271
3299
  requestContext?: {
@@ -7673,32 +7701,23 @@ export type PostObservabilityTracesQuery_Body = {
7673
7701
  page?: {
7674
7702
  limit?: number;
7675
7703
  after?: (string | null) | undefined;
7676
- };
7704
+ } | undefined;
7705
+ /** Pagination options for list queries */
7706
+ pagination?: {
7707
+ /** Zero-indexed page number */
7708
+ page?: number | undefined;
7709
+ /** Number of items per page */
7710
+ perPage?: number | undefined;
7711
+ } | undefined;
7677
7712
  };
7678
7713
  export type PostObservabilityTracesQuery_Response = {
7679
- traces: {
7680
- traceId: string;
7681
- rootSpanId: string;
7682
- name: string;
7683
- entityId: string | null;
7684
- parentSpanId: string | null;
7685
- createdAt: string;
7686
- metadata: {
7687
- [key: string]: unknown;
7688
- } | null;
7689
- inputPreview: string | null;
7690
- threadId: string | null;
7691
- resourceId: string | null;
7692
- startedAt: string;
7693
- endedAt: string;
7694
- entityName: string | null;
7695
- entityType: string | null;
7696
- environment: string | null;
7697
- status: 'success' | 'error';
7698
- }[];
7714
+ traces: Shared_Type_62[];
7699
7715
  page: {
7700
7716
  next: string | null;
7701
7717
  };
7718
+ } | {
7719
+ traces: Shared_Type_62[];
7720
+ pagination: Shared_Type_55;
7702
7721
  } | {
7703
7722
  groups: {
7704
7723
  threadId: string;
@@ -7767,6 +7786,86 @@ export interface PostObservabilityThreadsQuery_RouteContract {
7767
7786
  response: PostObservabilityThreadsQuery_Response;
7768
7787
  responseType: 'json';
7769
7788
  }
7789
+ export type PostObservabilityTracesQueryFields_Body = {
7790
+ timeRange: {
7791
+ from: string;
7792
+ to: string;
7793
+ };
7794
+ predicateScope: 'trace' | 'spans' | 'scores' | 'feedback';
7795
+ search?: string | undefined;
7796
+ limit?: number;
7797
+ };
7798
+ export type PostObservabilityTracesQueryFields_Response = {
7799
+ canonicalFields: {
7800
+ path: string;
7801
+ valueKind: 'string' | 'number' | 'stringOrNumber' | 'timestamp' | 'presence';
7802
+ operators: ('eq' | 'ne' | 'lt' | 'lte' | 'gt' | 'gte' | 'in' | 'notIn' | 'exists' | 'notExists')[];
7803
+ valueSuggestions: boolean;
7804
+ }[];
7805
+ observedFields: {
7806
+ path: string;
7807
+ valueKind: 'string';
7808
+ operators: ('eq' | 'ne' | 'in' | 'notIn' | 'exists' | 'notExists')[];
7809
+ valueSuggestions: true;
7810
+ occurrences: number;
7811
+ }[];
7812
+ observedFieldsTruncated: boolean;
7813
+ };
7814
+ export type PostObservabilityTracesQueryFields_Request = Simplify<(never extends never ? {} : {
7815
+ params: never;
7816
+ }) & (never extends never ? {} : {} extends never ? {
7817
+ query?: never;
7818
+ } : {
7819
+ query: never;
7820
+ }) & (PostObservabilityTracesQueryFields_Body extends never ? {} : {} extends PostObservabilityTracesQueryFields_Body ? {
7821
+ body?: PostObservabilityTracesQueryFields_Body;
7822
+ } : {
7823
+ body: PostObservabilityTracesQueryFields_Body;
7824
+ })>;
7825
+ export interface PostObservabilityTracesQueryFields_RouteContract {
7826
+ pathParams: never;
7827
+ queryParams: never;
7828
+ body: PostObservabilityTracesQueryFields_Body;
7829
+ request: PostObservabilityTracesQueryFields_Request;
7830
+ response: PostObservabilityTracesQueryFields_Response;
7831
+ responseType: 'json';
7832
+ }
7833
+ export type PostObservabilityTracesQueryValues_Body = {
7834
+ timeRange: {
7835
+ from: string;
7836
+ to: string;
7837
+ };
7838
+ predicateScope: 'trace' | 'spans' | 'scores' | 'feedback';
7839
+ path: string;
7840
+ search?: string | undefined;
7841
+ limit?: number;
7842
+ };
7843
+ export type PostObservabilityTracesQueryValues_Response = {
7844
+ values: {
7845
+ value: string;
7846
+ count: number;
7847
+ }[];
7848
+ valuesTruncated: boolean;
7849
+ };
7850
+ export type PostObservabilityTracesQueryValues_Request = Simplify<(never extends never ? {} : {
7851
+ params: never;
7852
+ }) & (never extends never ? {} : {} extends never ? {
7853
+ query?: never;
7854
+ } : {
7855
+ query: never;
7856
+ }) & (PostObservabilityTracesQueryValues_Body extends never ? {} : {} extends PostObservabilityTracesQueryValues_Body ? {
7857
+ body?: PostObservabilityTracesQueryValues_Body;
7858
+ } : {
7859
+ body: PostObservabilityTracesQueryValues_Body;
7860
+ })>;
7861
+ export interface PostObservabilityTracesQueryValues_RouteContract {
7862
+ pathParams: never;
7863
+ queryParams: never;
7864
+ body: PostObservabilityTracesQueryValues_Body;
7865
+ request: PostObservabilityTracesQueryValues_Request;
7866
+ response: PostObservabilityTracesQueryValues_Response;
7867
+ responseType: 'json';
7868
+ }
7770
7869
  export type GetObservabilityMetrics_QueryParams = {
7771
7870
  timestamp?: ((InputShared_Type_13 | undefined) | undefined) | string;
7772
7871
  /** Filter by trace ID */
@@ -8064,7 +8163,7 @@ export type GetObservabilityScores_Response = {
8064
8163
  delta?: Shared_Type_56 | undefined;
8065
8164
  /** Opaque cursor value for incremental polling */
8066
8165
  deltaCursor?: string | undefined;
8067
- scores: Shared_Type_62[];
8166
+ scores: Shared_Type_63[];
8068
8167
  };
8069
8168
  export type GetObservabilityScores_Request = Simplify<(never extends never ? {} : {
8070
8169
  params: never;
@@ -8190,7 +8289,7 @@ export type GetObservabilityScoresScoreId_PathParams = {
8190
8289
  };
8191
8290
  export type GetObservabilityScoresScoreId_Response = {
8192
8291
  /** Score record as stored in the database */
8193
- score: Shared_Type_62 | null;
8292
+ score: Shared_Type_63 | null;
8194
8293
  };
8195
8294
  export type GetObservabilityScoresScoreId_Request = Simplify<(GetObservabilityScoresScoreId_PathParams extends never ? {} : {
8196
8295
  params: GetObservabilityScoresScoreId_PathParams;
@@ -10801,7 +10900,7 @@ export type GetMcpServerIdTools_PathParams = {
10801
10900
  serverId: string;
10802
10901
  };
10803
10902
  export type GetMcpServerIdTools_Response = {
10804
- tools: Shared_Type_63[];
10903
+ tools: Shared_Type_64[];
10805
10904
  };
10806
10905
  export type GetMcpServerIdTools_Request = Simplify<(GetMcpServerIdTools_PathParams extends never ? {} : {
10807
10906
  params: GetMcpServerIdTools_PathParams;
@@ -10828,7 +10927,7 @@ export type GetMcpServerIdToolsToolId_PathParams = {
10828
10927
  /** Tool ID */
10829
10928
  toolId: string;
10830
10929
  };
10831
- export type GetMcpServerIdToolsToolId_Response = Shared_Type_63;
10930
+ export type GetMcpServerIdToolsToolId_Response = Shared_Type_64;
10832
10931
  export type GetMcpServerIdToolsToolId_Request = Simplify<(GetMcpServerIdToolsToolId_PathParams extends never ? {} : {
10833
10932
  params: GetMcpServerIdToolsToolId_PathParams;
10834
10933
  }) & (never extends never ? {} : {} extends never ? {
@@ -11571,7 +11670,7 @@ export type GetStoredAgentsAgentIdVersions_Response = {
11571
11670
  page: number;
11572
11671
  perPage: number | false;
11573
11672
  hasMore: boolean;
11574
- versions: Shared_Type_64[];
11673
+ versions: Shared_Type_65[];
11575
11674
  };
11576
11675
  export type GetStoredAgentsAgentIdVersions_Request = Simplify<(GetStoredAgentsAgentIdVersions_PathParams extends never ? {} : {
11577
11676
  params: GetStoredAgentsAgentIdVersions_PathParams;
@@ -11717,7 +11816,7 @@ export type GetStoredAgentsAgentIdVersionsCompare_QueryParams = {
11717
11816
  };
11718
11817
  export type GetStoredAgentsAgentIdVersionsCompare_Response = {
11719
11818
  /** List of differences between versions */
11720
- diffs: Shared_Type_65[];
11819
+ diffs: Shared_Type_66[];
11721
11820
  /** The source version */
11722
11821
  fromVersion: {
11723
11822
  /** Unique identifier for the version (UUID) */
@@ -11930,7 +12029,7 @@ export type GetStoredAgentsAgentIdVersionsVersionId_PathParams = {
11930
12029
  /** Unique identifier for the version (UUID) */
11931
12030
  versionId: string;
11932
12031
  };
11933
- export type GetStoredAgentsAgentIdVersionsVersionId_Response = Shared_Type_64;
12032
+ export type GetStoredAgentsAgentIdVersionsVersionId_Response = Shared_Type_65;
11934
12033
  export type GetStoredAgentsAgentIdVersionsVersionId_Request = Simplify<(GetStoredAgentsAgentIdVersionsVersionId_PathParams extends never ? {} : {
11935
12034
  params: GetStoredAgentsAgentIdVersionsVersionId_PathParams;
11936
12035
  }) & (never extends never ? {} : {} extends never ? {
@@ -12162,7 +12261,7 @@ export type GetStoredWorkflows_QueryParams = {
12162
12261
  authorId?: string | undefined;
12163
12262
  };
12164
12263
  export type GetStoredWorkflows_Response = {
12165
- workflows: Shared_Type_66[];
12264
+ workflows: Shared_Type_67[];
12166
12265
  total: number;
12167
12266
  };
12168
12267
  export type GetStoredWorkflows_Request = Simplify<(never extends never ? {} : {
@@ -12262,7 +12361,7 @@ export type GetStoredWorkflowsDynamicWorkflowId_PathParams = {
12262
12361
  /** Unique identifier for the dynamic workflow definition */
12263
12362
  dynamicWorkflowId: string;
12264
12363
  };
12265
- export type GetStoredWorkflowsDynamicWorkflowId_Response = Shared_Type_66;
12364
+ export type GetStoredWorkflowsDynamicWorkflowId_Response = Shared_Type_67;
12266
12365
  export type GetStoredWorkflowsDynamicWorkflowId_Request = Simplify<(GetStoredWorkflowsDynamicWorkflowId_PathParams extends never ? {} : {
12267
12366
  params: GetStoredWorkflowsDynamicWorkflowId_PathParams;
12268
12367
  }) & (never extends never ? {} : {} extends never ? {
@@ -12327,7 +12426,7 @@ export type GetStoredMcpClients_Response = {
12327
12426
  page: number;
12328
12427
  perPage: number | false;
12329
12428
  hasMore: boolean;
12330
- mcpClients: Shared_Type_68[];
12429
+ mcpClients: Shared_Type_69[];
12331
12430
  };
12332
12431
  export type GetStoredMcpClients_Request = Simplify<(never extends never ? {} : {
12333
12432
  params: never;
@@ -12353,7 +12452,7 @@ export type GetStoredMcpClientsStoredMCPClientId_PathParams = {
12353
12452
  storedMCPClientId: string;
12354
12453
  };
12355
12454
  export type GetStoredMcpClientsStoredMCPClientId_QueryParams = GetStoredAgentsStoredAgentId_QueryParams;
12356
- export type GetStoredMcpClientsStoredMCPClientId_Response = Shared_Type_68;
12455
+ export type GetStoredMcpClientsStoredMCPClientId_Response = Shared_Type_69;
12357
12456
  export type GetStoredMcpClientsStoredMCPClientId_Request = Simplify<(GetStoredMcpClientsStoredMCPClientId_PathParams extends never ? {} : {
12358
12457
  params: GetStoredMcpClientsStoredMCPClientId_PathParams;
12359
12458
  }) & (GetStoredMcpClientsStoredMCPClientId_QueryParams extends never ? {} : {} extends GetStoredMcpClientsStoredMCPClientId_QueryParams ? {
@@ -12436,7 +12535,7 @@ export type PatchStoredMcpClientsStoredMCPClientId_Response = {
12436
12535
  } | undefined;
12437
12536
  createdAt: Date;
12438
12537
  updatedAt: Date;
12439
- } | Shared_Type_68;
12538
+ } | Shared_Type_69;
12440
12539
  export type PatchStoredMcpClientsStoredMCPClientId_Request = Simplify<(PatchStoredMcpClientsStoredMCPClientId_PathParams extends never ? {} : {
12441
12540
  params: PatchStoredMcpClientsStoredMCPClientId_PathParams;
12442
12541
  }) & (never extends never ? {} : {} extends never ? {
@@ -12487,7 +12586,7 @@ export type GetStoredMcpClientsMcpClientIdVersions_Response = {
12487
12586
  page: number;
12488
12587
  perPage: number | false;
12489
12588
  hasMore: boolean;
12490
- versions: Shared_Type_70[];
12589
+ versions: Shared_Type_71[];
12491
12590
  };
12492
12591
  export type GetStoredMcpClientsMcpClientIdVersions_Request = Simplify<(GetStoredMcpClientsMcpClientIdVersions_PathParams extends never ? {} : {
12493
12592
  params: GetStoredMcpClientsMcpClientIdVersions_PathParams;
@@ -12519,7 +12618,7 @@ export type PostStoredMcpClientsMcpClientIdVersions_Response = {
12519
12618
  /** Description of the MCP client */
12520
12619
  description?: (string | undefined) | undefined;
12521
12620
  servers?: {
12522
- [key: string]: Shared_Type_69;
12621
+ [key: string]: Shared_Type_70;
12523
12622
  } | undefined;
12524
12623
  /** Array of field names that changed from the previous version */
12525
12624
  changedFields?: (string[] | undefined) | undefined;
@@ -12550,7 +12649,7 @@ export type GetStoredMcpClientsMcpClientIdVersionsCompare_PathParams = GetStored
12550
12649
  export type GetStoredMcpClientsMcpClientIdVersionsCompare_QueryParams = GetStoredAgentsAgentIdVersionsCompare_QueryParams;
12551
12650
  export type GetStoredMcpClientsMcpClientIdVersionsCompare_Response = {
12552
12651
  /** List of differences between versions */
12553
- diffs: Shared_Type_65[];
12652
+ diffs: Shared_Type_66[];
12554
12653
  /** The source version */
12555
12654
  fromVersion: {
12556
12655
  /** Unique identifier for the version (UUID) */
@@ -12564,7 +12663,7 @@ export type GetStoredMcpClientsMcpClientIdVersionsCompare_Response = {
12564
12663
  /** Description of the MCP client */
12565
12664
  description?: string | undefined;
12566
12665
  servers: {
12567
- [key: string]: Shared_Type_69;
12666
+ [key: string]: Shared_Type_70;
12568
12667
  };
12569
12668
  /** Array of field names that changed from the previous version */
12570
12669
  changedFields?: string[] | undefined;
@@ -12586,7 +12685,7 @@ export type GetStoredMcpClientsMcpClientIdVersionsCompare_Response = {
12586
12685
  /** Description of the MCP client */
12587
12686
  description?: string | undefined;
12588
12687
  servers: {
12589
- [key: string]: Shared_Type_69;
12688
+ [key: string]: Shared_Type_70;
12590
12689
  };
12591
12690
  /** Array of field names that changed from the previous version */
12592
12691
  changedFields?: string[] | undefined;
@@ -12621,7 +12720,7 @@ export type GetStoredMcpClientsMcpClientIdVersionsVersionId_PathParams = {
12621
12720
  /** Unique identifier for the version (UUID) */
12622
12721
  versionId: string;
12623
12722
  };
12624
- export type GetStoredMcpClientsMcpClientIdVersionsVersionId_Response = Shared_Type_70;
12723
+ export type GetStoredMcpClientsMcpClientIdVersionsVersionId_Response = Shared_Type_71;
12625
12724
  export type GetStoredMcpClientsMcpClientIdVersionsVersionId_Request = Simplify<(GetStoredMcpClientsMcpClientIdVersionsVersionId_PathParams extends never ? {} : {
12626
12725
  params: GetStoredMcpClientsMcpClientIdVersionsVersionId_PathParams;
12627
12726
  }) & (never extends never ? {} : {} extends never ? {
@@ -12725,7 +12824,7 @@ export type GetStoredPromptBlocks_Response = {
12725
12824
  page: number;
12726
12825
  perPage: number | false;
12727
12826
  hasMore: boolean;
12728
- promptBlocks: Shared_Type_71[];
12827
+ promptBlocks: Shared_Type_72[];
12729
12828
  };
12730
12829
  export type GetStoredPromptBlocks_Request = Simplify<(never extends never ? {} : {
12731
12830
  params: never;
@@ -12751,7 +12850,7 @@ export type GetStoredPromptBlocksStoredPromptBlockId_PathParams = {
12751
12850
  storedPromptBlockId: string;
12752
12851
  };
12753
12852
  export type GetStoredPromptBlocksStoredPromptBlockId_QueryParams = GetStoredAgentsStoredAgentId_QueryParams;
12754
- export type GetStoredPromptBlocksStoredPromptBlockId_Response = Shared_Type_71;
12853
+ export type GetStoredPromptBlocksStoredPromptBlockId_Response = Shared_Type_72;
12755
12854
  export type GetStoredPromptBlocksStoredPromptBlockId_Request = Simplify<(GetStoredPromptBlocksStoredPromptBlockId_PathParams extends never ? {} : {
12756
12855
  params: GetStoredPromptBlocksStoredPromptBlockId_PathParams;
12757
12856
  }) & (GetStoredPromptBlocksStoredPromptBlockId_QueryParams extends never ? {} : {} extends GetStoredPromptBlocksStoredPromptBlockId_QueryParams ? {
@@ -12848,7 +12947,7 @@ export type PatchStoredPromptBlocksStoredPromptBlockId_Response = {
12848
12947
  } | undefined;
12849
12948
  createdAt: Date;
12850
12949
  updatedAt: Date;
12851
- } | Shared_Type_71;
12950
+ } | Shared_Type_72;
12852
12951
  export type PatchStoredPromptBlocksStoredPromptBlockId_Request = Simplify<(PatchStoredPromptBlocksStoredPromptBlockId_PathParams extends never ? {} : {
12853
12952
  params: PatchStoredPromptBlocksStoredPromptBlockId_PathParams;
12854
12953
  }) & (never extends never ? {} : {} extends never ? {
@@ -12899,7 +12998,7 @@ export type GetStoredPromptBlocksPromptBlockIdVersions_Response = {
12899
12998
  page: number;
12900
12999
  perPage: number | false;
12901
13000
  hasMore: boolean;
12902
- versions: Shared_Type_72[];
13001
+ versions: Shared_Type_73[];
12903
13002
  };
12904
13003
  export type GetStoredPromptBlocksPromptBlockIdVersions_Request = Simplify<(GetStoredPromptBlocksPromptBlockIdVersions_PathParams extends never ? {} : {
12905
13004
  params: GetStoredPromptBlocksPromptBlockIdVersions_PathParams;
@@ -12967,7 +13066,7 @@ export type GetStoredPromptBlocksPromptBlockIdVersionsCompare_PathParams = GetSt
12967
13066
  export type GetStoredPromptBlocksPromptBlockIdVersionsCompare_QueryParams = GetStoredAgentsAgentIdVersionsCompare_QueryParams;
12968
13067
  export type GetStoredPromptBlocksPromptBlockIdVersionsCompare_Response = {
12969
13068
  /** List of differences between versions */
12970
- diffs: Shared_Type_65[];
13069
+ diffs: Shared_Type_66[];
12971
13070
  /** The source version */
12972
13071
  fromVersion: {
12973
13072
  /** Unique identifier for the version (UUID) */
@@ -13048,7 +13147,7 @@ export type GetStoredPromptBlocksPromptBlockIdVersionsVersionId_PathParams = {
13048
13147
  /** Unique identifier for the version (UUID) */
13049
13148
  versionId: string;
13050
13149
  };
13051
- export type GetStoredPromptBlocksPromptBlockIdVersionsVersionId_Response = Shared_Type_72;
13150
+ export type GetStoredPromptBlocksPromptBlockIdVersionsVersionId_Response = Shared_Type_73;
13052
13151
  export type GetStoredPromptBlocksPromptBlockIdVersionsVersionId_Request = Simplify<(GetStoredPromptBlocksPromptBlockIdVersionsVersionId_PathParams extends never ? {} : {
13053
13152
  params: GetStoredPromptBlocksPromptBlockIdVersionsVersionId_PathParams;
13054
13153
  }) & (never extends never ? {} : {} extends never ? {
@@ -13152,7 +13251,7 @@ export type GetStoredScorers_Response = {
13152
13251
  page: number;
13153
13252
  perPage: number | false;
13154
13253
  hasMore: boolean;
13155
- scorerDefinitions: Shared_Type_74[];
13254
+ scorerDefinitions: Shared_Type_75[];
13156
13255
  };
13157
13256
  export type GetStoredScorers_Request = Simplify<(never extends never ? {} : {
13158
13257
  params: never;
@@ -13178,7 +13277,7 @@ export type GetStoredScorersStoredScorerId_PathParams = {
13178
13277
  storedScorerId: string;
13179
13278
  };
13180
13279
  export type GetStoredScorersStoredScorerId_QueryParams = GetStoredAgentsStoredAgentId_QueryParams;
13181
- export type GetStoredScorersStoredScorerId_Response = Shared_Type_74;
13280
+ export type GetStoredScorersStoredScorerId_Response = Shared_Type_75;
13182
13281
  export type GetStoredScorersStoredScorerId_Request = Simplify<(GetStoredScorersStoredScorerId_PathParams extends never ? {} : {
13183
13282
  params: GetStoredScorersStoredScorerId_PathParams;
13184
13283
  }) & (GetStoredScorersStoredScorerId_QueryParams extends never ? {} : {} extends GetStoredScorersStoredScorerId_QueryParams ? {
@@ -13291,7 +13390,7 @@ export type PatchStoredScorersStoredScorerId_Response = {
13291
13390
  } | undefined;
13292
13391
  createdAt: Date;
13293
13392
  updatedAt: Date;
13294
- } | Shared_Type_74;
13393
+ } | Shared_Type_75;
13295
13394
  export type PatchStoredScorersStoredScorerId_Request = Simplify<(PatchStoredScorersStoredScorerId_PathParams extends never ? {} : {
13296
13395
  params: PatchStoredScorersStoredScorerId_PathParams;
13297
13396
  }) & (never extends never ? {} : {} extends never ? {
@@ -13342,7 +13441,7 @@ export type GetStoredScorersScorerIdVersions_Response = {
13342
13441
  page: number;
13343
13442
  perPage: number | false;
13344
13443
  hasMore: boolean;
13345
- versions: Shared_Type_75[];
13444
+ versions: Shared_Type_76[];
13346
13445
  };
13347
13446
  export type GetStoredScorersScorerIdVersions_Request = Simplify<(GetStoredScorersScorerIdVersions_PathParams extends never ? {} : {
13348
13447
  params: GetStoredScorersScorerIdVersions_PathParams;
@@ -13373,7 +13472,7 @@ export type PostStoredScorersScorerIdVersions_Response = {
13373
13472
  name?: string | undefined;
13374
13473
  /** Description of the scorer */
13375
13474
  description?: (string | undefined) | undefined;
13376
- type?: Shared_Type_73 | undefined;
13475
+ type?: Shared_Type_74 | undefined;
13377
13476
  model?: (Shared_Type_12 | undefined) | undefined;
13378
13477
  instructions?: (string | undefined) | undefined;
13379
13478
  scoreRange?: ({
@@ -13418,7 +13517,7 @@ export type GetStoredScorersScorerIdVersionsCompare_PathParams = GetStoredScorer
13418
13517
  export type GetStoredScorersScorerIdVersionsCompare_QueryParams = GetStoredAgentsAgentIdVersionsCompare_QueryParams;
13419
13518
  export type GetStoredScorersScorerIdVersionsCompare_Response = {
13420
13519
  /** List of differences between versions */
13421
- diffs: Shared_Type_65[];
13520
+ diffs: Shared_Type_66[];
13422
13521
  /** The source version */
13423
13522
  fromVersion: {
13424
13523
  /** Unique identifier for the version (UUID) */
@@ -13431,7 +13530,7 @@ export type GetStoredScorersScorerIdVersionsCompare_Response = {
13431
13530
  name: string;
13432
13531
  /** Description of the scorer */
13433
13532
  description?: string | undefined;
13434
- type: Shared_Type_73;
13533
+ type: Shared_Type_74;
13435
13534
  model?: Shared_Type_12 | undefined;
13436
13535
  instructions?: string | undefined;
13437
13536
  scoreRange?: {
@@ -13466,7 +13565,7 @@ export type GetStoredScorersScorerIdVersionsCompare_Response = {
13466
13565
  name: string;
13467
13566
  /** Description of the scorer */
13468
13567
  description?: string | undefined;
13469
- type: Shared_Type_73;
13568
+ type: Shared_Type_74;
13470
13569
  model?: Shared_Type_12 | undefined;
13471
13570
  instructions?: string | undefined;
13472
13571
  scoreRange?: {
@@ -13515,7 +13614,7 @@ export type GetStoredScorersScorerIdVersionsVersionId_PathParams = {
13515
13614
  /** Unique identifier for the version (UUID) */
13516
13615
  versionId: string;
13517
13616
  };
13518
- export type GetStoredScorersScorerIdVersionsVersionId_Response = Shared_Type_75;
13617
+ export type GetStoredScorersScorerIdVersionsVersionId_Response = Shared_Type_76;
13519
13618
  export type GetStoredScorersScorerIdVersionsVersionId_Request = Simplify<(GetStoredScorersScorerIdVersionsVersionId_PathParams extends never ? {} : {
13520
13619
  params: GetStoredScorersScorerIdVersionsVersionId_PathParams;
13521
13620
  }) & (never extends never ? {} : {} extends never ? {
@@ -13675,7 +13774,7 @@ export type GetStoredWorkspacesStoredWorkspaceId_PathParams = {
13675
13774
  /** Unique identifier for the stored workspace */
13676
13775
  storedWorkspaceId: string;
13677
13776
  };
13678
- export type GetStoredWorkspacesStoredWorkspaceId_Response = Shared_Type_76;
13777
+ export type GetStoredWorkspacesStoredWorkspaceId_Response = Shared_Type_77;
13679
13778
  export type GetStoredWorkspacesStoredWorkspaceId_Request = Simplify<(GetStoredWorkspacesStoredWorkspaceId_PathParams extends never ? {} : {
13680
13779
  params: GetStoredWorkspacesStoredWorkspaceId_PathParams;
13681
13780
  }) & (never extends never ? {} : {} extends never ? {
@@ -13781,7 +13880,7 @@ export type PatchStoredWorkspacesStoredWorkspaceId_Response = {
13781
13880
  } | undefined;
13782
13881
  createdAt: Date;
13783
13882
  updatedAt: Date;
13784
- } | Shared_Type_76;
13883
+ } | Shared_Type_77;
13785
13884
  export type PatchStoredWorkspacesStoredWorkspaceId_Request = Simplify<(PatchStoredWorkspacesStoredWorkspaceId_PathParams extends never ? {} : {
13786
13885
  params: PatchStoredWorkspacesStoredWorkspaceId_PathParams;
13787
13886
  }) & (never extends never ? {} : {} extends never ? {
@@ -13849,7 +13948,7 @@ export type GetStoredSkills_Response = {
13849
13948
  page: number;
13850
13949
  perPage: number | false;
13851
13950
  hasMore: boolean;
13852
- skills: Shared_Type_78[];
13951
+ skills: Shared_Type_79[];
13853
13952
  };
13854
13953
  export type GetStoredSkills_Request = Simplify<(never extends never ? {} : {
13855
13954
  params: never;
@@ -13874,7 +13973,7 @@ export type GetStoredSkillsStoredSkillId_PathParams = {
13874
13973
  /** Unique identifier for the stored skill */
13875
13974
  storedSkillId: string;
13876
13975
  };
13877
- export type GetStoredSkillsStoredSkillId_Response = Shared_Type_78;
13976
+ export type GetStoredSkillsStoredSkillId_Response = Shared_Type_79;
13878
13977
  export type GetStoredSkillsStoredSkillId_Request = Simplify<(GetStoredSkillsStoredSkillId_PathParams extends never ? {} : {
13879
13978
  params: GetStoredSkillsStoredSkillId_PathParams;
13880
13979
  }) & (never extends never ? {} : {} extends never ? {
@@ -13920,7 +14019,7 @@ export type PostStoredSkills_Body = {
13920
14019
  /** List of asset file paths */
13921
14020
  assets?: string[] | undefined;
13922
14021
  /** Full file tree structure for the skill */
13923
- files?: InputShared_Auxiliary_731[] | undefined;
14022
+ files?: InputShared_Auxiliary_736[] | undefined;
13924
14023
  /** Additional metadata for the skill */
13925
14024
  metadata?: {
13926
14025
  [key: string]: unknown;
@@ -13970,7 +14069,7 @@ export type PatchStoredSkillsStoredSkillId_Body = {
13970
14069
  /** List of asset file paths */
13971
14070
  assets?: (string[] | undefined) | undefined;
13972
14071
  /** Full file tree structure for the skill */
13973
- files?: (InputShared_Auxiliary_731[] | undefined) | undefined;
14072
+ files?: (InputShared_Auxiliary_736[] | undefined) | undefined;
13974
14073
  /** Additional metadata for the skill */
13975
14074
  metadata?: ({
13976
14075
  [key: string]: unknown;
@@ -13984,7 +14083,7 @@ export type PatchStoredSkillsStoredSkillId_Response = {
13984
14083
  visibility?: ('private' | 'public') | undefined;
13985
14084
  createdAt: Date;
13986
14085
  updatedAt: Date;
13987
- } | Shared_Type_78;
14086
+ } | Shared_Type_79;
13988
14087
  export type PatchStoredSkillsStoredSkillId_Request = Simplify<(PatchStoredSkillsStoredSkillId_PathParams extends never ? {} : {
13989
14088
  params: PatchStoredSkillsStoredSkillId_PathParams;
13990
14089
  }) & (never extends never ? {} : {} extends never ? {
@@ -14628,6 +14727,7 @@ export type GetSystemPackages_Response = {
14628
14727
  observabilityStorageCapabilities?: {
14629
14728
  metrics: boolean;
14630
14729
  logs: boolean;
14730
+ traceQueryDiscovery: boolean;
14631
14731
  } | undefined;
14632
14732
  observabilityRuntimeStrategy?: ('realtime' | 'batch-with-updates' | 'insert-only' | 'event-sourced') | undefined;
14633
14733
  };
@@ -14703,7 +14803,7 @@ export type GetDatasets_QueryParams = {
14703
14803
  targetIds?: string[] | undefined;
14704
14804
  };
14705
14805
  export type GetDatasets_Response = {
14706
- datasets: Shared_Type_79[];
14806
+ datasets: Shared_Type_80[];
14707
14807
  pagination: {
14708
14808
  total: number;
14709
14809
  page: number;
@@ -14758,7 +14858,7 @@ export type PostDatasets_Body = {
14758
14858
  /** IDs of scorers attached to this dataset */
14759
14859
  scorerIds?: string[] | undefined;
14760
14860
  };
14761
- export type PostDatasets_Response = Shared_Type_79;
14861
+ export type PostDatasets_Response = Shared_Type_80;
14762
14862
  export type PostDatasets_Request = Simplify<(never extends never ? {} : {
14763
14863
  params: never;
14764
14864
  }) & (never extends never ? {} : {} extends never ? {
@@ -14788,7 +14888,7 @@ export type GetDatasetsDatasetId_QueryParams = {
14788
14888
  /** Restrict lookup to the given project */
14789
14889
  projectId?: string | undefined;
14790
14890
  };
14791
- export type GetDatasetsDatasetId_Response = Shared_Type_79 | null;
14891
+ export type GetDatasetsDatasetId_Response = Shared_Type_80 | null;
14792
14892
  export type GetDatasetsDatasetId_Request = Simplify<(GetDatasetsDatasetId_PathParams extends never ? {} : {
14793
14893
  params: GetDatasetsDatasetId_PathParams;
14794
14894
  }) & (GetDatasetsDatasetId_QueryParams extends never ? {} : {} extends GetDatasetsDatasetId_QueryParams ? {
@@ -14890,7 +14990,7 @@ export type GetDatasetsDatasetIdItems_QueryParams = {
14890
14990
  search?: string | undefined;
14891
14991
  };
14892
14992
  export type GetDatasetsDatasetIdItems_Response = {
14893
- items: Shared_Type_82[];
14993
+ items: Shared_Type_83[];
14894
14994
  pagination: {
14895
14995
  total: number;
14896
14996
  page: number;
@@ -14944,7 +15044,7 @@ export type PostDatasetsDatasetIdItems_Body = {
14944
15044
  /** Source/provenance of this dataset item */
14945
15045
  source?: InputShared_Type_109 | undefined;
14946
15046
  };
14947
- export type PostDatasetsDatasetIdItems_Response = Shared_Type_82;
15047
+ export type PostDatasetsDatasetIdItems_Response = Shared_Type_83;
14948
15048
  export type PostDatasetsDatasetIdItems_Request = Simplify<(PostDatasetsDatasetIdItems_PathParams extends never ? {} : {
14949
15049
  params: PostDatasetsDatasetIdItems_PathParams;
14950
15050
  }) & (never extends never ? {} : {} extends never ? {
@@ -14988,7 +15088,7 @@ export type PostDatasetsDatasetIdItemsBatch_Body = {
14988
15088
  }[];
14989
15089
  };
14990
15090
  export type PostDatasetsDatasetIdItemsBatch_Response = {
14991
- items: Shared_Type_82[];
15091
+ items: Shared_Type_83[];
14992
15092
  count: number;
14993
15093
  };
14994
15094
  export type PostDatasetsDatasetIdItemsBatch_Request = Simplify<(PostDatasetsDatasetIdItemsBatch_PathParams extends never ? {} : {
@@ -15196,7 +15296,7 @@ export type GetDatasetsDatasetIdItemsItemIdHistory_Response = {
15196
15296
  groundTruth?: unknown | undefined;
15197
15297
  expectedTrajectory?: unknown | undefined;
15198
15298
  /** Ordered item-level static tool mocks served in place of executing the real tool */
15199
- toolMocks?: (Shared_Type_80[] | undefined) | null;
15299
+ toolMocks?: (Shared_Type_81[] | undefined) | null;
15200
15300
  /** Policy for undeclared tool calls. 'allow' runs them live; 'deny' fails the experiment item */
15201
15301
  unmockedToolPolicy?: (('allow' | 'deny') | undefined) | null;
15202
15302
  scorerIds?: (string[] | undefined) | null;
@@ -15272,7 +15372,7 @@ export type GetExperiments_QueryParams = {
15272
15372
  targetId?: string | undefined;
15273
15373
  };
15274
15374
  export type GetExperiments_Response = {
15275
- experiments: Shared_Type_84[];
15375
+ experiments: Shared_Type_85[];
15276
15376
  pagination: {
15277
15377
  total: number;
15278
15378
  page: number;
@@ -15456,7 +15556,7 @@ export type PostDatasetsDatasetIdExperiments_Response = {
15456
15556
  completedAt: Date;
15457
15557
  retryCount: number;
15458
15558
  /** Diagnostic receipt for item-level tool mocks */
15459
- toolMockReport?: (Shared_Type_85 | undefined) | null;
15559
+ toolMockReport?: (Shared_Type_86 | undefined) | null;
15460
15560
  scores: {
15461
15561
  scorerId: string;
15462
15562
  scorerName: string;
@@ -15502,7 +15602,7 @@ export type PostDatasetsDatasetIdExperimentsExperimentIdItemsItemIdRun_Body = {
15502
15602
  } | undefined;
15503
15603
  };
15504
15604
  export type PostDatasetsDatasetIdExperimentsExperimentIdItemsItemIdRun_Response = {
15505
- result: Shared_Type_86;
15605
+ result: Shared_Type_87;
15506
15606
  scores: {
15507
15607
  scorerId: string;
15508
15608
  scorerName: string;
@@ -15571,7 +15671,7 @@ export type PostDatasetsDatasetIdExperimentsExperimentIdResults_Body = {
15571
15671
  } | undefined;
15572
15672
  }[] | undefined;
15573
15673
  };
15574
- export type PostDatasetsDatasetIdExperimentsExperimentIdResults_Response = Shared_Type_86;
15674
+ export type PostDatasetsDatasetIdExperimentsExperimentIdResults_Response = Shared_Type_87;
15575
15675
  export type PostDatasetsDatasetIdExperimentsExperimentIdResults_Request = Simplify<(PostDatasetsDatasetIdExperimentsExperimentIdResults_PathParams extends never ? {} : {
15576
15676
  params: PostDatasetsDatasetIdExperimentsExperimentIdResults_PathParams;
15577
15677
  }) & (never extends never ? {} : {} extends never ? {
@@ -15592,7 +15692,7 @@ export interface PostDatasetsDatasetIdExperimentsExperimentIdResults_RouteContra
15592
15692
  responseType: 'json';
15593
15693
  }
15594
15694
  export type PostDatasetsDatasetIdExperimentsExperimentIdFinalize_PathParams = PostDatasetsDatasetIdExperimentsExperimentIdResults_PathParams;
15595
- export type PostDatasetsDatasetIdExperimentsExperimentIdFinalize_Response = Shared_Type_84;
15695
+ export type PostDatasetsDatasetIdExperimentsExperimentIdFinalize_Response = Shared_Type_85;
15596
15696
  export type PostDatasetsDatasetIdExperimentsExperimentIdFinalize_Request = Simplify<(PostDatasetsDatasetIdExperimentsExperimentIdFinalize_PathParams extends never ? {} : {
15597
15697
  params: PostDatasetsDatasetIdExperimentsExperimentIdFinalize_PathParams;
15598
15698
  }) & (never extends never ? {} : {} extends never ? {
@@ -15613,7 +15713,7 @@ export interface PostDatasetsDatasetIdExperimentsExperimentIdFinalize_RouteContr
15613
15713
  responseType: 'json';
15614
15714
  }
15615
15715
  export type GetDatasetsDatasetIdExperimentsExperimentId_PathParams = PostDatasetsDatasetIdExperimentsExperimentIdResults_PathParams;
15616
- export type GetDatasetsDatasetIdExperimentsExperimentId_Response = Shared_Type_84 | null;
15716
+ export type GetDatasetsDatasetIdExperimentsExperimentId_Response = Shared_Type_85 | null;
15617
15717
  export type GetDatasetsDatasetIdExperimentsExperimentId_Request = Simplify<(GetDatasetsDatasetIdExperimentsExperimentId_PathParams extends never ? {} : {
15618
15718
  params: GetDatasetsDatasetIdExperimentsExperimentId_PathParams;
15619
15719
  }) & (never extends never ? {} : {} extends never ? {
@@ -15694,7 +15794,7 @@ export type GetDatasetsDatasetIdExperimentsExperimentIdResults_QueryParams = {
15694
15794
  tags?: string[] | undefined;
15695
15795
  };
15696
15796
  export type GetDatasetsDatasetIdExperimentsExperimentIdResults_Response = {
15697
- results: Shared_Type_86[];
15797
+ results: Shared_Type_87[];
15698
15798
  pagination: {
15699
15799
  total: number;
15700
15800
  page: number;
@@ -15937,7 +16037,7 @@ export type GetBackgroundTasks_QueryParams = {
15937
16037
  perPage?: number | undefined;
15938
16038
  };
15939
16039
  export type GetBackgroundTasks_Response = {
15940
- tasks: Shared_Type_87[];
16040
+ tasks: Shared_Type_88[];
15941
16041
  total: number;
15942
16042
  };
15943
16043
  export type GetBackgroundTasks_Request = Simplify<(never extends never ? {} : {
@@ -15962,7 +16062,7 @@ export interface GetBackgroundTasks_RouteContract {
15962
16062
  export type GetBackgroundTasksBackgroundTaskId_PathParams = {
15963
16063
  backgroundTaskId: string;
15964
16064
  };
15965
- export type GetBackgroundTasksBackgroundTaskId_Response = Shared_Type_87;
16065
+ export type GetBackgroundTasksBackgroundTaskId_Response = Shared_Type_88;
15966
16066
  export type GetBackgroundTasksBackgroundTaskId_Request = Simplify<(GetBackgroundTasksBackgroundTaskId_PathParams extends never ? {} : {
15967
16067
  params: GetBackgroundTasksBackgroundTaskId_PathParams;
15968
16068
  }) & (never extends never ? {} : {} extends never ? {
@@ -16002,8 +16102,8 @@ export type GetEditorBuilderSettings_Response = {
16002
16102
  configuration?: {
16003
16103
  agent?: {
16004
16104
  models?: {
16005
- allowed?: Shared_Type_88[] | undefined;
16006
- default?: Shared_Type_89 | undefined;
16105
+ allowed?: Shared_Type_89[] | undefined;
16106
+ default?: Shared_Type_90 | undefined;
16007
16107
  } | undefined;
16008
16108
  tools?: {
16009
16109
  allowed?: string[] | undefined;
@@ -16020,8 +16120,8 @@ export type GetEditorBuilderSettings_Response = {
16020
16120
  modelPolicy?: {
16021
16121
  active: boolean;
16022
16122
  pickerVisible?: boolean | undefined;
16023
- allowed?: Shared_Type_88[] | undefined;
16024
- default?: Shared_Type_89 | undefined;
16123
+ allowed?: Shared_Type_89[] | undefined;
16124
+ default?: Shared_Type_90 | undefined;
16025
16125
  } | undefined;
16026
16126
  picker?: {
16027
16127
  visibleTools: string[] | null;
@@ -16054,8 +16154,8 @@ export type GetEditorWorkflowBuilderSettings_Response = {
16054
16154
  modelPolicy?: {
16055
16155
  active: boolean;
16056
16156
  pickerVisible?: boolean | undefined;
16057
- allowed?: Shared_Type_88[] | undefined;
16058
- default?: Shared_Type_89 | undefined;
16157
+ allowed?: Shared_Type_89[] | undefined;
16158
+ default?: Shared_Type_90 | undefined;
16059
16159
  } | undefined;
16060
16160
  };
16061
16161
  export type GetEditorWorkflowBuilderSettings_Request = Simplify<(never extends never ? {} : {
@@ -16704,7 +16804,7 @@ export type GetSchedules_QueryParams = {
16704
16804
  name?: string | undefined;
16705
16805
  };
16706
16806
  export type GetSchedules_Response = {
16707
- schedules: (Shared_Type_92 | Shared_Type_94)[];
16807
+ schedules: (Shared_Type_93 | Shared_Type_95)[];
16708
16808
  };
16709
16809
  export type GetSchedules_Request = Simplify<(never extends never ? {} : {
16710
16810
  params: never;
@@ -16728,7 +16828,7 @@ export interface GetSchedules_RouteContract {
16728
16828
  export type GetSchedulesScheduleId_PathParams = {
16729
16829
  scheduleId: string;
16730
16830
  };
16731
- export type GetSchedulesScheduleId_Response = Shared_Type_92 | Shared_Type_94;
16831
+ export type GetSchedulesScheduleId_Response = Shared_Type_93 | Shared_Type_95;
16732
16832
  export type GetSchedulesScheduleId_Request = Simplify<(GetSchedulesScheduleId_PathParams extends never ? {} : {
16733
16833
  params: GetSchedulesScheduleId_PathParams;
16734
16834
  }) & (never extends never ? {} : {} extends never ? {
@@ -16893,7 +16993,7 @@ export type GetSchedulesScheduleIdTriggers_Response = {
16893
16993
  metadata?: {
16894
16994
  [key: string]: unknown;
16895
16995
  } | undefined;
16896
- run?: Shared_Type_93 | undefined;
16996
+ run?: Shared_Type_94 | undefined;
16897
16997
  }[];
16898
16998
  };
16899
16999
  export type GetSchedulesScheduleIdTriggers_Request = Simplify<(GetSchedulesScheduleIdTriggers_PathParams extends never ? {} : {
@@ -18303,6 +18403,8 @@ export interface RouteTypes {
18303
18403
  'GET /observability/traces/:traceId/:spanId/scores': GetObservabilityTracesTraceIdSpanIdScores_RouteContract;
18304
18404
  'POST /observability/traces/query': PostObservabilityTracesQuery_RouteContract;
18305
18405
  'POST /observability/threads/query': PostObservabilityThreadsQuery_RouteContract;
18406
+ 'POST /observability/traces/query/fields': PostObservabilityTracesQueryFields_RouteContract;
18407
+ 'POST /observability/traces/query/values': PostObservabilityTracesQueryValues_RouteContract;
18306
18408
  'GET /observability/metrics': GetObservabilityMetrics_RouteContract;
18307
18409
  'GET /observability/logs': GetObservabilityLogs_RouteContract;
18308
18410
  'GET /observability/scores': GetObservabilityScores_RouteContract;
@@ -19259,6 +19361,12 @@ export interface Client {
19259
19361
  '/observability/traces/query': {
19260
19362
  POST: PostObservabilityTracesQuery_RouteContract;
19261
19363
  };
19364
+ '/observability/traces/query/fields': {
19365
+ POST: PostObservabilityTracesQueryFields_RouteContract;
19366
+ };
19367
+ '/observability/traces/query/values': {
19368
+ POST: PostObservabilityTracesQueryValues_RouteContract;
19369
+ };
19262
19370
  '/observability/traces/score': {
19263
19371
  POST: PostObservabilityTracesScore_RouteContract;
19264
19372
  };