Attach Superhuman Docs documents as DuckDB databases and query or modify their tables with SQL
Compatibility Matrix
This table covers all DuckDB releases that have not reached end-of-life, including LTS releases, and shows the 2 most recent patch releases of each. Older patch releases are not listed, but the extension may be available for them as well.
| Platform | 1.4.4 | 1.4.5 | 1.5.5 | 1.5.6 | 2.0.0 |
|---|---|---|---|---|---|
| Linux AMD64 | |||||
| Linux ARM64 | |||||
| macOS AMD64 | |||||
| macOS ARM64 | |||||
| Windows AMD64 | |||||
| Windows ARM64 | |||||
| WebAssembly |
Installing and Loading
INSTALL superhuman_docs FROM community;
LOAD superhuman_docs;
Example
CREATE SECRET superhuman_docs_token (
TYPE superhuman_docs,
TOKEN 'superhuman-docs-api-token'
);
ATTACH 'doc-id' AS superhuman_docs_doc (TYPE superhuman_docs);
SELECT * FROM superhuman_docs_doc.main."Tasks";
About superhuman_docs
The Superhuman Docs extension exposes a Superhuman Docs document as an attached DuckDB database. Tables in the document become DuckDB tables that can be queried with SELECT and modified with INSERT, UPDATE, and DELETE.
Authentication can be supplied through a DuckDB secret or directly when attaching. The extension accepts raw document IDs and prefixed Coda or Superhuman Docs browser URLs. It maps supported Superhuman Docs column formats to native DuckDB types, including decimals, dates, timestamps, intervals, lists, and structs.
For configuration options, type mappings, mutation semantics, and usage examples, see the extension repository.
Added Functions
This extension does not add any functions.
Overloaded Functions
This extension does not add any function overloads.
Added Types
This extension does not add any types.
Added Settings
This extension does not add any settings.