import type * as ElevenLabs from "../index"; export interface TestInvocationSummaryResponseModel { /** The ID of the test invocation */ id: string; /** The user-provided name of the test invocation, if one was set. */ name?: string; /** The ID of the agent this test invocation belongs to */ agentId?: string; /** The ID of the branch this test invocation was run on */ branchId?: string; /** The ID of the agent version this test invocation ran against. For draft or config-override runs this is the version those uncommitted changes were applied on top of. None only for runs recorded before this field existed. */ versionId?: string; /** Whether the run included uncommitted changes (a saved draft or an ad-hoc config override) layered on top of version_id. */ ranAgainstDraft?: boolean; /** Whether the test runs in this invocation did not all execute against the same version, which happens when a subset of runs was resubmitted after the original run. When true, version_id describes the most recent resubmit rather than every run. */ runsDivergedFromVersion?: boolean; /** Creation time of the test invocation in unix seconds */ createdAtUnixSecs: number; /** Number of test runs in this invocation */ testRunCount: number; /** Number of test runs that passed */ passedCount: number; /** Number of test runs that failed */ failedCount: number; /** Number of test runs that are pending */ pendingCount: number; /** Number of test runs that were cancelled */ cancelledCount: number; /** Display title of the test invocation: the user-provided name when set, otherwise the folder name, single test name, or test count. */ title: string; /** The access information of the test invocation */ accessInfo?: ElevenLabs.ResourceAccessInfo; /** Number of times each test was repeated in this invocation */ repeatCount?: number; /** Whether this test invocation was cancelled */ cancelled?: boolean; /** Total credits billed across test runs in this invocation. None when no run has cost data. */ creditsUsed?: number; /** Total USD price across test runs in this invocation. None when no run has price data. */ totalPrice?: number; }