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

# List connection paths

`GET /v2/connections/paths`

## Request

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

List all paths for all connections available to the user.

  ### Usage notes
  - Call this endpoint to retrieve the specific databases, catalogs, schemas, and tables available to the user associated with the API credentials.
  - Pass `connectionId` to restrict results to a single connection.

## Query parameters

- `page` string
- `limit` number, double
- `connectionId` string

## Response `200`

The response body.

- ConnectionsListConnectionPathsResponse200
  - `entries` V2ConnectionsPathsGetResponsesContentApplicationJsonSchemaEntriesItems[], required: Array of results returned by the endpoint
    - `connectionId` string, required
    - `urlId` string, required
    - `path` union, required
      - string[]
      - string[]
      - string[]
      - unknown[]
        - unknown
  - `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)
