Skip to main content

Returns

Returns the updated Endpoint Connection object.

Example

endpoint_connection = galtea.endpoint_connections.update(
    endpoint_connection_id=endpoint_connection_id,
    timeout=60,
    rate_limit=100,
)

Parameters

endpoint_connection_id
string
required
ID of the endpoint connection to update.
name
string
New name for the endpoint connection.
url
string
New endpoint URL. For multi-step session lifecycles, supports a {{ session_id }} placeholder (requires an INITIALIZATION endpoint).
http_method
string
New HTTP method. Valid values: GET, POST, PUT, PATCH, DELETE.
auth_type
string
New authentication type. Valid values: NONE, BEARER, API_KEY, BASIC.
auth_token
string
New authentication token.
username
string
New username for BASIC authentication.
password
string
New password for BASIC authentication.
headers
dict[string, string]
New custom headers. Supports credential placeholders (e.g., {{ bearer_token }}, {{ api_key }}). See Custom Headers.
input_template
string
New input template with Jinja2 placeholders. See Input Template.
output_mapping
dict[string, string]
New output mapping using JSONPath expressions. See Output Mapping.
timeout
int
New request timeout in seconds.
rate_limit
int
New maximum requests per minute.
retry_enabled
bool
Whether automatic retry is enabled. See Retry Configuration.
retry_max_attempts
int
New maximum retry attempts.
retry_initial_delay_ms
int
New initial delay in milliseconds before first retry.
retry_backoff_strategy
string
New backoff strategy. Valid values: FIXED, EXPONENTIAL, LINEAR.
retry_max_delay_ms
int
New maximum delay cap in milliseconds.
retryable_status_codes
list[int]
New HTTP status codes that trigger retry.
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.