@mastra/client-js 1.55.1-alpha.0 → 1.56.0-alpha.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.
- package/dist/client.d.ts.map +1 -1
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/docs/references/reference-client-js-observability.md +44 -0
- package/dist/docs/references/reference-observability-metrics-queries.md +1 -0
- package/dist/index.cjs +10 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +10 -0
- package/dist/index.js.map +1 -1
- package/dist/route-types.generated.d.ts +26 -15
- package/dist/route-types.generated.d.ts.map +1 -1
- package/package.json +5 -5
|
@@ -175,12 +175,12 @@ type InputShared_Auxiliary_766 = {
|
|
|
175
175
|
content?: string | undefined;
|
|
176
176
|
children?: InputShared_Auxiliary_766[] | undefined;
|
|
177
177
|
};
|
|
178
|
-
type
|
|
178
|
+
type Shared_Auxiliary_764 = {
|
|
179
179
|
id?: string | undefined;
|
|
180
180
|
name: string;
|
|
181
181
|
type: 'file' | 'folder';
|
|
182
182
|
content?: string | undefined;
|
|
183
|
-
children?:
|
|
183
|
+
children?: Shared_Auxiliary_764[] | undefined;
|
|
184
184
|
};
|
|
185
185
|
type InputShared_Type_0 = {
|
|
186
186
|
thread: string | {
|
|
@@ -555,6 +555,8 @@ type InputShared_Type_19 = {
|
|
|
555
555
|
tags?: string[] | undefined;
|
|
556
556
|
/** Filter by one or more trace IDs */
|
|
557
557
|
traceIds?: string[] | undefined;
|
|
558
|
+
/** Filter by one or more experiment IDs */
|
|
559
|
+
experimentIds?: string[] | undefined;
|
|
558
560
|
/** Filter by metric name(s) */
|
|
559
561
|
name?: string[] | undefined;
|
|
560
562
|
/** Filter by execution source */
|
|
@@ -3173,7 +3175,7 @@ type Shared_Type_83 = {
|
|
|
3173
3175
|
/** List of asset file paths */
|
|
3174
3176
|
assets?: string[] | undefined;
|
|
3175
3177
|
/** Full file tree structure for the skill */
|
|
3176
|
-
files?:
|
|
3178
|
+
files?: Shared_Auxiliary_764[] | undefined;
|
|
3177
3179
|
/** Additional metadata for the skill */
|
|
3178
3180
|
metadata?: {
|
|
3179
3181
|
[key: string]: unknown;
|
|
@@ -8220,23 +8222,29 @@ export type PostObservabilitySpansQuery_Response = {
|
|
|
8220
8222
|
entityType: string | null;
|
|
8221
8223
|
entityId: string | null;
|
|
8222
8224
|
entityName: string | null;
|
|
8225
|
+
entityVersionId: string | null;
|
|
8226
|
+
parentEntityType: string | null;
|
|
8227
|
+
parentEntityId: string | null;
|
|
8228
|
+
parentEntityName: string | null;
|
|
8229
|
+
parentEntityVersionId: string | null;
|
|
8230
|
+
rootEntityType: string | null;
|
|
8231
|
+
rootEntityId: string | null;
|
|
8232
|
+
rootEntityName: string | null;
|
|
8233
|
+
rootEntityVersionId: string | null;
|
|
8234
|
+
threadId: string | null;
|
|
8235
|
+
runId: string | null;
|
|
8236
|
+
sessionId: string | null;
|
|
8237
|
+
userId: string | null;
|
|
8238
|
+
requestId: string | null;
|
|
8239
|
+
serviceName: string | null;
|
|
8240
|
+
experimentId: string | null;
|
|
8241
|
+
environment: string | null;
|
|
8242
|
+
executionSource: string | null;
|
|
8223
8243
|
model: string | null;
|
|
8224
8244
|
provider: string | null;
|
|
8225
8245
|
inputPreview: string | null;
|
|
8226
|
-
inputTruncated: boolean;
|
|
8227
8246
|
outputPreview: string | null;
|
|
8228
|
-
outputTruncated: boolean;
|
|
8229
8247
|
errorPreview: string | null;
|
|
8230
|
-
errorTruncated: boolean;
|
|
8231
|
-
cost: {
|
|
8232
|
-
state: 'available';
|
|
8233
|
-
amount: number;
|
|
8234
|
-
currency: string;
|
|
8235
|
-
} | {
|
|
8236
|
-
state: 'missing';
|
|
8237
|
-
} | {
|
|
8238
|
-
state: 'unavailable';
|
|
8239
|
-
};
|
|
8240
8248
|
}[];
|
|
8241
8249
|
page: {
|
|
8242
8250
|
next: string | null;
|
|
@@ -8383,6 +8391,7 @@ export type GetObservabilityMetrics_QueryParams = {
|
|
|
8383
8391
|
executionSource?: (string | undefined) | undefined;
|
|
8384
8392
|
tags?: ((string[] | undefined) | undefined) | string;
|
|
8385
8393
|
traceIds?: ((string[] | undefined) | undefined) | string;
|
|
8394
|
+
experimentIds?: ((string[] | undefined) | undefined) | string;
|
|
8386
8395
|
name?: ((string[] | undefined) | undefined) | string;
|
|
8387
8396
|
/** Filter by execution source */
|
|
8388
8397
|
source?: (string | undefined) | undefined;
|
|
@@ -15317,6 +15326,8 @@ export type GetDatasets_QueryParams = {
|
|
|
15317
15326
|
targetType?: ('agent' | 'workflow' | 'scorer' | 'processor') | undefined;
|
|
15318
15327
|
/** Only return datasets attached to at least one of these target IDs */
|
|
15319
15328
|
targetIds?: string[] | undefined;
|
|
15329
|
+
/** Only return datasets with these IDs (up to 100). All matches come back on one page; page and perPage are ignored. A blank value matches no datasets. */
|
|
15330
|
+
datasetIds?: string[] | undefined;
|
|
15320
15331
|
orderBy?: ({
|
|
15321
15332
|
field: 'createdAt' | 'updatedAt' | 'name';
|
|
15322
15333
|
direction: 'ASC' | 'DESC';
|