SDK reference / Models / AgentService

AiAgentRun

Kind: class

Namespace: Egulu.Sdk.Models.AgentService

One conversation with one version of an agent. Its input, answer and steps are project data: size-capped, redacted of secret-looking values, and erased with the run.

Properties

NameTypeJSON nameDescription
Agentstring?agentThe agent.
AgentVersionint?agentVersionThe version of the agent the run uses.
BudgetPerRunMicroslong?budgetPerRunMicrosThe run's budget, in micro-euros.
CreateTimeDateTimeOffset?createTimeThe createTime property
EndDetailstring?endDetailA sentence about the end, with the amounts for a budget.
EndReasonstring?endReasonWhy the run ended, as a stable code: `final-answer`, `stopped`, `step-limit`, `run-budget`, `day-budget`, `spend-cap`, `step-outcome-unknown`, `model-reply`, `model-unavailable`, `guardrail-input`, `guardrail-output`, `guardrail-unavailable`, `tool-call-limit`, `sponsor-lost`, `agent-suspended`, `agent-missing`.
EndTimeDateTimeOffset?endTimeThe endTime property
Etagstring?etagThe etag property
Evaluationstring?evaluationThe evaluation that started the run, if one did.
ExpireTimeDateTimeOffset?expireTimeWhen the transcript is erased (30 days after the run ends).
FinalAnswerstring?finalAnswerThe final answer, once the run has succeeded. Text the model wrote: untrusted.
Inputstring?inputWhat the run was asked (at most 16 KiB; redacted).
LabelsModels.AgentService.AiAgentRun_labels?labelsAt most 64.
ModelCallsint?modelCallsThe modelCalls property
Namestring?nameprojects/{project}/locations/{location}/aiAgents/{agent}/runs/{run}.
PendingApprovalStepint?pendingApprovalStepThe step waiting for an approval, if the run is waiting.
SpentMicroslong?spentMicrosWhat the model calls cost so far, in micro-euros, as the gateway settled them.
Sponsorstring?sponsorThe user the run acts for: the agent's sponsor, never more than they may do.
StartTimeDateTimeOffset?startTimeThe startTime property
StateModels.AgentService.AiAgentRunState?stateThe state of a run.
ToolCallsint?toolCallsThe toolCalls property