Skip to content

Variable: SlaStats ​

ts
const SlaStats: z.ZodObject<{
  breached: z.ZodNumber;
  byWorkflow: z.ZodArray<z.ZodObject<{
     breached: z.ZodNumber;
     decided: z.ZodNumber;
     medianDecideMs: z.ZodNullable<z.ZodNumber>;
     withinPct: z.ZodNullable<z.ZodNumber>;
     workflowKey: z.ZodNullable<z.ZodString>;
  }, z.core.$strip>>;
  days: z.ZodNumber;
  decided: z.ZodNumber;
  medianDecideMs: z.ZodNullable<z.ZodNumber>;
  openPastDue: z.ZodNumber;
  withinPct: z.ZodNullable<z.ZodNumber>;
}, z.core.$strip>;

GET /stats/sla: the window's figures, the cases past due right now, and the same figures per workflow (workflowKey is null for cases opened without a run), busiest first.

Released under the Apache-2.0 License.