Update a GatewayConfig.
Update an existing GatewayConfig. All fields are optional.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The unique identifier of the GatewayConfig to update.
Body
Parameters for updating an existing GatewayConfig. All fields are optional - only specified fields will be updated.
New name for the GatewayConfig. Must be unique within your account.
New target endpoint URL (e.g., 'https://api.anthropic.com').
New authentication mechanism for applying credentials to proxied requests.
New description for this gateway configuration.
New list of additional headers. Replaces the existing list entirely; use an empty list to clear all custom headers. At most 8 entries.
Response
GatewayConfig updated successfully.
A GatewayConfig defines a configuration for proxying API requests through the agent gateway. It specifies the target endpoint and how credentials should be applied.
The unique identifier of the GatewayConfig.
The human-readable name of the GatewayConfig. Unique per account (or globally for system configs).
The target endpoint URL (e.g., 'https://api.anthropic.com').
How credentials should be applied to proxied requests.
Creation time of the GatewayConfig (Unix timestamp in milliseconds).
The account ID that owns this config.
Optional description for this gateway configuration.
Additional headers applied to proxied requests after the auth mechanism. Secret-backed entries reference the secret by 'sec_' id; values are never returned.
