@orq-ai/node 4.14.0-rc.42 → 4.14.0-rc.44

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (150) hide show
  1. package/README.md +44 -35
  2. package/funcs/modelCatalogGet.d.ts +18 -0
  3. package/funcs/modelCatalogGet.d.ts.map +1 -0
  4. package/funcs/modelCatalogGet.js +121 -0
  5. package/funcs/modelCatalogGet.js.map +1 -0
  6. package/funcs/modelCatalogList.d.ts +18 -0
  7. package/funcs/modelCatalogList.d.ts.map +1 -0
  8. package/funcs/modelCatalogList.js +133 -0
  9. package/funcs/modelCatalogList.js.map +1 -0
  10. package/funcs/modelCatalogListOfferings.d.ts +18 -0
  11. package/funcs/modelCatalogListOfferings.d.ts.map +1 -0
  12. package/funcs/modelCatalogListOfferings.js +138 -0
  13. package/funcs/modelCatalogListOfferings.js.map +1 -0
  14. package/jsr.json +1 -1
  15. package/lib/config.d.ts +3 -3
  16. package/lib/config.js +3 -3
  17. package/models/components/evaluatorresponsefunction.js +2 -2
  18. package/models/components/evaluatorresponsehttp.js +2 -2
  19. package/models/components/evaluatorresponsejsonschema.js +2 -2
  20. package/models/components/evaluatorresponsellm.js +2 -2
  21. package/models/components/evaluatorresponsepython.js +2 -2
  22. package/models/components/evaluatorresponseragas.js +2 -2
  23. package/models/components/evaluatorresponsetypescript.js +2 -2
  24. package/models/components/getmodelcatalogmodelresponse.d.ts +14 -0
  25. package/models/components/getmodelcatalogmodelresponse.d.ts.map +1 -0
  26. package/models/components/getmodelcatalogmodelresponse.js +51 -0
  27. package/models/components/getmodelcatalogmodelresponse.js.map +1 -0
  28. package/models/components/index.d.ts +6 -0
  29. package/models/components/index.d.ts.map +1 -1
  30. package/models/components/index.js +6 -0
  31. package/models/components/index.js.map +1 -1
  32. package/models/components/listmodelcatalogofferingsresponse.d.ts +25 -0
  33. package/models/components/listmodelcatalogofferingsresponse.d.ts.map +1 -0
  34. package/models/components/listmodelcatalogofferingsresponse.js +58 -0
  35. package/models/components/listmodelcatalogofferingsresponse.js.map +1 -0
  36. package/models/components/listmodelcatalogresponse.d.ts +25 -0
  37. package/models/components/listmodelcatalogresponse.d.ts.map +1 -0
  38. package/models/components/listmodelcatalogresponse.js +58 -0
  39. package/models/components/listmodelcatalogresponse.js.map +1 -0
  40. package/models/components/model.d.ts +129 -0
  41. package/models/components/model.d.ts.map +1 -0
  42. package/models/components/model.js +91 -0
  43. package/models/components/model.js.map +1 -0
  44. package/models/components/modelmodalities.d.ts +17 -0
  45. package/models/components/modelmodalities.d.ts.map +1 -0
  46. package/models/components/modelmodalities.js +51 -0
  47. package/models/components/modelmodalities.js.map +1 -0
  48. package/models/components/modelprovider.d.ts +17 -0
  49. package/models/components/modelprovider.d.ts.map +1 -0
  50. package/models/components/modelprovider.js +51 -0
  51. package/models/components/modelprovider.js.map +1 -0
  52. package/models/components/reasoningpart.js +1 -1
  53. package/models/operations/createannotationqueue.js +1 -1
  54. package/models/operations/createdataset.js +1 -1
  55. package/models/operations/createdatasetitem.js +5 -5
  56. package/models/operations/createtool.js +4 -4
  57. package/models/operations/getalltools.js +4 -4
  58. package/models/operations/geteval.js +16 -16
  59. package/models/operations/getv2humanevalsets.js +2 -2
  60. package/models/operations/getv2humanevalsetsid.js +2 -2
  61. package/models/operations/index.d.ts +3 -0
  62. package/models/operations/index.d.ts.map +1 -1
  63. package/models/operations/index.js +3 -0
  64. package/models/operations/index.js.map +1 -1
  65. package/models/operations/listannotationqueues.js +1 -1
  66. package/models/operations/listdatasetdatapoints.js +5 -5
  67. package/models/operations/listdatasets.js +1 -1
  68. package/models/operations/modelcatalogget.d.ts +15 -0
  69. package/models/operations/modelcatalogget.d.ts.map +1 -0
  70. package/models/operations/modelcatalogget.js +49 -0
  71. package/models/operations/modelcatalogget.js.map +1 -0
  72. package/models/operations/modelcataloglist.d.ts +103 -0
  73. package/models/operations/modelcataloglist.d.ts.map +1 -0
  74. package/models/operations/modelcataloglist.js +74 -0
  75. package/models/operations/modelcataloglist.js.map +1 -0
  76. package/models/operations/modelcataloglistofferings.d.ts +106 -0
  77. package/models/operations/modelcataloglistofferings.d.ts.map +1 -0
  78. package/models/operations/modelcataloglistofferings.js +73 -0
  79. package/models/operations/modelcataloglistofferings.js.map +1 -0
  80. package/models/operations/patchv2humanevalsetsid.js +2 -2
  81. package/models/operations/postv2feedbackevaluation.js +4 -4
  82. package/models/operations/postv2humanevalsets.js +2 -2
  83. package/models/operations/retrieveannotationqueue.js +1 -1
  84. package/models/operations/retrievedatapoint.js +5 -5
  85. package/models/operations/retrievedataset.js +1 -1
  86. package/models/operations/retrievetool.js +4 -4
  87. package/models/operations/runagent.js +1 -1
  88. package/models/operations/streamrunagent.js +1 -1
  89. package/models/operations/updateannotationqueue.js +1 -1
  90. package/models/operations/updatedatapoint.js +5 -5
  91. package/models/operations/updatedataset.js +1 -1
  92. package/models/operations/updatetool.js +4 -4
  93. package/package.json +3 -3
  94. package/sdk/modelcatalog.d.ts +27 -0
  95. package/sdk/modelcatalog.d.ts.map +1 -0
  96. package/sdk/modelcatalog.js +42 -0
  97. package/sdk/modelcatalog.js.map +1 -0
  98. package/sdk/sdk.d.ts +3 -0
  99. package/sdk/sdk.d.ts.map +1 -1
  100. package/sdk/sdk.js +4 -0
  101. package/sdk/sdk.js.map +1 -1
  102. package/src/funcs/modelCatalogGet.ts +168 -0
  103. package/src/funcs/modelCatalogList.ts +182 -0
  104. package/src/funcs/modelCatalogListOfferings.ts +187 -0
  105. package/src/lib/config.ts +3 -3
  106. package/src/models/components/evaluatorresponsefunction.ts +2 -2
  107. package/src/models/components/evaluatorresponsehttp.ts +2 -2
  108. package/src/models/components/evaluatorresponsejsonschema.ts +2 -2
  109. package/src/models/components/evaluatorresponsellm.ts +2 -2
  110. package/src/models/components/evaluatorresponsepython.ts +2 -2
  111. package/src/models/components/evaluatorresponseragas.ts +2 -2
  112. package/src/models/components/evaluatorresponsetypescript.ts +2 -2
  113. package/src/models/components/getmodelcatalogmodelresponse.ts +35 -0
  114. package/src/models/components/index.ts +6 -0
  115. package/src/models/components/listmodelcatalogofferingsresponse.ts +53 -0
  116. package/src/models/components/listmodelcatalogresponse.ts +53 -0
  117. package/src/models/components/model.ts +206 -0
  118. package/src/models/components/modelmodalities.ts +39 -0
  119. package/src/models/components/modelprovider.ts +39 -0
  120. package/src/models/components/reasoningpart.ts +1 -1
  121. package/src/models/operations/createannotationqueue.ts +1 -1
  122. package/src/models/operations/createdataset.ts +1 -1
  123. package/src/models/operations/createdatasetitem.ts +5 -5
  124. package/src/models/operations/createtool.ts +4 -4
  125. package/src/models/operations/getalltools.ts +4 -4
  126. package/src/models/operations/geteval.ts +16 -16
  127. package/src/models/operations/getv2humanevalsets.ts +2 -2
  128. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  129. package/src/models/operations/index.ts +3 -0
  130. package/src/models/operations/listannotationqueues.ts +1 -1
  131. package/src/models/operations/listdatasetdatapoints.ts +5 -5
  132. package/src/models/operations/listdatasets.ts +1 -1
  133. package/src/models/operations/modelcatalogget.ts +34 -0
  134. package/src/models/operations/modelcataloglist.ts +147 -0
  135. package/src/models/operations/modelcataloglistofferings.ts +151 -0
  136. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  137. package/src/models/operations/postv2feedbackevaluation.ts +4 -4
  138. package/src/models/operations/postv2humanevalsets.ts +2 -2
  139. package/src/models/operations/retrieveannotationqueue.ts +1 -1
  140. package/src/models/operations/retrievedatapoint.ts +5 -5
  141. package/src/models/operations/retrievedataset.ts +1 -1
  142. package/src/models/operations/retrievetool.ts +4 -4
  143. package/src/models/operations/runagent.ts +1 -1
  144. package/src/models/operations/streamrunagent.ts +1 -1
  145. package/src/models/operations/updateannotationqueue.ts +1 -1
  146. package/src/models/operations/updatedatapoint.ts +5 -5
  147. package/src/models/operations/updatedataset.ts +1 -1
  148. package/src/models/operations/updatetool.ts +4 -4
  149. package/src/sdk/modelcatalog.ts +64 -0
  150. package/src/sdk/sdk.ts +6 -0
@@ -0,0 +1,206 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+ import { safeParse } from "../../lib/schemas.js";
8
+ import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+ import {
11
+ ModelModalities,
12
+ ModelModalities$inboundSchema,
13
+ } from "./modelmodalities.js";
14
+ import { ModelProvider, ModelProvider$inboundSchema } from "./modelprovider.js";
15
+
16
+ /**
17
+ * Resolved commercial pricing, including service-tier variants. Each
18
+ *
19
+ * @remarks
20
+ * variant carries a `when` CEL condition string evaluated against
21
+ * `input_tokens`, `output_tokens`, `total_tokens` and `tier`; all
22
+ * variants whose condition is true are merged onto the base pricing in
23
+ * order, later variants winning per field. Absent when this offering has
24
+ * no representable token-based pricing.
25
+ */
26
+ export type ModelPricing = {};
27
+
28
+ /**
29
+ * Artificial Analysis benchmark scores keyed by evaluation name. Absent
30
+ *
31
+ * @remarks
32
+ * when unavailable for this offering.
33
+ */
34
+ export type ArtificialIntelligence = {};
35
+
36
+ export type Model = {
37
+ /**
38
+ * Catalog identifier, `<provider>/<model>` (for example `openai/gpt-4o`).
39
+ */
40
+ id: string;
41
+ /**
42
+ * When orq listed this offering, Unix seconds (string-encoded int64 in
43
+ *
44
+ * @remarks
45
+ * JSON).
46
+ */
47
+ created: string;
48
+ /**
49
+ * When this offering stops being served, Unix seconds (string-encoded
50
+ *
51
+ * @remarks
52
+ * int64 in JSON): orq's own sunset date if one is set, otherwise the
53
+ * developer's announced deprecation date. Absent when neither is set.
54
+ */
55
+ deprecation?: string | undefined;
56
+ /**
57
+ * Display name shown in the orq model garden.
58
+ */
59
+ name: string;
60
+ /**
61
+ * Short model description.
62
+ */
63
+ description: string;
64
+ /**
65
+ * Provider that serves this offering.
66
+ */
67
+ provider: ModelProvider;
68
+ /**
69
+ * API endpoints this offering exposes (chat, batch, ...).
70
+ */
71
+ endpoints: Array<string>;
72
+ /**
73
+ * Content modalities this offering consumes and produces.
74
+ */
75
+ modalities: ModelModalities;
76
+ /**
77
+ * Provider-independent model reference this offering serves, `<developer>/<stem>`.
78
+ */
79
+ offeringOf: string;
80
+ /**
81
+ * Resolved commercial pricing, including service-tier variants. Each
82
+ *
83
+ * @remarks
84
+ * variant carries a `when` CEL condition string evaluated against
85
+ * `input_tokens`, `output_tokens`, `total_tokens` and `tier`; all
86
+ * variants whose condition is true are merged onto the base pricing in
87
+ * order, later variants winning per field. Absent when this offering has
88
+ * no representable token-based pricing.
89
+ */
90
+ pricing?: ModelPricing | undefined;
91
+ /**
92
+ * API parameter keys this offering accepts, snake_case (e.g. `temperature`, `max_tokens`).
93
+ */
94
+ supportedParameters: Array<string>;
95
+ /**
96
+ * Paid service tier names available to this offering.
97
+ */
98
+ supportedTiers: Array<string>;
99
+ /**
100
+ * Maximum input context size in tokens (string-encoded int64 in JSON).
101
+ *
102
+ * @remarks
103
+ * Absent when not applicable.
104
+ */
105
+ contextWindow?: string | undefined;
106
+ /**
107
+ * Regions this offering routes to, lowercased.
108
+ */
109
+ location: Array<string>;
110
+ /**
111
+ * Artificial Analysis benchmark scores keyed by evaluation name. Absent
112
+ *
113
+ * @remarks
114
+ * when unavailable for this offering.
115
+ */
116
+ artificialIntelligence?: ArtificialIntelligence | undefined;
117
+ /**
118
+ * Normalized capability names this offering supports, snake_case and
119
+ *
120
+ * @remarks
121
+ * alphabetical (e.g. `json_mode`, `tool_calling`, `vision`, `web_search`).
122
+ */
123
+ features: Array<string>;
124
+ /**
125
+ * True when this offering is deprecated, whether or not a deprecation
126
+ *
127
+ * @remarks
128
+ * date is known. `deprecation` carries the date when one is announced.
129
+ */
130
+ deprecated: boolean;
131
+ };
132
+
133
+ /** @internal */
134
+ export const ModelPricing$inboundSchema: z.ZodType<
135
+ ModelPricing,
136
+ z.ZodTypeDef,
137
+ unknown
138
+ > = z.object({});
139
+
140
+ export function modelPricingFromJSON(
141
+ jsonString: string,
142
+ ): SafeParseResult<ModelPricing, SDKValidationError> {
143
+ return safeParse(
144
+ jsonString,
145
+ (x) => ModelPricing$inboundSchema.parse(JSON.parse(x)),
146
+ `Failed to parse 'ModelPricing' from JSON`,
147
+ );
148
+ }
149
+
150
+ /** @internal */
151
+ export const ArtificialIntelligence$inboundSchema: z.ZodType<
152
+ ArtificialIntelligence,
153
+ z.ZodTypeDef,
154
+ unknown
155
+ > = z.object({});
156
+
157
+ export function artificialIntelligenceFromJSON(
158
+ jsonString: string,
159
+ ): SafeParseResult<ArtificialIntelligence, SDKValidationError> {
160
+ return safeParse(
161
+ jsonString,
162
+ (x) => ArtificialIntelligence$inboundSchema.parse(JSON.parse(x)),
163
+ `Failed to parse 'ArtificialIntelligence' from JSON`,
164
+ );
165
+ }
166
+
167
+ /** @internal */
168
+ export const Model$inboundSchema: z.ZodType<Model, z.ZodTypeDef, unknown> = z
169
+ .object({
170
+ id: z.string(),
171
+ created: z.string(),
172
+ deprecation: z.string().optional(),
173
+ name: z.string(),
174
+ description: z.string(),
175
+ provider: ModelProvider$inboundSchema,
176
+ endpoints: z.array(z.string()),
177
+ modalities: ModelModalities$inboundSchema,
178
+ offering_of: z.string(),
179
+ pricing: z.lazy(() => ModelPricing$inboundSchema).optional(),
180
+ supported_parameters: z.array(z.string()),
181
+ supported_tiers: z.array(z.string()),
182
+ context_window: z.string().optional(),
183
+ location: z.array(z.string()),
184
+ artificial_intelligence: z.lazy(() => ArtificialIntelligence$inboundSchema)
185
+ .optional(),
186
+ features: z.array(z.string()),
187
+ deprecated: z.boolean(),
188
+ }).transform((v) => {
189
+ return remap$(v, {
190
+ "offering_of": "offeringOf",
191
+ "supported_parameters": "supportedParameters",
192
+ "supported_tiers": "supportedTiers",
193
+ "context_window": "contextWindow",
194
+ "artificial_intelligence": "artificialIntelligence",
195
+ });
196
+ });
197
+
198
+ export function modelFromJSON(
199
+ jsonString: string,
200
+ ): SafeParseResult<Model, SDKValidationError> {
201
+ return safeParse(
202
+ jsonString,
203
+ (x) => Model$inboundSchema.parse(JSON.parse(x)),
204
+ `Failed to parse 'Model' from JSON`,
205
+ );
206
+ }
@@ -0,0 +1,39 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { safeParse } from "../../lib/schemas.js";
7
+ import { Result as SafeParseResult } from "../../types/fp.js";
8
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
+
10
+ export type ModelModalities = {
11
+ /**
12
+ * Modalities this offering accepts as input.
13
+ */
14
+ input: Array<string>;
15
+ /**
16
+ * Modalities this offering produces as output.
17
+ */
18
+ output: Array<string>;
19
+ };
20
+
21
+ /** @internal */
22
+ export const ModelModalities$inboundSchema: z.ZodType<
23
+ ModelModalities,
24
+ z.ZodTypeDef,
25
+ unknown
26
+ > = z.object({
27
+ input: z.array(z.string()),
28
+ output: z.array(z.string()),
29
+ });
30
+
31
+ export function modelModalitiesFromJSON(
32
+ jsonString: string,
33
+ ): SafeParseResult<ModelModalities, SDKValidationError> {
34
+ return safeParse(
35
+ jsonString,
36
+ (x) => ModelModalities$inboundSchema.parse(JSON.parse(x)),
37
+ `Failed to parse 'ModelModalities' from JSON`,
38
+ );
39
+ }
@@ -0,0 +1,39 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { safeParse } from "../../lib/schemas.js";
7
+ import { Result as SafeParseResult } from "../../types/fp.js";
8
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
+
10
+ export type ModelProvider = {
11
+ /**
12
+ * Catalog provider key (openai, anthropic, aws, ...).
13
+ */
14
+ id: string;
15
+ /**
16
+ * Absolute URL of the provider logo. Empty when no logo is known.
17
+ */
18
+ logo: string;
19
+ };
20
+
21
+ /** @internal */
22
+ export const ModelProvider$inboundSchema: z.ZodType<
23
+ ModelProvider,
24
+ z.ZodTypeDef,
25
+ unknown
26
+ > = z.object({
27
+ id: z.string(),
28
+ logo: z.string(),
29
+ });
30
+
31
+ export function modelProviderFromJSON(
32
+ jsonString: string,
33
+ ): SafeParseResult<ModelProvider, SDKValidationError> {
34
+ return safeParse(
35
+ jsonString,
36
+ (x) => ModelProvider$inboundSchema.parse(JSON.parse(x)),
37
+ `Failed to parse 'ModelProvider' from JSON`,
38
+ );
39
+ }
@@ -40,7 +40,7 @@ export const ReasoningPart$inboundSchema: z.ZodType<
40
40
  z.ZodTypeDef,
41
41
  unknown
42
42
  > = z.object({
43
- _id: z.string().default("reasoning_01m0fw5wqeepgaytb789p2hn86"),
43
+ _id: z.string().default("reasoning_01m0hnkjsj3g3j7jw07k3chvcw"),
44
44
  metadata: z.record(z.any()).optional(),
45
45
  kind: z.literal("reasoning"),
46
46
  reasoning: z.string(),
@@ -151,7 +151,7 @@ export const CreateAnnotationQueueResponseBody$inboundSchema: z.ZodType<
151
151
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
152
152
  .optional(),
153
153
  updated: z.string().datetime({ offset: true }).default(
154
- "2026-08-20T15:20:50.574Z",
154
+ "2026-08-21T08:04:33.837Z",
155
155
  ).transform(v => new Date(v)),
156
156
  }).transform((v) => {
157
157
  return remap$(v, {
@@ -138,7 +138,7 @@ export const CreateDatasetResponseBody$inboundSchema: z.ZodType<
138
138
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
139
139
  .optional(),
140
140
  updated: z.string().datetime({ offset: true }).default(
141
- "2026-08-20T15:20:50.574Z",
141
+ "2026-08-21T08:04:33.837Z",
142
142
  ).transform(v => new Date(v)),
143
143
  }).transform((v) => {
144
144
  return remap$(v, {
@@ -2726,7 +2726,7 @@ export const Evaluations4$inboundSchema: z.ZodType<
2726
2726
  explanation: z.string().optional(),
2727
2727
  reviewed_by_id: z.string(),
2728
2728
  reviewed_at: z.string().datetime({ offset: true }).default(
2729
- "2026-08-20T15:21:05.435Z",
2729
+ "2026-08-21T08:04:42.641Z",
2730
2730
  ).transform(v => new Date(v)),
2731
2731
  type: z.literal("string_array"),
2732
2732
  values: z.array(z.string()),
@@ -2816,7 +2816,7 @@ export const CreateDatasetItemEvaluations3$inboundSchema: z.ZodType<
2816
2816
  explanation: z.string().optional(),
2817
2817
  reviewed_by_id: z.string(),
2818
2818
  reviewed_at: z.string().datetime({ offset: true }).default(
2819
- "2026-08-20T15:21:05.434Z",
2819
+ "2026-08-21T08:04:42.640Z",
2820
2820
  ).transform(v => new Date(v)),
2821
2821
  type: z.literal("boolean"),
2822
2822
  value: z.boolean(),
@@ -2901,7 +2901,7 @@ export const Evaluations2$inboundSchema: z.ZodType<
2901
2901
  explanation: z.string().optional(),
2902
2902
  reviewed_by_id: z.string(),
2903
2903
  reviewed_at: z.string().datetime({ offset: true }).default(
2904
- "2026-08-20T15:21:05.433Z",
2904
+ "2026-08-21T08:04:42.640Z",
2905
2905
  ).transform(v => new Date(v)),
2906
2906
  type: z.literal("number"),
2907
2907
  value: z.number(),
@@ -2987,7 +2987,7 @@ export const Evaluations1$inboundSchema: z.ZodType<
2987
2987
  explanation: z.string().optional(),
2988
2988
  reviewed_by_id: z.string(),
2989
2989
  reviewed_at: z.string().datetime({ offset: true }).default(
2990
- "2026-08-20T15:21:05.433Z",
2990
+ "2026-08-21T08:04:42.639Z",
2991
2991
  ).transform(v => new Date(v)),
2992
2992
  type: z.literal("string"),
2993
2993
  value: z.string(),
@@ -3074,7 +3074,7 @@ export const ResponseBody$inboundSchema: z.ZodType<
3074
3074
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
3075
3075
  .optional(),
3076
3076
  updated: z.string().datetime({ offset: true }).default(
3077
- "2026-08-20T15:20:50.574Z",
3077
+ "2026-08-21T08:04:33.837Z",
3078
3078
  ).transform(v => new Date(v)),
3079
3079
  }).transform((v) => {
3080
3080
  return remap$(v, {
@@ -1573,7 +1573,7 @@ export const ResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
1573
1573
  z.ZodTypeDef,
1574
1574
  unknown
1575
1575
  > = z.object({
1576
- _id: z.string().default("tool_01M0FW5X20N9S132H8GGJ15E6F"),
1576
+ _id: z.string().default("tool_01M0HNKJZ1NDM09X9QZ4VCQWY2"),
1577
1577
  path: z.string(),
1578
1578
  key: z.string(),
1579
1579
  display_name: z.string().optional(),
@@ -1760,7 +1760,7 @@ export const ResponseBodyHTTPTool$inboundSchema: z.ZodType<
1760
1760
  z.ZodTypeDef,
1761
1761
  unknown
1762
1762
  > = z.object({
1763
- _id: z.string().default("tool_01M0FW5X1YKAF5G7YRFK2897M2"),
1763
+ _id: z.string().default("tool_01M0HNKJZ0BG5X9VXYW31F4MF6"),
1764
1764
  path: z.string(),
1765
1765
  key: z.string(),
1766
1766
  display_name: z.string().optional(),
@@ -1853,7 +1853,7 @@ export const ResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
1853
1853
  z.ZodTypeDef,
1854
1854
  unknown
1855
1855
  > = z.object({
1856
- _id: z.string().default("tool_01M0FW5X1XEH1PC3M7CZAATGXN"),
1856
+ _id: z.string().default("tool_01M0HNKJYZCVH62060G3P3EB65"),
1857
1857
  path: z.string(),
1858
1858
  key: z.string(),
1859
1859
  display_name: z.string().optional(),
@@ -1954,7 +1954,7 @@ export const ResponseBodyFunctionTool$inboundSchema: z.ZodType<
1954
1954
  z.ZodTypeDef,
1955
1955
  unknown
1956
1956
  > = z.object({
1957
- _id: z.string().default("tool_01M0FW5X1NFP47QFACTYH1NDKD"),
1957
+ _id: z.string().default("tool_01M0HNKJYYB1SW8MG532XWAAKJ"),
1958
1958
  path: z.string(),
1959
1959
  key: z.string(),
1960
1960
  display_name: z.string().optional(),
@@ -639,7 +639,7 @@ export const DataCodeExecutionTool$inboundSchema: z.ZodType<
639
639
  z.ZodTypeDef,
640
640
  unknown
641
641
  > = z.object({
642
- _id: z.string().default("tool_01M0FW5X1EB7JX2K3K26KWN6HA"),
642
+ _id: z.string().default("tool_01M0HNKJYT1GFGH5SW7Q1RKZYM"),
643
643
  path: z.string(),
644
644
  key: z.string(),
645
645
  display_name: z.string().optional(),
@@ -821,7 +821,7 @@ export const DataHTTPTool$inboundSchema: z.ZodType<
821
821
  z.ZodTypeDef,
822
822
  unknown
823
823
  > = z.object({
824
- _id: z.string().default("tool_01M0FW5X1CWDXFW9DPRRC5TTY9"),
824
+ _id: z.string().default("tool_01M0HNKJYRZ6FBVP199MFXHZ6A"),
825
825
  path: z.string(),
826
826
  key: z.string(),
827
827
  display_name: z.string().optional(),
@@ -914,7 +914,7 @@ export const DataJSONSchemaTool$inboundSchema: z.ZodType<
914
914
  z.ZodTypeDef,
915
915
  unknown
916
916
  > = z.object({
917
- _id: z.string().default("tool_01M0FW5X1B1PYKMCRWVTJXAXC8"),
917
+ _id: z.string().default("tool_01M0HNKJYQQAX6YSCVFPWSA4QW"),
918
918
  path: z.string(),
919
919
  key: z.string(),
920
920
  display_name: z.string().optional(),
@@ -1012,7 +1012,7 @@ export const DataFunctionTool$inboundSchema: z.ZodType<
1012
1012
  z.ZodTypeDef,
1013
1013
  unknown
1014
1014
  > = z.object({
1015
- _id: z.string().default("tool_01M0FW5X1A1C7QQ137311T0DST"),
1015
+ _id: z.string().default("tool_01M0HNKJYP40KY354AF3S5YCFS"),
1016
1016
  path: z.string(),
1017
1017
  key: z.string(),
1018
1018
  display_name: z.string().optional(),
@@ -846,8 +846,8 @@ export const BedrockGuardrail$inboundSchema: z.ZodType<
846
846
  display_name: z.string(),
847
847
  description: z.string(),
848
848
  owner: z.string(),
849
- created: z.string().default("2026-08-20T15:20:52.764Z"),
850
- updated: z.string().default("2026-08-20T15:20:52.764Z"),
849
+ created: z.string().default("2026-08-21T08:04:35.257Z"),
850
+ updated: z.string().default("2026-08-21T08:04:35.257Z"),
851
851
  created_by_id: z.nullable(z.string()).optional(),
852
852
  updated_by_id: z.nullable(z.string()).optional(),
853
853
  domain_id: z.string(),
@@ -949,8 +949,8 @@ export const Typescript$inboundSchema: z.ZodType<
949
949
  display_name: z.string(),
950
950
  description: z.string(),
951
951
  owner: z.string(),
952
- created: z.string().default("2026-08-20T15:20:52.764Z"),
953
- updated: z.string().default("2026-08-20T15:20:52.764Z"),
952
+ created: z.string().default("2026-08-21T08:04:35.257Z"),
953
+ updated: z.string().default("2026-08-21T08:04:35.257Z"),
954
954
  created_by_id: z.nullable(z.string()).optional(),
955
955
  updated_by_id: z.nullable(z.string()).optional(),
956
956
  domain_id: z.string(),
@@ -1046,8 +1046,8 @@ export const ResponseBodyPython$inboundSchema: z.ZodType<
1046
1046
  display_name: z.string(),
1047
1047
  description: z.string(),
1048
1048
  owner: z.string(),
1049
- created: z.string().default("2026-08-20T15:20:52.764Z"),
1050
- updated: z.string().default("2026-08-20T15:20:52.764Z"),
1049
+ created: z.string().default("2026-08-21T08:04:35.257Z"),
1050
+ updated: z.string().default("2026-08-21T08:04:35.257Z"),
1051
1051
  created_by_id: z.nullable(z.string()).optional(),
1052
1052
  updated_by_id: z.nullable(z.string()).optional(),
1053
1053
  domain_id: z.string(),
@@ -1144,8 +1144,8 @@ export const ResponseBodyHTTP$inboundSchema: z.ZodType<
1144
1144
  display_name: z.string(),
1145
1145
  description: z.string(),
1146
1146
  owner: z.string(),
1147
- created: z.string().default("2026-08-20T15:20:52.764Z"),
1148
- updated: z.string().default("2026-08-20T15:20:52.764Z"),
1147
+ created: z.string().default("2026-08-21T08:04:35.257Z"),
1148
+ updated: z.string().default("2026-08-21T08:04:35.257Z"),
1149
1149
  created_by_id: z.nullable(z.string()).optional(),
1150
1150
  updated_by_id: z.nullable(z.string()).optional(),
1151
1151
  domain_id: z.string(),
@@ -1228,8 +1228,8 @@ export const Json$inboundSchema: z.ZodType<Json, z.ZodTypeDef, unknown> = z
1228
1228
  display_name: z.string(),
1229
1229
  description: z.string(),
1230
1230
  owner: z.string(),
1231
- created: z.string().default("2026-08-20T15:20:52.764Z"),
1232
- updated: z.string().default("2026-08-20T15:20:52.764Z"),
1231
+ created: z.string().default("2026-08-21T08:04:35.257Z"),
1232
+ updated: z.string().default("2026-08-21T08:04:35.257Z"),
1233
1233
  created_by_id: z.nullable(z.string()).optional(),
1234
1234
  updated_by_id: z.nullable(z.string()).optional(),
1235
1235
  domain_id: z.string(),
@@ -1337,8 +1337,8 @@ export const Ragas$inboundSchema: z.ZodType<Ragas, z.ZodTypeDef, unknown> = z
1337
1337
  display_name: z.string(),
1338
1338
  description: z.string(),
1339
1339
  owner: z.string(),
1340
- created: z.string().default("2026-08-20T15:20:52.764Z"),
1341
- updated: z.string().default("2026-08-20T15:20:52.764Z"),
1340
+ created: z.string().default("2026-08-21T08:04:35.257Z"),
1341
+ updated: z.string().default("2026-08-21T08:04:35.257Z"),
1342
1342
  created_by_id: z.nullable(z.string()).optional(),
1343
1343
  updated_by_id: z.nullable(z.string()).optional(),
1344
1344
  domain_id: z.string(),
@@ -2056,8 +2056,8 @@ export const ResponseBodyFunction$inboundSchema: z.ZodType<
2056
2056
  display_name: z.string(),
2057
2057
  description: z.string(),
2058
2058
  owner: z.string(),
2059
- created: z.string().default("2026-08-20T15:20:52.764Z"),
2060
- updated: z.string().default("2026-08-20T15:20:52.764Z"),
2059
+ created: z.string().default("2026-08-21T08:04:35.257Z"),
2060
+ updated: z.string().default("2026-08-21T08:04:35.257Z"),
2061
2061
  created_by_id: z.nullable(z.string()).optional(),
2062
2062
  updated_by_id: z.nullable(z.string()).optional(),
2063
2063
  domain_id: z.string(),
@@ -2726,8 +2726,8 @@ export const ResponseBodyLLM$inboundSchema: z.ZodType<
2726
2726
  display_name: z.string(),
2727
2727
  description: z.string(),
2728
2728
  owner: z.string(),
2729
- created: z.string().default("2026-08-20T15:20:52.764Z"),
2730
- updated: z.string().default("2026-08-20T15:20:52.764Z"),
2729
+ created: z.string().default("2026-08-21T08:04:35.257Z"),
2730
+ updated: z.string().default("2026-08-21T08:04:35.257Z"),
2731
2731
  created_by_id: z.nullable(z.string()).optional(),
2732
2732
  updated_by_id: z.nullable(z.string()).optional(),
2733
2733
  domain_id: z.string(),
@@ -140,7 +140,7 @@ export const GetV2HumanEvalSetsResponseBody2$inboundSchema: z.ZodType<
140
140
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
141
141
  .optional(),
142
142
  updated: z.string().datetime({ offset: true }).default(
143
- "2026-08-20T15:20:50.574Z",
143
+ "2026-08-21T08:04:33.837Z",
144
144
  ).transform(v => new Date(v)),
145
145
  filter_type: z.literal("name"),
146
146
  filter_value: z.string(),
@@ -185,7 +185,7 @@ export const GetV2HumanEvalSetsResponseBody1$inboundSchema: z.ZodType<
185
185
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
186
186
  .optional(),
187
187
  updated: z.string().datetime({ offset: true }).default(
188
- "2026-08-20T15:20:50.574Z",
188
+ "2026-08-21T08:04:33.837Z",
189
189
  ).transform(v => new Date(v)),
190
190
  filter_type: z.literal("span_type"),
191
191
  filter_values: z.array(z.string()),
@@ -141,7 +141,7 @@ export const GetV2HumanEvalSetsIdResponseBody2$inboundSchema: z.ZodType<
141
141
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
142
142
  .optional(),
143
143
  updated: z.string().datetime({ offset: true }).default(
144
- "2026-08-20T15:20:50.574Z",
144
+ "2026-08-21T08:04:33.837Z",
145
145
  ).transform(v => new Date(v)),
146
146
  filter_type: z.literal("name"),
147
147
  filter_value: z.string(),
@@ -186,7 +186,7 @@ export const GetV2HumanEvalSetsIdResponseBody1$inboundSchema: z.ZodType<
186
186
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
187
187
  .optional(),
188
188
  updated: z.string().datetime({ offset: true }).default(
189
- "2026-08-20T15:20:50.574Z",
189
+ "2026-08-21T08:04:33.837Z",
190
190
  ).transform(v => new Date(v)),
191
191
  filter_type: z.literal("span_type"),
192
192
  filter_values: z.array(z.string()),
@@ -124,6 +124,9 @@ export * from "./managementkeyget.js";
124
124
  export * from "./managementkeylist.js";
125
125
  export * from "./managementkeyupdate.js";
126
126
  export * from "./modelazurefoundrydeployments.js";
127
+ export * from "./modelcatalogget.js";
128
+ export * from "./modelcataloglist.js";
129
+ export * from "./modelcataloglistofferings.js";
127
130
  export * from "./modelcreate.js";
128
131
  export * from "./modelcreateawsbedrock.js";
129
132
  export * from "./modelcreateopenailike.js";
@@ -183,7 +183,7 @@ export const ListAnnotationQueuesData$inboundSchema: z.ZodType<
183
183
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
184
184
  .optional(),
185
185
  updated: z.string().datetime({ offset: true }).default(
186
- "2026-08-20T15:20:50.574Z",
186
+ "2026-08-21T08:04:33.837Z",
187
187
  ).transform(v => new Date(v)),
188
188
  }).transform((v) => {
189
189
  return remap$(v, {
@@ -1647,7 +1647,7 @@ export const ListDatasetDatapointsEvaluations4$inboundSchema: z.ZodType<
1647
1647
  explanation: z.string().optional(),
1648
1648
  reviewed_by_id: z.string(),
1649
1649
  reviewed_at: z.string().datetime({ offset: true }).default(
1650
- "2026-08-20T15:21:05.413Z",
1650
+ "2026-08-21T08:04:42.632Z",
1651
1651
  ).transform(v => new Date(v)),
1652
1652
  type: z.literal("string_array"),
1653
1653
  values: z.array(z.string()),
@@ -1743,7 +1743,7 @@ export const ListDatasetDatapointsEvaluations3$inboundSchema: z.ZodType<
1743
1743
  explanation: z.string().optional(),
1744
1744
  reviewed_by_id: z.string(),
1745
1745
  reviewed_at: z.string().datetime({ offset: true }).default(
1746
- "2026-08-20T15:21:05.412Z",
1746
+ "2026-08-21T08:04:42.631Z",
1747
1747
  ).transform(v => new Date(v)),
1748
1748
  type: z.literal("boolean"),
1749
1749
  value: z.boolean(),
@@ -1847,7 +1847,7 @@ export const ListDatasetDatapointsEvaluations2$inboundSchema: z.ZodType<
1847
1847
  explanation: z.string().optional(),
1848
1848
  reviewed_by_id: z.string(),
1849
1849
  reviewed_at: z.string().datetime({ offset: true }).default(
1850
- "2026-08-20T15:21:05.411Z",
1850
+ "2026-08-21T08:04:42.631Z",
1851
1851
  ).transform(v => new Date(v)),
1852
1852
  type: z.literal("number"),
1853
1853
  value: z.number(),
@@ -1953,7 +1953,7 @@ export const ListDatasetDatapointsEvaluations1$inboundSchema: z.ZodType<
1953
1953
  explanation: z.string().optional(),
1954
1954
  reviewed_by_id: z.string(),
1955
1955
  reviewed_at: z.string().datetime({ offset: true }).default(
1956
- "2026-08-20T15:21:05.410Z",
1956
+ "2026-08-21T08:04:42.631Z",
1957
1957
  ).transform(v => new Date(v)),
1958
1958
  type: z.literal("string"),
1959
1959
  value: z.string(),
@@ -2036,7 +2036,7 @@ export const ListDatasetDatapointsData$inboundSchema: z.ZodType<
2036
2036
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
2037
2037
  .optional(),
2038
2038
  updated: z.string().datetime({ offset: true }).default(
2039
- "2026-08-20T15:20:50.574Z",
2039
+ "2026-08-21T08:04:33.837Z",
2040
2040
  ).transform(v => new Date(v)),
2041
2041
  }).transform((v) => {
2042
2042
  return remap$(v, {
@@ -169,7 +169,7 @@ export const ListDatasetsData$inboundSchema: z.ZodType<
169
169
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
170
170
  .optional(),
171
171
  updated: z.string().datetime({ offset: true }).default(
172
- "2026-08-20T15:20:50.574Z",
172
+ "2026-08-21T08:04:33.837Z",
173
173
  ).transform(v => new Date(v)),
174
174
  }).transform((v) => {
175
175
  return remap$(v, {
@@ -0,0 +1,34 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+
7
+ export type ModelCatalogGetRequest = {
8
+ /**
9
+ * Catalog identifier, `<provider>/<model>` (for example `openai/gpt-4o`).
10
+ */
11
+ id: string;
12
+ };
13
+
14
+ /** @internal */
15
+ export type ModelCatalogGetRequest$Outbound = {
16
+ id: string;
17
+ };
18
+
19
+ /** @internal */
20
+ export const ModelCatalogGetRequest$outboundSchema: z.ZodType<
21
+ ModelCatalogGetRequest$Outbound,
22
+ z.ZodTypeDef,
23
+ ModelCatalogGetRequest
24
+ > = z.object({
25
+ id: z.string(),
26
+ });
27
+
28
+ export function modelCatalogGetRequestToJSON(
29
+ modelCatalogGetRequest: ModelCatalogGetRequest,
30
+ ): string {
31
+ return JSON.stringify(
32
+ ModelCatalogGetRequest$outboundSchema.parse(modelCatalogGetRequest),
33
+ );
34
+ }