Skip to content

Commit b6f4d6a

Browse files
committed
fix: sync gateway protocol usage schema
1 parent 735b52c commit b6f4d6a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

packages/gateway-protocol/src/schema/sessions.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,8 @@ export const SessionsUsageParamsSchema = Type.Object(
358358
key: Type.Optional(NonEmptyString),
359359
/** Agent scope for list-style usage queries. */
360360
agentId: Type.Optional(NonEmptyString),
361+
/** Explicit all-agent scope for list-style usage queries. */
362+
agentScope: Type.Optional(Type.Literal("all")),
361363
/** Start date for range filter (YYYY-MM-DD). */
362364
startDate: Type.Optional(Type.String({ pattern: "^\\d{4}-\\d{2}-\\d{2}$" })),
363365
/** End date for range filter (YYYY-MM-DD). */

0 commit comments

Comments
 (0)