import * as z from "zod/v4"; import { SetFilterOperator } from "./setfilteroperator.js"; /** * Several dimensions are enriched in responses (returned as human-readable labels), but filters must use the underlying ID: `api_key_id` — numeric ID (from generation metadata) or key hash (64-char hex from GET /api/v1/keys, resolved server-side); `user` — Clerk user ID (e.g. "user_abc123"), not the display name; `workspace` — workspace UUID, not the workspace name (filtering or grouping by the account default workspace also covers activity recorded before workspace resolution existed, which is attributed to that default workspace); `app` — numeric app ID, not the app title; `model` — permaslug (e.g. "openai/gpt-4o"), not the display name; `endpoint` — endpoint UUID, returned as is (the same `endpoint_id` /activity reports). Other dimensions (provider, origin, country, etc.) are not enriched and accept the value as returned. */ export type SetFilterValue = string | number; export type SetFilter = { /** * Dimension to filter on. Use the /meta endpoint for available dimensions. */ field: string; /** * Include rows where the dimension has no value. Applies only to dimensions that have an unset bucket. */ includeUnset?: boolean | undefined; /** * Set-membership operator taking an array filter value. */ operator: SetFilterOperator; value: Array; }; /** @internal */ export type SetFilterValue$Outbound = string | number; /** @internal */ export declare const SetFilterValue$outboundSchema: z.ZodType; export declare function setFilterValueToJSON(setFilterValue: SetFilterValue): string; /** @internal */ export type SetFilter$Outbound = { field: string; include_unset?: boolean | undefined; operator: string; value: Array; }; /** @internal */ export declare const SetFilter$outboundSchema: z.ZodType; export declare function setFilterToJSON(setFilter: SetFilter): string; //# sourceMappingURL=setfilter.d.ts.map