gateway-configs

Create a GatewayConfig.

Changed on

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

  • Base URL: https://api.runloop.ai
  • URL: https://api.runloop.ai/v1/gateway-configs
  • Auth: HTTP bearer

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).

Changes

    • info

      added the new optional request property

    • info

      added the optional property to the response with the status

    • breaking

      the request property / became not nullable

    • breaking

      the request property became not nullable