Skip to content

Connectors API

All paths are relative to /api.

MethodPathDescription
GET/connectors/sourcesBuilt-in sources and their streams
GET/connectors/destinationsBuilt-in destinations
GET/connectors/custom-sourcesCustom sources found in CUSTOM_SOURCES_DIR
POST/connectors/sources/checkTest a built-in source connection
POST/connectors/destinations/checkTest a destination connection
GET POST/saved/sourcesList or create saved sources
GET PUT DELETE/saved/sources/{id}Read, update or delete a saved source
GET POST/saved/destinationsList or create saved destinations
GET PUT DELETE/saved/destinations/{id}Read, update or delete a saved destination

Lists the sources bizon-core discovers, sorted by name. config_examples holds the parsed *.example.yml files shipped with each connector.

[
{
"name": "hubspot",
"streams": [
{ "name": "contacts", "supports_incremental": false }
],
"config_examples": [ { "name": "hubspot to logger", "source": { ... } } ]
}
]
[
{ "name": "bigquery", "config_examples": [ ... ] },
{ "name": "logger", "config_examples": [ ... ] }
]

Lists every directory in CUSTOM_SOURCES_DIR whose source.py defines an AbstractSource subclass. Sources that fail to import are skipped.

[
{
"name": "jsonplaceholder",
"file_path": "/custom_sources/jsonplaceholder/source.py",
"streams": ["posts", "comments", "users", "todos", "albums", "photos"]
}
]

file_path is the value to use as source.source_file_path in a pipeline config.

Both checks run with a 30-second timeout and always return HTTP 200:

{ "success": true, "message": "Connection successful" }

On failure, success is false and message holds the error, for example an unknown stream with the list of available ones.

For built-in sources only. To test a custom source, use POST /custom-sources/{name}/test.

{
"source_name": "hubspot",
"stream_name": "contacts",
"authentication": { "type": "api_key", "params": { "token": "pat-xxx" } }
}

The API builds the source config from source_name, stream_name and authentication, then calls the source’s check_connection().

{
"destination_name": "bigquery",
"config": { "project_id": "my-project", "dataset": "raw" }
}

Supported destinations: logger, bigquery, bigquery_streaming, bigquery_streaming_v2 and file. Any other name returns success: false.

Saved connectors store a reusable source or destination config, encrypted like pipeline configs. They are not linked to pipelines: copying one into a pipeline config is up to you.

POST /saved/sources or POST /saved/destinations returns 201.

FieldTypeRequired
namestring, 1 to 255 charsyes
connector_namestring, e.g. hubspot or bigqueryyes
configobjectyes
descriptionstringno
Terminal window
curl -X POST http://localhost:8000/api/saved/destinations \
-H "Content-Type: application/json" \
-d '{
"name": "warehouse",
"connector_name": "bigquery",
"config": {"project_id": "my-project", "dataset": "raw"}
}'

Names are unique per type. A duplicate returns 409.

{
"id": "0d5e...",
"name": "warehouse",
"type": "destination",
"connector_name": "bigquery",
"config": { "project_id": "my-project", "dataset": "raw" },
"description": null,
"created_at": "2026-10-02T10:00:00",
"updated_at": null
}
  • GET /saved/sources and GET /saved/destinations take limit (default 100) and offset.
  • PUT /saved/{sources|destinations}/{id} accepts name, config and description. connector_name can’t be changed.
  • DELETE /saved/{sources|destinations}/{id} returns 204.