---
title: "List connections"
method: GET
path: "/v2/connections"
tags: ["Connections"]
---

# List connections

`GET /v2/connections`

## Request

- Base URL: `https://api.sigmacomputing.com`
- URL: `https://api.sigmacomputing.com/v2/connections`
- Auth: HTTP bearer

Get a list of available connections and the connection IDs.

## Query parameters

- `page` string
- `limit` number, double
- `includeArchived` boolean
- `search` string

## Response `200`

The response body.

- ConnectionsListConnectionsResponse200
  - `entries` V2ConnectionsGetResponsesContentApplicationJsonSchemaEntriesItems[], required: Array of results returned by the endpoint
    - `organizationId` string, required: Unique identifier of the organization
    - `connectionId` string, required: Unique identifier of the connection
    - `isSample` boolean, required: Whether the connection is the Sigma sample data connection
    - `isAuditLog` boolean, required: Whether audit logging is enabled
    - `lastActiveAt` string, date-time, required: Last activity date and time
    - `name` string, required: Name of the connection
    - `type` string, required: Type of the connection (e.g., "bigQuery")
    - `useOauth` boolean, required: Whether OAuth is used
    - `createdBy` string, required: Identifier of the user who created this connection
    - `updatedBy` string, required: Identifier of the user or process that last updated this connection
    - `createdAt` string, date-time, required: When the connection was created
    - `updatedAt` string, date-time, required: When the connection was last updated
    - `isArchived` boolean: Whether the connection is archived
    - `account` string: Account associated with the connection
    - `warehouse` string: Warehouse associated with the connection
    - `user` string: User associated with the connection
    - `httpPath` string: For Databricks connections, HTTP path of the SQL warehouse. Not included when a user attribute sets the HTTP path.
    - `role` string: Role used by the connection user
    - `timeout` V2ConnectionsGetResponsesContentApplicationJsonSchemaEntriesItemsTimeout: Timeout settings for the connection, with a default value in seconds
      - `default` number, double, required
      - `worksheet` number, double
      - `dashboard` number, double
      - `download` number, double
    - `poolSizes` V2ConnectionsGetResponsesContentApplicationJsonSchemaEntriesItemsPoolSizes: Pool sizes for the connection, such as for catalogPoolSize or schedulePoolSize
      - `isPoolConfigured` boolean
      - `catalogPoolSize` number, double
      - `resultPoolSize` number, double
      - `schedulePoolSize` number, double
    - `writeAccess` boolean
    - `friendlyName` boolean: Whether friendly names are enabled for this connection
    - `writebacks` V2ConnectionsGetResponsesContentApplicationJsonSchemaEntriesItemsWritebacksItems[]: Configure write-back for non-OAuth connections
      - `database` string, required: Database, catalog, or top-level object to contain tables written back to the data platform
      - `schema` string, required: Schema, database, or second-level object to contain tables written back to the data platform
      - `writebackSchemaId` string: Unique identifier of the writebackSchema
      - `description` string: Description for the write-back destination.
    - `writebackSchemas` V2ConnectionsGetResponsesContentApplicationJsonSchemaEntriesItemsWritebackSchemasItems[]: Configure write-back for OAuth connections
      - `database` string, required: Database, catalog, or top-level object to contain tables written back to the data platform
      - `schema` string, required: Schema, database, or second-level object to contain tables written back to the data platform
      - `writebackSchemaId` string: Unique identifier of the writebackSchema
      - `description` string: Description for the write-back destination.
    - `inputTableAuditLogSchema` V2ConnectionsGetResponsesContentApplicationJsonSchemaEntriesItemsInputTableAuditLogSchema: Schema to use for the input table write-ahead log (WAL). Cannot be changed without breaking write behavior on this connection.
      - `database` string, required: Database, catalog, or top-level object to contain tables written back to the data platform
      - `schema` string, required: Schema, database, or second-level object to contain tables written back to the data platform
      - `writebackSchemaId` string: Unique identifier of the writebackSchema
    - `materializationWarehouse` string: Warehouse used to run materialization jobs
    - `exportsWarehouse` string: Warehouse used to run export jobs
    - `oauthMetadataUrl` string: OAuth metadata URL configured directly on this connection.
    - `oauthClientId` string: Client ID configured directly on this connection.
    - `oauthScopes` string[]: OAuth scopes configured directly on this connection.
    - `oauthIdpType` union: OAuth provider type configured or inferred for this connection.
      - 'aws_databricks'
      - 'azure_databricks'
      - 'gcp_databricks'
      - 'azuread'
      - 'auth0'
      - 'adfs'
      - 'okta'
      - 'ping'
      - 'snowflake'
      - 'unknown'
    - `oauthUsePkce` boolean, nullable: Whether this connection-level OAuth configuration uses PKCE.
    - `oauthUseJwt` boolean, nullable: Whether this connection-level OAuth configuration uses JWT bearer token authentication.
    - `oauthJwkSetId` string: Unique identifier of the JWK set used to sign JWT bearer assertions for this connection.
    - `oauthAudience` string: Audience used for OAuth federation, such as the Google workforce identity federation audience for BigQuery.
    - `isIndependentOAuth` boolean: Whether this connection uses connection-level OAuth instead of organization-level OAuth.
    - `userAttributes` V2ConnectionsGetResponsesContentApplicationJsonSchemaEntriesItemsUserAttributes: User attributes associated with the connection
      - `role` string
      - `warehouse` string
    - `roleSwitching` 'allRoles' | 'disabled': Whether a Snowflake OAuth connection allows users to switch roles when running queries. Only relevant for Snowflake OAuth connections.
    - `enableHiveMetastore` boolean: Whether this Databricks connection exposes the `hive_metastore` catalog in Sigma. Only relevant for Databricks connections.
    - `usePython` boolean
    - `pythonComputeClusterId` string: ID of the all-purpose compute cluster used to run Python queries. Only relevant for Databricks connections with Python enabled.
  - `nextPage` string, nullable, required: Returns a string that can be used as the `page` parameter in the next request to fetch the next page of results. The last page of results returns `null`.
  - `total` number, double: Total number of results. Useful to determine if there is a need to paginate.
  - `hasMore` boolean: **[Deprecated]** Indicates whether more results are available.

---

[API](https://skmtc.dev/sigmacomputing/apis/sigma-rest-api.md) - [All operations](https://skmtc.dev/sigmacomputing/apis/sigma-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sigmacomputing/apis/sigma-rest-api/revisions/fb6036208c49?raw)
