Attach Superhuman Docs documents as DuckDB databases and query or modify their tables with SQL
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.