Skip to main content

Variable: ErrorTrendsResponseSchema

const ErrorTrendsResponseSchema: ZodObject<{
success: ZodBoolean;
data: ZodObject<{
isQuotaExceeded: ZodBoolean;
summary: ZodObject<{
errorPercent: ZodNumber;
}, "passthrough", ZodTypeAny, objectOutputType<{
errorPercent: ZodNumber;
}, ZodTypeAny, "passthrough">, objectInputType<{
errorPercent: ZodNumber;
}, ZodTypeAny, "passthrough">>;
trend: ZodArray<ZodObject<{
x: ZodString;
y: ZodNumber;
avg: ZodOptional<ZodNumber>;
}, "passthrough", ZodTypeAny, objectOutputType<{
x: ZodString;
y: ZodNumber;
avg: ZodOptional<ZodNumber>;
}, ZodTypeAny, "passthrough">, objectInputType<{
x: ZodString;
y: ZodNumber;
avg: ZodOptional<ZodNumber>;
}, ZodTypeAny, "passthrough">>, "many">;
}, "passthrough", ZodTypeAny, objectOutputType<{
isQuotaExceeded: ZodBoolean;
summary: ZodObject<{
errorPercent: ZodNumber;
}, "passthrough", ZodTypeAny, objectOutputType<{
errorPercent: ZodNumber;
}, ZodTypeAny, "passthrough">, objectInputType<{
errorPercent: ZodNumber;
}, ZodTypeAny, "passthrough">>;
trend: ZodArray<ZodObject<{
x: ZodString;
y: ZodNumber;
avg: ZodOptional<ZodNumber>;
}, "passthrough", ZodTypeAny, objectOutputType<{
x: ZodString;
y: ZodNumber;
avg: ZodOptional<ZodNumber>;
}, ZodTypeAny, "passthrough">, objectInputType<{
x: ZodString;
y: ZodNumber;
avg: ZodOptional<ZodNumber>;
}, ZodTypeAny, "passthrough">>, "many">;
}, ZodTypeAny, "passthrough">, objectInputType<{
isQuotaExceeded: ZodBoolean;
summary: ZodObject<{
errorPercent: ZodNumber;
}, "passthrough", ZodTypeAny, objectOutputType<{
errorPercent: ZodNumber;
}, ZodTypeAny, "passthrough">, objectInputType<{
errorPercent: ZodNumber;
}, ZodTypeAny, "passthrough">>;
trend: ZodArray<ZodObject<{
x: ZodString;
y: ZodNumber;
avg: ZodOptional<ZodNumber>;
}, "passthrough", ZodTypeAny, objectOutputType<{
x: ZodString;
y: ZodNumber;
avg: ZodOptional<ZodNumber>;
}, ZodTypeAny, "passthrough">, objectInputType<{
x: ZodString;
y: ZodNumber;
avg: ZodOptional<ZodNumber>;
}, ZodTypeAny, "passthrough">>, "many">;
}, ZodTypeAny, "passthrough">>;
}, "passthrough", ZodTypeAny, objectOutputType<{
success: ZodBoolean;
data: ZodObject<{
isQuotaExceeded: ZodBoolean;
summary: ZodObject<{
errorPercent: ZodNumber;
}, "passthrough", ZodTypeAny, objectOutputType<{
errorPercent: ZodNumber;
}, ZodTypeAny, "passthrough">, objectInputType<{
errorPercent: ZodNumber;
}, ZodTypeAny, "passthrough">>;
trend: ZodArray<ZodObject<{
x: ZodString;
y: ZodNumber;
avg: ZodOptional<ZodNumber>;
}, "passthrough", ZodTypeAny, objectOutputType<{
x: ZodString;
y: ZodNumber;
avg: ZodOptional<ZodNumber>;
}, ZodTypeAny, "passthrough">, objectInputType<{
x: ZodString;
y: ZodNumber;
avg: ZodOptional<ZodNumber>;
}, ZodTypeAny, "passthrough">>, "many">;
}, "passthrough", ZodTypeAny, objectOutputType<{
isQuotaExceeded: ZodBoolean;
summary: ZodObject<{
errorPercent: ZodNumber;
}, "passthrough", ZodTypeAny, objectOutputType<{
errorPercent: ZodNumber;
}, ZodTypeAny, "passthrough">, objectInputType<{
errorPercent: ZodNumber;
}, ZodTypeAny, "passthrough">>;
trend: ZodArray<ZodObject<{
x: ZodString;
y: ZodNumber;
avg: ZodOptional<ZodNumber>;
}, "passthrough", ZodTypeAny, objectOutputType<{
x: ZodString;
y: ZodNumber;
avg: ZodOptional<...>;
}, ZodTypeAny, "passthrough">, objectInputType<{
x: ZodString;
y: ZodNumber;
avg: ZodOptional<...>;
}, ZodTypeAny, "passthrough">>, "many">;
}, ZodTypeAny, "passthrough">, objectInputType<{
isQuotaExceeded: ZodBoolean;
summary: ZodObject<{
errorPercent: ZodNumber;
}, "passthrough", ZodTypeAny, objectOutputType<{
errorPercent: ZodNumber;
}, ZodTypeAny, "passthrough">, objectInputType<{
errorPercent: ZodNumber;
}, ZodTypeAny, "passthrough">>;
trend: ZodArray<ZodObject<{
x: ZodString;
y: ZodNumber;
avg: ZodOptional<ZodNumber>;
}, "passthrough", ZodTypeAny, objectOutputType<{
x: ZodString;
y: ZodNumber;
avg: ZodOptional<...>;
}, ZodTypeAny, "passthrough">, objectInputType<{
x: ZodString;
y: ZodNumber;
avg: ZodOptional<...>;
}, ZodTypeAny, "passthrough">>, "many">;
}, ZodTypeAny, "passthrough">>;
}, ZodTypeAny, "passthrough">, objectInputType<{
success: ZodBoolean;
data: ZodObject<{
isQuotaExceeded: ZodBoolean;
summary: ZodObject<{
errorPercent: ZodNumber;
}, "passthrough", ZodTypeAny, objectOutputType<{
errorPercent: ZodNumber;
}, ZodTypeAny, "passthrough">, objectInputType<{
errorPercent: ZodNumber;
}, ZodTypeAny, "passthrough">>;
trend: ZodArray<ZodObject<{
x: ZodString;
y: ZodNumber;
avg: ZodOptional<ZodNumber>;
}, "passthrough", ZodTypeAny, objectOutputType<{
x: ZodString;
y: ZodNumber;
avg: ZodOptional<ZodNumber>;
}, ZodTypeAny, "passthrough">, objectInputType<{
x: ZodString;
y: ZodNumber;
avg: ZodOptional<ZodNumber>;
}, ZodTypeAny, "passthrough">>, "many">;
}, "passthrough", ZodTypeAny, objectOutputType<{
isQuotaExceeded: ZodBoolean;
summary: ZodObject<{
errorPercent: ZodNumber;
}, "passthrough", ZodTypeAny, objectOutputType<{
errorPercent: ZodNumber;
}, ZodTypeAny, "passthrough">, objectInputType<{
errorPercent: ZodNumber;
}, ZodTypeAny, "passthrough">>;
trend: ZodArray<ZodObject<{
x: ZodString;
y: ZodNumber;
avg: ZodOptional<ZodNumber>;
}, "passthrough", ZodTypeAny, objectOutputType<{
x: ZodString;
y: ZodNumber;
avg: ZodOptional<...>;
}, ZodTypeAny, "passthrough">, objectInputType<{
x: ZodString;
y: ZodNumber;
avg: ZodOptional<...>;
}, ZodTypeAny, "passthrough">>, "many">;
}, ZodTypeAny, "passthrough">, objectInputType<{
isQuotaExceeded: ZodBoolean;
summary: ZodObject<{
errorPercent: ZodNumber;
}, "passthrough", ZodTypeAny, objectOutputType<{
errorPercent: ZodNumber;
}, ZodTypeAny, "passthrough">, objectInputType<{
errorPercent: ZodNumber;
}, ZodTypeAny, "passthrough">>;
trend: ZodArray<ZodObject<{
x: ZodString;
y: ZodNumber;
avg: ZodOptional<ZodNumber>;
}, "passthrough", ZodTypeAny, objectOutputType<{
x: ZodString;
y: ZodNumber;
avg: ZodOptional<...>;
}, ZodTypeAny, "passthrough">, objectInputType<{
x: ZodString;
y: ZodNumber;
avg: ZodOptional<...>;
}, ZodTypeAny, "passthrough">>, "many">;
}, ZodTypeAny, "passthrough">>;
}, ZodTypeAny, "passthrough">>;

Defined in: src/models/ai-gateway.ts:237

logs/charts/error-trends. trend[].y is a percentage.