Get source catalog

Retrieves the schema catalog (schemas, tables, columns) from a source database connection.

POST
/api/v1/catalog/source

Query Parameters

connector_id?string|null

When set, fills missing secret fields from the stored connector before running validation. Used in edit mode where the frontend never has the original secret values.

Request Body

application/json

Source connector configuration

source*|||||

Source configuration

Response Body

application/json

curl -X POST "https://loading/api/v1/catalog/source" \  -H "Content-Type: application/json" \  -d '{    "source": {      "postgres": {        "connection": {          "host": "example.com",          "user": "string",          "password": "pa$$word",          "database": "string"        },        "replication_type": {          "logical_replication": {}        }      }    }  }'
{
  "name": "string",
  "schemas": [
    {
      "name": "string",
      "tables": [
        {
          "name": "string",
          "columns": [
            {
              "name": "string",
              "primary_key": false,
              "nullable": true,
              "data_type": "string",
              "supported": true
            }
          ]
        }
      ]
    }
  ]
}
Empty
Empty