langsmith 0.10.7 → 0.10.9
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.
- package/dist/_openapi_client/client.cjs +26 -2
- package/dist/_openapi_client/client.d.ts +15 -6
- package/dist/_openapi_client/client.js +27 -3
- package/dist/_openapi_client/internal/detect-platform.cjs +1 -1
- package/dist/_openapi_client/internal/detect-platform.js +1 -1
- package/dist/_openapi_client/resources/annotation-queues/items.cjs +13 -6
- package/dist/_openapi_client/resources/annotation-queues/items.d.ts +33 -8
- package/dist/_openapi_client/resources/annotation-queues/items.js +13 -6
- package/dist/_openapi_client/resources/datasets/datasets.cjs +9 -0
- package/dist/_openapi_client/resources/datasets/datasets.d.ts +4 -0
- package/dist/_openapi_client/resources/datasets/datasets.js +9 -0
- package/dist/_openapi_client/resources/datasets/examples.cjs +26 -0
- package/dist/_openapi_client/resources/datasets/examples.d.ts +23 -0
- package/dist/_openapi_client/resources/datasets/examples.js +22 -0
- package/dist/_openapi_client/resources/fleet/fleet.cjs +54 -0
- package/dist/_openapi_client/resources/fleet/fleet.d.ts +9 -0
- package/dist/_openapi_client/resources/fleet/fleet.js +17 -0
- package/dist/_openapi_client/resources/fleet/threads.cjs +18 -0
- package/dist/_openapi_client/resources/fleet/threads.d.ts +19 -0
- package/dist/_openapi_client/resources/fleet/threads.js +14 -0
- package/dist/_openapi_client/resources/index.cjs +8 -2
- package/dist/_openapi_client/resources/index.d.ts +6 -3
- package/dist/_openapi_client/resources/index.js +5 -2
- package/dist/_openapi_client/resources/info.d.ts +6 -0
- package/dist/_openapi_client/resources/issues.cjs +2 -2
- package/dist/_openapi_client/resources/issues.d.ts +188 -4
- package/dist/_openapi_client/resources/issues.js +2 -2
- package/dist/_openapi_client/resources/online-evaluators.cjs +7 -4
- package/dist/_openapi_client/resources/online-evaluators.d.ts +63 -4
- package/dist/_openapi_client/resources/online-evaluators.js +7 -4
- package/dist/_openapi_client/resources/product-feedback.cjs +33 -0
- package/dist/_openapi_client/resources/product-feedback.d.ts +77 -0
- package/dist/_openapi_client/resources/product-feedback.js +29 -0
- package/dist/_openapi_client/resources/runs/runs.d.ts +26 -16
- package/dist/_openapi_client/resources/sandboxes/boxes.cjs +44 -4
- package/dist/_openapi_client/resources/sandboxes/boxes.d.ts +256 -21
- package/dist/_openapi_client/resources/sandboxes/boxes.js +44 -4
- package/dist/_openapi_client/resources/sandboxes/registries.d.ts +10 -2
- package/dist/_openapi_client/resources/sandboxes/sandboxes.cjs +13 -0
- package/dist/_openapi_client/resources/sandboxes/sandboxes.d.ts +169 -14
- package/dist/_openapi_client/resources/sandboxes/sandboxes.js +13 -0
- package/dist/_openapi_client/resources/sandboxes/snapshots.cjs +10 -6
- package/dist/_openapi_client/resources/sandboxes/snapshots.d.ts +37 -6
- package/dist/_openapi_client/resources/sandboxes/snapshots.js +10 -6
- package/dist/_openapi_client/resources/sessions.cjs +23 -0
- package/dist/_openapi_client/resources/sessions.d.ts +732 -0
- package/dist/_openapi_client/resources/sessions.js +19 -0
- package/dist/_openapi_client/resources/threads/index.cjs +9 -0
- package/dist/_openapi_client/resources/threads/index.d.ts +2 -0
- package/dist/_openapi_client/resources/threads/index.js +4 -0
- package/dist/_openapi_client/resources/threads/share.cjs +61 -0
- package/dist/_openapi_client/resources/threads/share.d.ts +71 -0
- package/dist/_openapi_client/resources/threads/share.js +57 -0
- package/dist/_openapi_client/resources/threads/threads.cjs +143 -0
- package/dist/_openapi_client/resources/threads/threads.d.ts +973 -0
- package/dist/_openapi_client/resources/threads/threads.js +106 -0
- package/dist/_openapi_client/resources/threads.cjs +15 -67
- package/dist/_openapi_client/resources/threads.d.ts +1 -709
- package/dist/_openapi_client/resources/threads.js +1 -65
- package/dist/_openapi_client/resources/traces.d.ts +7 -1
- package/dist/_openapi_client/version.cjs +1 -1
- package/dist/_openapi_client/version.js +1 -1
- package/dist/address.cjs +176 -99
- package/dist/address.d.ts +63 -8
- package/dist/address.js +170 -90
- package/dist/anonymizer/index.cjs +1 -1
- package/dist/anonymizer/index.js +1 -1
- package/dist/client.cjs +39 -19
- package/dist/client.d.ts +20 -4
- package/dist/client.js +34 -14
- package/dist/experimental/otel/exporter.cjs +21 -4
- package/dist/experimental/otel/exporter.d.ts +4 -2
- package/dist/experimental/otel/exporter.js +21 -4
- package/dist/index.cjs +5 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/run_trees.cjs +26 -43
- package/dist/run_trees.d.ts +4 -4
- package/dist/run_trees.js +23 -40
- package/dist/sandbox/client.cjs +33 -4
- package/dist/sandbox/client.d.ts +4 -0
- package/dist/sandbox/client.js +34 -5
- package/dist/sandbox/command_handle.cjs +8 -0
- package/dist/sandbox/command_handle.js +8 -0
- package/dist/sandbox/sandbox.cjs +7 -0
- package/dist/sandbox/sandbox.js +7 -0
- package/dist/sandbox/service_url.cjs +9 -1
- package/dist/sandbox/service_url.d.ts +2 -1
- package/dist/sandbox/service_url.js +9 -1
- package/dist/sandbox/tracing.cjs +13 -0
- package/dist/sandbox/tracing.d.ts +1 -0
- package/dist/sandbox/tracing.js +10 -0
- package/dist/schemas.d.ts +3 -3
- package/dist/traceable.cjs +5 -4
- package/dist/traceable.js +4 -3
- package/dist/utils/{agent_addressing.cjs → addressing.cjs} +22 -23
- package/dist/utils/{agent_addressing.d.ts → addressing.d.ts} +5 -8
- package/dist/utils/{agent_addressing.js → addressing.js} +23 -23
- package/dist/utils/env.cjs +6 -4
- package/dist/utils/env.js +6 -4
- package/package.json +1 -1
|
@@ -0,0 +1,19 @@
|
|
|
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 Threads extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Starts or resumes the sandbox referenced by the thread and returns when it is
|
|
7
|
+
* ready. The operation is idempotent. The thread must include
|
|
8
|
+
* sandbox.sandbox_slug.
|
|
9
|
+
*/
|
|
10
|
+
activateSandbox(threadID: string, options?: RequestOptions): APIPromise<ThreadActivateSandboxResponse>;
|
|
11
|
+
}
|
|
12
|
+
export interface ThreadActivateSandboxResponse {
|
|
13
|
+
sandbox_slug: string;
|
|
14
|
+
scope: 'agent' | 'thread';
|
|
15
|
+
status: 'provisioning' | 'ready' | 'failed' | 'stopped' | 'deleting';
|
|
16
|
+
}
|
|
17
|
+
export declare namespace Threads {
|
|
18
|
+
export { type ThreadActivateSandboxResponse as ThreadActivateSandboxResponse };
|
|
19
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
import { APIResource } from '../../core/resource.js';
|
|
4
|
+
import { path } from '../../internal/utils/path.js';
|
|
5
|
+
export class Threads extends APIResource {
|
|
6
|
+
/**
|
|
7
|
+
* Starts or resumes the sandbox referenced by the thread and returns when it is
|
|
8
|
+
* ready. The operation is idempotent. The thread must include
|
|
9
|
+
* sandbox.sandbox_slug.
|
|
10
|
+
*/
|
|
11
|
+
activateSandbox(threadID, options) {
|
|
12
|
+
return this._client.post(path `/v1/fleet/threads/${threadID}/sandbox-activation`, options);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -2,24 +2,30 @@
|
|
|
2
2
|
// @ts-nocheck
|
|
3
3
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.Traces = exports.Threads = exports.Sandboxes = exports.Runs = exports.Public = exports.OnlineEvaluators = exports.Issues = exports.Info = exports.Datasets = exports.AnnotationQueues = void 0;
|
|
5
|
+
exports.Traces = exports.Threads = exports.Sessions = exports.Sandboxes = exports.Runs = exports.Public = exports.ProductFeedback = exports.OnlineEvaluators = exports.Issues = exports.Info = exports.Fleet = exports.Datasets = exports.AnnotationQueues = void 0;
|
|
6
6
|
var annotation_queues_js_1 = require("./annotation-queues/annotation-queues.cjs");
|
|
7
7
|
Object.defineProperty(exports, "AnnotationQueues", { enumerable: true, get: function () { return annotation_queues_js_1.AnnotationQueues; } });
|
|
8
8
|
var datasets_js_1 = require("./datasets/datasets.cjs");
|
|
9
9
|
Object.defineProperty(exports, "Datasets", { enumerable: true, get: function () { return datasets_js_1.Datasets; } });
|
|
10
|
+
var fleet_js_1 = require("./fleet/fleet.cjs");
|
|
11
|
+
Object.defineProperty(exports, "Fleet", { enumerable: true, get: function () { return fleet_js_1.Fleet; } });
|
|
10
12
|
var info_js_1 = require("./info.cjs");
|
|
11
13
|
Object.defineProperty(exports, "Info", { enumerable: true, get: function () { return info_js_1.Info; } });
|
|
12
14
|
var issues_js_1 = require("./issues.cjs");
|
|
13
15
|
Object.defineProperty(exports, "Issues", { enumerable: true, get: function () { return issues_js_1.Issues; } });
|
|
14
16
|
var online_evaluators_js_1 = require("./online-evaluators.cjs");
|
|
15
17
|
Object.defineProperty(exports, "OnlineEvaluators", { enumerable: true, get: function () { return online_evaluators_js_1.OnlineEvaluators; } });
|
|
18
|
+
var product_feedback_js_1 = require("./product-feedback.cjs");
|
|
19
|
+
Object.defineProperty(exports, "ProductFeedback", { enumerable: true, get: function () { return product_feedback_js_1.ProductFeedback; } });
|
|
16
20
|
var public_js_1 = require("./public/public.cjs");
|
|
17
21
|
Object.defineProperty(exports, "Public", { enumerable: true, get: function () { return public_js_1.Public; } });
|
|
18
22
|
var runs_js_1 = require("./runs/runs.cjs");
|
|
19
23
|
Object.defineProperty(exports, "Runs", { enumerable: true, get: function () { return runs_js_1.Runs; } });
|
|
20
24
|
var sandboxes_js_1 = require("./sandboxes/sandboxes.cjs");
|
|
21
25
|
Object.defineProperty(exports, "Sandboxes", { enumerable: true, get: function () { return sandboxes_js_1.Sandboxes; } });
|
|
22
|
-
var
|
|
26
|
+
var sessions_js_1 = require("./sessions.cjs");
|
|
27
|
+
Object.defineProperty(exports, "Sessions", { enumerable: true, get: function () { return sessions_js_1.Sessions; } });
|
|
28
|
+
var threads_js_1 = require("./threads/threads.cjs");
|
|
23
29
|
Object.defineProperty(exports, "Threads", { enumerable: true, get: function () { return threads_js_1.Threads; } });
|
|
24
30
|
var traces_js_1 = require("./traces.cjs");
|
|
25
31
|
Object.defineProperty(exports, "Traces", { enumerable: true, get: function () { return traces_js_1.Traces; } });
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
export { AnnotationQueues, type AnnotationQueueRubricItemSchema, type AnnotationQueueSchema, type AnnotationQueueSizeSchema, type RunSchemaWithAnnotationQueueInfo, type AnnotationQueueRetrieveResponse, type AnnotationQueueUpdateResponse, type AnnotationQueueDeleteResponse, type AnnotationQueueCreateRunStatusResponse, type AnnotationQueueExportResponse, type AnnotationQueuePopulateResponse, type AnnotationQueueRetrieveAnnotationQueuesResponse, type AnnotationQueueRetrieveQueuesResponse, type AnnotationQueueUpdateParams, type AnnotationQueueAnnotationQueuesParams, type AnnotationQueueCreateRunStatusParams, type AnnotationQueueExportParams, type AnnotationQueuePopulateParams, type AnnotationQueueRetrieveAnnotationQueuesParams, type AnnotationQueueRetrieveRunParams, type AnnotationQueueRetrieveSizeParams, type AnnotationQueueRetrieveTotalArchivedParams, type AnnotationQueueRetrieveAnnotationQueuesResponsesOffsetPaginationTopLevelArray, } from './annotation-queues/annotation-queues.js';
|
|
2
2
|
export { Datasets, type DataType, type Dataset, type DatasetTransformation, type DatasetVersion, type FeedbackCreateCoreSchema, type Missing, type SortByDatasetColumn, } from './datasets/datasets.js';
|
|
3
|
+
export { Fleet } from './fleet/fleet.js';
|
|
3
4
|
export { Info, type InfoListResponse } from './info.js';
|
|
4
|
-
export { Issues, type Issue, type IssueListParams, type IssuesOffsetPaginationIssues } from './issues.js';
|
|
5
|
+
export { Issues, type Issue, type IssueRetrieveParams, type IssueListParams, type IssuesOffsetPaginationIssues, } from './issues.js';
|
|
5
6
|
export { OnlineEvaluators, type BulkDeleteEvaluatorFailedItem, type BulkDeleteEvaluatorsResponse, type CreateOnlineCodeEvaluatorRequest, type CreateOnlineEvaluatorRequest, type CreateOnlineEvaluatorResponse, type CreateOnlineLlmEvaluatorRequest, type GetOnlineEvaluatorSpendResponse, type OnlineCodeEvaluator, type OnlineEvaluator, type OnlineEvaluatorRunRule, type OnlineEvaluatorSpendDay, type OnlineEvaluatorSpendGroup, type OnlineEvaluatorType, type OnlineLlmEvaluator, type OnlineSpendLimit, type UpdateOnlineCodeEvaluatorRequest, type UpdateOnlineEvaluatorRequest, type UpdateOnlineEvaluatorResponse, type UpdateOnlineLlmEvaluatorRequest, type OnlineEvaluatorCreateParams, type OnlineEvaluatorUpdateParams, type OnlineEvaluatorListParams, type OnlineEvaluatorDeleteParams, type OnlineEvaluatorBulkDeleteParams, type OnlineEvaluatorSpendParams, type OnlineEvaluatorsOffsetPaginationOnlineEvaluators, } from './online-evaluators.js';
|
|
7
|
+
export { ProductFeedback, type ProductFeedbackCreateResponse, type ProductFeedbackRetrieveResponse, type ProductFeedbackCreateParams, } from './product-feedback.js';
|
|
6
8
|
export { Public } from './public/public.js';
|
|
7
9
|
export { Runs, type ResponseBodyForRunsGenerateQuery, type Run, type RunIngest, type RunSchema, type RunSelectField, type RunStatsQueryParams, type RunType, type RunTypeEnum, type RunsFilterDataSourceTypeEnum, type RunGetURLResponse, type RunGetURLParams, type RunQueryV2Params, type RunRetrieveV2Params, type RunRetrieveParams, type RunQueryParams, type RunsItemsCursorPostPagination, } from './runs/runs.js';
|
|
8
|
-
export { Sandboxes, type DownloadURLResponse, type SandboxListResponse, type SandboxResponse, type SandboxStatusResponse, type ServiceURLResponse, type SnapshotListResponse, type SnapshotResponse, type SandboxResponsesItemsCursorGetPagination, type SnapshotResponsesItemsCursorGetPagination, } from './sandboxes/sandboxes.js';
|
|
9
|
-
export {
|
|
10
|
+
export { Sandboxes, type DownloadURLResponse, type SandboxListResponse, type SandboxResponse, type SandboxStatusResponse, type ServiceURLResponse, type SnapshotListResponse, type SnapshotResponse, type SandboxListUsageCostsResponse, type SandboxListUsageCostsParams, type SandboxResponsesItemsCursorGetPagination, type SnapshotResponsesItemsCursorGetPagination, type SandboxListUsageCostsResponsesItemsCursorGetPagination, } from './sandboxes/sandboxes.js';
|
|
11
|
+
export { Sessions, type CustomChartsSection, type CustomChartsSectionRequest, type RunStatsGroupBy, type SessionSortableColumns, type TimedeltaInput, type TracerSession, type TracerSessionWithoutVirtualFields, type SessionResolveResponse, type SessionResolveParams, } from './sessions.js';
|
|
12
|
+
export { Threads, type Thread, type ThreadStats, type ThreadTrace, type ThreadAggregateStatsResponse, type ThreadAggregateStatsParams, type ThreadListTracesParams, type ThreadQueryParams, type ThreadStatsParams, type ThreadTracesItemsCursorGetPagination, type ThreadsItemsCursorPostPagination, } from './threads/threads.js';
|
|
10
13
|
export { Traces, type Trace, type TraceAggregates, type TraceListRunsResponse, type TraceListRunsParams, type TraceQueryParams, type TracesItemsCursorPostPagination, } from './traces.js';
|
|
@@ -2,11 +2,14 @@
|
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
export { AnnotationQueues, } from './annotation-queues/annotation-queues.js';
|
|
4
4
|
export { Datasets, } from './datasets/datasets.js';
|
|
5
|
+
export { Fleet } from './fleet/fleet.js';
|
|
5
6
|
export { Info } from './info.js';
|
|
6
|
-
export { Issues } from './issues.js';
|
|
7
|
+
export { Issues, } from './issues.js';
|
|
7
8
|
export { OnlineEvaluators, } from './online-evaluators.js';
|
|
9
|
+
export { ProductFeedback, } from './product-feedback.js';
|
|
8
10
|
export { Public } from './public/public.js';
|
|
9
11
|
export { Runs, } from './runs/runs.js';
|
|
10
12
|
export { Sandboxes, } from './sandboxes/sandboxes.js';
|
|
11
|
-
export {
|
|
13
|
+
export { Sessions, } from './sessions.js';
|
|
14
|
+
export { Threads, } from './threads/threads.js';
|
|
12
15
|
export { Traces, } from './traces.js';
|
|
@@ -11,7 +11,13 @@ export declare class Info extends APIResource {
|
|
|
11
11
|
}
|
|
12
12
|
export interface InfoListResponse {
|
|
13
13
|
batch_ingest_config?: InfoListResponse.BatchIngestConfig;
|
|
14
|
+
/**
|
|
15
|
+
* BillingInstallationID is the persistent per-installation identity for
|
|
16
|
+
* self-hosted deployments.
|
|
17
|
+
*/
|
|
18
|
+
billing_installation_id?: string;
|
|
14
19
|
customer_info?: InfoListResponse.CustomerInfo;
|
|
20
|
+
engine_github_web_base_url?: string;
|
|
15
21
|
git_sha?: string;
|
|
16
22
|
instance_flags?: {
|
|
17
23
|
[key: string]: unknown;
|
|
@@ -12,8 +12,8 @@ class Issues extends resource_js_1.APIResource {
|
|
|
12
12
|
*
|
|
13
13
|
* Returns one issue for the authenticated tenant.
|
|
14
14
|
*/
|
|
15
|
-
retrieve(id, options) {
|
|
16
|
-
return this._client.get((0, path_js_1.path) `/api/v1/platform/issues/${id}`, options);
|
|
15
|
+
retrieve(id, query = {}, options) {
|
|
16
|
+
return this._client.get((0, path_js_1.path) `/api/v1/platform/issues/${id}`, { query, ...options });
|
|
17
17
|
}
|
|
18
18
|
/**
|
|
19
19
|
* **Beta:** This endpoint is in active development and may change without notice.
|
|
@@ -8,7 +8,7 @@ export declare class Issues extends APIResource {
|
|
|
8
8
|
*
|
|
9
9
|
* Returns one issue for the authenticated tenant.
|
|
10
10
|
*/
|
|
11
|
-
retrieve(id: string, options?: RequestOptions): APIPromise<Issue>;
|
|
11
|
+
retrieve(id: string, query?: IssueRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<Issue>;
|
|
12
12
|
/**
|
|
13
13
|
* **Beta:** This endpoint is in active development and may change without notice.
|
|
14
14
|
*
|
|
@@ -29,13 +29,29 @@ export interface Issue {
|
|
|
29
29
|
auto_resolution_state?: string;
|
|
30
30
|
created_at?: string;
|
|
31
31
|
description?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Nil for the trace-list issues that are the norm.
|
|
34
|
+
*/
|
|
35
|
+
evidence?: Issue.Evidence | null;
|
|
32
36
|
first_seen_at?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Legacy: branch of the oldest fix in the board's oldest connected repository.
|
|
39
|
+
*/
|
|
33
40
|
fix_branch?: string;
|
|
34
41
|
fix_dispatched_at?: string;
|
|
35
42
|
fix_pr_number?: number;
|
|
43
|
+
/**
|
|
44
|
+
* Issue-level: the problem every fix shares, and the last time a fix run was
|
|
45
|
+
* dispatched for this issue — one run works several fixes.
|
|
46
|
+
*/
|
|
36
47
|
fix_prompt?: string;
|
|
37
|
-
fix_verification?:
|
|
48
|
+
fix_verification?: Issue.FixVerification;
|
|
49
|
+
/**
|
|
50
|
+
* Newest first.
|
|
51
|
+
*/
|
|
52
|
+
fixes?: Array<Issue.Fix>;
|
|
38
53
|
last_seen_at?: string;
|
|
54
|
+
linear_context?: Issue.LinearContext;
|
|
39
55
|
linear_sync?: Issue.LinearSync;
|
|
40
56
|
name?: string;
|
|
41
57
|
proposed_context_fixes?: Array<unknown>;
|
|
@@ -54,9 +70,148 @@ export interface Issue {
|
|
|
54
70
|
tenant_id?: string;
|
|
55
71
|
traces?: unknown;
|
|
56
72
|
updated_at?: string;
|
|
73
|
+
validation_result?: Issue.ValidationResult;
|
|
57
74
|
watching_since?: string;
|
|
58
75
|
}
|
|
59
76
|
export declare namespace Issue {
|
|
77
|
+
/**
|
|
78
|
+
* Nil for the trace-list issues that are the norm.
|
|
79
|
+
*/
|
|
80
|
+
interface Evidence {
|
|
81
|
+
type: 'series';
|
|
82
|
+
series?: Evidence.Series;
|
|
83
|
+
}
|
|
84
|
+
namespace Evidence {
|
|
85
|
+
interface Series {
|
|
86
|
+
metric_definition: Series.MetricDefinition;
|
|
87
|
+
/**
|
|
88
|
+
* Narrows what is measured; the renderer ANDs its root scope over it.
|
|
89
|
+
*/
|
|
90
|
+
run_filter?: string;
|
|
91
|
+
window_end?: string;
|
|
92
|
+
/**
|
|
93
|
+
* The view the chart opens at, not a clamp. Start alone renders start -> now.
|
|
94
|
+
*/
|
|
95
|
+
window_start?: string;
|
|
96
|
+
}
|
|
97
|
+
namespace Series {
|
|
98
|
+
interface MetricDefinition {
|
|
99
|
+
/**
|
|
100
|
+
* histogram is reserved and rejected; the tag publishes what is accepted.
|
|
101
|
+
*/
|
|
102
|
+
type: 'count' | 'sum' | 'avg' | 'min' | 'max' | 'percentile' | 'ratio' | 'histogram';
|
|
103
|
+
denominator?: MetricDefinition.Denominator;
|
|
104
|
+
/**
|
|
105
|
+
* Entity selects what a type=count metric counts. Only valid when type=count;
|
|
106
|
+
* defaults to MetricEntityRun. entity=feedback requires params.feedback_key and
|
|
107
|
+
* counts individual feedback records rather than runs.
|
|
108
|
+
*/
|
|
109
|
+
entity?: 'run' | 'feedback';
|
|
110
|
+
field?: 'latency_seconds' | 'first_token_seconds' | 'total_tokens' | 'prompt_tokens' | 'completion_tokens' | 'total_cost' | 'prompt_cost' | 'completion_cost' | 'feedback_score' | 'prompt_token_details.cache_creation' | 'prompt_token_details.cache_read' | 'prompt_token_details.ephemeral_1h_input_tokens' | 'prompt_token_details.ephemeral_5m_input_tokens' | 'prompt_token_details.audio' | 'prompt_token_details.image' | 'prompt_token_details.video' | 'completion_token_details.reasoning' | 'completion_token_details.audio' | 'completion_token_details.image' | 'completion_token_details.video';
|
|
111
|
+
/**
|
|
112
|
+
* Numerator and Denominator are required when type=ratio.
|
|
113
|
+
*/
|
|
114
|
+
numerator?: MetricDefinition.Numerator;
|
|
115
|
+
/**
|
|
116
|
+
* percentile p or histogram bucket_count
|
|
117
|
+
*/
|
|
118
|
+
params?: MetricDefinition.Params;
|
|
119
|
+
}
|
|
120
|
+
namespace MetricDefinition {
|
|
121
|
+
interface Denominator {
|
|
122
|
+
/**
|
|
123
|
+
* An operand is non-composite, so ratio is rejected here too.
|
|
124
|
+
*/
|
|
125
|
+
type: 'count' | 'sum' | 'avg' | 'min' | 'max' | 'percentile' | 'ratio' | 'histogram';
|
|
126
|
+
/**
|
|
127
|
+
* Entity selects what a type=count metric counts. Only valid when type=count;
|
|
128
|
+
* defaults to MetricEntityRun. entity=feedback requires params.feedback_key and
|
|
129
|
+
* counts individual feedback records rather than runs.
|
|
130
|
+
*/
|
|
131
|
+
entity?: 'run' | 'feedback';
|
|
132
|
+
field?: 'latency_seconds' | 'first_token_seconds' | 'total_tokens' | 'prompt_tokens' | 'completion_tokens' | 'total_cost' | 'prompt_cost' | 'completion_cost' | 'feedback_score' | 'prompt_token_details.cache_creation' | 'prompt_token_details.cache_read' | 'prompt_token_details.ephemeral_1h_input_tokens' | 'prompt_token_details.ephemeral_5m_input_tokens' | 'prompt_token_details.audio' | 'prompt_token_details.image' | 'prompt_token_details.video' | 'completion_token_details.reasoning' | 'completion_token_details.audio' | 'completion_token_details.image' | 'completion_token_details.video';
|
|
133
|
+
filter?: string;
|
|
134
|
+
/**
|
|
135
|
+
* required when type=percentile
|
|
136
|
+
*/
|
|
137
|
+
params?: Denominator.Params;
|
|
138
|
+
}
|
|
139
|
+
namespace Denominator {
|
|
140
|
+
/**
|
|
141
|
+
* required when type=percentile
|
|
142
|
+
*/
|
|
143
|
+
interface Params {
|
|
144
|
+
bucket_count?: number;
|
|
145
|
+
feedback_key?: string;
|
|
146
|
+
p?: number;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
/**
|
|
150
|
+
* Numerator and Denominator are required when type=ratio.
|
|
151
|
+
*/
|
|
152
|
+
interface Numerator {
|
|
153
|
+
/**
|
|
154
|
+
* An operand is non-composite, so ratio is rejected here too.
|
|
155
|
+
*/
|
|
156
|
+
type: 'count' | 'sum' | 'avg' | 'min' | 'max' | 'percentile' | 'ratio' | 'histogram';
|
|
157
|
+
/**
|
|
158
|
+
* Entity selects what a type=count metric counts. Only valid when type=count;
|
|
159
|
+
* defaults to MetricEntityRun. entity=feedback requires params.feedback_key and
|
|
160
|
+
* counts individual feedback records rather than runs.
|
|
161
|
+
*/
|
|
162
|
+
entity?: 'run' | 'feedback';
|
|
163
|
+
field?: 'latency_seconds' | 'first_token_seconds' | 'total_tokens' | 'prompt_tokens' | 'completion_tokens' | 'total_cost' | 'prompt_cost' | 'completion_cost' | 'feedback_score' | 'prompt_token_details.cache_creation' | 'prompt_token_details.cache_read' | 'prompt_token_details.ephemeral_1h_input_tokens' | 'prompt_token_details.ephemeral_5m_input_tokens' | 'prompt_token_details.audio' | 'prompt_token_details.image' | 'prompt_token_details.video' | 'completion_token_details.reasoning' | 'completion_token_details.audio' | 'completion_token_details.image' | 'completion_token_details.video';
|
|
164
|
+
filter?: string;
|
|
165
|
+
/**
|
|
166
|
+
* required when type=percentile
|
|
167
|
+
*/
|
|
168
|
+
params?: Numerator.Params;
|
|
169
|
+
}
|
|
170
|
+
namespace Numerator {
|
|
171
|
+
/**
|
|
172
|
+
* required when type=percentile
|
|
173
|
+
*/
|
|
174
|
+
interface Params {
|
|
175
|
+
bucket_count?: number;
|
|
176
|
+
feedback_key?: string;
|
|
177
|
+
p?: number;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
/**
|
|
181
|
+
* percentile p or histogram bucket_count
|
|
182
|
+
*/
|
|
183
|
+
interface Params {
|
|
184
|
+
bucket_count?: number;
|
|
185
|
+
feedback_key?: string;
|
|
186
|
+
p?: number;
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
interface FixVerification {
|
|
192
|
+
attempt?: number;
|
|
193
|
+
baseline_experiment_id?: string;
|
|
194
|
+
dataset_id?: string;
|
|
195
|
+
parent_deployment_id?: string;
|
|
196
|
+
preview_deployment_id?: string;
|
|
197
|
+
preview_experiment_id?: string;
|
|
198
|
+
reason?: string;
|
|
199
|
+
root_trace_ids?: Array<string>;
|
|
200
|
+
status?: 'awaiting_preview' | 'verifying' | 'passed' | 'failed' | 'inconclusive' | 'timeout' | 'error';
|
|
201
|
+
updated_at?: string;
|
|
202
|
+
}
|
|
203
|
+
interface Fix {
|
|
204
|
+
id: string;
|
|
205
|
+
branch: string | null;
|
|
206
|
+
created_at: string;
|
|
207
|
+
pr_number: number | null;
|
|
208
|
+
repo_url: string;
|
|
209
|
+
updated_at: string;
|
|
210
|
+
}
|
|
211
|
+
interface LinearContext {
|
|
212
|
+
github_pr_urls?: Array<string>;
|
|
213
|
+
workflow_state?: string;
|
|
214
|
+
}
|
|
60
215
|
interface LinearSync {
|
|
61
216
|
identifier?: string;
|
|
62
217
|
issue_id?: string;
|
|
@@ -67,8 +222,29 @@ export declare namespace Issue {
|
|
|
67
222
|
state?: 'pending' | 'synced' | 'failed' | 'auth_required' | 'paused';
|
|
68
223
|
url?: string;
|
|
69
224
|
}
|
|
225
|
+
interface ValidationResult {
|
|
226
|
+
active_revision_id?: string;
|
|
227
|
+
baseline_experiment_id?: string;
|
|
228
|
+
completed_at?: string;
|
|
229
|
+
dataset_id?: string;
|
|
230
|
+
deployment_id?: string;
|
|
231
|
+
outcome?: 'reproduced' | 'not_reproduced' | 'inconclusive' | 'error';
|
|
232
|
+
reason?: string;
|
|
233
|
+
root_trace_ids?: Array<string>;
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
export interface IssueRetrieveParams {
|
|
237
|
+
/**
|
|
238
|
+
* Include current Linear workflow state and validated linked GitHub pull request
|
|
239
|
+
* URLs
|
|
240
|
+
*/
|
|
241
|
+
include_linear_context?: boolean;
|
|
70
242
|
}
|
|
71
243
|
export interface IssueListParams extends OffsetPaginationIssuesParams {
|
|
244
|
+
/**
|
|
245
|
+
* Filter by Engine activity (repeatable; OR semantics)
|
|
246
|
+
*/
|
|
247
|
+
activity?: Array<'fixing' | 'watching' | 'recurred'>;
|
|
72
248
|
/**
|
|
73
249
|
* Filter by session ID (UUID)
|
|
74
250
|
*/
|
|
@@ -81,14 +257,22 @@ export interface IssueListParams extends OffsetPaginationIssuesParams {
|
|
|
81
257
|
* Filter by severity
|
|
82
258
|
*/
|
|
83
259
|
severity?: 0 | 1 | 2 | 3;
|
|
260
|
+
/**
|
|
261
|
+
* Filter by exact severity (repeatable; OR semantics)
|
|
262
|
+
*/
|
|
263
|
+
severity_exact?: Array<0 | 1 | 2 | 3>;
|
|
84
264
|
/**
|
|
85
265
|
* Sort field
|
|
86
266
|
*/
|
|
87
|
-
sort_by?: 'created_at' | 'updated_at' | 'severity';
|
|
267
|
+
sort_by?: 'default' | 'created_at' | 'updated_at' | 'last_seen' | 'last_updated' | 'trace_count' | 'severity';
|
|
88
268
|
/**
|
|
89
269
|
* Filter by status
|
|
90
270
|
*/
|
|
91
271
|
status?: 'open' | 'fixing' | 'watching' | 'completed' | 'ignored';
|
|
272
|
+
/**
|
|
273
|
+
* Group results by issue lifecycle status before applying sort_by
|
|
274
|
+
*/
|
|
275
|
+
status_first?: boolean;
|
|
92
276
|
/**
|
|
93
277
|
* Filter by tag (exact match)
|
|
94
278
|
*/
|
|
@@ -103,5 +287,5 @@ export interface IssueListParams extends OffsetPaginationIssuesParams {
|
|
|
103
287
|
updated_at?: string;
|
|
104
288
|
}
|
|
105
289
|
export declare namespace Issues {
|
|
106
|
-
export { type Issue as Issue, type IssuesOffsetPaginationIssues as IssuesOffsetPaginationIssues, type IssueListParams as IssueListParams, };
|
|
290
|
+
export { type Issue as Issue, type IssuesOffsetPaginationIssues as IssuesOffsetPaginationIssues, type IssueRetrieveParams as IssueRetrieveParams, type IssueListParams as IssueListParams, };
|
|
107
291
|
}
|
|
@@ -9,8 +9,8 @@ export class Issues extends APIResource {
|
|
|
9
9
|
*
|
|
10
10
|
* Returns one issue for the authenticated tenant.
|
|
11
11
|
*/
|
|
12
|
-
retrieve(id, options) {
|
|
13
|
-
return this._client.get(path `/api/v1/platform/issues/${id}`, options);
|
|
12
|
+
retrieve(id, query = {}, options) {
|
|
13
|
+
return this._client.get(path `/api/v1/platform/issues/${id}`, { query, ...options });
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
16
16
|
* **Beta:** This endpoint is in active development and may change without notice.
|
|
@@ -22,6 +22,7 @@ class OnlineEvaluators extends resource_js_1.APIResource {
|
|
|
22
22
|
}
|
|
23
23
|
/**
|
|
24
24
|
* Update an existing evaluator's name, LLM configuration, or code configuration.
|
|
25
|
+
* Returns 409 when a code evaluator build is ENQUEUED or BUILDING.
|
|
25
26
|
*/
|
|
26
27
|
update(evaluatorID, body, options) {
|
|
27
28
|
return this._client.patch((0, path_js_1.path) `/api/v1/platform/evaluators/${evaluatorID}`, { body, ...options });
|
|
@@ -34,10 +35,12 @@ class OnlineEvaluators extends resource_js_1.APIResource {
|
|
|
34
35
|
return this._client.getAPIList('/api/v1/platform/evaluators', (pagination_js_1.OffsetPaginationOnlineEvaluators), { query, ...options });
|
|
35
36
|
}
|
|
36
37
|
/**
|
|
37
|
-
* Delete an evaluator.
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
* is
|
|
38
|
+
* Delete an evaluator. Returns 409 when a code evaluator build is ENQUEUED or
|
|
39
|
+
* BUILDING, or when run rules still reference the evaluator and delete_run_rules
|
|
40
|
+
* is false. When delete_run_rules is true, all run rules referencing this
|
|
41
|
+
* evaluator are deleted first (same tenant) if the build is not in flight.
|
|
42
|
+
* Associated llm_evaluators and code_evaluators rows are removed by foreign-key
|
|
43
|
+
* cascade when the evaluator row is deleted.
|
|
41
44
|
*/
|
|
42
45
|
delete(evaluatorID, params = {}, options) {
|
|
43
46
|
const { delete_run_rules } = params ?? {};
|
|
@@ -13,6 +13,7 @@ export declare class OnlineEvaluators extends APIResource {
|
|
|
13
13
|
retrieve(evaluatorID: string, options?: RequestOptions): APIPromise<OnlineEvaluator>;
|
|
14
14
|
/**
|
|
15
15
|
* Update an existing evaluator's name, LLM configuration, or code configuration.
|
|
16
|
+
* Returns 409 when a code evaluator build is ENQUEUED or BUILDING.
|
|
16
17
|
*/
|
|
17
18
|
update(evaluatorID: string, body: OnlineEvaluatorUpdateParams, options?: RequestOptions): APIPromise<UpdateOnlineEvaluatorResponse>;
|
|
18
19
|
/**
|
|
@@ -21,10 +22,12 @@ export declare class OnlineEvaluators extends APIResource {
|
|
|
21
22
|
*/
|
|
22
23
|
list(query?: OnlineEvaluatorListParams | null | undefined, options?: RequestOptions): PagePromise<OnlineEvaluatorsOffsetPaginationOnlineEvaluators, OnlineEvaluator>;
|
|
23
24
|
/**
|
|
24
|
-
* Delete an evaluator.
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
* is
|
|
25
|
+
* Delete an evaluator. Returns 409 when a code evaluator build is ENQUEUED or
|
|
26
|
+
* BUILDING, or when run rules still reference the evaluator and delete_run_rules
|
|
27
|
+
* is false. When delete_run_rules is true, all run rules referencing this
|
|
28
|
+
* evaluator are deleted first (same tenant) if the build is not in flight.
|
|
29
|
+
* Associated llm_evaluators and code_evaluators rows are removed by foreign-key
|
|
30
|
+
* cascade when the evaluator row is deleted.
|
|
28
31
|
*/
|
|
29
32
|
delete(evaluatorID: string, params?: OnlineEvaluatorDeleteParams | null | undefined, options?: RequestOptions): APIPromise<void>;
|
|
30
33
|
/**
|
|
@@ -49,11 +52,28 @@ export interface BulkDeleteEvaluatorsResponse {
|
|
|
49
52
|
succeeded?: Array<string>;
|
|
50
53
|
}
|
|
51
54
|
export interface CreateOnlineCodeEvaluatorRequest {
|
|
55
|
+
advanced_features_enabled?: boolean;
|
|
52
56
|
code?: string;
|
|
57
|
+
dependencies?: string | null;
|
|
53
58
|
/**
|
|
54
59
|
* Default: "python"
|
|
55
60
|
*/
|
|
56
61
|
language?: string;
|
|
62
|
+
managed_code_evaluator_key?: 'voice_metrics';
|
|
63
|
+
managed_code_evaluator_settings?: {
|
|
64
|
+
[key: string]: CreateOnlineCodeEvaluatorRequest.ManagedCodeEvaluatorSettings;
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
* RequireAttachments opts the evaluator into selecting/presigning run attachments
|
|
68
|
+
* (s3_urls) at evaluation time. Default false.
|
|
69
|
+
*/
|
|
70
|
+
require_attachments?: boolean;
|
|
71
|
+
}
|
|
72
|
+
export declare namespace CreateOnlineCodeEvaluatorRequest {
|
|
73
|
+
interface ManagedCodeEvaluatorSettings {
|
|
74
|
+
is_enabled?: boolean;
|
|
75
|
+
key_name?: string;
|
|
76
|
+
}
|
|
57
77
|
}
|
|
58
78
|
export interface CreateOnlineEvaluatorRequest {
|
|
59
79
|
code_evaluator?: CreateOnlineCodeEvaluatorRequest;
|
|
@@ -79,12 +99,31 @@ export interface GetOnlineEvaluatorSpendResponse {
|
|
|
79
99
|
period_start?: string;
|
|
80
100
|
}
|
|
81
101
|
export interface OnlineCodeEvaluator {
|
|
102
|
+
advanced_features_enabled?: boolean;
|
|
82
103
|
code?: string;
|
|
104
|
+
dependencies?: string;
|
|
105
|
+
evaluator_build_error?: string;
|
|
106
|
+
evaluator_build_status?: 'ENQUEUED' | 'BUILDING' | 'READY' | 'FAILED';
|
|
83
107
|
evaluator_id?: string;
|
|
84
108
|
/**
|
|
85
109
|
* Default: "python"
|
|
86
110
|
*/
|
|
87
111
|
language?: string;
|
|
112
|
+
managed_code_evaluator_key?: 'voice_metrics';
|
|
113
|
+
managed_code_evaluator_settings?: {
|
|
114
|
+
[key: string]: OnlineCodeEvaluator.ManagedCodeEvaluatorSettings;
|
|
115
|
+
};
|
|
116
|
+
/**
|
|
117
|
+
* RequireAttachments opts the evaluator into selecting/presigning run attachments
|
|
118
|
+
* (s3_urls) at evaluation time. Default false.
|
|
119
|
+
*/
|
|
120
|
+
require_attachments?: boolean;
|
|
121
|
+
}
|
|
122
|
+
export declare namespace OnlineCodeEvaluator {
|
|
123
|
+
interface ManagedCodeEvaluatorSettings {
|
|
124
|
+
is_enabled?: boolean;
|
|
125
|
+
key_name?: string;
|
|
126
|
+
}
|
|
88
127
|
}
|
|
89
128
|
export interface OnlineEvaluator {
|
|
90
129
|
id?: string;
|
|
@@ -176,8 +215,24 @@ export interface OnlineSpendLimit {
|
|
|
176
215
|
window?: string;
|
|
177
216
|
}
|
|
178
217
|
export interface UpdateOnlineCodeEvaluatorRequest {
|
|
218
|
+
advanced_features_enabled?: boolean;
|
|
179
219
|
code?: string;
|
|
220
|
+
dependencies?: string | null;
|
|
180
221
|
language?: string;
|
|
222
|
+
managed_code_evaluator_settings?: {
|
|
223
|
+
[key: string]: UpdateOnlineCodeEvaluatorRequest.ManagedCodeEvaluatorSettings;
|
|
224
|
+
};
|
|
225
|
+
/**
|
|
226
|
+
* RequireAttachments is fetch-time config: updating it does not rebuild the
|
|
227
|
+
* sandbox snapshot.
|
|
228
|
+
*/
|
|
229
|
+
require_attachments?: boolean;
|
|
230
|
+
}
|
|
231
|
+
export declare namespace UpdateOnlineCodeEvaluatorRequest {
|
|
232
|
+
interface ManagedCodeEvaluatorSettings {
|
|
233
|
+
is_enabled?: boolean;
|
|
234
|
+
key_name?: string;
|
|
235
|
+
}
|
|
181
236
|
}
|
|
182
237
|
export interface UpdateOnlineEvaluatorRequest {
|
|
183
238
|
code_evaluator?: UpdateOnlineCodeEvaluatorRequest;
|
|
@@ -210,6 +265,10 @@ export interface OnlineEvaluatorUpdateParams {
|
|
|
210
265
|
name?: string;
|
|
211
266
|
}
|
|
212
267
|
export interface OnlineEvaluatorListParams extends OffsetPaginationOnlineEvaluatorsParams {
|
|
268
|
+
/**
|
|
269
|
+
* Filter to evaluators attached to the agent's environments or tagged datasets
|
|
270
|
+
*/
|
|
271
|
+
agent_id?: string;
|
|
213
272
|
/**
|
|
214
273
|
* Filter by feedback key
|
|
215
274
|
*/
|
|
@@ -19,6 +19,7 @@ export class OnlineEvaluators extends APIResource {
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* Update an existing evaluator's name, LLM configuration, or code configuration.
|
|
22
|
+
* Returns 409 when a code evaluator build is ENQUEUED or BUILDING.
|
|
22
23
|
*/
|
|
23
24
|
update(evaluatorID, body, options) {
|
|
24
25
|
return this._client.patch(path `/api/v1/platform/evaluators/${evaluatorID}`, { body, ...options });
|
|
@@ -31,10 +32,12 @@ export class OnlineEvaluators extends APIResource {
|
|
|
31
32
|
return this._client.getAPIList('/api/v1/platform/evaluators', (OffsetPaginationOnlineEvaluators), { query, ...options });
|
|
32
33
|
}
|
|
33
34
|
/**
|
|
34
|
-
* Delete an evaluator.
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
* is
|
|
35
|
+
* Delete an evaluator. Returns 409 when a code evaluator build is ENQUEUED or
|
|
36
|
+
* BUILDING, or when run rules still reference the evaluator and delete_run_rules
|
|
37
|
+
* is false. When delete_run_rules is true, all run rules referencing this
|
|
38
|
+
* evaluator are deleted first (same tenant) if the build is not in flight.
|
|
39
|
+
* Associated llm_evaluators and code_evaluators rows are removed by foreign-key
|
|
40
|
+
* cascade when the evaluator row is deleted.
|
|
38
41
|
*/
|
|
39
42
|
delete(evaluatorID, params = {}, options) {
|
|
40
43
|
const { delete_run_rules } = params ?? {};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// @ts-nocheck
|
|
3
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.ProductFeedback = void 0;
|
|
6
|
+
const resource_js_1 = require("../core/resource.cjs");
|
|
7
|
+
const headers_js_1 = require("../internal/headers.cjs");
|
|
8
|
+
const path_js_1 = require("../internal/utils/path.cjs");
|
|
9
|
+
class ProductFeedback extends resource_js_1.APIResource {
|
|
10
|
+
/**
|
|
11
|
+
* **Alpha:** This endpoint is in active development and may change without notice.
|
|
12
|
+
*
|
|
13
|
+
* Submits concise product feedback with optional non-sensitive client details.
|
|
14
|
+
*/
|
|
15
|
+
create(params, options) {
|
|
16
|
+
const { 'Idempotency-Key': idempotencyKey, ...body } = params;
|
|
17
|
+
return this._client.post('/api/v1/platform/product-feedbacks', {
|
|
18
|
+
body,
|
|
19
|
+
...options,
|
|
20
|
+
headers: (0, headers_js_1.buildHeaders)([
|
|
21
|
+
{ ...(idempotencyKey != null ? { 'Idempotency-Key': idempotencyKey } : undefined) },
|
|
22
|
+
options?.headers,
|
|
23
|
+
]),
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* **Alpha:** This endpoint is in active development and may change without notice.
|
|
28
|
+
*/
|
|
29
|
+
retrieve(id, options) {
|
|
30
|
+
return this._client.get((0, path_js_1.path) `/api/v1/platform/product-feedbacks/${id}`, options);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
exports.ProductFeedback = ProductFeedback;
|