---
title: "Get a GatewayConfig."
method: GET
path: "/v1/gateway-configs/{id}"
tags: ["gateway-configs"]
---

# Get a GatewayConfig.

`GET /v1/gateway-configs/{id}`

Get a specific GatewayConfig by its unique identifier.

## Path parameters

- `id` string, required

## Response `200`

Successfully retrieved the GatewayConfig.

- GatewayConfigView — A GatewayConfig defines a configuration for proxying API requests through the agent gateway. It specifies the target endpoint and how credentials should be applied.
  - `id` string, required — The unique identifier of the GatewayConfig.
  - `account_id` string, nullable — The account ID that owns this config.
  - `name` string, required — The human-readable name of the GatewayConfig. Unique per account (or globally for system configs).
  - `endpoint` string, required — The target endpoint URL (e.g., 'https://api.anthropic.com').
  - `auth_mechanism` AuthMechanismView, required — Defines how credentials are applied to HTTP requests when proxying through the gateway.
    - `type` string, required — The type of authentication mechanism: 'header', 'bearer'.
    - `key` string, nullable — For 'header' type: the header name (e.g., 'x-api-key').
  - `description` string, nullable — Optional description for this gateway configuration.
  - `create_time_ms` integer, required — Creation time of the GatewayConfig (Unix timestamp in milliseconds).

## Other responses

- `401` — Unauthorized. Invalid or missing authentication.
- `403` — Forbidden. Account does not have devbox capability.
- `404` — GatewayConfig not found.
- `500` — Internal server error.

## Changes

- **2026-01-30** `debd1f9a9d59` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/runloopai/apis/runloop-api/changes/v1/gateway-configs/:id/get.md)

---

[API](https://skmtc.dev/runloopai/apis/runloop-api.md) · [All operations](https://skmtc.dev/runloopai/apis/runloop-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/runloopai/runloop-api/revisions/b4ffb9a8aff3/schema)
