Skip to main content
GET
/
catalogs
List Catalogs
curl --request GET \
  --url https://cloud.cdata.com/api/catalogs \
  --header 'Authorization: Basic <encoded-value>'
{
  "results": [
    {
      "affectedRows": -1,
      "schema": [
        {
          "catalogName": "CData",
          "columnLabel": "TABLE_CATALOG",
          "columnName": "TABLE_CATALOG",
          "dataType": 5,
          "dataTypeName": "VARCHAR",
          "length": 255,
          "nullable": true,
          "ordinal": 0,
          "precision": 255,
          "scale": 0,
          "schemaName": "QueryFederation",
          "tableName": "sys_catalogs"
        }
      ],
      "rows": [
        [
          "Salesforce1"
        ]
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

Basic Authentication with username and password. Use your PAT as the password. You can get your PAT from Connect AI by selecting Settings > Access Tokens.

Query Parameters

workspace
string

Restricts results to the specified workspace.

Response

200 - application/json

OK

results
object[] | null
error
object