API reference@siftline/core/testingVariables
replayLineSchema
const replayLineSchema: ZodUnion<readonly [ZodObject<{
durationMs: ZodNumber;
format: ZodLiteral<1>;
id: ZodString;
recordedAt: ZodISODateTime;
request: ZodObject<{
model: ZodString;
questions: ZodRecord<ZodString, ZodDiscriminatedUnion<[ZodObject<{
criteria: ...;
instructions: ...;
type: ...;
}, $strict>, ZodObject<{
criteria: ...;
instructions: ...;
type: ...;
}, $strict>, ZodObject<{
criteria: ...;
instructions: ...;
type: ...;
}, $strict>], "type">>;
state: ZodUnion<readonly [ZodString, ZodRecord<ZodString, ZodType<JsonValue, unknown, $ZodTypeInternals<..., ...>>>, ZodArray<ZodType<JsonValue, unknown, $ZodTypeInternals<..., ...>>>, ZodNull]>;
}, $strict>;
requestId: ZodOptional<ZodString>;
response: ZodObject<{
answers: ZodRecord<ZodString, ZodDiscriminatedUnion<[ZodObject<{
choice: ...;
confidence: ...;
probabilities: ...;
type: ...;
}, $strict>, ZodObject<{
noul: ...;
type: ...;
}, $strict>, ZodObject<{
confidence: ...;
legend: ...;
probabilities: ...;
score: ...;
type: ...;
}, $strict>], "type">>;
model: ZodString;
usage: ZodObject<{
input_tokens: ZodNumber;
output_tokens: ZodNumber;
}, $strict>;
}, $strict>;
}, $strict>, ZodObject<{
durationMs: ZodNumber;
error: ZodObject<{
body: ZodUnknown;
message: ZodString;
name: ZodString;
requestId: ZodOptional<ZodString>;
retryAfterMs: ZodNullable<ZodNumber>;
status: ZodNullable<ZodNumber>;
}, $strict>;
format: ZodLiteral<1>;
id: ZodString;
recordedAt: ZodISODateTime;
request: ZodObject<{
model: ZodString;
questions: ZodRecord<ZodString, ZodDiscriminatedUnion<[ZodObject<{
criteria: ...;
instructions: ...;
type: ...;
}, $strict>, ZodObject<{
criteria: ...;
instructions: ...;
type: ...;
}, $strict>, ZodObject<{
criteria: ...;
instructions: ...;
type: ...;
}, $strict>], "type">>;
state: ZodUnion<readonly [ZodString, ZodRecord<ZodString, ZodType<JsonValue, unknown, $ZodTypeInternals<..., ...>>>, ZodArray<ZodType<JsonValue, unknown, $ZodTypeInternals<..., ...>>>, ZodNull]>;
}, $strict>;
requestId: ZodOptional<ZodString>;
}, $strict>]>;