Reject Task Agent Approval Request

Reject a pending human approval request. The default rejection behavior fails the linked paused Task Agent run with an approval rejection termination reason. When the matched action control uses `return_rejection_to_model`, rejection records the decision and leaves the run waiting until the explicit resume endpoint returns the controlled rejection function response to the model.

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
approval_request_idstringRequiredformat: "uuid"
The approval request ID

Request

This endpoint expects an object.
decision_notestring or nullOptional<=2000 characters

Response

Task Agent approval request rejected
idstringformat: "uuid"
project_idstringformat: "uuid"
task_agent_idstringformat: "uuid"
task_agent_revision_idstringformat: "uuid"
task_agent_run_idstringformat: "uuid"
session_idstring
adk_session_user_idstring
function_call_idstring
requested_by_actor_typeenum

Actor source that requested an approval-gated action.

action_mode_snapshotstring
tool_typeenum
TaskAgent tool source categories for action controls.
tool_namestring
tool_refmap from strings to any
tool_args_hashstring
statusenum
Lifecycle status for TaskAgent tool approval requests.
createdstring
expires_atstring
invocation_idstring or nullOptional
adk_event_idstring or nullOptional
requested_by_user_idstring or nullOptionalformat: "uuid"
requested_by_actor_refmap from strings to any or nullOptional
decided_by_user_idstring or nullOptionalformat: "uuid"
requester_is_deciderbooleanOptionalDefaults to false
tool_action_control_idstring or nullOptionalformat: "uuid"
tool_args_previewmap from strings to any or nullOptional
decisionenum or nullOptional
Human decision values for TaskAgent approval requests.
decision_notestring or nullOptional
modifiedstring or nullOptional
decided_atstring or nullOptional

Errors

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