webrobot-sdk-python

Consume the WebRobot REST API from Python applications using the webrobot SDK package.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

πŸ’‘ This Skill requires webrobot-sdk, requests.

What problem does it solve? Integrating WebRobot projects, jobs, and pipelines into Python scripts, backends, or notebooks requires writing raw HTTP calls and managing authentication manually. This Skill provides the patterns to use the auto-generated webrobot Python SDK (138 typed endpoints) or a generic requests fallback, with correct API key or JWT auth setup. ## Core Features & Use Cases - Typed DefaultApi client: List, create, and execute projects and jobs with snake_case methods like get_all_projects() and execute_job(), plus structured error handling via ApiException. - Generic REST escape hatch: Call partner-vertical or undocumented endpoints with a requests-based helper supporting path templating. - Auth configuration: Set up API key (X-API-Key) or JWT bearer authentication, including loading credentials from the CLI's ~/.webrobot/config.cfg. - Use Case: A data engineer writes a Python script that triggers a WebRobot pipeline manifest run, polls the job status until completion, and streams the logs β€” all using the SDK with credentials from environment variables. ## Quick Start Ask the assistant to write a Python script using the webrobot SDK that lists all projects and executes a specific job with API key authentication.

Frequently Asked Questions about webrobot-sdk-python

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

FAQPage Schema
How do I call the WebRobot API from a Python script?β–Ό

Install the webrobot SDK with pip from the GitHub repository, configure a webrobot.Configuration with your host and API key or JWT, then create a DefaultApi client. Call typed methods like get_all_projects() or execute_job(project_id, job_id) to interact with the API.

How do I authenticate WebRobot Python SDK requests?β–Ό

Use either an API key passed as X-API-Key in the Configuration api_key parameter, or a JWT bearer token via the access_token parameter. Never use both at once. Credentials can come from environment variables or be parsed from ~/.webrobot/config.cfg.

What is the difference between the WebRobot Python SDK and Python extensions?β–Ό

The Python SDK is a client for calling the WebRobot REST API from external applications. Python extensions run inside the ETL engine as Spark UDFs with a row-dict contract and cannot make SDK calls. Use the SDK for client-side integration only.

How do I handle errors from the WebRobot Python SDK?β–Ό

Catch webrobot.rest.ApiException for typed DefaultApi calls; it exposes status, body, headers, and reason attributes. For raw requests-based calls, catch requests.HTTPError after calling raise_for_status() to inspect the response status code and body.

Can I call WebRobot endpoints not covered by the SDK?β–Ό

Yes, use the requests library with the same X-API-Key header for partner-vertical or undocumented endpoints. A thin api_call helper can add path templating by substituting {placeholder} segments from the params dict before sending the request.

Does the WebRobot catalog stages endpoint require authentication?β–Ό

No, the /webrobot/api/catalog/stages endpoint is public and read-only. Adding auth headers is unnecessary and produces an identical response, so call it directly with requests and no credentials.