Sigma Computing Connections API

The Connections API from Sigma Computing — 13 operation(s) for connections.

Operations 22

POST /v2/connection/{connectionId}/lookup Look up connections by path #
GET /v2/connections List connections #
POST /v2/connections Create a connection #
PATCH /v2/connections/{connectionId} Update a connection #
GET /v2/connections/{connectionId} Get connection details #
DELETE /v2/connections/{connectionId} Delete a connection #
PUT /v2/connections/{connectionId} Update a connection #
POST /v2/connections/{connectionId}/dbtArtifacts Add dbt metadata for a connection #
POST /v2/connections/{connectionId}/grants Add grants to a connection #
GET /v2/connections/{connectionId}/grants List grants for a connection #
DELETE /v2/connections/{connectionId}/grants/{grantId} Delete a grant for a connection #
POST /v2/connections/{connectionId}/sync Sync a connection by path #
GET /v2/connections/{connectionId}/test Test a connection #
GET /v2/connections/paths List connection paths #
POST /v2/connections/paths/{connectionPathId}/grants Add grants to a connection path #
GET /v2/connections/paths/{connectionPathId}/grants List grants for a connection path #
DELETE /v2/connections/paths/{connectionPathId}/grants/{grantId} Delete a grant for a connection path #
GET /v2/connections/paths/{inodeId} Get connection path for a table #
GET /v2/connections/tables/{tableId}/columns List columns for a warehouse table #
POST /v3alpha/connections Create a connection (Beta) #
PATCH /v3alpha/connections/{connectionId} Update a connection (Beta) #
GET /v3alpha/connections/{connectionId} Get connection details (Beta) #

Documentation

Specifications

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/sigma-computing-connections-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

sigma-computing-connections-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Sigma Computing Connections API
  version: '1.0'
  description: 'Operations tagged connections across 2 of this provider''s published API definitions: sigma-computing-public-rest-api-openapi.json, sigma-computing-rest-api-openapi.yaml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.sigmacomputing.com
  description: Server for GCP (US) hosted organizations
- url: https://api.sa.gcp.sigmacomputing.com
  description: Server for GCP (KSA) hosted organizations
- url: https://aws-api.sigmacomputing.com
  description: Server for AWS US (West) hosted organizations
- url: https://api.us-a.aws.sigmacomputing.com
  description: Server for AWS US (East) hosted organizations
- url: https://api.ca.aws.sigmacomputing.com
  description: Server for AWS Canada hosted organizations
- url: https://api.eu.aws.sigmacomputing.com
  description: Server for AWS Europe hosted organizations
- url: https://api.au.aws.sigmacomputing.com
  description: Server for AWS Australia and APAC hosted organizations
- url: https://api.uk.aws.sigmacomputing.com
  description: Server for AWS UK hosted organizations
- url: https://api.us.azure.sigmacomputing.com
  description: Server for Azure US hosted organizations
- url: https://api.eu.azure.sigmacomputing.com
  description: Server for Azure Europe hosted organizations
- url: https://api.ca.azure.sigmacomputing.com
  description: Server for Azure Canada hosted organizations
- url: https://api.uk.azure.sigmacomputing.com
  description: Server for Azure United Kingdom hosted organizations
- url: https://api.au.azure.sigmacomputing.com
  description: Server for Azure Australia hosted organizations
tags:
- name: connections
paths:
  /v2/connection/{connectionId}/lookup:
    post:
      summary: Look up connections by path
      description: "This endpoint returns details about the fully qualified path to an object in a specific connection by connection ID.\n\n  ### Usage notes\n  - Retrieve the **connectionId** by calling the [/v2/connections](https://help.sigmacomputing.com/reference/list-connections) endpoint.\n\n  Different connections support different paths:\n\n  - For a Snowflake connection, you can specify `DATABASE.SCHEMA.TABLE`, `DATABASE.SCHEMA.STORED_PROCEDURE`, or a less-specific path.\n  - For Amazon Redshift, you can specify `SCHEMA.TABLE`, `SCHEMA.STORED_PROCEDURE`, or a less-specific path.\n  - For Databricks, you can specify `CATALOG.SCHEMA.TABLE` or a less-specific path.\n\n  Connection path details include the connection path ID, called the `inodeId` in the response, and the type of object in the connection path, either a table or a scope (database, schema, catalog, or other higher-level object)."
      parameters:
      - name: connectionId
        schema:
          type: string
        in: path
        required: true
      operationId: lookupConnection
      requestBody:
        description: The request body.
        content:
          application/json:
            schema:
              type: object
              required:
              - path
              properties:
                path:
                  oneOf:
                  - type: array
                    minItems: 3
                    maxItems: 3
                    items:
                      type: string
                      description: Database name
                      title: Database
                    description: Represents a path of the form `DATABASE.SCHEMA.TABLE` or `DATABASE.SCHEMA.STORED_PROCEDURE`.
                    title: Table or Object Path
                  - type: array
                    minItems: 2
                    maxItems: 2
                    items:
                      type: string
                      description: Database Name
                      title: Database
                    description: Represents a path of the form `DATABASE.SCHEMA`.
                    title: Schema Path
                  - type: array
                    minItems: 1
                    maxItems: 1
                    items:
                      type: string
                      description: Database Name
                      title: Database
                    description: Represents a path of the form `DATABASE`.
                    title: Database Path
                  - type: array
                    items: {}
                    maxItems: 0
                    description: Empty path to sync the entire connection.
                    title: Empty Path
      responses:
        '200':
          description: The response body.
          content:
            application/json:
              schema:
                type: object
                required:
                - kind
                - inodeId
                - url
                properties:
                  kind:
                    type: string
                    enum:
                    - scope
                    - table
                    - semanticView
                    - metricView
                    - stored-procedure
                  inodeId:
                    type: string
                  url:
                    type: string
        default:
          $ref: '#/components/responses/ApiError'
      externalDocs:
        url: ''
        description: 'Sigma API documentation:'
      tags:
      - connections
      security:
      - oauth2: []
    servers:
    - url: https://api.sigmacomputing.com
      description: Server for GCP (US) hosted organizations
    - url: https://api.sa.gcp.sigmacomputing.com
      description: Server for GCP (KSA) hosted organizations
    - url: https://aws-api.sigmacomputing.com
      description: Server for AWS US (West) hosted organizations
    - url: https://api.us-a.aws.sigmacomputing.com
      description: Server for AWS US (East) hosted organizations
    - url: https://api.ca.aws.sigmacomputing.com
      description: Server for AWS Canada hosted organizations
    - url: https://api.eu.aws.sigmacomputing.com
      description: Server for AWS Europe hosted organizations
    - url: https://api.au.aws.sigmacomputing.com
      description: Server for AWS Australia and APAC hosted organizations
    - url: https://api.uk.aws.sigmacomputing.com
      description: Server for AWS UK hosted organizations
    - url: https://api.us.azure.sigmacomputing.com
      description: Server for Azure US hosted organizations
    - url: https://api.eu.azure.sigmacomputing.com
      description: Server for Azure Europe hosted organizations
    - url: https://api.ca.azure.sigmacomputing.com
      description: Server for Azure Canada hosted organizations
    - url: https://api.uk.azure.sigmacomputing.com
      description: Server for Azure United Kingdom hosted organizations
    - url: https://api.au.azure.sigmacomputing.com
      description: Server for Azure Australia hosted organizations
  /v2/connections:
    get:
      summary: List connections
      description: Get a list of available connections and the connection IDs.
      parameters:
      - name: page
        schema:
          type: string
          description: Use to specify further pages using the string returned in the nextPage portion of the response.
          title: Page
        in: query
      - name: limit
        schema:
          type: number
          description: Number of results to return per page, with a maximum of 1,000 per request. Use the `page` option in subsequent requests to retrieve the next set of results.
          title: Limit
        in: query
      - name: includeArchived
        schema:
          type: boolean
        in: query
      - name: search
        schema:
          type: string
          description: Search filter for the name of the connection.
        in: query
      operationId: listConnections
      responses:
        '200':
          description: The response body.
          content:
            application/json:
              schema:
                allOf:
                - type: object
                  required:
                  - entries
                  - nextPage
                  properties:
                    entries:
                      type: array
                      items:
                        allOf:
                        - type: object
                          required:
                          - organizationId
                          - connectionId
                          - isSample
                          - isAuditLog
                          - lastActiveAt
                          - name
                          - type
                          - useOauth
                          - createdBy
                          - updatedBy
                          - createdAt
                          - updatedAt
                          properties:
                            organizationId:
                              type: string
                              description: Unique identifier of the organization
                            connectionId:
                              type: string
                              description: Unique identifier of the connection
                            isSample:
                              type: boolean
                              description: Whether the connection is the Sigma sample data connection
                            isAuditLog:
                              type: boolean
                              description: Whether audit logging is enabled
                            lastActiveAt:
                              type: string
                              format: date-time
                              description: Last activity date and time
                            name:
                              type: string
                              description: Name of the connection
                            type:
                              type: string
                              description: Type of the connection (e.g., "bigQuery")
                            useOauth:
                              type: boolean
                              description: Whether OAuth is used
                            createdBy:
                              type: string
                              description: Identifier of the user who created this connection
                            updatedBy:
                              type: string
                              description: Identifier of the user or process that last updated this connection
                            createdAt:
                              type: string
                              format: date-time
                              description: When the connection was created
                            updatedAt:
                              type: string
                              format: date-time
                              description: When the connection was last updated
                        - type: object
                          properties:
                            isArchived:
                              type: boolean
                              description: Whether the connection is archived
                            account:
                              type: string
                              description: Account associated with the connection
                            warehouse:
                              type: string
                              description: Warehouse associated with the connection
                            user:
                              type: string
                              description: User associated with the connection
                            role:
                              type: string
                              description: Role used by the connection user
                            timeout:
                              allOf:
                              - type: object
                                required:
                                - default
                                properties:
                                  default:
                                    type: number
                              - type: object
                                properties:
                                  worksheet:
                                    type: number
                                  dashboard:
                                    type: number
                                  download:
                                    type: number
                              description: Timeout settings for the connection, with a default value in seconds
                            poolSizes:
                              type: object
                              properties:
                                isPoolConfigured:
                                  type: boolean
                                adhocPoolSize:
                                  type: number
                                catalogPoolSize:
                                  type: number
                                resultPoolSize:
                                  type: number
                                schedulePoolSize:
                                  type: number
                              description: Pool sizes for the connection, such as for adhocPoolSize or schedulePoolSize
                            writeAccess:
                              type: boolean
                            friendlyName:
                              type: boolean
                              description: Whether friendly names are enabled for this connection
                            writebacks:
                              type: array
                              items:
                                allOf:
                                - allOf:
                                  - type: object
                                    required:
                                    - database
                                    - schema
                                    properties:
                                      database:
                                        type: string
                                        description: Database, catalog, or top-level object to contain tables written back to the data platform
                                      schema:
                                        type: string
                                        description: Schema, database, or second-level object to contain tables written back to the data platform
                                  - type: object
                                    properties:
                                      writebackSchemaId:
                                        type: string
                                        description: Unique identifier of the writebackSchema
                                - type: object
                                  properties:
                                    description:
                                      type: string
                                      description: Description for the write-back destination.
                              description: Configure write-back for non-OAuth connections
                            writebackSchemas:
                              type: array
                              items:
                                allOf:
                                - allOf:
                                  - type: object
                                    required:
                                    - database
                                    - schema
                                    properties:
                                      database:
                                        type: string
                                        description: Database, catalog, or top-level object to contain tables written back to the data platform
                                      schema:
                                        type: string
                                        description: Schema, database, or second-level object to contain tables written back to the data platform
                                  - type: object
                                    properties:
                                      writebackSchemaId:
                                        type: string
                                        description: Unique identifier of the writebackSchema
                                - type: object
                                  properties:
                                    description:
                                      type: string
                                      description: Description for the write-back destination.
                              description: Configure write-back for OAuth connections
                            inputTableAuditLogSchema:
                              allOf:
                              - type: object
                                required:
                                - database
                                - schema
                                properties:
                                  database:
                                    type: string
                                    description: Database, catalog, or top-level object to contain tables written back to the data platform
                                  schema:
                                    type: string
                                    description: Schema, database, or second-level object to contain tables written back to the data platform
                              - type: object
                                properties:
                                  writebackSchemaId:
                                    type: string
                                    description: Unique identifier of the writebackSchema
                              description: Schema to use for the input table write-ahead log (WAL). Cannot be changed without breaking write behavior on this connection.
                            materializationWarehouse:
                              type: string
                              description: Warehouse used to run materialization jobs
                            exportsWarehouse:
                              type: string
                              description: Warehouse used to run export jobs
                            oauthMetadataUrl:
                              type: string
                              description: OAuth metadata URL configured directly on this connection.
                            oauthClientId:
                              type: string
                              description: Client ID configured directly on this connection.
                            oauthScopes:
                              type: array
                              items:
                                type: string
                              description: OAuth scopes configured directly on this connection.
                            oauthIdpType:
                              oneOf:
                              - type: string
                                enum:
                                - aws_databricks
                              - type: string
                                enum:
                                - azure_databricks
                              - type: string
                                enum:
                                - gcp_databricks
                              - type: string
                                enum:
                                - azuread
                              - type: string
                                enum:
                                - auth0
                              - type: string
                                enum:
                                - adfs
                              - type: string
                                enum:
                                - okta
                              - type: string
                                enum:
                                - ping
                              - type: string
                                enum:
                                - snowflake
                              - type: string
                                enum:
                                - unknown
                              description: OAuth provider type configured or inferred for this connection.
                            oauthUsePkce:
                              type:
                              - boolean
                              - 'null'
                              description: Whether this connection-level OAuth configuration uses PKCE.
                            oauthUseJwt:
                              type:
                              - boolean
                              - 'null'
                              description: Whether this connection-level OAuth configuration uses JWT bearer token authentication.
                            oauthAudience:
                              type: string
                              description: Audience used for OAuth federation, such as the Google workforce identity federation audience for BigQuery.
                            isIndependentOAuth:
                              type: boolean
                              description: Whether this connection uses connection-level OAuth instead of organization-level OAuth.
                            userAttributes:
                              type: object
                              properties:
                                role:
                                  type: string
                                warehouse:
                                  type: string
                              description: User attributes associated with the connection
                            roleSwitching:
                              type: string
                              enum:
                              - allRoles
                              - disabled
                              description: Whether a Snowflake OAuth connection allows users to switch roles when running queries. Only meaningful for Snowflake OAuth connections.
                      description: Array of results returned by the endpoint
                    nextPage:
                      type:
                      - string
                      - 'null'
                      description: 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`.
                - type: object
                  properties:
                    total:
                      type: number
                      description: Total number of results. Useful to determine if there is a need to paginate.
                    hasMore:
                      type: boolean
                      description: '**[Deprecated]** Indicates whether more results are available.'
        default:
          $ref: '#/components/responses/ApiError'
      externalDocs:
        url: ''
        description: 'Sigma API documentation:'
      tags:
      - connections
      security:
      - oauth2: []
    post:
      summary: Create a connection
      description: Create a connection to a cloud data warehouse from Sigma. For additional details, see [Connect to data sources](https://help.sigmacomputing.com/docs/connect-to-data-sources).
      parameters: []
      operationId: createConnection
      requestBody:
        description: The request body.
        content:
          application/json:
            schema:
              allOf:
              - type: object
                required:
                - details
                - name
                properties:
                  details:
                    oneOf:
                    - allOf:
                      - type: object
                        required:
                        - type
                        - host
                        - database
                        properties:
                          type:
                            type: string
                            enum:
                            - postgres
                            - redshift
                            - alloydb
                          host:
                            type: string
                          database:
                            type: string
                      - type: object
                        properties:
                          user:
                            type: string
                          password:
                            oneOf:
                            - type: string
                            - type: object
                              required:
                              - type
                              - value
                              properties:
                                type:
                                  type: string
                                  enum:
                                  - plain
                                value:
                                  type: string
                            - type: object
                              required:
                              - secretManagerId
                              - secretId
                              properties:
                                secretManagerId:
                                  type: string
                                secretId:
                                  type: string
                          port:
                            type: number
                          useTls:
                            type: boolean
                          writeAccess:
                            type: object
                            required:
                            - writeSchema
                            properties:
                              writeSchema:
                                type: string
                      description: Details of the PostgreSQL connection.
                      title: PostgreSQL
                    - allOf:
                      - allOf:
                        - type: object
                          required:
                          - type
                          - projectId
                          properties:
                            type:
                              type: string
                              enum:
                              - bigQuery
                            projectId:
                              type: string
                        - type: object
                          properties:
                            additionalProjectIds:
                              type: array
                              items:
                                type: string
                            serviceAccount:
                              oneOf:
                              - type: string
                              - type: object
                                required:
                                - secretManagerId
                                - secretId
                                properties:
                                  secretManagerId:
                                    type: string
                                  secretId:
                                    type: string
                      - type: object
                        properties:
                          metadataUrl:
                            type: string
                            description: OAuth metadata URL for connection-level OAuth.
                          clientId:
                            type: string
                            description: Client ID for the OAuth application used by this connection.
                          clientSecret:
                            oneOf:
                            - type: string
                            - type: object
                              required:
                              - secretManagerId
                              - secretId
                              properties:
                                secretManagerId:
                                  type: string
                                secretId:
                                  type: string
                            description: Client secret for the OAuth application used by this connection. This value is write-only and is not returned by the API.
                          scopes:
                            type: array
                            items:
                              type: string
                            description: OAuth scopes to request when users authenticate to this connection.
                          idpType:
                            oneOf:
                            - type: string
                              enum:
                              - aws_databricks
                            - type: string
                              enum:
                              - azure_databricks
                            - type: string
                              enum:
                              - gcp_databricks
                            - type: string
                              enum:
                              - azuread
                            - type: string
                              enum:
                              - auth0
                            - type: string
                              enum:
                              - adfs
                            - type: string
                              enum:
                              - okta
                            - type: string
                              enum:
                              - ping
                            - type: string
                              enum:
                              - snowflake
                            - type: string
                              enum:
                              - unknown
                            type: 'null'
                            description: OAuth provider type. Supported values are adfs, auth0, azuread, okta, ping, snowflake, aws_databricks, azure_databricks, gcp_databricks, and unknown.
                          usePkce:
                            type:
                            - boolean
                            - 'null'
                            description: Whether the OAuth flow should require Proof Key for Code Exchange (PKCE). Databricks-hosted OAuth providers require PKCE.
                          useJwt:
                            type:
                            - boolean
                            - 'null'
                            description: Whether the OAuth flow should use JWT bearer token authentication instead of a client secret.
                      - type: object
                        properties:
                          useOauth:
                            type: boolean
                            description: Whether this BigQuery connection uses OAuth federation.
                          audience:
                            type: string
                            description: Google workforce identity federation audience used to exchange the OAuth token for a Google access token.
                          writeAccess:
                            type: object
                            required:
                            - writeProject
                            - writeDataset
                            properties:
                              writeProject:
                                type: string
                              writeDataset:
                                type: string
                      description: Details of the BigQuery connection.
                      title: Google BigQuery
                    - allOf:
                      - allOf:
                        - type: object
                          required:
                          - type
                          properties:
                            type:
                              type: string
                              enum:
                              - snowflake
                        - type: object
                          properties:
                            server:
                              type: string
                            account:
                              type: string
                            host:
                              type: string
                            warehouse:
                              type: string
                            role:
                              type: string
                   

# --- truncated at 32 KB (529 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/sigma-computing/refs/heads/main/openapi/sigma-computing-connections-api-openapi.yml