Skip to content

AppendAgentTrialsRequestTrials ​

Example Usage ​

typescript
import { AppendAgentTrialsRequestTrials } from "@meetkai/mka1/models/components";

let value: AppendAgentTrialsRequestTrials = {
  taskId: "<id>",
  sampleIndex: 563684,
};

Fields ​

FieldTypeRequiredDescription
taskIdstring✔️Must already exist in the target suite version's manifest; unknown ids are rejected rather than invented.
sampleIndexnumber✔️N/A
statuscomponents.AppendAgentTrialsRequestStatus➖failed means no score was produced at all. An agent timeout is NOT that — the harness still runs the verifier and scores the trial, so it stays completed and carries its exception in error.
promptstring➖The task instruction.
targetstring➖N/A
outputTextstring➖What decided the score — the verifier's output. The agent's session goes to the trajectory route.
scoresRecord<string, number>➖Metric values for this trial, e.g. { "reward": 1, "resolved": 1 }. The board averages reward by default.
errorRecord<string, any>➖The exception this trial recorded, if any. Does not by itself make the trial a failure.
costUsdnumber➖N/A
inputTokensnumber➖N/A
outputTokensnumber➖N/A
cachedTokensnumber➖The share of input_tokens served from the provider's prompt cache.
phaseTimingsRecord<string, any>➖N/A