Skip to content

Variable: AppTestResult ​

ts
const AppTestResult: z.ZodObject<{
  durationMs: z.ZodNumber;
  error: z.ZodOptional<z.ZodString>;
  externalId: z.ZodOptional<z.ZodString>;
  output: z.ZodOptional<z.ZodUnknown>;
  status: z.ZodEnum<{
     error: "error";
     pending: "pending";
     success: "success";
     timeout: "timeout";
  }>;
  usage: z.ZodOptional<z.ZodObject<{
     ai: z.ZodOptional<z.ZodObject<{
        inputTokens: z.ZodNumber;
        outputTokens: z.ZodNumber;
        requests: z.ZodNumber;
     }, z.core.$strip>>;
     documentReads: z.ZodNumber;
     httpRequests: z.ZodNumber;
     logLines: z.ZodNumber;
     reusedConnections: z.ZodOptional<z.ZodNumber>;
  }, z.core.$strip>>;
}, z.core.$strip>;

What one test call answered; nothing is recorded but the app.tested audit event.

Released under the Apache-2.0 License.