Returns
Returns the updated Endpoint Connection object.Example
Parameters
string
required
ID of the endpoint connection to update.
string
New name for the endpoint connection.
string
New endpoint URL. For multi-step session lifecycles, supports a
{{ session_id }} placeholder (requires an INITIALIZATION endpoint).string
New HTTP method. Valid values:
GET, POST, PUT, PATCH, DELETE. Other string values are
sent to the API unchanged, so values added in newer API versions can be used; the API rejects
invalid ones.string
New authentication type. Valid values:
NONE, BEARER, API_KEY, BASIC. Other string values
are sent to the API unchanged, so values added in newer API versions can be used; the API rejects
invalid ones.string
New authentication token.
string
New username for
BASIC authentication.string
New password for
BASIC authentication.dict[string, string]
New custom headers. Supports credential placeholders (e.g.,
{{ bearer_token }}, {{ api_key }}). See Custom Headers.string
New input template with Jinja2 placeholders. See Input Template.
dict[string, string]
New output mapping using JSONPath expressions. See Output Mapping.
int
New per-attempt request timeout in seconds. Capped at
120; values above this are rejected by the API.int
New maximum requests per minute. Pass
None for no limit.bool
Whether automatic retry is enabled. See Retry Configuration.
int
New maximum retry attempts (0–10).
0 is only valid when retry is disabled; with retry enabled the minimum is 1.int
New initial delay in milliseconds before first retry.
string
New backoff strategy. Valid values:
FIXED, EXPONENTIAL, LINEAR. Other string values are sent
to the API unchanged, so values added in newer API versions can be used; the API rejects invalid
ones.int
New maximum delay between retry attempts, in milliseconds. Capped at
60000; values above this are rejected.list[int]
New HTTP status codes that trigger retry. Each value must be a valid HTTP status code (100–599).
All fields except
endpoint_connection_id default to PydanticUndefined (from pydantic_core).
Omit a field (or pass PydanticUndefined) to leave it unchanged.
Pass None to explicitly clear an optional field.
Pass a value to update it.