Skip to content

Airbyte

Run Airbyte source connectors and query their streams as typed DuckDB tables

Connector software
Free and open source
Service credentials
Required
Use with an agent

Install the Orchard skill in your project to help your agent find connectors, configure them, and verify SQL results.

npx skills add Query-farm/vgi-skills --skill orchard

Copy this request into your coding agent to get started.

Use https://query.farm/products/orchard/connectors/airbyte/index.md to help me query Airbyte with DuckDB or Haybarn 2.0.1 and VGI protocol 3.4. Ask only for missing details about the result I need or whether I want local execution, self-hosting or Query Farm hosting. Check the connector's actual hosting availability, credentials and input requirements. Read one format of each needed reference and the exact object declarations before writing SQL. Use a released connector, and distinguish a saved example result from anything you actually execute. If you cannot run the query, tell me what remains to verify.

How many registry connectors carry each license, and how many are manifest-only

Uses your connected account. Set up the connector and credentials to run it with your data.

SELECT license, count(*) AS connectors,
  count(*) FILTER (WHERE manifest_only) AS manifest_only
FROM airbyte.main.connectors()
GROUP BY license
ORDER BY connectors DESC

Quick start

Choose where to run Airbyte, then follow the steps below.

The connector runs alongside DuckDB or Haybarn. No Query Farm account is needed.

1. Install the vgi extension

Run this in your SQL client. On DuckDB, keep FROM query_farm on LOAD in later sessions.

setup.sql
SET allow_extension_repositories = 'allowed';

CREATE EXTENSION REPOSITORY IF NOT EXISTS query_farm
    WITH PREFIX 'https://duckdb-extensions.query.farm';

INSTALL vgi FROM query_farm;
LOAD vgi FROM query_farm;

2. Attach the connector

Attach with uvx

Needs uv. uvx builds the worker from its release tag on first attach and reuses the cached environment after that.

ATTACH 'airbyte' AS airbyte (
  TYPE vgi,
  LOCATION 'uvx --from git+https://github.com/Query-farm/[email protected] vgi-airbyte-worker'
);

3. Add service credentials

After attaching, create the secret for the service you want to query in the same SQL session. Replace the placeholders with your service settings.

airbyte credentials

Config JSON for an Airbyte source connector, validated against its spec and passed as --config.

Get these credentials →
secret.sql
CREATE SECRET airbyte (
    TYPE airbyte,
    config '<AIRBYTE_CONFIG>'  -- required, secret
);
Credential fields and requirements →

4. Run a query

query.sql
SELECT license, count(*) AS connectors,
  count(*) FILTER (WHERE manifest_only) AS manifest_only
FROM airbyte.main.connectors()
GROUP BY license
ORDER BY connectors DESC
More example queries →
Technical details
Verified connector release
v0.2.0
Engine
2.0.1
VGI protocol
3.4.0
Verified on
December 1, 2026
Release notes on GitHub
Pin a version for production

When running the connector yourself, keep a specific release until you’re ready to upgrade. Replace the ATTACH statement above with this one and follow the same extension and credential setup.

Attach with uvx

Needs uv. uvx builds the worker from its release tag on first attach and reuses the cached environment after that.

ATTACH 'airbyte' AS airbyte (
  TYPE vgi,
  LOCATION 'uvx --from git+https://github.com/Query-farm/[email protected] vgi-airbyte-worker'
);

Overview

Run Airbyte source connectors from DuckDB - declarative manifests from the Airbyte registry, local manifests, or any Docker image speaking the Airbyte protocol - and query their streams as typed tables.

ATTACH options

connector
Connector reference (registry name, manifest path/URL, docker:image, exec:path). With catalog, every stream becomes a table.VARCHAR
catalog
Airbyte catalog for the connector: a file path or the catalog JSON itself.VARCHAR
secret_name
Name of the airbyte secret with the config; empty uses the 'airbyte://<connector>' scope.VARCHAR
accept_license
Acknowledge a registry connector's non-permissive license, e.g. 'ELv2'.VARCHAR
allow_custom_code
Allow the manifest's custom Python components (components.py) to run.BOOLEAN
cdk_version
airbyte-cdk version that runs declarative manifests.VARCHAR
registry_url
Connector registry JSON used to resolve registry names.VARCHAR
timeout_seconds
Stop a connector that prints nothing for this many seconds; 0 waits forever.BIGINT

Catalog

Everything airbyte exposes once attached — read straight from the worker's released build.

airbyte 1 schema
main 9 functions

Functions that list, inspect and read Airbyte source connectors; attached connector streams appear here as tables.

Schema examples (11)
Examples (11)

How many registry connectors carry each license, and how many are manifest-only

SELECT license, count(*) AS connectors,
  count(*) FILTER (WHERE manifest_only) AS manifest_only
FROM airbyte.main.connectors()
GROUP BY license
ORDER BY connectors DESC;

MIT-licensed declarative connectors that run without Docker or a license acknowledgement

SELECT name, version, release_stage
FROM airbyte.main.connectors()
WHERE manifest_only AND license = 'MIT'
ORDER BY name;

The config fields source-pokeapi expects

SELECT p.name, p.type, p.required, p.secret
FROM (SELECT unnest(properties) AS p FROM airbyte.main.spec('source-pokeapi', accept_license := 'ELv2'))
ORDER BY p.name;

Check that the source-pokeapi config in the airbyte secret works

SELECT status, message
FROM airbyte.main.check_connection('source-pokeapi', accept_license := 'ELv2');
7 more examples

Which streams source-pokeapi offers and how each can sync

SELECT stream, supported_sync_modes, primary_key,
  len(columns) AS column_count
FROM airbyte.main.discover('source-pokeapi', accept_license := 'ELv2')
ORDER BY stream;

How many streams source-pokeapi discovers, and the first one's name

SELECT streams, catalog->>'$.streams[0].name' AS first_stream
FROM airbyte.main.catalog('source-pokeapi', accept_license := 'ELv2');

Read the pokemon stream of the declarative PokeAPI connector

SELECT id, name, base_experience
FROM airbyte.main.read_stream('source-pokeapi', 'pokemon', accept_license := 'ELv2');

Read a declarative manifest by URL, resuming from a saved Airbyte state

SELECT count(*) AS pokemon
FROM airbyte.main.read_stream('https://connectors.airbyte.com/files/metadata/airbyte/source-pokeapi/0.3.79/manifest.yaml', 'pokemon', state := getvariable('pokemon_state'));

Sync one stream and keep the state to resume from

SELECT records, final_state
FROM airbyte.main.final_state('source-pokeapi', stream := 'pokemon', accept_license := 'ELv2');

Message counts by type for one stream of the PokeAPI connector

SELECT type, count(*) AS n
FROM airbyte.main.messages('source-pokeapi', stream := 'pokemon', accept_license := 'ELv2')
GROUP BY type
ORDER BY type;

An object with declared properties becomes a STRUCT

SELECT airbyte.main.json_schema_type('{"type": "object", "properties": {"id": {"type": "integer"}}}') AS duckdb_type;
Scalar functions
json_schema_type (schema VARCHAR) 2 examples

The DuckDB type this worker maps an Airbyte stream property's JSON Schema to

Arguments
schema VARCHAR
A JSON Schema as JSON text; NULL in, NULL out.
ReturnsVARCHAR
Examples (2)

An object with declared properties becomes a STRUCT

SELECT airbyte.main.json_schema_type('{"type": "object", "properties": {"id": {"type": "integer"}}}') AS duckdb_type;
SELECT airbyte.main.json_schema_type(s) AS t
FROM (VALUES ('{"type": ["null", "string"], "format": "date-time"}'), ('{"type": "string", "format": "date-time", "airbyte_type": "timestamp_without_timezone"}'), ('{"type": "number", "airbyte_type": "integer"}')) v(s)
ORDER BY t;
Link
Table functions
catalog (connector VARCHAR, accept_license := VARCHAR, allow_custom_code := BOOLEAN, cdk_version := VARCHAR, registry_url := VARCHAR, secret_name := VARCHAR, timeout_seconds := BIGINT) 1 example

Run an Airbyte connector's discovery and return the catalog JSON

Positional arguments
connector VARCHAR
Connector: a registry name ('source-pokeapi', optionally '@version'), a manifest path or URL (.yaml), 'docker:<image>' or 'exec:<path>'.
Named arguments
accept_license := VARCHAR
Acknowledge a registry connector's non-permissive license to run it, e.g. 'ELv2'. · default ""
allow_custom_code := BOOLEAN
Allow a manifest's custom Python components (components.py) to run. · default false
cdk_version := VARCHAR
airbyte-cdk version that runs declarative manifests (installed once into a cached environment). · default "7.48.0"
registry_url := VARCHAR
Connector registry JSON; manifests are fetched from the same /files/ tree. · default "https://connectors.airbyte.com/files/registries/v0/oss_registry.json"
secret_name := VARCHAR
Name of the airbyte secret holding the config; empty picks the one scoped to 'airbyte://<connector>'. · default ""
timeout_seconds := BIGINT
Stop the connector if it prints nothing for this many seconds; 0 waits forever. · default 300
Returns columns
catalog JSON
The AirbyteCatalog printed by discover.
streams BIGINT
Number of streams in the catalog.
Example

How many streams source-pokeapi discovers, and the first one's name

SELECT streams, catalog->>'$.streams[0].name' AS first_stream
FROM airbyte.main.catalog('source-pokeapi', accept_license := 'ELv2');
Link
check_connection (connector VARCHAR, accept_license := VARCHAR, allow_custom_code := BOOLEAN, cdk_version := VARCHAR, registry_url := VARCHAR, secret_name := VARCHAR, timeout_seconds := BIGINT) 1 example

Validate the config against an Airbyte connector's spec and run its connection check

Positional arguments
connector VARCHAR
Connector: a registry name ('source-pokeapi', optionally '@version'), a manifest path or URL (.yaml), 'docker:<image>' or 'exec:<path>'.
Named arguments
accept_license := VARCHAR
Acknowledge a registry connector's non-permissive license to run it, e.g. 'ELv2'. · default ""
allow_custom_code := BOOLEAN
Allow a manifest's custom Python components (components.py) to run. · default false
cdk_version := VARCHAR
airbyte-cdk version that runs declarative manifests (installed once into a cached environment). · default "7.48.0"
registry_url := VARCHAR
Connector registry JSON; manifests are fetched from the same /files/ tree. · default "https://connectors.airbyte.com/files/registries/v0/oss_registry.json"
secret_name := VARCHAR
Name of the airbyte secret holding the config; empty picks the one scoped to 'airbyte://<connector>'. · default ""
timeout_seconds := BIGINT
Stop the connector if it prints nothing for this many seconds; 0 waits forever. · default 300
Returns columns
connector VARCHAR
The connector as resolved.
status VARCHAR
SUCCEEDED or FAILED.
message VARCHAR
Why the check failed (or the connector's message).
config_valid BOOLEAN
Whether the config matched the connector's spec.
Example

Check that the source-pokeapi config in the airbyte secret works

SELECT status, message
FROM airbyte.main.check_connection('source-pokeapi', accept_license := 'ELv2');
Link
connectors (registry_url := VARCHAR) 2 examples

List Airbyte registry source connectors with version, release stage and license

Named arguments
registry_url := VARCHAR
Connector registry JSON to list (a mirror with the same layout works). · default "https://connectors.airbyte.com/files/registries/v0/oss_registry.json"
Returns columns
name VARCHAR
Connector name to pass as the connector argument, e.g. source-pokeapi.
display_name VARCHAR
Human-readable connector name.
definition_id VARCHAR
Airbyte source definition id (UUID).
docker_image VARCHAR
Docker image and tag of the current version.
version VARCHAR
Current version (the image tag).
language VARCHAR
Implementation: manifest-only, python or java.
manifest_only BOOLEAN
True when it is a declarative manifest the worker runs without Docker.
release_stage VARCHAR
alpha, beta or generally_available.
support_level VARCHAR
community or certified.
license VARCHAR
License from the registry metadata, e.g. MIT or ELv2.
license_policy VARCHAR
What the worker requires before running it under that license.
source_type VARCHAR
api, database, file, ...
documentation_url VARCHAR
Airbyte documentation page.
manifest_url VARCHAR
URL of the declarative manifest.yaml (manifest-only connectors).
tags VARCHAR[]
Registry tags, e.g. language:manifest-only, cdk:low-code.
Examples (2)

How many registry connectors carry each license, and how many are manifest-only

SELECT license, count(*) AS connectors,
  count(*) FILTER (WHERE manifest_only) AS manifest_only
FROM airbyte.main.connectors()
GROUP BY license
ORDER BY connectors DESC;

MIT-licensed declarative connectors that run without Docker or a license acknowledgement

SELECT name, version, release_stage
FROM airbyte.main.connectors()
WHERE manifest_only AND license = 'MIT'
ORDER BY name;
Link
discover (connector VARCHAR, accept_license := VARCHAR, allow_custom_code := BOOLEAN, cdk_version := VARCHAR, registry_url := VARCHAR, secret_name := VARCHAR, timeout_seconds := BIGINT) 1 example

Run an Airbyte connector's discovery and list its streams with their columns

Positional arguments
connector VARCHAR
Connector: a registry name ('source-pokeapi', optionally '@version'), a manifest path or URL (.yaml), 'docker:<image>' or 'exec:<path>'.
Named arguments
accept_license := VARCHAR
Acknowledge a registry connector's non-permissive license to run it, e.g. 'ELv2'. · default ""
allow_custom_code := BOOLEAN
Allow a manifest's custom Python components (components.py) to run. · default false
cdk_version := VARCHAR
airbyte-cdk version that runs declarative manifests (installed once into a cached environment). · default "7.48.0"
registry_url := VARCHAR
Connector registry JSON; manifests are fetched from the same /files/ tree. · default "https://connectors.airbyte.com/files/registries/v0/oss_registry.json"
secret_name := VARCHAR
Name of the airbyte secret holding the config; empty picks the one scoped to 'airbyte://<connector>'. · default ""
timeout_seconds := BIGINT
Stop the connector if it prints nothing for this many seconds; 0 waits forever. · default 300
Returns columns
stream VARCHAR
Stream name (pass it to read_stream).
namespace VARCHAR
Stream namespace, if the source sets one.
table_name VARCHAR
Table name the stream gets in an attached connector catalog.
supported_sync_modes VARCHAR[]
full_refresh and/or incremental.
source_defined_cursor BOOLEAN
Whether the source chooses the incremental cursor.
default_cursor_field VARCHAR[]
Cursor field path used for incremental reads.
primary_key VARCHAR[]
Primary key fields (nested paths joined with '.').
is_resumable BOOLEAN
Whether an interrupted full refresh can resume from state.
columns STRUCT("name" VARCHAR, "type" VARCHAR)[]
Table columns with their DuckDB types.
json_schema JSON
The stream's JSON Schema.
Example

Which streams source-pokeapi offers and how each can sync

SELECT stream, supported_sync_modes, primary_key,
  len(columns) AS column_count
FROM airbyte.main.discover('source-pokeapi', accept_license := 'ELv2')
ORDER BY stream;
Link
final_state (connector VARCHAR, accept_license := VARCHAR, allow_custom_code := BOOLEAN, catalog_json := VARCHAR, cdk_version := VARCHAR, registry_url := VARCHAR, secret_name := VARCHAR, state := VARCHAR, stream := VARCHAR, timeout_seconds := BIGINT) 1 example

Run an Airbyte connector from a state and return the final state and record counts

Positional arguments
connector VARCHAR
Connector: a registry name ('source-pokeapi', optionally '@version'), a manifest path or URL (.yaml), 'docker:<image>' or 'exec:<path>'.
Named arguments
accept_license := VARCHAR
Acknowledge a registry connector's non-permissive license to run it, e.g. 'ELv2'. · default ""
allow_custom_code := BOOLEAN
Allow a manifest's custom Python components (components.py) to run. · default false
catalog_json := VARCHAR
An Airbyte catalog JSON to use instead of running discover. · default ""
cdk_version := VARCHAR
airbyte-cdk version that runs declarative manifests (installed once into a cached environment). · default "7.48.0"
registry_url := VARCHAR
Connector registry JSON; manifests are fetched from the same /files/ tree. · default "https://connectors.airbyte.com/files/registries/v0/oss_registry.json"
secret_name := VARCHAR
Name of the airbyte secret holding the config; empty picks the one scoped to 'airbyte://<connector>'. · default ""
state := VARCHAR
Airbyte state JSON to start from; empty = a full sync. · default ""
stream := VARCHAR
Only sync this stream; empty syncs every stream. · default ""
timeout_seconds := BIGINT
Stop the connector if it prints nothing for this many seconds; 0 waits forever. · default 300
Returns columns
final_state JSON
The cumulative state after the sync (a JSON array of state messages; NULL if none was emitted).
records BIGINT
RECORD messages read.
state_messages BIGINT
STATE messages read.
streams VARCHAR[]
Streams that produced records, sorted.
state_type VARCHAR
STREAM, GLOBAL or LEGACY: the form of the final state.
Example

Sync one stream and keep the state to resume from

SELECT records, final_state
FROM airbyte.main.final_state('source-pokeapi', stream := 'pokemon', accept_license := 'ELv2');
Link
messages (connector VARCHAR, accept_license := VARCHAR, allow_custom_code := BOOLEAN, catalog_json := VARCHAR, cdk_version := VARCHAR, command := VARCHAR, registry_url := VARCHAR, secret_name := VARCHAR, state := VARCHAR, stream := VARCHAR, timeout_seconds := BIGINT) 1 example

Run an Airbyte connector command and return its raw protocol messages, one row per message

Positional arguments
connector VARCHAR
Connector: a registry name ('source-pokeapi', optionally '@version'), a manifest path or URL (.yaml), 'docker:<image>' or 'exec:<path>'.
Named arguments
accept_license := VARCHAR
Acknowledge a registry connector's non-permissive license to run it, e.g. 'ELv2'. · default ""
allow_custom_code := BOOLEAN
Allow a manifest's custom Python components (components.py) to run. · default false
catalog_json := VARCHAR
read: an Airbyte catalog JSON to use instead of discover. · default ""
cdk_version := VARCHAR
airbyte-cdk version that runs declarative manifests (installed once into a cached environment). · default "7.48.0"
command := VARCHAR
Protocol command to run: read, check, discover or spec. · default "read"
registry_url := VARCHAR
Connector registry JSON; manifests are fetched from the same /files/ tree. · default "https://connectors.airbyte.com/files/registries/v0/oss_registry.json"
secret_name := VARCHAR
Name of the airbyte secret holding the config; empty picks the one scoped to 'airbyte://<connector>'. · default ""
state := VARCHAR
read: Airbyte state JSON to start from. · default ""
stream := VARCHAR
read: only this stream; empty reads every stream. · default ""
timeout_seconds := BIGINT
Stop the connector if it prints nothing for this many seconds; 0 waits forever. · default 300
Returns columns
seq BIGINT
Position of the message in the connector's output, from 1.
type VARCHAR
RECORD, STATE, LOG, TRACE, SPEC, CATALOG, CONNECTION_STATUS or CONTROL.
stream VARCHAR
RECORD / STATE / STREAM_STATUS: the stream name.
namespace VARCHAR
The stream namespace, if any.
emitted_at TIMESTAMP WITH TIME ZONE
RECORD / TRACE: when the connector emitted it.
data JSON
RECORD: the record data.
state JSON
STATE: the state message (STREAM, GLOBAL or LEGACY).
state_type VARCHAR
STATE: STREAM, GLOBAL or LEGACY.
log_level VARCHAR
LOG: FATAL, ERROR, WARN, INFO, DEBUG or TRACE.
log_message VARCHAR
LOG: the message text.
trace_type VARCHAR
TRACE: ERROR, ESTIMATE, STREAM_STATUS, ANALYTICS ...
error_message VARCHAR
TRACE ERROR: the user-facing message.
stream_status VARCHAR
TRACE STREAM_STATUS: STARTED, RUNNING, COMPLETE, INCOMPLETE.
message JSON
The whole message as JSON.
Example

Message counts by type for one stream of the PokeAPI connector

SELECT type, count(*) AS n
FROM airbyte.main.messages('source-pokeapi', stream := 'pokemon', accept_license := 'ELv2')
GROUP BY type
ORDER BY type;
Link
read_stream (connector VARCHAR, stream VARCHAR, accept_license := VARCHAR, allow_custom_code := BOOLEAN, catalog_json := VARCHAR, cdk_version := VARCHAR, cursor_field := VARCHAR, registry_url := VARCHAR, secret_name := VARCHAR, state := VARCHAR, sync_mode := VARCHAR, timeout_seconds := BIGINT) 2 examples

Run an Airbyte source connector and return one stream as a typed table

Positional arguments
connector VARCHAR
Connector: a registry name ('source-pokeapi', optionally '@version'), a manifest path or URL (.yaml), 'docker:<image>' or 'exec:<path>'.
stream VARCHAR
Stream to read: its name, or namespace.name.
Named arguments
accept_license := VARCHAR
Acknowledge a registry connector's non-permissive license to run it, e.g. 'ELv2'. · default ""
allow_custom_code := BOOLEAN
Allow a manifest's custom Python components (components.py) to run. · default false
catalog_json := VARCHAR
An Airbyte catalog JSON to use instead of running discover (e.g. from airbyte.main.catalog). · default ""
cdk_version := VARCHAR
airbyte-cdk version that runs declarative manifests (installed once into a cached environment). · default "7.48.0"
cursor_field := VARCHAR
Cursor field for incremental reads when the source has no default. · default ""
registry_url := VARCHAR
Connector registry JSON; manifests are fetched from the same /files/ tree. · default "https://connectors.airbyte.com/files/registries/v0/oss_registry.json"
secret_name := VARCHAR
Name of the airbyte secret holding the config; empty picks the one scoped to 'airbyte://<connector>'. · default ""
state := VARCHAR
Airbyte state JSON to start from (e.g. final_state's result); empty reads everything. · default ""
sync_mode := VARCHAR
auto (incremental when supported), full_refresh (ignores state) or incremental. · default "auto"
timeout_seconds := BIGINT
Stop the connector if it prints nothing for this many seconds; 0 waits forever. · default 300
Returns columns
integer property BIGINT
`type: integer`, or `number` with `airbyte_type: integer`
number property DOUBLE
`type: number`
boolean property BOOLEAN
`type: boolean`
string property VARCHAR
`type: string` without a known format; also `airbyte_type: big_integer`
date-time property TIMESTAMP WITH TIME ZONE
`format: date-time`; offset-less values are UTC
naive date-time property TIMESTAMP
`airbyte_type: timestamp_without_timezone`
date property DATE
`format: date`
object property STRUCT(w BIGINT, h BIGINT)
declared `properties`, no extra keys allowed
array property VARCHAR[]
e.g. `items: {type: string}`; items are mapped by the same rules
open property JSON
open objects, mixed types, or no type
Returns columns · depends on the arguments
integer property BIGINT
`type: integer`, or `number` with `airbyte_type: integer`
number property DOUBLE
`type: number`
boolean property BOOLEAN
`type: boolean`
string property VARCHAR
`type: string` without a known format; also `airbyte_type: big_integer`
date-time property TIMESTAMP WITH TIME ZONE
`format: date-time`; offset-less values are UTC
naive date-time property TIMESTAMP
`airbyte_type: timestamp_without_timezone`
date property DATE
`format: date`
object property STRUCT(w BIGINT, h BIGINT)
declared `properties`, no extra keys allowed
array property VARCHAR[]
e.g. `items: {type: string}`; items are mapped by the same rules
open property JSON
open objects, mixed types, or no type
Examples (2)

Read the pokemon stream of the declarative PokeAPI connector

SELECT id, name, base_experience
FROM airbyte.main.read_stream('source-pokeapi', 'pokemon', accept_license := 'ELv2');

Read a declarative manifest by URL, resuming from a saved Airbyte state

SELECT count(*) AS pokemon
FROM airbyte.main.read_stream('https://connectors.airbyte.com/files/metadata/airbyte/source-pokeapi/0.3.79/manifest.yaml', 'pokemon', state := getvariable('pokemon_state'));
Link
spec (connector VARCHAR, accept_license := VARCHAR, allow_custom_code := BOOLEAN, cdk_version := VARCHAR, registry_url := VARCHAR, secret_name := VARCHAR, timeout_seconds := BIGINT) 1 example

Show an Airbyte connector's config specification: fields, required ones and secrets

Positional arguments
connector VARCHAR
Connector: a registry name ('source-pokeapi', optionally '@version'), a manifest path or URL (.yaml), 'docker:<image>' or 'exec:<path>'.
Named arguments
accept_license := VARCHAR
Acknowledge a registry connector's non-permissive license to run it, e.g. 'ELv2'. · default ""
allow_custom_code := BOOLEAN
Allow a manifest's custom Python components (components.py) to run. · default false
cdk_version := VARCHAR
airbyte-cdk version that runs declarative manifests (installed once into a cached environment). · default "7.48.0"
registry_url := VARCHAR
Connector registry JSON; manifests are fetched from the same /files/ tree. · default "https://connectors.airbyte.com/files/registries/v0/oss_registry.json"
secret_name := VARCHAR
Name of the airbyte secret holding the config; empty picks the one scoped to 'airbyte://<connector>'. · default ""
timeout_seconds := BIGINT
Stop the connector if it prints nothing for this many seconds; 0 waits forever. · default 300
Returns columns
connector VARCHAR
The connector as resolved (registry name, manifest file, image).
mode VARCHAR
How it runs: manifest (declarative CDK), docker or exec.
license VARCHAR
Registry license (NULL for connectors named directly).
documentation_url VARCHAR
Documentation link from the spec.
required VARCHAR[]
Top-level config fields that must be set.
secret_fields VARCHAR[]
Config fields marked airbyte_secret (dotted paths).
properties STRUCT of 7 fields[]
Top-level config fields: name, JSON type, title, description, required, secret, default.
STRUCT[] 7 fields
  • nameVARCHAR
  • typeVARCHAR
  • titleVARCHAR
  • descriptionVARCHAR
  • requiredBOOLEAN
  • secretBOOLEAN
  • defaultVARCHAR
connection_specification JSON
The JSON Schema the config must match.
Example

The config fields source-pokeapi expects

SELECT p.name, p.type, p.required, p.secret
FROM (SELECT unnest(properties) AS p FROM airbyte.main.spec('source-pokeapi', accept_license := 'ELv2'))
ORDER BY p.name;
Link

Credentials

The secret type airbyte declares, as reported by the worker itself.

airbyte

How to get these credentials

Config JSON for an Airbyte source connector, validated against its spec and passed as --config.

secret.sql
CREATE SECRET airbyte (
    TYPE airbyte,
    config '<AIRBYTE_CONFIG>'  -- required, secret
);
Key Type Required Description
config secret VARCHAR Yes The connector's config as a JSON object, exactly what it reads from --config (see airbyte.main.spec). Bind it to one connector with SCOPE 'airbyte://<connector>'.

Create the secret in the same session, after attaching airbyte — the worker registers its secret types at ATTACH. Keys marked secret are masked in duckdb_secrets(); angle-bracket values are placeholders. Read credentials from your environment or secret store in your application and pass them through your SQL client’s parameter bindings. Keep real values out of saved SQL and history. Native DuckDB and Haybarn do not provide a SQL getenv() function.

Try these queries

MIT-licensed declarative connectors that run without Docker or a license acknowledgement

SELECT name, version, release_stage
FROM airbyte.main.connectors()
WHERE manifest_only AND license = 'MIT'
ORDER BY name

Uses connectors

The config fields source-pokeapi expects

SELECT p.name, p.type, p.required, p.secret
FROM (SELECT unnest(properties) AS p FROM airbyte.main.spec('source-pokeapi', accept_license := 'ELv2'))
ORDER BY p.name

Uses spec

Check that the source-pokeapi config in the airbyte secret works

SELECT status, message
FROM airbyte.main.check_connection('source-pokeapi', accept_license := 'ELv2')

Uses check_connection

Which streams source-pokeapi offers and how each can sync

SELECT stream, supported_sync_modes, primary_key,
  len(columns) AS column_count
FROM airbyte.main.discover('source-pokeapi', accept_license := 'ELv2')
ORDER BY stream

Uses discover

How many streams source-pokeapi discovers, and the first one's name

SELECT streams, catalog->>'$.streams[0].name' AS first_stream
FROM airbyte.main.catalog('source-pokeapi', accept_license := 'ELv2')

Uses catalog

Read the pokemon stream of the declarative PokeAPI connector

SELECT id, name, base_experience
FROM airbyte.main.read_stream('source-pokeapi', 'pokemon', accept_license := 'ELv2')

Uses read_stream

5 more examples in the Catalog, each listed under the table or function it uses.

Questions it can answer

Plain-English questions from the worker's agent test tasks. An AI agent with this catalog attached should answer each one with SQL.

  • In the Airbyte connector registry, what license does source-pokeapi have, and what does the airbyte worker require before it runs it?
  • Which config fields does the Airbyte connector source-pokeapi require? Accept its ELv2 license.

Airbyte is an independent open-source connector from Query.Farm. It is not affiliated with, endorsed by or sponsored by the services, projects or organisations it works with. Product names, logos and trademarks belong to their respective owners.