Skip to main content
The Node.js SDK provides typed resources for evaluations, videos, and account data. It supports ESM and CommonJS on Node.js 20 and later.
Current preview: 0.1.0-rc.4. Install the next tag to use this build.
Check the terminal status before reading the result:

Resources

Configuration

Evaluation creation is sent once because a repeated submission can create a second evaluation. Rate-limit responses use their own time and attempt limits.

Errors

Catch GalileoError for any SDK failure. API failures inherit from APIError and include InvalidRequestError, AuthenticationError, NotFoundError, InsufficientCreditsError, RateLimitError, and ServerError. Transport and polling failures use ConnectionError and PollTimeoutError. View the source on GitHub.