For AI agents: The documentation index is at https://docs.digitalocean.com/llms.txt. Markdown versions of pages use the same URL with index.html.md in place of the HTML page (for example, append index.html.md to the directory path instead of opening the HTML document).
Usage
client.v2.actionGateway.connections.get(requestConfiguration?: RequestConfiguration<ConnectionsRequestBuilderGetQueryParameters>): Promise<undefined | List_connections_response>
Description
Returns the connections you can see, excluding revoked ones. Offset-paged with page and per_page; filter by provider, user_id, and status.
Parameters
provider string optional
Example: jira
Optional provider slug, matched exactly.
userId string optional
Example: alice
Optional substring of user_id. It must use the user_id alphabet, [A-Za-z0-9._-].
status string optional
pending|active|revoked|expired. List results always omit revoked connections, including when this filter is revoked.
One of: pending, active, expired
sort string optional
created_at, provider, user_id, or status. Defaults to provider, then user_id.
One of: created_at, provider, user_id, status
sortDirection string optional
asc (the default) or desc.
One of: asc, desc
page integer optional
Example: 1
1-based page number. Values below 1 are treated as 1.
Default: 1
Min: 1
perPage integer optional
Example: 20
Page size. Defaults to 20; values above 100 are capped at 100.
Default: 20
Min: 1
Max: 100
Request Sample
Show Request Sample
import { FetchRequestAdapter } from "@microsoft/kiota-http-fetchlibrary";
import {
createDigitalOceanClient,
DigitalOceanApiKeyAuthenticationProvider,
} from "@digitalocean/dots";
const authProvider = new DigitalOceanApiKeyAuthenticationProvider(process.env.DIGITALOCEAN_TOKEN!);
const adapter = new FetchRequestAdapter(authProvider);
const client = createDigitalOceanClient(adapter);
const response = await client.v2.actionGateway.connections.get();
Response Example
Show Response Example
{
"connections": [
{
"id": "39f9f768-a7f9-4c91-9557-3328c53dd054",
"provider": "jira",
"provider_display_name": "Jira",
"user_id": "alice",
"status": "active",
"created_at": "2026-07-14T00:50:00Z",
"updated_at": "2026-07-14T00:52:10Z",
"revoked_at": null,
"connection_parameters": {
"site_url": "https://example.atlassian.net"
},
"credential_kind": "digitalocean_oauth",
"credential_id": "",
"network": null,
"scopes": [
"write:jira-work"
],
"granted_at": "2026-07-14T00:52:10Z",
"oauth": {
"scopes": [
"write:jira-work"
],
"granted_at": "2026-07-14T00:52:10Z"
}
}
],
"pagination": {
"page": 1,
"per_page": 20,
"total": 1
}
}
See /v2/action-gateway/connections in the API reference for additional detail on responses, headers, parameters, and more.