v49

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-01151216390.1 KB
gateway-configs

Create a GatewayConfig.

Create a new GatewayConfig to proxy API requests through the agent gateway. The config specifies the target endpoint and how credentials should be applied.

post/v1/gateway-configs

Request body

namestring required

The human-readable name for the GatewayConfig. Must be unique within your account.

endpointstring required

The target endpoint URL (e.g., 'https://api.anthropic.com').

descriptionstring nullable

Optional description for this gateway configuration.

Response

GatewayConfig created successfully.

idstring required

The unique identifier of the GatewayConfig.

account_idstring nullable

The account ID that owns this config.

namestring required

The human-readable name of the GatewayConfig. Unique per account (or globally for system configs).

endpointstring required

The target endpoint URL (e.g., 'https://api.anthropic.com').

descriptionstring nullable

Optional description for this gateway configuration.

create_time_msinteger required

Creation time of the GatewayConfig (Unix timestamp in milliseconds).