Skip to main content
The Theo class is the entry point for all API interactions.

Constructor

The default baseUrl is https://www.hitheo.ai (the canonical www host). Timeout and retry behavior (timeoutMs, streamIdleTimeoutMs, maxRetries) is covered in Timeouts & Retries; see Installation & Setup for every config option.

Methods

Completions

complete() / stream() reject mode: "research" and mode: "video" with a TheoUsageError — those are asynchronous. Use theo.research() / theo.video() + theo.waitForJob(); see Async Jobs.

First-Run Diagnostic

Media & Content

Audio

Skills

Workflows

Resources

Jobs

E.V.I.

E.V.I. Canvas

Full reference: sdk-reference/canvases.

Webhooks

Hooks

Events

Theo Browser

Full reference: sdk-reference/browser.