Published package: @surrealdb/spectron — generated from Spectron’s OpenAPI specification with TypeScript types that track the server across releases.
Installation
Node.js 18+ or a modern bundler for browser use.
Client construction
Requests send API-KEY: <secret> — not Authorization: Bearer.
Remember and recall
Batch ingest:
Documents and chat
Vercel AI SDK adapter
Reference
JavaScript SDK reference · REST API
Exported method names follow the generated client; use
spectron-gen-specandclients/typescript/generate.shwhen developing Spectron itself.