Skip to main content
GET
List Devin Connect gateways
Returns the enterprise’s Devin Connect gateways and the destinations each one routes. Use a gateway’s gateway_id with Add gateway destinations, Remove gateway destinations, or Replace gateway destinations.

Permissions

Requires a service user or personal access token with the ManageEnterpriseSettings permission at the enterprise level. Devin Connect must be enabled for the enterprise, otherwise the endpoint returns 403.

Behavior

  • Results are paginated. Pass first (page size) and after (the previous page’s end_cursor) while has_next_page is true.
  • kind is tunnel when the customer gateway dials in, or direct when Devin dials the gateway (for example over AWS PrivateLink). For tunnel gateways, connected and last_connected_at show whether the gateway has reported in recently. Both are null for direct gateways.
  • Gateways are created, enrolled and deleted in the web app. This API reads gateways and changes their destinations only.

Authorizations

Authorization
string
header
required

Service User credential (prefix: cog_)

Query Parameters

after
string | null
first
integer
default:100
Required range: 1 <= x <= 200

Response

Successful Response

items
DevinConnectGateway · object[]
required
end_cursor
string | null

Cursor to fetch the next page, or None if this is the last page.

has_next_page
boolean
default:false

Whether there are more items available after this page.

total
integer | null

Optional total count (can be omitted for performance).