Skip to main content

AgentRunInspection

One agent_run as the staff inspector shows it. Tool calls and results are the turn's audit record, redacted against the schema when the turn recorded them; the answer text itself is not exposed here.

type AgentRunInspection {
id: ID!
kind: String!
principalKind: String!
ownerId: String!
userId: String
conversationId: ID
missionId: ID
model: String
requestId: String
status: String!
outcome: String
effectState: String!
mutationsApplied: Int!
mutationsFailed: Int!
startedAt: Time!
finishedAt: Time
estimatedCostTotal: Float!
providerCostTotal: Float
modelCalls: [AgentRunModelCall!]!
toolCalls: [Map!]!
toolResults: [Map!]!
feedback: [AssistantAnswerFeedback!]!
}

Fields​

AgentRunInspection.id ● ID! non-null scalar​

AgentRunInspection.kind ● String! non-null scalar​

AgentRunInspection.principalKind ● String! non-null scalar​

AgentRunInspection.ownerId ● String! non-null scalar​

AgentRunInspection.userId ● String scalar​

AgentRunInspection.conversationId ● ID scalar​

AgentRunInspection.missionId ● ID scalar​

AgentRunInspection.model ● String scalar​

AgentRunInspection.requestId ● String scalar​

AgentRunInspection.status ● String! non-null scalar​

AgentRunInspection.outcome ● String scalar​

AgentRunInspection.effectState ● String! non-null scalar​

AgentRunInspection.mutationsApplied ● Int! non-null scalar​

AgentRunInspection.mutationsFailed ● Int! non-null scalar​

AgentRunInspection.startedAt ● Time! non-null scalar​

AgentRunInspection.finishedAt ● Time scalar​

AgentRunInspection.estimatedCostTotal ● Float! non-null scalar​

AgentRunInspection.providerCostTotal ● Float scalar​

Sum of the provider-reported costs; null when no call reported one.

AgentRunInspection.modelCalls ● [AgentRunModelCall!]! non-null object​

AgentRunInspection.toolCalls ● [Map!]! non-null scalar​

AgentRunInspection.toolResults ● [Map!]! non-null scalar​

AgentRunInspection.feedback ● [AssistantAnswerFeedback!]! non-null object​

Returned By​

agentRunInspection query