Skip to content

ImportAgentRunRequestTrials ​

Example Usage ​

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

let value: ImportAgentRunRequestTrials = {
  taskId: "<id>",
};

Fields ​

FieldTypeRequiredDescription
taskIdstring✔️Must already exist in the target suite version's manifest; unknown ids are rejected rather than invented.
sampleIndexnumber➖Defaults to the trial's position in trials. Unique per (task, model), not per run.
statuscomponents.ImportAgentRunRequestStatus➖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