v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-141531,219979.8 KB

Operation to update a harness.

patch/harnesses/{harnessId}

Path parameters

harnessIdstring required

The ID of the harness to update.

Request body

clientTokenstring

A unique, case-sensitive identifier to ensure idempotency of the request.

executionRoleArnstring

The ARN of the IAM role that the harness assumes when running. If not specified, the existing value is retained.

environmentVariablesobject

Environment variables to set in the harness runtime environment. If specified, this replaces all existing environment variables. If not specified, the existing value is retained.

allowedToolsHarnessAllowedTool[]

The tools that the agent is allowed to use. If specified, this replaces all existing allowed tools. If not specified, the existing value is retained.

maxIterationsinteger

The maximum number of iterations the agent loop can execute per invocation. If not specified, the existing value is retained.

maxTokensinteger

The maximum total number of output tokens the agent can generate across all model calls within a single invocation. If not specified, the existing value is retained.

timeoutSecondsinteger

The maximum duration in seconds for the agent loop execution per invocation. If not specified, the existing value is retained.

Response

Success