Get Task Agent Run

Get a single execution run for a Task Agent by run ID. Returns the same run metadata shape as the run listing endpoint, including status, token usage, files, tool invocation summaries, phase timings, fallback metadata, and model usage rows when available.

Authentication

AuthorizationBearer

API key or access token, sent as Authorization: Bearer <token>. The simplest option: create an API key in your dashboard under Settings, then paste it here.

OR
AuthorizationBearer

API key or access token, sent as Authorization: Bearer <token>. The simplest option: create an API key in your dashboard under Settings, then paste it here.

Path parameters

org_idstringRequiredformat: "uuid"
The organization ID
project_idstringRequiredformat: "uuid"
The project ID
task_agent_idstringRequiredformat: "uuid"
The task agent ID
run_idstringRequiredformat: "uuid"
The task agent run ID

Response

Task Agent run
idstringformat: "uuid"
task_agent_idstringformat: "uuid"
session_idstring

ADK session ID (string format).

user_idstring or nullformat: "uuid"
input_tokensinteger
output_tokensinteger
total_tokensinteger
charged_creditsstring or nullformat: "^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$"
createdstring
completedstring or null
duration_msinteger or null
statusenum
Status of a TaskAgent run.
is_errorboolean
task_tools_invokedlist of objects or null
task_agent_revision_idstring or nullformat: "uuid"
adk_session_user_idstring or null
invocation_idstring or null
invocation_idslist of strings or null
is_continuationbooleanDefaults to false
primary_llm_model_idstring or nullformat: "uuid"
fallback_llm_model_idstring or nullformat: "uuid"
used_fallback_modelbooleanDefaults to false
primary_failure_reasonstring or null
total_charged_creditsstring or nullformat: "^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$"
approval_request_idslist of strings
IDs of approval requests linked to this TaskAgentRun.
approval_requestslist of objects
Compact approval request summaries linked to this TaskAgentRun.
had_task_tool_failbooleanDefaults to false
had_mcp_tool_failbooleanDefaults to false
had_integration_tool_failbooleanDefaults to false
skills_activatedlist of objects or null
mcp_tools_invokedlist of objects or null
integration_tools_invokedlist of objects or null
phase_timingslist of objects or null
context_usageobject or null
termination_reasonstring or null
last_activity_atstring or null
trigger_typestringDefaults to manual

How the run was triggered. Non-trigger sources include manual, api, and slack; trigger executions use their trigger type value.

model_usageslist of objects
fileslist of objectsDefaults to []

Files associated with this agent run (both uploaded and generated by task tools)

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
500
Internal Server Error