@agentmark-ai/api-types 0.7.0 → 0.8.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.
- package/dist/types.d.ts +6 -0
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -258,6 +258,12 @@ export interface AggregateRequestsParams extends PaginationParams {
|
|
|
258
258
|
filters?: AnalyticsFilter[];
|
|
259
259
|
startDate?: string;
|
|
260
260
|
endDate?: string;
|
|
261
|
+
/**
|
|
262
|
+
* Env scoping. Aggregations must be computed over a single environment's
|
|
263
|
+
* rows — an unscoped groupBy silently sums every env's traffic into one
|
|
264
|
+
* table. Undefined means "no env filter" (legacy callers only).
|
|
265
|
+
*/
|
|
266
|
+
env?: EnvironmentQueryScope;
|
|
261
267
|
}
|
|
262
268
|
/**
|
|
263
269
|
* Environment scoping for analytics list queries (feature 054 — Environments
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agentmark-ai/api-types",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"description": "Shared API contract types (analytics service, traces, scores) used by the AgentMark CLI dev server and platform. For the public wire schemas use @agentmark-ai/api-schemas.",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|