datarobot-workload-api

Solid

Use when the user wants to create, configure, scale, debug, observe, or roll out container workloads on DataRobot's Workload API. Triggers include: deploying a container as a managed service, listing/starting/stopping workloads, changing replica counts or autoscaling, picking CPU/GPU compute bundles, injecting DataRobot credentials as env vars, diagnosing workloads that are stuck / errored / crash-looping (CrashLoopBackOff, ImagePullBackOff, OOMKilled, probe failures, exec format error), pulling application logs / OpenTelemetry traces / metrics / request stats, creating or iterating container artifacts, building images server-side, locking artifacts for production, or doing a zero-downtime rolling artifact replacement.

API & Backend 23 stars 20 forks Updated 3 days ago Apache-2.0

Install

View on GitHub

Quality Score: 78/100

Stars 20%
46
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# DataRobot Workload API Run container images as managed, autoscalable services on DataRobot. One skill, four jobs — pick the section by user intent: 1. **Create / configure / scale** — deploy a container; change replicas, resources, autoscaling, bundle; inject credentials 2. **Diagnose** — workload is stuck, errored, or crash-looping 3. **Observe** — logs, traces, metrics, service stats for a running workload 4. **Artifact lifecycle** — iterate drafts, build images, lock for production, roll out new versions ## Prerequisites `DATAROBOT_ENDPOINT` (must end in `/api/v2`) and `DATAROBOT_API_TOKEN` must be set. Run `datarobot-setup` if not. Auth header: `Authorization: Bearer ${DATAROBOT_API_TOKEN}`. The Workload API is not in the `datarobot` Python SDK — call REST directly. **Transport.** Examples use Python `httpx` (`pip install httpx`). The API is plain HTTP, so equivalent calls work via `curl` or the `pulumi-datarobot` Pulumi provider declaratively. The skill teaches the model; transport is interchangeable. ## Bundled scripts Runnable Python in `scripts/` (this skill's folder). Each uses `httpx` and reads `DATAROBOT_ENDPOINT` + `DATAROBOT_API_TOKEN`: - `wait_for_running.py <workload_id>` — poll until `running`; exit 2 on terminal failure, 3 on timeout - `diagnose_workload.py <workload_id>` — run the 5-step debug flow, print a structured diagnosis (`--json` for machine-readable) - `wait_for_build.py <artifact_id> <build_id>` — poll a server-side image build; dumps las...

Details

Author
datarobot-oss
Repository
datarobot-oss/datarobot-agent-skills
Created
7 months ago
Last Updated
3 days ago
Language
Python
License
Apache-2.0

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category