Skip to content

ImportAgentRunRequest ​

Example Usage ​

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

let value: ImportAgentRunRequest = {
  suiteId: "<id>",
  agentName: "<value>",
  model: "Model S",
};

Fields ​

FieldTypeRequiredDescription
suiteIdstring✔️Existing suite to import into. Its manifest defines the task set, so create the suite first.
suiteVersionnumber➖Defaults to the suite's active version.
agentNamestring✔️The harness agent, e.g. omp.
agentVersionstring➖N/A
agentEffortstring➖Reasoning-effort setting, e.g. medium. Part of the leaderboard's row identity, so the same agent and model at two efforts stay two rows.
modelstring✔️N/A
costUsdnumber➖Total spend for the job. Falls back to the sum of the trials' own costs when omitted.
createdAtnumber➖When the job ran, unix seconds. Defaults to now — set it when backfilling, since the board orders by this.
metadataRecord<string, string>➖N/A
idempotencyKeystring➖Reusing a key returns the run created the first time instead of importing a second copy. Without one, a retried upload silently doubles the trials behind a board row.
trialscomponents.ImportAgentRunRequestTrials[]➖May be empty when opening a run to stream trials into. A one-shot import sends them all here.
expectedTrialsnumber➖How many trials the job will produce. Sets the run's total up front so the console shows real progress (12/89) while it streams, instead of 12/12 that grows.
finalizeboolean➖False opens the run in_progress for POST /evals/runs/{run_id}/trials to fill. Leaderboards only count completed runs, so a streaming run stays off the board until it is finalized.