@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,96 @@
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
+ import type { RegistryEdgeTarget } from './RegistryEdgeTarget';
13
+ /**
14
+ * A single relationship edge. Exactly one of `to`/`from` is present (outgoing
15
+ * vs incoming); the nullable fields mirror the stored row.
16
+ * @export
17
+ * @interface RegistryRelationshipEdge
18
+ */
19
+ export interface RegistryRelationshipEdge {
20
+ /**
21
+ * Free-form edge attributes, or `null` when unset.
22
+ * @type {{ [key: string]: any | null; }}
23
+ * @memberof RegistryRelationshipEdge
24
+ */
25
+ attributes?: {
26
+ [key: string]: any | null;
27
+ };
28
+ /**
29
+ * Value of the `confidence` field.
30
+ * @type {number}
31
+ * @memberof RegistryRelationshipEdge
32
+ */
33
+ confidence?: number | null;
34
+ /**
35
+ * Value of the `direction` field.
36
+ * @type {string}
37
+ * @memberof RegistryRelationshipEdge
38
+ */
39
+ direction: string;
40
+ /**
41
+ * Value of the `from` field.
42
+ * @type {RegistryEdgeTarget}
43
+ * @memberof RegistryRelationshipEdge
44
+ */
45
+ from?: RegistryEdgeTarget | null;
46
+ /**
47
+ * Value of the `label` field.
48
+ * @type {string}
49
+ * @memberof RegistryRelationshipEdge
50
+ */
51
+ label?: string | null;
52
+ /**
53
+ * Edge provenance; fixed `manual` on the standalone write path.
54
+ * @type {string}
55
+ * @memberof RegistryRelationshipEdge
56
+ */
57
+ provenance: string;
58
+ /**
59
+ * Value of the `rel_type` field.
60
+ * @type {string}
61
+ * @memberof RegistryRelationshipEdge
62
+ */
63
+ relType: string;
64
+ /**
65
+ * Value of the `relationship_status` field.
66
+ * @type {string}
67
+ * @memberof RegistryRelationshipEdge
68
+ */
69
+ relationshipStatus: string;
70
+ /**
71
+ * Value of the `role` field.
72
+ * @type {string}
73
+ * @memberof RegistryRelationshipEdge
74
+ */
75
+ role?: string | null;
76
+ /**
77
+ * Value of the `to` field.
78
+ * @type {RegistryEdgeTarget}
79
+ * @memberof RegistryRelationshipEdge
80
+ */
81
+ to?: RegistryEdgeTarget | null;
82
+ /**
83
+ * Value of the `weight` field.
84
+ * @type {number}
85
+ * @memberof RegistryRelationshipEdge
86
+ */
87
+ weight?: number | null;
88
+ }
89
+ /**
90
+ * Check if a given object implements the RegistryRelationshipEdge interface.
91
+ */
92
+ export declare function instanceOfRegistryRelationshipEdge(value: object): value is RegistryRelationshipEdge;
93
+ export declare function RegistryRelationshipEdgeFromJSON(json: any): RegistryRelationshipEdge;
94
+ export declare function RegistryRelationshipEdgeFromJSONTyped(json: any, ignoreDiscriminator: boolean): RegistryRelationshipEdge;
95
+ export declare function RegistryRelationshipEdgeToJSON(json: any): RegistryRelationshipEdge;
96
+ export declare function RegistryRelationshipEdgeToJSONTyped(value?: RegistryRelationshipEdge | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,77 @@
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.instanceOfRegistryRelationshipEdge = instanceOfRegistryRelationshipEdge;
17
+ exports.RegistryRelationshipEdgeFromJSON = RegistryRelationshipEdgeFromJSON;
18
+ exports.RegistryRelationshipEdgeFromJSONTyped = RegistryRelationshipEdgeFromJSONTyped;
19
+ exports.RegistryRelationshipEdgeToJSON = RegistryRelationshipEdgeToJSON;
20
+ exports.RegistryRelationshipEdgeToJSONTyped = RegistryRelationshipEdgeToJSONTyped;
21
+ const RegistryEdgeTarget_1 = require("./RegistryEdgeTarget");
22
+ /**
23
+ * Check if a given object implements the RegistryRelationshipEdge interface.
24
+ */
25
+ function instanceOfRegistryRelationshipEdge(value) {
26
+ if (!('direction' in value) || value['direction'] === undefined)
27
+ return false;
28
+ if (!('provenance' in value) || value['provenance'] === undefined)
29
+ return false;
30
+ if ((!('relType' in value) && !('rel_type' in value)) || (value['relType'] === undefined && value['rel_type'] === undefined))
31
+ return false;
32
+ if ((!('relationshipStatus' in value) && !('relationship_status' in value)) || (value['relationshipStatus'] === undefined && value['relationship_status'] === undefined))
33
+ return false;
34
+ return true;
35
+ }
36
+ function RegistryRelationshipEdgeFromJSON(json) {
37
+ return RegistryRelationshipEdgeFromJSONTyped(json, false);
38
+ }
39
+ function RegistryRelationshipEdgeFromJSONTyped(json, ignoreDiscriminator) {
40
+ if (json == null) {
41
+ return json;
42
+ }
43
+ return {
44
+ 'attributes': json['attributes'] == null ? undefined : json['attributes'],
45
+ 'confidence': json['confidence'] === undefined ? undefined : json['confidence'] === null ? null : json['confidence'],
46
+ 'direction': json['direction'],
47
+ 'from': json['from'] === undefined ? undefined : json['from'] === null ? null : (0, RegistryEdgeTarget_1.RegistryEdgeTargetFromJSON)(json['from']),
48
+ 'label': json['label'] === undefined ? undefined : json['label'] === null ? null : json['label'],
49
+ 'provenance': json['provenance'],
50
+ 'relType': json['rel_type'],
51
+ 'relationshipStatus': json['relationship_status'],
52
+ 'role': json['role'] === undefined ? undefined : json['role'] === null ? null : json['role'],
53
+ 'to': json['to'] === undefined ? undefined : json['to'] === null ? null : (0, RegistryEdgeTarget_1.RegistryEdgeTargetFromJSON)(json['to']),
54
+ 'weight': json['weight'] === undefined ? undefined : json['weight'] === null ? null : json['weight'],
55
+ };
56
+ }
57
+ function RegistryRelationshipEdgeToJSON(json) {
58
+ return RegistryRelationshipEdgeToJSONTyped(json, false);
59
+ }
60
+ function RegistryRelationshipEdgeToJSONTyped(value, ignoreDiscriminator = false) {
61
+ if (value == null) {
62
+ return value;
63
+ }
64
+ return {
65
+ 'attributes': value['attributes'],
66
+ 'confidence': value['confidence'],
67
+ 'direction': value['direction'],
68
+ 'from': (0, RegistryEdgeTarget_1.RegistryEdgeTargetToJSON)(value['from']),
69
+ 'label': value['label'],
70
+ 'provenance': value['provenance'],
71
+ 'rel_type': value['relType'],
72
+ 'relationship_status': value['relationshipStatus'],
73
+ 'role': value['role'],
74
+ 'to': (0, RegistryEdgeTarget_1.RegistryEdgeTargetToJSON)(value['to']),
75
+ 'weight': value['weight'],
76
+ };
77
+ }
@@ -0,0 +1,45 @@
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
+ import type { RegistryRelationshipEdge } from './RegistryRelationshipEdge';
13
+ /**
14
+ * `GET /artifacts/{kind}/{id}/relationships`.
15
+ * @export
16
+ * @interface RegistryRelationshipsView
17
+ */
18
+ export interface RegistryRelationshipsView {
19
+ /**
20
+ * Value of the `count` field.
21
+ * @type {number}
22
+ * @memberof RegistryRelationshipsView
23
+ */
24
+ count: number;
25
+ /**
26
+ * Value of the `incoming` field.
27
+ * @type {Array<RegistryRelationshipEdge>}
28
+ * @memberof RegistryRelationshipsView
29
+ */
30
+ incoming: Array<RegistryRelationshipEdge>;
31
+ /**
32
+ * Value of the `outgoing` field.
33
+ * @type {Array<RegistryRelationshipEdge>}
34
+ * @memberof RegistryRelationshipsView
35
+ */
36
+ outgoing: Array<RegistryRelationshipEdge>;
37
+ }
38
+ /**
39
+ * Check if a given object implements the RegistryRelationshipsView interface.
40
+ */
41
+ export declare function instanceOfRegistryRelationshipsView(value: object): value is RegistryRelationshipsView;
42
+ export declare function RegistryRelationshipsViewFromJSON(json: any): RegistryRelationshipsView;
43
+ export declare function RegistryRelationshipsViewFromJSONTyped(json: any, ignoreDiscriminator: boolean): RegistryRelationshipsView;
44
+ export declare function RegistryRelationshipsViewToJSON(json: any): RegistryRelationshipsView;
45
+ export declare function RegistryRelationshipsViewToJSONTyped(value?: RegistryRelationshipsView | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,59 @@
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.instanceOfRegistryRelationshipsView = instanceOfRegistryRelationshipsView;
17
+ exports.RegistryRelationshipsViewFromJSON = RegistryRelationshipsViewFromJSON;
18
+ exports.RegistryRelationshipsViewFromJSONTyped = RegistryRelationshipsViewFromJSONTyped;
19
+ exports.RegistryRelationshipsViewToJSON = RegistryRelationshipsViewToJSON;
20
+ exports.RegistryRelationshipsViewToJSONTyped = RegistryRelationshipsViewToJSONTyped;
21
+ const RegistryRelationshipEdge_1 = require("./RegistryRelationshipEdge");
22
+ /**
23
+ * Check if a given object implements the RegistryRelationshipsView interface.
24
+ */
25
+ function instanceOfRegistryRelationshipsView(value) {
26
+ if (!('count' in value) || value['count'] === undefined)
27
+ return false;
28
+ if (!('incoming' in value) || value['incoming'] === undefined)
29
+ return false;
30
+ if (!('outgoing' in value) || value['outgoing'] === undefined)
31
+ return false;
32
+ return true;
33
+ }
34
+ function RegistryRelationshipsViewFromJSON(json) {
35
+ return RegistryRelationshipsViewFromJSONTyped(json, false);
36
+ }
37
+ function RegistryRelationshipsViewFromJSONTyped(json, ignoreDiscriminator) {
38
+ if (json == null) {
39
+ return json;
40
+ }
41
+ return {
42
+ 'count': json['count'],
43
+ 'incoming': (json['incoming'].map(RegistryRelationshipEdge_1.RegistryRelationshipEdgeFromJSON)),
44
+ 'outgoing': (json['outgoing'].map(RegistryRelationshipEdge_1.RegistryRelationshipEdgeFromJSON)),
45
+ };
46
+ }
47
+ function RegistryRelationshipsViewToJSON(json) {
48
+ return RegistryRelationshipsViewToJSONTyped(json, false);
49
+ }
50
+ function RegistryRelationshipsViewToJSONTyped(value, ignoreDiscriminator = false) {
51
+ if (value == null) {
52
+ return value;
53
+ }
54
+ return {
55
+ 'count': value['count'],
56
+ 'incoming': (value['incoming'].map(RegistryRelationshipEdge_1.RegistryRelationshipEdgeToJSON)),
57
+ 'outgoing': (value['outgoing'].map(RegistryRelationshipEdge_1.RegistryRelationshipEdgeToJSON)),
58
+ };
59
+ }
@@ -0,0 +1,40 @@
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
+ import type { SpanViewDto } from './SpanViewDto';
13
+ import type { CursorPage } from './CursorPage';
14
+ /**
15
+ * The facade span-list response: cursor-paged spans.
16
+ * @export
17
+ * @interface SpanListEnvelope
18
+ */
19
+ export interface SpanListEnvelope {
20
+ /**
21
+ * Items in this result.
22
+ * @type {Array<SpanViewDto>}
23
+ * @memberof SpanListEnvelope
24
+ */
25
+ items: Array<SpanViewDto>;
26
+ /**
27
+ *
28
+ * @type {CursorPage}
29
+ * @memberof SpanListEnvelope
30
+ */
31
+ page: CursorPage;
32
+ }
33
+ /**
34
+ * Check if a given object implements the SpanListEnvelope interface.
35
+ */
36
+ export declare function instanceOfSpanListEnvelope(value: object): value is SpanListEnvelope;
37
+ export declare function SpanListEnvelopeFromJSON(json: any): SpanListEnvelope;
38
+ export declare function SpanListEnvelopeFromJSONTyped(json: any, ignoreDiscriminator: boolean): SpanListEnvelope;
39
+ export declare function SpanListEnvelopeToJSON(json: any): SpanListEnvelope;
40
+ export declare function SpanListEnvelopeToJSONTyped(value?: SpanListEnvelope | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,56 @@
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.instanceOfSpanListEnvelope = instanceOfSpanListEnvelope;
17
+ exports.SpanListEnvelopeFromJSON = SpanListEnvelopeFromJSON;
18
+ exports.SpanListEnvelopeFromJSONTyped = SpanListEnvelopeFromJSONTyped;
19
+ exports.SpanListEnvelopeToJSON = SpanListEnvelopeToJSON;
20
+ exports.SpanListEnvelopeToJSONTyped = SpanListEnvelopeToJSONTyped;
21
+ const SpanViewDto_1 = require("./SpanViewDto");
22
+ const CursorPage_1 = require("./CursorPage");
23
+ /**
24
+ * Check if a given object implements the SpanListEnvelope interface.
25
+ */
26
+ function instanceOfSpanListEnvelope(value) {
27
+ if (!('items' in value) || value['items'] === undefined)
28
+ return false;
29
+ if (!('page' in value) || value['page'] === undefined)
30
+ return false;
31
+ return true;
32
+ }
33
+ function SpanListEnvelopeFromJSON(json) {
34
+ return SpanListEnvelopeFromJSONTyped(json, false);
35
+ }
36
+ function SpanListEnvelopeFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'items': (json['items'].map(SpanViewDto_1.SpanViewDtoFromJSON)),
42
+ 'page': (0, CursorPage_1.CursorPageFromJSON)(json['page']),
43
+ };
44
+ }
45
+ function SpanListEnvelopeToJSON(json) {
46
+ return SpanListEnvelopeToJSONTyped(json, false);
47
+ }
48
+ function SpanListEnvelopeToJSONTyped(value, ignoreDiscriminator = false) {
49
+ if (value == null) {
50
+ return value;
51
+ }
52
+ return {
53
+ 'items': (value['items'].map(SpanViewDto_1.SpanViewDtoToJSON)),
54
+ 'page': (0, CursorPage_1.CursorPageToJSON)(value['page']),
55
+ };
56
+ }
@@ -0,0 +1,192 @@
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
+ import type { UsageView } from './UsageView';
13
+ import type { CostView } from './CostView';
14
+ import type { TraceStatus } from './TraceStatus';
15
+ /**
16
+ * One span. Mirrors `otel::SpanView`.
17
+ * @export
18
+ * @interface SpanViewDto
19
+ */
20
+ export interface SpanViewDto {
21
+ /**
22
+ *
23
+ * @type {any}
24
+ * @memberof SpanViewDto
25
+ */
26
+ attributes?: any | null;
27
+ /**
28
+ * Value of the `command_name` field.
29
+ * @type {string}
30
+ * @memberof SpanViewDto
31
+ */
32
+ commandName?: string | null;
33
+ /**
34
+ * Value of the `cost` field.
35
+ * @type {CostView}
36
+ * @memberof SpanViewDto
37
+ */
38
+ cost?: CostView | null;
39
+ /**
40
+ * Duration in milliseconds.
41
+ * @type {number}
42
+ * @memberof SpanViewDto
43
+ */
44
+ durationMs?: number | null;
45
+ /**
46
+ * Ended at as Unix epoch seconds.
47
+ * @type {number}
48
+ * @memberof SpanViewDto
49
+ */
50
+ endedAtUnixSeconds?: number | null;
51
+ /**
52
+ * Producer emission order within the trace. Absent for historical spans
53
+ * and producers that do not emit `atlan.event.seq`.
54
+ * @type {number}
55
+ * @memberof SpanViewDto
56
+ */
57
+ eventSeq?: number | null;
58
+ /**
59
+ *
60
+ * @type {any}
61
+ * @memberof SpanViewDto
62
+ */
63
+ events?: any | null;
64
+ /**
65
+ *
66
+ * @type {any}
67
+ * @memberof SpanViewDto
68
+ */
69
+ input?: any | null;
70
+ /**
71
+ * Value of the `mcp_server` field.
72
+ * @type {string}
73
+ * @memberof SpanViewDto
74
+ */
75
+ mcpServer?: string | null;
76
+ /**
77
+ *
78
+ * @type {any}
79
+ * @memberof SpanViewDto
80
+ */
81
+ metadata?: any | null;
82
+ /**
83
+ * Value of the `model` field.
84
+ * @type {string}
85
+ * @memberof SpanViewDto
86
+ */
87
+ model?: string | null;
88
+ /**
89
+ * Stable machine-readable name.
90
+ * @type {string}
91
+ * @memberof SpanViewDto
92
+ */
93
+ name: string;
94
+ /**
95
+ *
96
+ * @type {any}
97
+ * @memberof SpanViewDto
98
+ */
99
+ output?: any | null;
100
+ /**
101
+ * Stable identifier of the related parent span resource.
102
+ * @type {string}
103
+ * @memberof SpanViewDto
104
+ */
105
+ parentSpanId?: string | null;
106
+ /**
107
+ * Value of the `provider` field.
108
+ * @type {string}
109
+ * @memberof SpanViewDto
110
+ */
111
+ provider?: string | null;
112
+ /**
113
+ * Value of the `service_name` field.
114
+ * @type {string}
115
+ * @memberof SpanViewDto
116
+ */
117
+ serviceName?: string | null;
118
+ /**
119
+ * Value of the `skill_name` field.
120
+ * @type {string}
121
+ * @memberof SpanViewDto
122
+ */
123
+ skillName?: string | null;
124
+ /**
125
+ * Value of the `skill_version` field.
126
+ * @type {string}
127
+ * @memberof SpanViewDto
128
+ */
129
+ skillVersion?: string | null;
130
+ /**
131
+ * Stable identifier of the related span resource.
132
+ * @type {string}
133
+ * @memberof SpanViewDto
134
+ */
135
+ spanId: string;
136
+ /**
137
+ * Value of the `span_kind` field.
138
+ * @type {string}
139
+ * @memberof SpanViewDto
140
+ */
141
+ spanKind: string;
142
+ /**
143
+ *
144
+ * @type {TraceStatus}
145
+ * @memberof SpanViewDto
146
+ */
147
+ spanStatus: TraceStatus;
148
+ /**
149
+ * Value of the `span_type` field.
150
+ * @type {string}
151
+ * @memberof SpanViewDto
152
+ */
153
+ spanType: string;
154
+ /**
155
+ * Started at as Unix epoch seconds.
156
+ * @type {number}
157
+ * @memberof SpanViewDto
158
+ */
159
+ startedAtUnixSeconds: number;
160
+ /**
161
+ * Value of the `tool_name` field.
162
+ * @type {string}
163
+ * @memberof SpanViewDto
164
+ */
165
+ toolName?: string | null;
166
+ /**
167
+ * Value of the `tool_type` field.
168
+ * @type {string}
169
+ * @memberof SpanViewDto
170
+ */
171
+ toolType?: string | null;
172
+ /**
173
+ * Stable identifier of the related trace resource.
174
+ * @type {string}
175
+ * @memberof SpanViewDto
176
+ */
177
+ traceId: string;
178
+ /**
179
+ * Value of the `usage` field.
180
+ * @type {UsageView}
181
+ * @memberof SpanViewDto
182
+ */
183
+ usage?: UsageView | null;
184
+ }
185
+ /**
186
+ * Check if a given object implements the SpanViewDto interface.
187
+ */
188
+ export declare function instanceOfSpanViewDto(value: object): value is SpanViewDto;
189
+ export declare function SpanViewDtoFromJSON(json: any): SpanViewDto;
190
+ export declare function SpanViewDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): SpanViewDto;
191
+ export declare function SpanViewDtoToJSON(json: any): SpanViewDto;
192
+ export declare function SpanViewDtoToJSONTyped(value?: SpanViewDto | null, ignoreDiscriminator?: boolean): any;