scorecard-ai 3.0.1 → 3.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (266) hide show
  1. package/CHANGELOG.md +121 -0
  2. package/api-promise.d.mts +1 -0
  3. package/api-promise.d.mts.map +1 -1
  4. package/api-promise.d.ts +1 -0
  5. package/api-promise.d.ts.map +1 -1
  6. package/api-promise.mjs +1 -0
  7. package/api-promise.mjs.map +1 -1
  8. package/client.d.mts +5 -7
  9. package/client.d.mts.map +1 -1
  10. package/client.d.ts +5 -7
  11. package/client.d.ts.map +1 -1
  12. package/client.js +45 -24
  13. package/client.js.map +1 -1
  14. package/client.mjs +45 -24
  15. package/client.mjs.map +1 -1
  16. package/core/api-promise.d.mts.map +1 -1
  17. package/core/api-promise.d.ts.map +1 -1
  18. package/core/api-promise.mjs.map +1 -1
  19. package/core/error.mjs.map +1 -1
  20. package/core/pagination.d.mts.map +1 -1
  21. package/core/pagination.d.ts.map +1 -1
  22. package/core/pagination.mjs.map +1 -1
  23. package/core/resource.d.mts.map +1 -1
  24. package/core/resource.d.ts.map +1 -1
  25. package/core/uploads.d.mts.map +1 -1
  26. package/core/uploads.d.ts.map +1 -1
  27. package/core/uploads.mjs.map +1 -1
  28. package/error.d.mts +1 -0
  29. package/error.d.mts.map +1 -1
  30. package/error.d.ts +1 -0
  31. package/error.d.ts.map +1 -1
  32. package/error.mjs +1 -0
  33. package/error.mjs.map +1 -1
  34. package/index.d.mts +1 -1
  35. package/index.d.mts.map +1 -1
  36. package/index.d.ts +1 -1
  37. package/index.d.ts.map +1 -1
  38. package/index.js.map +1 -1
  39. package/index.mjs.map +1 -1
  40. package/internal/detect-platform.mjs.map +1 -1
  41. package/internal/headers.mjs.map +1 -1
  42. package/internal/parse.d.mts.map +1 -1
  43. package/internal/parse.d.ts.map +1 -1
  44. package/internal/parse.mjs.map +1 -1
  45. package/internal/qs/formats.d.mts +7 -0
  46. package/internal/qs/formats.d.mts.map +1 -0
  47. package/internal/qs/formats.d.ts +7 -0
  48. package/internal/qs/formats.d.ts.map +1 -0
  49. package/internal/qs/formats.js +13 -0
  50. package/internal/qs/formats.js.map +1 -0
  51. package/internal/qs/formats.mjs +9 -0
  52. package/internal/qs/formats.mjs.map +1 -0
  53. package/internal/qs/index.d.mts +10 -0
  54. package/internal/qs/index.d.mts.map +1 -0
  55. package/internal/qs/index.d.ts +10 -0
  56. package/internal/qs/index.d.ts.map +1 -0
  57. package/internal/qs/index.js +14 -0
  58. package/internal/qs/index.js.map +1 -0
  59. package/internal/qs/index.mjs +10 -0
  60. package/internal/qs/index.mjs.map +1 -0
  61. package/internal/qs/stringify.d.mts +3 -0
  62. package/internal/qs/stringify.d.mts.map +1 -0
  63. package/internal/qs/stringify.d.ts +3 -0
  64. package/internal/qs/stringify.d.ts.map +1 -0
  65. package/internal/qs/stringify.js +277 -0
  66. package/internal/qs/stringify.js.map +1 -0
  67. package/internal/qs/stringify.mjs +274 -0
  68. package/internal/qs/stringify.mjs.map +1 -0
  69. package/internal/qs/types.d.mts +57 -0
  70. package/internal/qs/types.d.mts.map +1 -0
  71. package/internal/qs/types.d.ts +57 -0
  72. package/internal/qs/types.d.ts.map +1 -0
  73. package/internal/qs/types.js +3 -0
  74. package/internal/qs/types.js.map +1 -0
  75. package/internal/qs/types.mjs +2 -0
  76. package/internal/qs/types.mjs.map +1 -0
  77. package/internal/qs/utils.d.mts +15 -0
  78. package/internal/qs/utils.d.mts.map +1 -0
  79. package/internal/qs/utils.d.ts +15 -0
  80. package/internal/qs/utils.d.ts.map +1 -0
  81. package/internal/qs/utils.js +230 -0
  82. package/internal/qs/utils.js.map +1 -0
  83. package/internal/qs/utils.mjs +217 -0
  84. package/internal/qs/utils.mjs.map +1 -0
  85. package/internal/request-options.d.mts.map +1 -1
  86. package/internal/request-options.d.ts.map +1 -1
  87. package/internal/shims.d.mts +6 -0
  88. package/internal/shims.d.mts.map +1 -1
  89. package/internal/shims.d.ts +6 -0
  90. package/internal/shims.d.ts.map +1 -1
  91. package/internal/to-file.d.mts.map +1 -1
  92. package/internal/to-file.d.ts.map +1 -1
  93. package/internal/to-file.mjs.map +1 -1
  94. package/internal/tslib.js +17 -17
  95. package/internal/types.d.mts +10 -10
  96. package/internal/types.d.mts.map +1 -1
  97. package/internal/types.d.ts +10 -10
  98. package/internal/types.d.ts.map +1 -1
  99. package/internal/uploads.d.mts.map +1 -1
  100. package/internal/uploads.d.ts.map +1 -1
  101. package/internal/uploads.mjs.map +1 -1
  102. package/internal/utils/base64.mjs.map +1 -1
  103. package/internal/utils/env.js +2 -2
  104. package/internal/utils/env.js.map +1 -1
  105. package/internal/utils/env.mjs +2 -2
  106. package/internal/utils/env.mjs.map +1 -1
  107. package/internal/utils/log.d.mts.map +1 -1
  108. package/internal/utils/log.d.ts.map +1 -1
  109. package/internal/utils/log.js +2 -0
  110. package/internal/utils/log.js.map +1 -1
  111. package/internal/utils/log.mjs +2 -0
  112. package/internal/utils/log.mjs.map +1 -1
  113. package/internal/utils/path.mjs.map +1 -1
  114. package/internal/utils/query.d.mts +2 -0
  115. package/internal/utils/query.d.mts.map +1 -0
  116. package/internal/utils/query.d.ts +2 -0
  117. package/internal/utils/query.d.ts.map +1 -0
  118. package/internal/utils/query.js +10 -0
  119. package/internal/utils/query.js.map +1 -0
  120. package/internal/utils/query.mjs +6 -0
  121. package/internal/utils/query.mjs.map +1 -0
  122. package/internal/utils/values.mjs.map +1 -1
  123. package/internal/utils.d.mts +1 -0
  124. package/internal/utils.d.mts.map +1 -1
  125. package/internal/utils.d.ts +1 -0
  126. package/internal/utils.d.ts.map +1 -1
  127. package/internal/utils.js +1 -0
  128. package/internal/utils.js.map +1 -1
  129. package/internal/utils.mjs +1 -0
  130. package/internal/utils.mjs.map +1 -1
  131. package/lib/runAndEvaluate.d.mts +15 -2
  132. package/lib/runAndEvaluate.d.mts.map +1 -1
  133. package/lib/runAndEvaluate.d.ts +15 -2
  134. package/lib/runAndEvaluate.d.ts.map +1 -1
  135. package/lib/runAndEvaluate.js +21 -1
  136. package/lib/runAndEvaluate.js.map +1 -1
  137. package/lib/runAndEvaluate.mjs +21 -1
  138. package/lib/runAndEvaluate.mjs.map +1 -1
  139. package/lib/wrapAISDK.mjs.map +1 -1
  140. package/lib/wrapLLMs.mjs.map +1 -1
  141. package/package.json +20 -15
  142. package/pagination.d.mts +1 -0
  143. package/pagination.d.mts.map +1 -1
  144. package/pagination.d.ts +1 -0
  145. package/pagination.d.ts.map +1 -1
  146. package/pagination.mjs +1 -0
  147. package/pagination.mjs.map +1 -1
  148. package/resource.d.mts +1 -0
  149. package/resource.d.mts.map +1 -1
  150. package/resource.d.ts +1 -0
  151. package/resource.d.ts.map +1 -1
  152. package/resource.mjs +1 -0
  153. package/resource.mjs.map +1 -1
  154. package/resources/index.d.mts +1 -1
  155. package/resources/index.d.mts.map +1 -1
  156. package/resources/index.d.ts +1 -1
  157. package/resources/index.d.ts.map +1 -1
  158. package/resources/index.js +1 -1
  159. package/resources/index.js.map +1 -1
  160. package/resources/index.mjs +1 -1
  161. package/resources/index.mjs.map +1 -1
  162. package/resources/metrics.d.mts.map +1 -1
  163. package/resources/metrics.d.ts.map +1 -1
  164. package/resources/metrics.mjs.map +1 -1
  165. package/resources/projects.d.mts.map +1 -1
  166. package/resources/projects.d.ts.map +1 -1
  167. package/resources/projects.mjs.map +1 -1
  168. package/resources/records/annotations.d.mts +58 -0
  169. package/resources/records/annotations.d.mts.map +1 -0
  170. package/resources/records/annotations.d.ts +58 -0
  171. package/resources/records/annotations.d.ts.map +1 -0
  172. package/resources/records/annotations.js +23 -0
  173. package/resources/records/annotations.js.map +1 -0
  174. package/resources/records/annotations.mjs +19 -0
  175. package/resources/records/annotations.mjs.map +1 -0
  176. package/resources/records/index.d.mts +4 -0
  177. package/resources/records/index.d.mts.map +1 -0
  178. package/resources/records/index.d.ts +4 -0
  179. package/resources/records/index.d.ts.map +1 -0
  180. package/resources/records/index.js +11 -0
  181. package/resources/records/index.js.map +1 -0
  182. package/resources/records/index.mjs +5 -0
  183. package/resources/records/index.mjs.map +1 -0
  184. package/resources/records/records.d.mts +148 -0
  185. package/resources/records/records.d.mts.map +1 -0
  186. package/resources/records/records.d.ts +148 -0
  187. package/resources/records/records.d.ts.map +1 -0
  188. package/resources/records/records.js +72 -0
  189. package/resources/records/records.js.map +1 -0
  190. package/resources/records/records.mjs +67 -0
  191. package/resources/records/records.mjs.map +1 -0
  192. package/resources/records/tags.d.mts +93 -0
  193. package/resources/records/tags.d.mts.map +1 -0
  194. package/resources/records/tags.d.ts +93 -0
  195. package/resources/records/tags.d.ts.map +1 -0
  196. package/resources/records/tags.js +49 -0
  197. package/resources/records/tags.js.map +1 -0
  198. package/resources/records/tags.mjs +45 -0
  199. package/resources/records/tags.mjs.map +1 -0
  200. package/resources/records.d.mts +1 -129
  201. package/resources/records.d.mts.map +1 -1
  202. package/resources/records.d.ts +1 -129
  203. package/resources/records.d.ts.map +1 -1
  204. package/resources/records.js +2 -56
  205. package/resources/records.js.map +1 -1
  206. package/resources/records.mjs +1 -54
  207. package/resources/records.mjs.map +1 -1
  208. package/resources/runs.d.mts.map +1 -1
  209. package/resources/runs.d.ts.map +1 -1
  210. package/resources/runs.mjs.map +1 -1
  211. package/resources/scores.d.mts.map +1 -1
  212. package/resources/scores.d.ts.map +1 -1
  213. package/resources/scores.mjs.map +1 -1
  214. package/resources/systems/index.d.mts.map +1 -1
  215. package/resources/systems/index.d.ts.map +1 -1
  216. package/resources/systems/index.mjs.map +1 -1
  217. package/resources/systems/systems.d.mts.map +1 -1
  218. package/resources/systems/systems.d.ts.map +1 -1
  219. package/resources/systems/systems.mjs.map +1 -1
  220. package/resources/systems/versions.d.mts.map +1 -1
  221. package/resources/systems/versions.d.ts.map +1 -1
  222. package/resources/systems/versions.mjs.map +1 -1
  223. package/resources/systems.d.mts.map +1 -1
  224. package/resources/systems.d.ts.map +1 -1
  225. package/resources/systems.mjs.map +1 -1
  226. package/resources/testcases.d.mts.map +1 -1
  227. package/resources/testcases.d.ts.map +1 -1
  228. package/resources/testcases.mjs.map +1 -1
  229. package/resources/testsets.d.mts.map +1 -1
  230. package/resources/testsets.d.ts.map +1 -1
  231. package/resources/testsets.mjs.map +1 -1
  232. package/resources.d.mts.map +1 -1
  233. package/resources.d.ts.map +1 -1
  234. package/resources.mjs.map +1 -1
  235. package/src/client.ts +64 -39
  236. package/src/index.ts +1 -1
  237. package/src/internal/qs/LICENSE.md +13 -0
  238. package/src/internal/qs/README.md +3 -0
  239. package/src/internal/qs/formats.ts +10 -0
  240. package/src/internal/qs/index.ts +13 -0
  241. package/src/internal/qs/stringify.ts +385 -0
  242. package/src/internal/qs/types.ts +71 -0
  243. package/src/internal/qs/utils.ts +265 -0
  244. package/src/internal/types.ts +6 -8
  245. package/src/internal/utils/env.ts +2 -2
  246. package/src/internal/utils/log.ts +2 -0
  247. package/src/internal/utils/query.ts +7 -0
  248. package/src/internal/utils.ts +1 -0
  249. package/src/lib/runAndEvaluate.ts +40 -4
  250. package/src/resources/index.ts +1 -1
  251. package/src/resources/records/annotations.ts +72 -0
  252. package/src/resources/records/index.ts +20 -0
  253. package/src/resources/records/records.ts +201 -0
  254. package/src/resources/records/tags.ts +122 -0
  255. package/src/resources/records.ts +1 -155
  256. package/src/version.ts +1 -1
  257. package/uploads.d.mts +1 -0
  258. package/uploads.d.mts.map +1 -1
  259. package/uploads.d.ts +1 -0
  260. package/uploads.d.ts.map +1 -1
  261. package/uploads.mjs +1 -0
  262. package/uploads.mjs.map +1 -1
  263. package/version.d.mts +1 -1
  264. package/version.d.ts +1 -1
  265. package/version.js +1 -1
  266. package/version.mjs +1 -1
@@ -0,0 +1,72 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.Records = void 0;
5
+ const tslib_1 = require("../../internal/tslib.js");
6
+ const resource_1 = require("../../core/resource.js");
7
+ const AnnotationsAPI = tslib_1.__importStar(require("./annotations.js"));
8
+ const annotations_1 = require("./annotations.js");
9
+ const TagsAPI = tslib_1.__importStar(require("./tags.js"));
10
+ const tags_1 = require("./tags.js");
11
+ const pagination_1 = require("../../core/pagination.js");
12
+ const path_1 = require("../../internal/utils/path.js");
13
+ class Records extends resource_1.APIResource {
14
+ constructor() {
15
+ super(...arguments);
16
+ this.annotations = new AnnotationsAPI.Annotations(this._client);
17
+ this.tags = new TagsAPI.Tags(this._client);
18
+ }
19
+ /**
20
+ * Create a new Record in a Run.
21
+ *
22
+ * @example
23
+ * ```ts
24
+ * const record = await client.records.create('135', {
25
+ * expected: {
26
+ * idealAnswer: 'Paris is the capital of France',
27
+ * },
28
+ * inputs: { question: 'What is the capital of France?' },
29
+ * outputs: { response: 'The capital of France is Paris.' },
30
+ * testcaseId: '248',
31
+ * });
32
+ * ```
33
+ */
34
+ create(runID, body, options) {
35
+ return this._client.post((0, path_1.path) `/runs/${runID}/records`, { body, ...options });
36
+ }
37
+ /**
38
+ * Retrieve a paginated list of Records for a Run, including all scores for each
39
+ * record.
40
+ *
41
+ * @example
42
+ * ```ts
43
+ * // Automatically fetches more pages as needed.
44
+ * for await (const recordListResponse of client.records.list(
45
+ * '135',
46
+ * )) {
47
+ * // ...
48
+ * }
49
+ * ```
50
+ */
51
+ list(runID, query = {}, options) {
52
+ return this._client.getAPIList((0, path_1.path) `/runs/${runID}/records`, (pagination_1.PaginatedResponse), {
53
+ query,
54
+ ...options,
55
+ });
56
+ }
57
+ /**
58
+ * Delete a specific Record by ID.
59
+ *
60
+ * @example
61
+ * ```ts
62
+ * const record = await client.records.delete('777');
63
+ * ```
64
+ */
65
+ delete(recordID, options) {
66
+ return this._client.delete((0, path_1.path) `/records/${recordID}`, options);
67
+ }
68
+ }
69
+ exports.Records = Records;
70
+ Records.Annotations = annotations_1.Annotations;
71
+ Records.Tags = tags_1.Tags;
72
+ //# sourceMappingURL=records.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"records.js","sourceRoot":"","sources":["../../src/resources/records/records.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAElD,yEAAgD;AAChD,kDAAgF;AAChF,2DAAkC;AAClC,oCAOgB;AAEhB,yDAAqG;AAErG,uDAAiD;AAEjD,MAAa,OAAQ,SAAQ,sBAAW;IAAxC;;QACE,gBAAW,GAA+B,IAAI,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACvF,SAAI,GAAiB,IAAI,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAyDtD,CAAC;IAvDC;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,KAAa,EAAE,IAAwB,EAAE,OAAwB;QACtE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,SAAS,KAAK,UAAU,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/E,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,IAAI,CACF,KAAa,EACb,QAA6C,EAAE,EAC/C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,IAAA,WAAI,EAAA,SAAS,KAAK,UAAU,EAAE,CAAA,8BAAqC,CAAA,EAAE;YAClG,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;OAOG;IACH,MAAM,CAAC,QAAgB,EAAE,OAAwB;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,YAAY,QAAQ,EAAE,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;CACF;AA3DD,0BA2DC;AA8FD,OAAO,CAAC,WAAW,GAAG,yBAAW,CAAC;AAClC,OAAO,CAAC,IAAI,GAAG,WAAI,CAAC"}
@@ -0,0 +1,67 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../../core/resource.mjs";
3
+ import * as AnnotationsAPI from "./annotations.mjs";
4
+ import { Annotations } from "./annotations.mjs";
5
+ import * as TagsAPI from "./tags.mjs";
6
+ import { Tags, } from "./tags.mjs";
7
+ import { PaginatedResponse } from "../../core/pagination.mjs";
8
+ import { path } from "../../internal/utils/path.mjs";
9
+ export class Records extends APIResource {
10
+ constructor() {
11
+ super(...arguments);
12
+ this.annotations = new AnnotationsAPI.Annotations(this._client);
13
+ this.tags = new TagsAPI.Tags(this._client);
14
+ }
15
+ /**
16
+ * Create a new Record in a Run.
17
+ *
18
+ * @example
19
+ * ```ts
20
+ * const record = await client.records.create('135', {
21
+ * expected: {
22
+ * idealAnswer: 'Paris is the capital of France',
23
+ * },
24
+ * inputs: { question: 'What is the capital of France?' },
25
+ * outputs: { response: 'The capital of France is Paris.' },
26
+ * testcaseId: '248',
27
+ * });
28
+ * ```
29
+ */
30
+ create(runID, body, options) {
31
+ return this._client.post(path `/runs/${runID}/records`, { body, ...options });
32
+ }
33
+ /**
34
+ * Retrieve a paginated list of Records for a Run, including all scores for each
35
+ * record.
36
+ *
37
+ * @example
38
+ * ```ts
39
+ * // Automatically fetches more pages as needed.
40
+ * for await (const recordListResponse of client.records.list(
41
+ * '135',
42
+ * )) {
43
+ * // ...
44
+ * }
45
+ * ```
46
+ */
47
+ list(runID, query = {}, options) {
48
+ return this._client.getAPIList(path `/runs/${runID}/records`, (PaginatedResponse), {
49
+ query,
50
+ ...options,
51
+ });
52
+ }
53
+ /**
54
+ * Delete a specific Record by ID.
55
+ *
56
+ * @example
57
+ * ```ts
58
+ * const record = await client.records.delete('777');
59
+ * ```
60
+ */
61
+ delete(recordID, options) {
62
+ return this._client.delete(path `/records/${recordID}`, options);
63
+ }
64
+ }
65
+ Records.Annotations = Annotations;
66
+ Records.Tags = Tags;
67
+ //# sourceMappingURL=records.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"records.mjs","sourceRoot":"","sources":["../../src/resources/records/records.ts"],"names":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CAAC"}
@@ -0,0 +1,93 @@
1
+ import { APIResource } from "../../core/resource.mjs";
2
+ import { APIPromise } from "../../core/api-promise.mjs";
3
+ import { RequestOptions } from "../../internal/request-options.mjs";
4
+ export declare class Tags extends APIResource {
5
+ /**
6
+ * Apply a tag to a Record. Idempotent: re-applying an existing tag returns the
7
+ * existing tag.
8
+ *
9
+ * @example
10
+ * ```ts
11
+ * const recordTag = await client.records.tags.create('777', {
12
+ * text: 'urgent',
13
+ * });
14
+ * ```
15
+ */
16
+ create(recordID: string, body: TagCreateParams, options?: RequestOptions): APIPromise<RecordTag>;
17
+ /**
18
+ * List all tags applied to a specific Record.
19
+ *
20
+ * @example
21
+ * ```ts
22
+ * const tags = await client.records.tags.list('777');
23
+ * ```
24
+ */
25
+ list(recordID: string, options?: RequestOptions): APIPromise<TagListResponse>;
26
+ /**
27
+ * Remove a tag from a Record by its text.
28
+ *
29
+ * @example
30
+ * ```ts
31
+ * const tag = await client.records.tags.delete('urgent', {
32
+ * recordId: '777',
33
+ * });
34
+ * ```
35
+ */
36
+ delete(text: string, params: TagDeleteParams, options?: RequestOptions): APIPromise<TagDeleteResponse>;
37
+ }
38
+ /**
39
+ * An arbitrary tag applied to a Record (e.g. `urgent`, `regression`, `env:prod`),
40
+ * either by a user or lifted from OTel span attributes at ingest.
41
+ */
42
+ export interface RecordTag {
43
+ /**
44
+ * The ID of the tag.
45
+ */
46
+ id: string;
47
+ /**
48
+ * The ISO 8601 timestamp when the tag was created.
49
+ */
50
+ createdAt: string;
51
+ /**
52
+ * The ID of the Record this tag belongs to.
53
+ */
54
+ recordId: string;
55
+ /**
56
+ * How the tag was applied: `user` (UI, SDK, or REST) or `otel` (lifted from a span
57
+ * attribute at ingest).
58
+ */
59
+ source: 'user' | 'otel';
60
+ /**
61
+ * The tag text. May encode key:value semantics with a colon (e.g. `env:prod`).
62
+ */
63
+ text: string;
64
+ /**
65
+ * The ID of the user who applied the tag; null for OTel-sourced tags.
66
+ */
67
+ userId: string | null;
68
+ }
69
+ export interface TagListResponse {
70
+ data: Array<RecordTag>;
71
+ }
72
+ export interface TagDeleteResponse {
73
+ /**
74
+ * The number of tag rows removed (0 if the tag was not present).
75
+ */
76
+ deleted: number;
77
+ }
78
+ export interface TagCreateParams {
79
+ /**
80
+ * The tag text to apply. Idempotent: re-applying an existing tag is a no-op.
81
+ */
82
+ text: string;
83
+ }
84
+ export interface TagDeleteParams {
85
+ /**
86
+ * The ID of the Record to remove the tag from.
87
+ */
88
+ recordId: string;
89
+ }
90
+ export declare namespace Tags {
91
+ export { type RecordTag as RecordTag, type TagListResponse as TagListResponse, type TagDeleteResponse as TagDeleteResponse, type TagCreateParams as TagCreateParams, type TagDeleteParams as TagDeleteParams, };
92
+ }
93
+ //# sourceMappingURL=tags.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tags.d.mts","sourceRoot":"","sources":["../../src/resources/records/tags.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAGhE,qBAAa,IAAK,SAAQ,WAAW;IACnC;;;;;;;;;;OAUG;IACH,MAAM,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,eAAe,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,SAAS,CAAC;IAIhG;;;;;;;OAOG;IACH,IAAI,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,eAAe,CAAC;IAI7E;;;;;;;;;OASG;IACH,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,eAAe,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,iBAAiB,CAAC;CAIvG;AAED;;;GAGG;AACH,MAAM,WAAW,SAAS;IACxB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;OAGG;IACH,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC;IAExB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB;AAED,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC;CACxB;AAED,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,CAAC,OAAO,WAAW,IAAI,CAAC;IAC5B,OAAO,EACL,KAAK,SAAS,IAAI,SAAS,EAC3B,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,eAAe,IAAI,eAAe,GACxC,CAAC;CACH"}
@@ -0,0 +1,93 @@
1
+ import { APIResource } from "../../core/resource.js";
2
+ import { APIPromise } from "../../core/api-promise.js";
3
+ import { RequestOptions } from "../../internal/request-options.js";
4
+ export declare class Tags extends APIResource {
5
+ /**
6
+ * Apply a tag to a Record. Idempotent: re-applying an existing tag returns the
7
+ * existing tag.
8
+ *
9
+ * @example
10
+ * ```ts
11
+ * const recordTag = await client.records.tags.create('777', {
12
+ * text: 'urgent',
13
+ * });
14
+ * ```
15
+ */
16
+ create(recordID: string, body: TagCreateParams, options?: RequestOptions): APIPromise<RecordTag>;
17
+ /**
18
+ * List all tags applied to a specific Record.
19
+ *
20
+ * @example
21
+ * ```ts
22
+ * const tags = await client.records.tags.list('777');
23
+ * ```
24
+ */
25
+ list(recordID: string, options?: RequestOptions): APIPromise<TagListResponse>;
26
+ /**
27
+ * Remove a tag from a Record by its text.
28
+ *
29
+ * @example
30
+ * ```ts
31
+ * const tag = await client.records.tags.delete('urgent', {
32
+ * recordId: '777',
33
+ * });
34
+ * ```
35
+ */
36
+ delete(text: string, params: TagDeleteParams, options?: RequestOptions): APIPromise<TagDeleteResponse>;
37
+ }
38
+ /**
39
+ * An arbitrary tag applied to a Record (e.g. `urgent`, `regression`, `env:prod`),
40
+ * either by a user or lifted from OTel span attributes at ingest.
41
+ */
42
+ export interface RecordTag {
43
+ /**
44
+ * The ID of the tag.
45
+ */
46
+ id: string;
47
+ /**
48
+ * The ISO 8601 timestamp when the tag was created.
49
+ */
50
+ createdAt: string;
51
+ /**
52
+ * The ID of the Record this tag belongs to.
53
+ */
54
+ recordId: string;
55
+ /**
56
+ * How the tag was applied: `user` (UI, SDK, or REST) or `otel` (lifted from a span
57
+ * attribute at ingest).
58
+ */
59
+ source: 'user' | 'otel';
60
+ /**
61
+ * The tag text. May encode key:value semantics with a colon (e.g. `env:prod`).
62
+ */
63
+ text: string;
64
+ /**
65
+ * The ID of the user who applied the tag; null for OTel-sourced tags.
66
+ */
67
+ userId: string | null;
68
+ }
69
+ export interface TagListResponse {
70
+ data: Array<RecordTag>;
71
+ }
72
+ export interface TagDeleteResponse {
73
+ /**
74
+ * The number of tag rows removed (0 if the tag was not present).
75
+ */
76
+ deleted: number;
77
+ }
78
+ export interface TagCreateParams {
79
+ /**
80
+ * The tag text to apply. Idempotent: re-applying an existing tag is a no-op.
81
+ */
82
+ text: string;
83
+ }
84
+ export interface TagDeleteParams {
85
+ /**
86
+ * The ID of the Record to remove the tag from.
87
+ */
88
+ recordId: string;
89
+ }
90
+ export declare namespace Tags {
91
+ export { type RecordTag as RecordTag, type TagListResponse as TagListResponse, type TagDeleteResponse as TagDeleteResponse, type TagCreateParams as TagCreateParams, type TagDeleteParams as TagDeleteParams, };
92
+ }
93
+ //# sourceMappingURL=tags.d.ts.map
@@ -0,0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AQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,CAAC,OAAO,WAAW,IAAI,CAAC;IAC5B,OAAO,EACL,KAAK,SAAS,IAAI,SAAS,EAC3B,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,eAAe,IAAI,eAAe,GACxC,CAAC;CACH"}
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.Tags = void 0;
5
+ const resource_1 = require("../../core/resource.js");
6
+ const path_1 = require("../../internal/utils/path.js");
7
+ class Tags extends resource_1.APIResource {
8
+ /**
9
+ * Apply a tag to a Record. Idempotent: re-applying an existing tag returns the
10
+ * existing tag.
11
+ *
12
+ * @example
13
+ * ```ts
14
+ * const recordTag = await client.records.tags.create('777', {
15
+ * text: 'urgent',
16
+ * });
17
+ * ```
18
+ */
19
+ create(recordID, body, options) {
20
+ return this._client.post((0, path_1.path) `/records/${recordID}/tags`, { body, ...options });
21
+ }
22
+ /**
23
+ * List all tags applied to a specific Record.
24
+ *
25
+ * @example
26
+ * ```ts
27
+ * const tags = await client.records.tags.list('777');
28
+ * ```
29
+ */
30
+ list(recordID, options) {
31
+ return this._client.get((0, path_1.path) `/records/${recordID}/tags`, options);
32
+ }
33
+ /**
34
+ * Remove a tag from a Record by its text.
35
+ *
36
+ * @example
37
+ * ```ts
38
+ * const tag = await client.records.tags.delete('urgent', {
39
+ * recordId: '777',
40
+ * });
41
+ * ```
42
+ */
43
+ delete(text, params, options) {
44
+ const { recordId } = params;
45
+ return this._client.delete((0, path_1.path) `/records/${recordId}/tags/${text}`, options);
46
+ }
47
+ }
48
+ exports.Tags = Tags;
49
+ //# sourceMappingURL=tags.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tags.js","sourceRoot":"","sources":["../../src/resources/records/tags.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAGlD,uDAAiD;AAEjD,MAAa,IAAK,SAAQ,sBAAW;IACnC;;;;;;;;;;OAUG;IACH,MAAM,CAAC,QAAgB,EAAE,IAAqB,EAAE,OAAwB;QACtE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,YAAY,QAAQ,OAAO,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAClF,CAAC;IAED;;;;;;;OAOG;IACH,IAAI,CAAC,QAAgB,EAAE,OAAwB;QAC7C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,YAAY,QAAQ,OAAO,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;IAED;;;;;;;;;OASG;IACH,MAAM,CAAC,IAAY,EAAE,MAAuB,EAAE,OAAwB;QACpE,MAAM,EAAE,QAAQ,EAAE,GAAG,MAAM,CAAC;QAC5B,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,YAAY,QAAQ,SAAS,IAAI,EAAE,EAAE,OAAO,CAAC,CAAC;IAC/E,CAAC;CACF;AA1CD,oBA0CC"}
@@ -0,0 +1,45 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../../core/resource.mjs";
3
+ import { path } from "../../internal/utils/path.mjs";
4
+ export class Tags extends APIResource {
5
+ /**
6
+ * Apply a tag to a Record. Idempotent: re-applying an existing tag returns the
7
+ * existing tag.
8
+ *
9
+ * @example
10
+ * ```ts
11
+ * const recordTag = await client.records.tags.create('777', {
12
+ * text: 'urgent',
13
+ * });
14
+ * ```
15
+ */
16
+ create(recordID, body, options) {
17
+ return this._client.post(path `/records/${recordID}/tags`, { body, ...options });
18
+ }
19
+ /**
20
+ * List all tags applied to a specific Record.
21
+ *
22
+ * @example
23
+ * ```ts
24
+ * const tags = await client.records.tags.list('777');
25
+ * ```
26
+ */
27
+ list(recordID, options) {
28
+ return this._client.get(path `/records/${recordID}/tags`, options);
29
+ }
30
+ /**
31
+ * Remove a tag from a Record by its text.
32
+ *
33
+ * @example
34
+ * ```ts
35
+ * const tag = await client.records.tags.delete('urgent', {
36
+ * recordId: '777',
37
+ * });
38
+ * ```
39
+ */
40
+ delete(text, params, options) {
41
+ const { recordId } = params;
42
+ return this._client.delete(path `/records/${recordId}/tags/${text}`, options);
43
+ }
44
+ }
45
+ //# sourceMappingURL=tags.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tags.mjs","sourceRoot":"","sources":["../../src/resources/records/tags.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAGlD,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD,MAAM,OAAO,IAAK,SAAQ,WAAW;IACnC;;;;;;;;;;OAUG;IACH,MAAM,CAAC,QAAgB,EAAE,IAAqB,EAAE,OAAwB;QACtE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,YAAY,QAAQ,OAAO,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAClF,CAAC;IAED;;;;;;;OAOG;IACH,IAAI,CAAC,QAAgB,EAAE,OAAwB;QAC7C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,YAAY,QAAQ,OAAO,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;IAED;;;;;;;;;OASG;IACH,MAAM,CAAC,IAAY,EAAE,MAAuB,EAAE,OAAwB;QACpE,MAAM,EAAE,QAAQ,EAAE,GAAG,MAAM,CAAC;QAC5B,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,YAAY,QAAQ,SAAS,IAAI,EAAE,EAAE,OAAO,CAAC,CAAC;IAC/E,CAAC;CACF"}
@@ -1,130 +1,2 @@
1
- import { APIResource } from "../core/resource.mjs";
2
- import * as ScoresAPI from "./scores.mjs";
3
- import { APIPromise } from "../core/api-promise.mjs";
4
- import { PagePromise, PaginatedResponse, type PaginatedResponseParams } from "../core/pagination.mjs";
5
- import { RequestOptions } from "../internal/request-options.mjs";
6
- export declare class Records extends APIResource {
7
- /**
8
- * Create a new Record in a Run.
9
- *
10
- * @example
11
- * ```ts
12
- * const record = await client.records.create('135', {
13
- * expected: {
14
- * idealAnswer: 'Paris is the capital of France',
15
- * },
16
- * inputs: { question: 'What is the capital of France?' },
17
- * outputs: { response: 'The capital of France is Paris.' },
18
- * testcaseId: '248',
19
- * });
20
- * ```
21
- */
22
- create(runID: string, body: RecordCreateParams, options?: RequestOptions): APIPromise<Record>;
23
- /**
24
- * Retrieve a paginated list of Records for a Run, including all scores for each
25
- * record.
26
- *
27
- * @example
28
- * ```ts
29
- * // Automatically fetches more pages as needed.
30
- * for await (const recordListResponse of client.records.list(
31
- * '135',
32
- * )) {
33
- * // ...
34
- * }
35
- * ```
36
- */
37
- list(runID: string, query?: RecordListParams | null | undefined, options?: RequestOptions): PagePromise<RecordListResponsesPaginatedResponse, RecordListResponse>;
38
- /**
39
- * Delete a specific Record by ID.
40
- *
41
- * @example
42
- * ```ts
43
- * const record = await client.records.delete('777');
44
- * ```
45
- */
46
- delete(recordID: string, options?: RequestOptions): APIPromise<RecordDeleteResponse>;
47
- }
48
- export type RecordListResponsesPaginatedResponse = PaginatedResponse<RecordListResponse>;
49
- /**
50
- * A record of a system execution in the Scorecard system.
51
- */
52
- export interface Record {
53
- /**
54
- * The ID of the Record.
55
- */
56
- id: string;
57
- /**
58
- * The expected outputs for the Testcase.
59
- */
60
- expected: {
61
- [key: string]: unknown;
62
- };
63
- /**
64
- * The actual inputs sent to the system, which should match the system's input
65
- * schema.
66
- */
67
- inputs: {
68
- [key: string]: unknown;
69
- };
70
- /**
71
- * The actual outputs from the system.
72
- */
73
- outputs: {
74
- [key: string]: unknown;
75
- };
76
- /**
77
- * The ID of the Run containing this Record.
78
- */
79
- runId: string;
80
- /**
81
- * The ID of the Testcase.
82
- */
83
- testcaseId?: string;
84
- }
85
- /**
86
- * A record with all its associated scores.
87
- */
88
- export interface RecordListResponse extends Record {
89
- /**
90
- * All scores associated with this record.
91
- */
92
- scores: Array<ScoresAPI.Score>;
93
- }
94
- export interface RecordDeleteResponse {
95
- /**
96
- * Whether the deletion was successful.
97
- */
98
- success: boolean;
99
- }
100
- export interface RecordCreateParams {
101
- /**
102
- * The expected outputs for the Testcase.
103
- */
104
- expected: {
105
- [key: string]: unknown;
106
- };
107
- /**
108
- * The actual inputs sent to the system, which should match the system's input
109
- * schema.
110
- */
111
- inputs: {
112
- [key: string]: unknown;
113
- };
114
- /**
115
- * The actual outputs from the system.
116
- */
117
- outputs: {
118
- [key: string]: unknown;
119
- };
120
- /**
121
- * The ID of the Testcase.
122
- */
123
- testcaseId?: string;
124
- }
125
- export interface RecordListParams extends PaginatedResponseParams {
126
- }
127
- export declare namespace Records {
128
- export { type Record as Record, type RecordListResponse as RecordListResponse, type RecordDeleteResponse as RecordDeleteResponse, type RecordListResponsesPaginatedResponse as RecordListResponsesPaginatedResponse, type RecordCreateParams as RecordCreateParams, type RecordListParams as RecordListParams, };
129
- }
1
+ export * from "./records/index.mjs";
130
2
  //# sourceMappingURL=records.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"records.d.mts","sourceRoot":"","sources":["../src/resources/records.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EAAE,UAAU,EAAE;OACd,EAAE,WAAW,EAAE,iBAAiB,EAAE,KAAK,uBAAuB,EAAE;OAChE,EAAE,cAAc,EAAE;AAGzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,kBAAkB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,MA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