@atlanai/sdk 0.1.0 → 0.2.1

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 (232) hide show
  1. package/README.md +94 -26
  2. package/dist/client.js +3 -1
  3. package/dist/evals.d.ts +46 -0
  4. package/dist/evals.js +230 -0
  5. package/dist/index.d.ts +3 -0
  6. package/dist/index.js +8 -1
  7. package/dist/manifest.json +299 -3
  8. package/dist/raw/eval/apis/DatasetsApi.d.ts +304 -0
  9. package/dist/raw/eval/apis/DatasetsApi.js +706 -0
  10. package/dist/raw/eval/apis/ExperimentsApi.d.ts +371 -0
  11. package/dist/raw/eval/apis/ExperimentsApi.js +869 -0
  12. package/dist/raw/eval/apis/ScorersApi.d.ts +129 -0
  13. package/dist/raw/eval/apis/ScorersApi.js +308 -0
  14. package/dist/raw/eval/apis/index.d.ts +3 -0
  15. package/dist/raw/eval/apis/index.js +21 -0
  16. package/dist/raw/eval/index.d.ts +3 -0
  17. package/dist/raw/eval/index.js +21 -0
  18. package/dist/raw/eval/models/AccessView.d.ts +57 -0
  19. package/dist/raw/eval/models/AccessView.js +64 -0
  20. package/dist/raw/eval/models/ArtifactConflictProblem.d.ts +69 -0
  21. package/dist/raw/eval/models/ArtifactConflictProblem.js +66 -0
  22. package/dist/raw/eval/models/CostView.d.ts +50 -0
  23. package/dist/raw/eval/models/CostView.js +60 -0
  24. package/dist/raw/eval/models/CursorPage.d.ts +38 -0
  25. package/dist/raw/eval/models/CursorPage.js +52 -0
  26. package/dist/raw/eval/models/EvalArtifactEnvelope.d.ts +144 -0
  27. package/dist/raw/eval/models/EvalArtifactEnvelope.js +84 -0
  28. package/dist/raw/eval/models/EvalArtifactSearchRequest.d.ts +71 -0
  29. package/dist/raw/eval/models/EvalArtifactSearchRequest.js +60 -0
  30. package/dist/raw/eval/models/EvalBulkDatasetRecordResponse.d.ts +33 -0
  31. package/dist/raw/eval/models/EvalBulkDatasetRecordResponse.js +51 -0
  32. package/dist/raw/eval/models/EvalBulkDatasetRecordResult.d.ts +52 -0
  33. package/dist/raw/eval/models/EvalBulkDatasetRecordResult.js +60 -0
  34. package/dist/raw/eval/models/EvalBulkExperimentResultResponse.d.ts +33 -0
  35. package/dist/raw/eval/models/EvalBulkExperimentResultResponse.js +51 -0
  36. package/dist/raw/eval/models/EvalBulkExperimentResultSlot.d.ts +53 -0
  37. package/dist/raw/eval/models/EvalBulkExperimentResultSlot.js +60 -0
  38. package/dist/raw/eval/models/EvalCreateDataset400Response.d.ts +65 -0
  39. package/dist/raw/eval/models/EvalCreateDataset400Response.js +75 -0
  40. package/dist/raw/eval/models/EvalCreateDataset409Response.d.ts +63 -0
  41. package/dist/raw/eval/models/EvalCreateDataset409Response.js +75 -0
  42. package/dist/raw/eval/models/EvalCreateDataset413Response.d.ts +64 -0
  43. package/dist/raw/eval/models/EvalCreateDataset413Response.js +74 -0
  44. package/dist/raw/eval/models/EvalCreateDataset415Response.d.ts +64 -0
  45. package/dist/raw/eval/models/EvalCreateDataset415Response.js +74 -0
  46. package/dist/raw/eval/models/EvalCreateDataset422Response.d.ts +63 -0
  47. package/dist/raw/eval/models/EvalCreateDataset422Response.js +75 -0
  48. package/dist/raw/eval/models/EvalDatasetArtifactView.d.ts +277 -0
  49. package/dist/raw/eval/models/EvalDatasetArtifactView.js +146 -0
  50. package/dist/raw/eval/models/EvalDatasetCreate.d.ts +150 -0
  51. package/dist/raw/eval/models/EvalDatasetCreate.js +86 -0
  52. package/dist/raw/eval/models/EvalDatasetMeta.d.ts +46 -0
  53. package/dist/raw/eval/models/EvalDatasetMeta.js +48 -0
  54. package/dist/raw/eval/models/EvalDatasetPatch.d.ts +52 -0
  55. package/dist/raw/eval/models/EvalDatasetPatch.js +54 -0
  56. package/dist/raw/eval/models/EvalDatasetRecordArtifactView.d.ts +330 -0
  57. package/dist/raw/eval/models/EvalDatasetRecordArtifactView.js +161 -0
  58. package/dist/raw/eval/models/EvalDatasetRecordBulkCreate.d.ts +33 -0
  59. package/dist/raw/eval/models/EvalDatasetRecordBulkCreate.js +51 -0
  60. package/dist/raw/eval/models/EvalDatasetRecordCreate.d.ts +195 -0
  61. package/dist/raw/eval/models/EvalDatasetRecordCreate.js +101 -0
  62. package/dist/raw/eval/models/EvalDatasetRecordMeta.d.ts +96 -0
  63. package/dist/raw/eval/models/EvalDatasetRecordMeta.js +67 -0
  64. package/dist/raw/eval/models/EvalDatasetRecordPatch.d.ts +81 -0
  65. package/dist/raw/eval/models/EvalDatasetRecordPatch.js +62 -0
  66. package/dist/raw/eval/models/EvalExperimentArtifactView.d.ts +320 -0
  67. package/dist/raw/eval/models/EvalExperimentArtifactView.js +160 -0
  68. package/dist/raw/eval/models/EvalExperimentCreate.d.ts +193 -0
  69. package/dist/raw/eval/models/EvalExperimentCreate.js +100 -0
  70. package/dist/raw/eval/models/EvalExperimentMeta.d.ts +91 -0
  71. package/dist/raw/eval/models/EvalExperimentMeta.js +62 -0
  72. package/dist/raw/eval/models/EvalExperimentPatch.d.ts +63 -0
  73. package/dist/raw/eval/models/EvalExperimentPatch.js +57 -0
  74. package/dist/raw/eval/models/EvalExperimentResultArtifactView.d.ts +330 -0
  75. package/dist/raw/eval/models/EvalExperimentResultArtifactView.js +162 -0
  76. package/dist/raw/eval/models/EvalExperimentResultBulkCreate.d.ts +33 -0
  77. package/dist/raw/eval/models/EvalExperimentResultBulkCreate.js +51 -0
  78. package/dist/raw/eval/models/EvalExperimentResultCreate.d.ts +197 -0
  79. package/dist/raw/eval/models/EvalExperimentResultCreate.js +100 -0
  80. package/dist/raw/eval/models/EvalExperimentResultMeta.d.ts +102 -0
  81. package/dist/raw/eval/models/EvalExperimentResultMeta.js +66 -0
  82. package/dist/raw/eval/models/EvalExperimentStatus.d.ts +31 -0
  83. package/dist/raw/eval/models/EvalExperimentStatus.js +59 -0
  84. package/dist/raw/eval/models/EvalGetDataset404Response.d.ts +63 -0
  85. package/dist/raw/eval/models/EvalGetDataset404Response.js +75 -0
  86. package/dist/raw/eval/models/EvalGetExperimentTrace400Response.d.ts +63 -0
  87. package/dist/raw/eval/models/EvalGetExperimentTrace400Response.js +75 -0
  88. package/dist/raw/eval/models/EvalListDatasets400Response.d.ts +63 -0
  89. package/dist/raw/eval/models/EvalListDatasets400Response.js +75 -0
  90. package/dist/raw/eval/models/EvalListDatasets401Response.d.ts +79 -0
  91. package/dist/raw/eval/models/EvalListDatasets401Response.js +89 -0
  92. package/dist/raw/eval/models/EvalListDatasets403Response.d.ts +64 -0
  93. package/dist/raw/eval/models/EvalListDatasets403Response.js +74 -0
  94. package/dist/raw/eval/models/EvalListDatasets500Response.d.ts +63 -0
  95. package/dist/raw/eval/models/EvalListDatasets500Response.js +75 -0
  96. package/dist/raw/eval/models/EvalListDatasets503Response.d.ts +64 -0
  97. package/dist/raw/eval/models/EvalListDatasets503Response.js +74 -0
  98. package/dist/raw/eval/models/EvalListDatasets504Response.d.ts +63 -0
  99. package/dist/raw/eval/models/EvalListDatasets504Response.js +75 -0
  100. package/dist/raw/eval/models/EvalPageDatasetArtifactView.d.ts +44 -0
  101. package/dist/raw/eval/models/EvalPageDatasetArtifactView.js +56 -0
  102. package/dist/raw/eval/models/EvalPageDatasetRecordArtifactView.d.ts +44 -0
  103. package/dist/raw/eval/models/EvalPageDatasetRecordArtifactView.js +56 -0
  104. package/dist/raw/eval/models/EvalPageExperimentArtifactView.d.ts +44 -0
  105. package/dist/raw/eval/models/EvalPageExperimentArtifactView.js +56 -0
  106. package/dist/raw/eval/models/EvalPageExperimentResultArtifactView.d.ts +44 -0
  107. package/dist/raw/eval/models/EvalPageExperimentResultArtifactView.js +56 -0
  108. package/dist/raw/eval/models/EvalPageScorerArtifactView.d.ts +44 -0
  109. package/dist/raw/eval/models/EvalPageScorerArtifactView.js +56 -0
  110. package/dist/raw/eval/models/EvalPatchDataset412Response.d.ts +63 -0
  111. package/dist/raw/eval/models/EvalPatchDataset412Response.js +75 -0
  112. package/dist/raw/eval/models/EvalRecordSource.d.ts +27 -0
  113. package/dist/raw/eval/models/EvalRecordSource.js +55 -0
  114. package/dist/raw/eval/models/EvalScorerArtifactView.d.ts +301 -0
  115. package/dist/raw/eval/models/EvalScorerArtifactView.js +154 -0
  116. package/dist/raw/eval/models/EvalScorerCreate.d.ts +172 -0
  117. package/dist/raw/eval/models/EvalScorerCreate.js +98 -0
  118. package/dist/raw/eval/models/EvalScorerKind.d.ts +32 -0
  119. package/dist/raw/eval/models/EvalScorerKind.js +60 -0
  120. package/dist/raw/eval/models/EvalScorerMeta.d.ts +67 -0
  121. package/dist/raw/eval/models/EvalScorerMeta.js +60 -0
  122. package/dist/raw/eval/models/EvalScorerPatch.d.ts +75 -0
  123. package/dist/raw/eval/models/EvalScorerPatch.js +56 -0
  124. package/dist/raw/eval/models/EvalScorerScope.d.ts +32 -0
  125. package/dist/raw/eval/models/EvalScorerScope.js +60 -0
  126. package/dist/raw/eval/models/EvalSubjectKind.d.ts +33 -0
  127. package/dist/raw/eval/models/EvalSubjectKind.js +61 -0
  128. package/dist/raw/eval/models/GatewayArtifactBase.d.ts +250 -0
  129. package/dist/raw/eval/models/GatewayArtifactBase.js +139 -0
  130. package/dist/raw/eval/models/GatewayArtifactIdentityRevealView.d.ts +60 -0
  131. package/dist/raw/eval/models/GatewayArtifactIdentityRevealView.js +58 -0
  132. package/dist/raw/eval/models/GatewayPageMeta.d.ts +46 -0
  133. package/dist/raw/eval/models/GatewayPageMeta.js +58 -0
  134. package/dist/raw/eval/models/GatewaySourceEnvelope.d.ts +106 -0
  135. package/dist/raw/eval/models/GatewaySourceEnvelope.js +66 -0
  136. package/dist/raw/eval/models/GatewayTraceStatsBucket.d.ts +25 -0
  137. package/dist/raw/eval/models/GatewayTraceStatsBucket.js +53 -0
  138. package/dist/raw/eval/models/GatewayTraceStatsCompareMode.d.ts +25 -0
  139. package/dist/raw/eval/models/GatewayTraceStatsCompareMode.js +53 -0
  140. package/dist/raw/eval/models/GatewayTraceStatsComparison.d.ts +45 -0
  141. package/dist/raw/eval/models/GatewayTraceStatsComparison.js +59 -0
  142. package/dist/raw/eval/models/GatewayTraceStatsData.d.ts +24 -0
  143. package/dist/raw/eval/models/GatewayTraceStatsData.js +64 -0
  144. package/dist/raw/eval/models/GatewayTraceStatsDataOneOf.d.ts +46 -0
  145. package/dist/raw/eval/models/GatewayTraceStatsDataOneOf.js +66 -0
  146. package/dist/raw/eval/models/GatewayTraceStatsDataOneOf1.d.ts +53 -0
  147. package/dist/raw/eval/models/GatewayTraceStatsDataOneOf1.js +71 -0
  148. package/dist/raw/eval/models/GatewayTraceStatsDataOneOf2.d.ts +46 -0
  149. package/dist/raw/eval/models/GatewayTraceStatsDataOneOf2.js +66 -0
  150. package/dist/raw/eval/models/GatewayTraceStatsEnvelope.d.ts +50 -0
  151. package/dist/raw/eval/models/GatewayTraceStatsEnvelope.js +59 -0
  152. package/dist/raw/eval/models/GatewayTraceStatsFilter.d.ts +47 -0
  153. package/dist/raw/eval/models/GatewayTraceStatsFilter.js +59 -0
  154. package/dist/raw/eval/models/GatewayTraceStatsFilterOperator.d.ts +28 -0
  155. package/dist/raw/eval/models/GatewayTraceStatsFilterOperator.js +56 -0
  156. package/dist/raw/eval/models/GatewayTraceStatsFilterValue.d.ts +21 -0
  157. package/dist/raw/eval/models/GatewayTraceStatsFilterValue.js +85 -0
  158. package/dist/raw/eval/models/GatewayTraceStatsGroupBy.d.ts +35 -0
  159. package/dist/raw/eval/models/GatewayTraceStatsGroupBy.js +63 -0
  160. package/dist/raw/eval/models/GatewayTraceStatsMeasure.d.ts +39 -0
  161. package/dist/raw/eval/models/GatewayTraceStatsMeasure.js +67 -0
  162. package/dist/raw/eval/models/GatewayTraceStatsMeta.d.ts +49 -0
  163. package/dist/raw/eval/models/GatewayTraceStatsMeta.js +53 -0
  164. package/dist/raw/eval/models/GatewayTraceStatsOrder.d.ts +40 -0
  165. package/dist/raw/eval/models/GatewayTraceStatsOrder.js +56 -0
  166. package/dist/raw/eval/models/GatewayTraceStatsOrderBy.d.ts +25 -0
  167. package/dist/raw/eval/models/GatewayTraceStatsOrderBy.js +53 -0
  168. package/dist/raw/eval/models/GatewayTraceStatsOrderDirection.d.ts +25 -0
  169. package/dist/raw/eval/models/GatewayTraceStatsOrderDirection.js +53 -0
  170. package/dist/raw/eval/models/GatewayTraceStatsPanelQuery.d.ts +69 -0
  171. package/dist/raw/eval/models/GatewayTraceStatsPanelQuery.js +66 -0
  172. package/dist/raw/eval/models/GatewayTraceStatsRequest.d.ts +80 -0
  173. package/dist/raw/eval/models/GatewayTraceStatsRequest.js +72 -0
  174. package/dist/raw/eval/models/GatewayTraceStatsRequestType.d.ts +26 -0
  175. package/dist/raw/eval/models/GatewayTraceStatsRequestType.js +54 -0
  176. package/dist/raw/eval/models/GatewayTraceStatsScalarResult.d.ts +52 -0
  177. package/dist/raw/eval/models/GatewayTraceStatsScalarResult.js +59 -0
  178. package/dist/raw/eval/models/GatewayTraceStatsSeries.d.ts +52 -0
  179. package/dist/raw/eval/models/GatewayTraceStatsSeries.js +62 -0
  180. package/dist/raw/eval/models/GatewayTraceStatsSeriesPoint.d.ts +38 -0
  181. package/dist/raw/eval/models/GatewayTraceStatsSeriesPoint.js +52 -0
  182. package/dist/raw/eval/models/GatewayTraceStatsTableColumn.d.ts +45 -0
  183. package/dist/raw/eval/models/GatewayTraceStatsTableColumn.js +57 -0
  184. package/dist/raw/eval/models/GatewayTraceStatsTableColumnType.d.ts +25 -0
  185. package/dist/raw/eval/models/GatewayTraceStatsTableColumnType.js +53 -0
  186. package/dist/raw/eval/models/GatewayTraceStatsTableRow.d.ts +38 -0
  187. package/dist/raw/eval/models/GatewayTraceStatsTableRow.js +54 -0
  188. package/dist/raw/eval/models/GatewayTraceStatsWindow.d.ts +38 -0
  189. package/dist/raw/eval/models/GatewayTraceStatsWindow.js +54 -0
  190. package/dist/raw/eval/models/ProblemDetails.d.ts +76 -0
  191. package/dist/raw/eval/models/ProblemDetails.js +64 -0
  192. package/dist/raw/eval/models/RegistryEdgeTarget.d.ts +38 -0
  193. package/dist/raw/eval/models/RegistryEdgeTarget.js +54 -0
  194. package/dist/raw/eval/models/RegistryRelationshipEdge.d.ts +96 -0
  195. package/dist/raw/eval/models/RegistryRelationshipEdge.js +77 -0
  196. package/dist/raw/eval/models/RegistryRelationshipsView.d.ts +45 -0
  197. package/dist/raw/eval/models/RegistryRelationshipsView.js +59 -0
  198. package/dist/raw/eval/models/SpanListEnvelope.d.ts +40 -0
  199. package/dist/raw/eval/models/SpanListEnvelope.js +56 -0
  200. package/dist/raw/eval/models/SpanViewDto.d.ts +192 -0
  201. package/dist/raw/eval/models/SpanViewDto.js +117 -0
  202. package/dist/raw/eval/models/TraceDetailView.d.ts +177 -0
  203. package/dist/raw/eval/models/TraceDetailView.js +108 -0
  204. package/dist/raw/eval/models/TraceLinks.d.ts +45 -0
  205. package/dist/raw/eval/models/TraceLinks.js +58 -0
  206. package/dist/raw/eval/models/TraceListEnvelope.d.ts +47 -0
  207. package/dist/raw/eval/models/TraceListEnvelope.js +61 -0
  208. package/dist/raw/eval/models/TraceParentView.d.ts +68 -0
  209. package/dist/raw/eval/models/TraceParentView.js +64 -0
  210. package/dist/raw/eval/models/TraceStatus.d.ts +26 -0
  211. package/dist/raw/eval/models/TraceStatus.js +54 -0
  212. package/dist/raw/eval/models/TraceSummaryStats.d.ts +62 -0
  213. package/dist/raw/eval/models/TraceSummaryStats.js +62 -0
  214. package/dist/raw/eval/models/TraceSummaryView.d.ts +150 -0
  215. package/dist/raw/eval/models/TraceSummaryView.js +96 -0
  216. package/dist/raw/eval/models/UsageView.d.ts +56 -0
  217. package/dist/raw/eval/models/UsageView.js +66 -0
  218. package/dist/raw/eval/models/index.d.ts +100 -0
  219. package/dist/raw/eval/models/index.js +118 -0
  220. package/dist/raw/eval/runtime.d.ts +185 -0
  221. package/dist/raw/eval/runtime.js +369 -0
  222. package/dist/resources.json +307 -0
  223. package/dist/tracing/client.js +6 -4
  224. package/dist/tracing/propagation.d.ts +1 -0
  225. package/dist/tracing/propagation.js +7 -0
  226. package/dist/tracing/semconv.d.ts +8 -1
  227. package/dist/tracing/semconv.js +27 -13
  228. package/dist/tracing/spans.d.ts +8 -4
  229. package/dist/tracing/spans.js +28 -13
  230. package/dist/tracing/version.d.ts +1 -1
  231. package/dist/tracing/version.js +1 -1
  232. package/package.json +1 -1
@@ -0,0 +1,69 @@
1
+ /**
2
+ * Evaluation catalog
3
+ * The evaluation loop as registry artifacts: curated `dataset`s of examples pinned from production sessions and traces, `experiment` run snapshots with create-only per-case `experiment_result`s, and versioned `scorer` definitions. A verdict is a score span in the run\'s trace; `POST /experiments/{id}/summarize` rolls a run\'s score spans into its durable `summary`. The gateway executes and scores nothing — external harnesses, CI, and judges run the evals, emit score spans, and upload results here.
4
+ *
5
+ * The version of the OpenAPI document: 0.1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * The one problem body with an extra member: a content-dedup `409` names the
14
+ * artifact that already holds the content, so a client recovers it without a
15
+ * follow-up search.
16
+ *
17
+ * A separate type rather than an `Option` on [`ProblemDetails`] because a single
18
+ * shared schema meant all 816 error responses in the published specs advertised
19
+ * `existing_artifact_id`, and only this one can return it.
20
+ * @export
21
+ * @interface ArtifactConflictProblem
22
+ */
23
+ export interface ArtifactConflictProblem {
24
+ /**
25
+ * Value of the `code` field.
26
+ * @type {string}
27
+ * @memberof ArtifactConflictProblem
28
+ */
29
+ code: string;
30
+ /**
31
+ * Value of the `detail` field.
32
+ * @type {string}
33
+ * @memberof ArtifactConflictProblem
34
+ */
35
+ detail: string;
36
+ /**
37
+ * Current lifecycle state.
38
+ * @type {number}
39
+ * @memberof ArtifactConflictProblem
40
+ */
41
+ status: number;
42
+ /**
43
+ * Value of the `title` field.
44
+ * @type {string}
45
+ * @memberof ArtifactConflictProblem
46
+ */
47
+ title: string;
48
+ /**
49
+ * Stable identifier of the related trace resource.
50
+ * @type {string}
51
+ * @memberof ArtifactConflictProblem
52
+ */
53
+ traceId?: string;
54
+ /**
55
+ * Present only when `code == "duplicate_content"`; absent when the existing
56
+ * artifact could not be resolved.
57
+ * @type {string}
58
+ * @memberof ArtifactConflictProblem
59
+ */
60
+ existingArtifactId?: string | null;
61
+ }
62
+ /**
63
+ * Check if a given object implements the ArtifactConflictProblem interface.
64
+ */
65
+ export declare function instanceOfArtifactConflictProblem(value: object): value is ArtifactConflictProblem;
66
+ export declare function ArtifactConflictProblemFromJSON(json: any): ArtifactConflictProblem;
67
+ export declare function ArtifactConflictProblemFromJSONTyped(json: any, ignoreDiscriminator: boolean): ArtifactConflictProblem;
68
+ export declare function ArtifactConflictProblemToJSON(json: any): ArtifactConflictProblem;
69
+ export declare function ArtifactConflictProblemToJSONTyped(value?: ArtifactConflictProblem | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,66 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Evaluation catalog
6
+ * The evaluation loop as registry artifacts: curated `dataset`s of examples pinned from production sessions and traces, `experiment` run snapshots with create-only per-case `experiment_result`s, and versioned `scorer` definitions. A verdict is a score span in the run\'s trace; `POST /experiments/{id}/summarize` rolls a run\'s score spans into its durable `summary`. The gateway executes and scores nothing — external harnesses, CI, and judges run the evals, emit score spans, and upload results here.
7
+ *
8
+ * The version of the OpenAPI document: 0.1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfArtifactConflictProblem = instanceOfArtifactConflictProblem;
17
+ exports.ArtifactConflictProblemFromJSON = ArtifactConflictProblemFromJSON;
18
+ exports.ArtifactConflictProblemFromJSONTyped = ArtifactConflictProblemFromJSONTyped;
19
+ exports.ArtifactConflictProblemToJSON = ArtifactConflictProblemToJSON;
20
+ exports.ArtifactConflictProblemToJSONTyped = ArtifactConflictProblemToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the ArtifactConflictProblem interface.
23
+ */
24
+ function instanceOfArtifactConflictProblem(value) {
25
+ if (!('code' in value) || value['code'] === undefined)
26
+ return false;
27
+ if (!('detail' in value) || value['detail'] === undefined)
28
+ return false;
29
+ if (!('status' in value) || value['status'] === undefined)
30
+ return false;
31
+ if (!('title' in value) || value['title'] === undefined)
32
+ return false;
33
+ return true;
34
+ }
35
+ function ArtifactConflictProblemFromJSON(json) {
36
+ return ArtifactConflictProblemFromJSONTyped(json, false);
37
+ }
38
+ function ArtifactConflictProblemFromJSONTyped(json, ignoreDiscriminator) {
39
+ if (json == null) {
40
+ return json;
41
+ }
42
+ return {
43
+ 'code': json['code'],
44
+ 'detail': json['detail'],
45
+ 'status': json['status'],
46
+ 'title': json['title'],
47
+ 'traceId': json['trace_id'] == null ? undefined : json['trace_id'],
48
+ 'existingArtifactId': json['existing_artifact_id'] === undefined ? undefined : json['existing_artifact_id'] === null ? null : json['existing_artifact_id'],
49
+ };
50
+ }
51
+ function ArtifactConflictProblemToJSON(json) {
52
+ return ArtifactConflictProblemToJSONTyped(json, false);
53
+ }
54
+ function ArtifactConflictProblemToJSONTyped(value, ignoreDiscriminator = false) {
55
+ if (value == null) {
56
+ return value;
57
+ }
58
+ return {
59
+ 'code': value['code'],
60
+ 'detail': value['detail'],
61
+ 'status': value['status'],
62
+ 'title': value['title'],
63
+ 'trace_id': value['traceId'],
64
+ 'existing_artifact_id': value['existingArtifactId'],
65
+ };
66
+ }
@@ -0,0 +1,50 @@
1
+ /**
2
+ * Evaluation catalog
3
+ * The evaluation loop as registry artifacts: curated `dataset`s of examples pinned from production sessions and traces, `experiment` run snapshots with create-only per-case `experiment_result`s, and versioned `scorer` definitions. A verdict is a score span in the run\'s trace; `POST /experiments/{id}/summarize` rolls a run\'s score spans into its durable `summary`. The gateway executes and scores nothing — external harnesses, CI, and judges run the evals, emit score spans, and upload results here.
4
+ *
5
+ * The version of the OpenAPI document: 0.1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * Per-span cost. Mirrors `otel::CostView`.
14
+ * @export
15
+ * @interface CostView
16
+ */
17
+ export interface CostView {
18
+ /**
19
+ * Input cost in US dollars.
20
+ * @type {number}
21
+ * @memberof CostView
22
+ */
23
+ inputCostUsd: number;
24
+ /**
25
+ * Output cost in US dollars.
26
+ * @type {number}
27
+ * @memberof CostView
28
+ */
29
+ outputCostUsd: number;
30
+ /**
31
+ * Origin of this data.
32
+ * @type {string}
33
+ * @memberof CostView
34
+ */
35
+ source?: string | null;
36
+ /**
37
+ * Total cost in US dollars.
38
+ * @type {number}
39
+ * @memberof CostView
40
+ */
41
+ totalCostUsd: number;
42
+ }
43
+ /**
44
+ * Check if a given object implements the CostView interface.
45
+ */
46
+ export declare function instanceOfCostView(value: object): value is CostView;
47
+ export declare function CostViewFromJSON(json: any): CostView;
48
+ export declare function CostViewFromJSONTyped(json: any, ignoreDiscriminator: boolean): CostView;
49
+ export declare function CostViewToJSON(json: any): CostView;
50
+ export declare function CostViewToJSONTyped(value?: CostView | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,60 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Evaluation catalog
6
+ * The evaluation loop as registry artifacts: curated `dataset`s of examples pinned from production sessions and traces, `experiment` run snapshots with create-only per-case `experiment_result`s, and versioned `scorer` definitions. A verdict is a score span in the run\'s trace; `POST /experiments/{id}/summarize` rolls a run\'s score spans into its durable `summary`. The gateway executes and scores nothing — external harnesses, CI, and judges run the evals, emit score spans, and upload results here.
7
+ *
8
+ * The version of the OpenAPI document: 0.1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfCostView = instanceOfCostView;
17
+ exports.CostViewFromJSON = CostViewFromJSON;
18
+ exports.CostViewFromJSONTyped = CostViewFromJSONTyped;
19
+ exports.CostViewToJSON = CostViewToJSON;
20
+ exports.CostViewToJSONTyped = CostViewToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the CostView interface.
23
+ */
24
+ function instanceOfCostView(value) {
25
+ if ((!('inputCostUsd' in value) && !('input_cost_usd' in value)) || (value['inputCostUsd'] === undefined && value['input_cost_usd'] === undefined))
26
+ return false;
27
+ if ((!('outputCostUsd' in value) && !('output_cost_usd' in value)) || (value['outputCostUsd'] === undefined && value['output_cost_usd'] === undefined))
28
+ return false;
29
+ if ((!('totalCostUsd' in value) && !('total_cost_usd' in value)) || (value['totalCostUsd'] === undefined && value['total_cost_usd'] === undefined))
30
+ return false;
31
+ return true;
32
+ }
33
+ function CostViewFromJSON(json) {
34
+ return CostViewFromJSONTyped(json, false);
35
+ }
36
+ function CostViewFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'inputCostUsd': json['input_cost_usd'],
42
+ 'outputCostUsd': json['output_cost_usd'],
43
+ 'source': json['source'] === undefined ? undefined : json['source'] === null ? null : json['source'],
44
+ 'totalCostUsd': json['total_cost_usd'],
45
+ };
46
+ }
47
+ function CostViewToJSON(json) {
48
+ return CostViewToJSONTyped(json, false);
49
+ }
50
+ function CostViewToJSONTyped(value, ignoreDiscriminator = false) {
51
+ if (value == null) {
52
+ return value;
53
+ }
54
+ return {
55
+ 'input_cost_usd': value['inputCostUsd'],
56
+ 'output_cost_usd': value['outputCostUsd'],
57
+ 'source': value['source'],
58
+ 'total_cost_usd': value['totalCostUsd'],
59
+ };
60
+ }
@@ -0,0 +1,38 @@
1
+ /**
2
+ * Evaluation catalog
3
+ * The evaluation loop as registry artifacts: curated `dataset`s of examples pinned from production sessions and traces, `experiment` run snapshots with create-only per-case `experiment_result`s, and versioned `scorer` definitions. A verdict is a score span in the run\'s trace; `POST /experiments/{id}/summarize` rolls a run\'s score spans into its durable `summary`. The gateway executes and scores nothing — external harnesses, CI, and judges run the evals, emit score spans, and upload results here.
4
+ *
5
+ * The version of the OpenAPI document: 0.1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * Keyset page metadata for a facade list response (cursor, not offset).
14
+ * @export
15
+ * @interface CursorPage
16
+ */
17
+ export interface CursorPage {
18
+ /**
19
+ * Maximum number of items to return.
20
+ * @type {number}
21
+ * @memberof CursorPage
22
+ */
23
+ limit: number;
24
+ /**
25
+ * Opaque pagination cursor.
26
+ * @type {string}
27
+ * @memberof CursorPage
28
+ */
29
+ nextCursor?: string | null;
30
+ }
31
+ /**
32
+ * Check if a given object implements the CursorPage interface.
33
+ */
34
+ export declare function instanceOfCursorPage(value: object): value is CursorPage;
35
+ export declare function CursorPageFromJSON(json: any): CursorPage;
36
+ export declare function CursorPageFromJSONTyped(json: any, ignoreDiscriminator: boolean): CursorPage;
37
+ export declare function CursorPageToJSON(json: any): CursorPage;
38
+ export declare function CursorPageToJSONTyped(value?: CursorPage | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Evaluation catalog
6
+ * The evaluation loop as registry artifacts: curated `dataset`s of examples pinned from production sessions and traces, `experiment` run snapshots with create-only per-case `experiment_result`s, and versioned `scorer` definitions. A verdict is a score span in the run\'s trace; `POST /experiments/{id}/summarize` rolls a run\'s score spans into its durable `summary`. The gateway executes and scores nothing — external harnesses, CI, and judges run the evals, emit score spans, and upload results here.
7
+ *
8
+ * The version of the OpenAPI document: 0.1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfCursorPage = instanceOfCursorPage;
17
+ exports.CursorPageFromJSON = CursorPageFromJSON;
18
+ exports.CursorPageFromJSONTyped = CursorPageFromJSONTyped;
19
+ exports.CursorPageToJSON = CursorPageToJSON;
20
+ exports.CursorPageToJSONTyped = CursorPageToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the CursorPage interface.
23
+ */
24
+ function instanceOfCursorPage(value) {
25
+ if (!('limit' in value) || value['limit'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function CursorPageFromJSON(json) {
30
+ return CursorPageFromJSONTyped(json, false);
31
+ }
32
+ function CursorPageFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'limit': json['limit'],
38
+ 'nextCursor': json['next_cursor'] === undefined ? undefined : json['next_cursor'] === null ? null : json['next_cursor'],
39
+ };
40
+ }
41
+ function CursorPageToJSON(json) {
42
+ return CursorPageToJSONTyped(json, false);
43
+ }
44
+ function CursorPageToJSONTyped(value, ignoreDiscriminator = false) {
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'limit': value['limit'],
50
+ 'next_cursor': value['nextCursor'],
51
+ };
52
+ }
@@ -0,0 +1,144 @@
1
+ /**
2
+ * Evaluation catalog
3
+ * The evaluation loop as registry artifacts: curated `dataset`s of examples pinned from production sessions and traces, `experiment` run snapshots with create-only per-case `experiment_result`s, and versioned `scorer` definitions. A verdict is a score span in the run\'s trace; `POST /experiments/{id}/summarize` rolls a run\'s score spans into its durable `summary`. The gateway executes and scores nothing — external harnesses, CI, and judges run the evals, emit score spans, and upload results here.
4
+ *
5
+ * The version of the OpenAPI document: 0.1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * The shared artifact fields of every create body in this extension.
14
+ *
15
+ * Flattened into each `*Create` so the wire object stays flat (matching
16
+ * `ArtifactCreate`), while the create schemas reference one envelope component
17
+ * instead of repeating seven fields each.
18
+ * @export
19
+ * @interface EvalArtifactEnvelope
20
+ */
21
+ export interface EvalArtifactEnvelope {
22
+ /**
23
+ * RFC 3339. The upstream's own creation time, never the commit time.
24
+ * @type {string}
25
+ * @memberof EvalArtifactEnvelope
26
+ */
27
+ sourceCreatedAt?: string;
28
+ /**
29
+ * The upstream author, git `Name <email>` form (distinct from the registry
30
+ * principal `created_by`). The first author; see `source_last_modified_by`
31
+ * for who changed it last.
32
+ * @type {string}
33
+ * @memberof EvalArtifactEnvelope
34
+ */
35
+ sourceCreatedBy?: string;
36
+ /**
37
+ * What the upstream calls this object. The reconciliation key for a re-sync,
38
+ * and the reason to prefer it over matching on `name`.
39
+ * @type {string}
40
+ * @memberof EvalArtifactEnvelope
41
+ */
42
+ sourceId?: string;
43
+ /**
44
+ * RFC 3339.
45
+ * @type {string}
46
+ * @memberof EvalArtifactEnvelope
47
+ */
48
+ sourceLastModifiedAt?: string;
49
+ /**
50
+ * The upstream author of the last change, git `Name <email>` form.
51
+ * @type {string}
52
+ * @memberof EvalArtifactEnvelope
53
+ */
54
+ sourceLastModifiedBy?: string;
55
+ /**
56
+ *
57
+ * @type {any}
58
+ * @memberof EvalArtifactEnvelope
59
+ */
60
+ sourceMetadata?: any | null;
61
+ /**
62
+ * RFC 3339. The time of the sync that produced this version.
63
+ * @type {string}
64
+ * @memberof EvalArtifactEnvelope
65
+ */
66
+ sourceSyncedAt?: string;
67
+ /**
68
+ * The content authority: `git`, `atlan`, `local`, or `external` for a
69
+ * customer's own system. Omitted, the registry defaults it.
70
+ * @type {string}
71
+ * @memberof EvalArtifactEnvelope
72
+ */
73
+ sourceType?: string;
74
+ /**
75
+ * Scheme-tagged origin — where the upstream object lives.
76
+ * @type {string}
77
+ * @memberof EvalArtifactEnvelope
78
+ */
79
+ sourceUri?: string;
80
+ /**
81
+ * The upstream revision (a commit hash or tag), distinct from `version_label`.
82
+ * @type {string}
83
+ * @memberof EvalArtifactEnvelope
84
+ */
85
+ sourceVersion?: string;
86
+ /**
87
+ * Human-readable description.
88
+ * @type {string}
89
+ * @memberof EvalArtifactEnvelope
90
+ */
91
+ description?: string | null;
92
+ /**
93
+ * Human-readable label. Omitted, the gateway defaults it to `name`.
94
+ * @type {string}
95
+ * @memberof EvalArtifactEnvelope
96
+ */
97
+ displayName?: string | null;
98
+ /**
99
+ * Stable machine handle ([AIP-122](https://google.aip.dev/122)) — short and
100
+ * identifier-shaped, kebab-case by convention. Unique per `(workspace,
101
+ * kind)` among live rows (`artifacts_name_idx`), but not identity: `id`
102
+ * is the only stable handle.
103
+ * @type {string}
104
+ * @memberof EvalArtifactEnvelope
105
+ */
106
+ name: string;
107
+ /**
108
+ * Optional canonical owner (`users.user_id`). Omitted, the gateway
109
+ * attributes the caller.
110
+ * @type {string}
111
+ * @memberof EvalArtifactEnvelope
112
+ */
113
+ ownerId?: string | null;
114
+ /**
115
+ * Optional `project_`-prefixed handle to group under. Must belong to
116
+ * `workspace_id` (else 422).
117
+ * @type {string}
118
+ * @memberof EvalArtifactEnvelope
119
+ */
120
+ projectId?: string | null;
121
+ /**
122
+ * Optional `repo_`-prefixed source repository. No default — a repo is a
123
+ * factual claim about provenance, so it is never guessed.
124
+ * @type {string}
125
+ * @memberof EvalArtifactEnvelope
126
+ */
127
+ repoId?: string | null;
128
+ /**
129
+ * `workspace_`-prefixed handle to create in. **Required** — there is
130
+ * deliberately no default, because guessing a tenant's namespace is
131
+ * invisible until someone else reads the data.
132
+ * @type {string}
133
+ * @memberof EvalArtifactEnvelope
134
+ */
135
+ workspaceId: string;
136
+ }
137
+ /**
138
+ * Check if a given object implements the EvalArtifactEnvelope interface.
139
+ */
140
+ export declare function instanceOfEvalArtifactEnvelope(value: object): value is EvalArtifactEnvelope;
141
+ export declare function EvalArtifactEnvelopeFromJSON(json: any): EvalArtifactEnvelope;
142
+ export declare function EvalArtifactEnvelopeFromJSONTyped(json: any, ignoreDiscriminator: boolean): EvalArtifactEnvelope;
143
+ export declare function EvalArtifactEnvelopeToJSON(json: any): EvalArtifactEnvelope;
144
+ export declare function EvalArtifactEnvelopeToJSONTyped(value?: EvalArtifactEnvelope | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,84 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Evaluation catalog
6
+ * The evaluation loop as registry artifacts: curated `dataset`s of examples pinned from production sessions and traces, `experiment` run snapshots with create-only per-case `experiment_result`s, and versioned `scorer` definitions. A verdict is a score span in the run\'s trace; `POST /experiments/{id}/summarize` rolls a run\'s score spans into its durable `summary`. The gateway executes and scores nothing — external harnesses, CI, and judges run the evals, emit score spans, and upload results here.
7
+ *
8
+ * The version of the OpenAPI document: 0.1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfEvalArtifactEnvelope = instanceOfEvalArtifactEnvelope;
17
+ exports.EvalArtifactEnvelopeFromJSON = EvalArtifactEnvelopeFromJSON;
18
+ exports.EvalArtifactEnvelopeFromJSONTyped = EvalArtifactEnvelopeFromJSONTyped;
19
+ exports.EvalArtifactEnvelopeToJSON = EvalArtifactEnvelopeToJSON;
20
+ exports.EvalArtifactEnvelopeToJSONTyped = EvalArtifactEnvelopeToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the EvalArtifactEnvelope interface.
23
+ */
24
+ function instanceOfEvalArtifactEnvelope(value) {
25
+ if (!('name' in value) || value['name'] === undefined)
26
+ return false;
27
+ if ((!('workspaceId' in value) && !('workspace_id' in value)) || (value['workspaceId'] === undefined && value['workspace_id'] === undefined))
28
+ return false;
29
+ return true;
30
+ }
31
+ function EvalArtifactEnvelopeFromJSON(json) {
32
+ return EvalArtifactEnvelopeFromJSONTyped(json, false);
33
+ }
34
+ function EvalArtifactEnvelopeFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'sourceCreatedAt': json['source_created_at'] == null ? undefined : json['source_created_at'],
40
+ 'sourceCreatedBy': json['source_created_by'] == null ? undefined : json['source_created_by'],
41
+ 'sourceId': json['source_id'] == null ? undefined : json['source_id'],
42
+ 'sourceLastModifiedAt': json['source_last_modified_at'] == null ? undefined : json['source_last_modified_at'],
43
+ 'sourceLastModifiedBy': json['source_last_modified_by'] == null ? undefined : json['source_last_modified_by'],
44
+ 'sourceMetadata': json['source_metadata'] === undefined ? undefined : json['source_metadata'] === null ? null : json['source_metadata'],
45
+ 'sourceSyncedAt': json['source_synced_at'] == null ? undefined : json['source_synced_at'],
46
+ 'sourceType': json['source_type'] == null ? undefined : json['source_type'],
47
+ 'sourceUri': json['source_uri'] == null ? undefined : json['source_uri'],
48
+ 'sourceVersion': json['source_version'] == null ? undefined : json['source_version'],
49
+ 'description': json['description'] === undefined ? undefined : json['description'] === null ? null : json['description'],
50
+ 'displayName': json['display_name'] === undefined ? undefined : json['display_name'] === null ? null : json['display_name'],
51
+ 'name': json['name'],
52
+ 'ownerId': json['owner_id'] === undefined ? undefined : json['owner_id'] === null ? null : json['owner_id'],
53
+ 'projectId': json['project_id'] === undefined ? undefined : json['project_id'] === null ? null : json['project_id'],
54
+ 'repoId': json['repo_id'] === undefined ? undefined : json['repo_id'] === null ? null : json['repo_id'],
55
+ 'workspaceId': json['workspace_id'],
56
+ };
57
+ }
58
+ function EvalArtifactEnvelopeToJSON(json) {
59
+ return EvalArtifactEnvelopeToJSONTyped(json, false);
60
+ }
61
+ function EvalArtifactEnvelopeToJSONTyped(value, ignoreDiscriminator = false) {
62
+ if (value == null) {
63
+ return value;
64
+ }
65
+ return {
66
+ 'source_created_at': value['sourceCreatedAt'],
67
+ 'source_created_by': value['sourceCreatedBy'],
68
+ 'source_id': value['sourceId'],
69
+ 'source_last_modified_at': value['sourceLastModifiedAt'],
70
+ 'source_last_modified_by': value['sourceLastModifiedBy'],
71
+ 'source_metadata': value['sourceMetadata'],
72
+ 'source_synced_at': value['sourceSyncedAt'],
73
+ 'source_type': value['sourceType'],
74
+ 'source_uri': value['sourceUri'],
75
+ 'source_version': value['sourceVersion'],
76
+ 'description': value['description'],
77
+ 'display_name': value['displayName'],
78
+ 'name': value['name'],
79
+ 'owner_id': value['ownerId'],
80
+ 'project_id': value['projectId'],
81
+ 'repo_id': value['repoId'],
82
+ 'workspace_id': value['workspaceId'],
83
+ };
84
+ }
@@ -0,0 +1,71 @@
1
+ /**
2
+ * Evaluation catalog
3
+ * The evaluation loop as registry artifacts: curated `dataset`s of examples pinned from production sessions and traces, `experiment` run snapshots with create-only per-case `experiment_result`s, and versioned `scorer` definitions. A verdict is a score span in the run\'s trace; `POST /experiments/{id}/summarize` rolls a run\'s score spans into its durable `summary`. The gateway executes and scores nothing — external harnesses, CI, and judges run the evals, emit score spans, and upload results here.
4
+ *
5
+ * The version of the OpenAPI document: 0.1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * Discovery over one kind. Kind-independent grammar, so one definition serves
14
+ * every `POST /<plural>/search` route.
15
+ * @export
16
+ * @interface EvalArtifactSearchRequest
17
+ */
18
+ export interface EvalArtifactSearchRequest {
19
+ /**
20
+ * Opaque resume token from a prior page's `page.next_cursor`. Mutually
21
+ * exclusive with a non-zero `offset`.
22
+ * @type {string}
23
+ * @memberof EvalArtifactSearchRequest
24
+ */
25
+ cursor?: string | null;
26
+ /**
27
+ * Maximum number of items to return.
28
+ * @type {number}
29
+ * @memberof EvalArtifactSearchRequest
30
+ */
31
+ limit?: number | null;
32
+ /**
33
+ * Number of items to skip before this page.
34
+ * @type {number}
35
+ * @memberof EvalArtifactSearchRequest
36
+ */
37
+ offset?: number | null;
38
+ /**
39
+ * Free-text term over the envelope's name + description.
40
+ * @type {string}
41
+ * @memberof EvalArtifactSearchRequest
42
+ */
43
+ query?: string | null;
44
+ /**
45
+ * Sort keys; a leading `-` is descending. Overrides relevance ordering.
46
+ * @type {Array<string>}
47
+ * @memberof EvalArtifactSearchRequest
48
+ */
49
+ sorts?: Array<string>;
50
+ /**
51
+ * `fts` (default) | `vector` | `hybrid`. The semantic strategies embed
52
+ * `query` server-side — no embedding model is needed here.
53
+ * @type {string}
54
+ * @memberof EvalArtifactSearchRequest
55
+ */
56
+ strategy?: string | null;
57
+ /**
58
+ * Restrict to one workspace; omitted searches the whole account.
59
+ * @type {string}
60
+ * @memberof EvalArtifactSearchRequest
61
+ */
62
+ workspaceId?: string | null;
63
+ }
64
+ /**
65
+ * Check if a given object implements the EvalArtifactSearchRequest interface.
66
+ */
67
+ export declare function instanceOfEvalArtifactSearchRequest(value: object): value is EvalArtifactSearchRequest;
68
+ export declare function EvalArtifactSearchRequestFromJSON(json: any): EvalArtifactSearchRequest;
69
+ export declare function EvalArtifactSearchRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): EvalArtifactSearchRequest;
70
+ export declare function EvalArtifactSearchRequestToJSON(json: any): EvalArtifactSearchRequest;
71
+ export declare function EvalArtifactSearchRequestToJSONTyped(value?: EvalArtifactSearchRequest | null, ignoreDiscriminator?: boolean): any;