webrobot-sdk-nodejs

Integrates the WebRobot REST API into Node.js and TypeScript applications using the webrobot-sdk client.

Updated Apr 29, 2026
One-click install
npx skills add https://github.com/WebRobot-Ltd/claude-code-webrobot-skills --skill webrobot-sdk-nodejs-webrobot-ltd
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: webrobot-sdk-nodejs
Source: https://github.com/WebRobot-Ltd/claude-code-webrobot-skills/tree/main/skills/webrobot-sdk-nodejs
Command: npx skills add https://github.com/WebRobot-Ltd/claude-code-webrobot-skills --skill webrobot-sdk-nodejs-webrobot-ltd

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires webrobot-sdk.

What problem does it solve? Developers building Node.js or TypeScript backends need a typed, maintainable way to call the WebRobot REST API without hand-writing raw HTTP requests for every endpoint. This Skill scaffolds client code using the curated WebRobotClient for common operations and a generic fetch-based helper for the remaining 100+ endpoints. ## Core Features & Use Cases - Curated WebRobotClient: Covers roughly 40 common operations across projects, jobs, tasks, agents, datasets, cloud credentials, and LLM providers with TypeScript DTO types. - Generic apiCall escape hatch: Reaches partner-vertical and long-tail endpoints via raw fetch with path templating and query parameter handling. - Auth flexibility: Supports API key or JWT bearer authentication, plus loading shared credentials from the WebRobot CLI config file. - Use Case: A TypeScript backend needs to trigger a WebRobot job and poll until completion. The Skill generates code that executes the job, polls its status every 10 seconds, and tails the logs. ## Quick Start Ask the assistant to scaffold TypeScript code that lists WebRobot projects and executes a job using the webrobot-sdk client with API key authentication.

Frequently Asked Questions about webrobot-sdk-nodejs

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I call the WebRobot API from a Node.js application?

Install the webrobot-sdk package and create a WebRobotClient with your baseUrl and either an API key or JWT. The client exposes curated methods like projectsList, jobExecute, and jobGetLogs for the most common operations.

How do I install the webrobot-sdk npm package?

Until npm publication, install directly from GitHub with npm install git+https://github.com/WebRobot-Ltd/webrobot-sdk.git#main:nodejs-sdk. Once published, use npm install webrobot-sdk. Node 18 or later is required since it uses native fetch.

WebRobot Node.js SDK vs CLI vs MCP tools: which should I use?

Use the Node.js SDK for Express, Fastify, Next.js, or browser and Electron apps. Use the webrobot CLI for shell scripts and CI pipelines. Use MCP tools when working inline inside Claude Code or Cursor.

Does the WebRobot client cover all REST API endpoints?

The curated WebRobotClient covers about 40 of the most-used endpoints. For the remaining 100+ endpoints, including admin, billing, and partner-vertical paths, use a generic fetch-based apiCall helper with path templating.

Can I use the WebRobot SDK in a browser or Electron app?

Yes, the client is fetch-based with no Node-specific dependencies, so it runs in browsers and Electron. However, never embed API keys in browser bundles; route calls through a server-side proxy or use short-lived JWTs.

How do I handle errors from the WebRobot SDK?

Catch WebRobotError from the curated client to access the HTTP status code and raw response body. For generic fetch-based calls, the thrown Error includes the status code in its message, which you can wrap in your own error type.