create-rest-api-pipeline

Scaffolds and configures a dlt REST API pipeline with a single endpoint.

Updated Jun 15, 2026
One-click install
npx skills add https://github.com/aminojagh/LLMZC --skill create-rest-api-pipeline-aminojagh
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: create-rest-api-pipeline
Source: https://github.com/aminojagh/LLMZC/tree/main/05_02_dlt_workshop/.claude/skills/create-rest-api-pipeline
Command: npx skills add https://github.com/aminojagh/LLMZC --skill create-rest-api-pipeline-aminojagh

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Setting up a dlt data pipeline against a generic REST or HTTP API requires knowing the dlthub CLI, RESTAPIConfig structure, auth configuration, and secrets management, which is slow to assemble from scratch. ## Core Features & Use Cases - Pipeline Scaffolding: Runs dlthub pipeline init non-interactively to generate the pipeline script, config, and requirements files. - Single-Endpoint Configuration: Guides editing of the generated pipeline with base_url, auth, endpoint path, data_selector, params, and primary_key, using dev_mode and replace write disposition for fast debugging. - Secrets & Config Setup: Directs non-secret values into .dlt/config.toml and manages credentials through redacted secrets tools without exposing secret values. - Use Case: You want to load data from the Shopify REST API into DuckDB. Provide the init command, pick one endpoint, and get a working minimal pipeline ready for its first debug run. ## Quick Start Ask the assistant to create a dlt REST API pipeline by providing a dlthub pipeline init command such as "dlthub pipeline init rest_api duckdb".

Frequently Asked Questions about create-rest-api-pipeline

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

FAQPage Schema
How do I create a dlt pipeline for a REST API?▼

Run `dlthub pipeline init rest_api duckdb` with the --non-interactive flag to scaffold the pipeline, then edit the generated pipeline file to set base_url, auth, and a single endpoint with its data_selector and primary_key. Use dev_mode=True and .add_limit(1) for the first run.

What does dlthub pipeline init generate?▼

It generates a pipeline script such as rest_api_pipeline.py with a working RESTAPIConfig example, plus shared files including .dlt/secrets.toml, .dlt/config.toml, requirements.txt, and .gitignore. Running it multiple times adds new files without overwriting existing pipeline scripts.

Can I use the rest_api source for sql_database or filesystem sources?▼

No. This workflow covers the rest_api core source and generic REST/HTTP APIs only. sql_database and filesystem are separate dlt sources with their own configuration and are explicitly out of scope.

How do I store API keys for a dlt pipeline securely?▼

Never read or write secrets.toml directly and never print secret values. Use the secrets_list and secrets_update_fragment tools (or dlthub ai secrets CLI) to add credentials under [sources.<name>], while non-secret values like base_url go in .dlt/config.toml.

Why does dlthub pipeline init fail with invalid choice 'pipeline'?▼

This error means the dlthub workspace is not initialized. Run `uv run dlthub init`, follow its instructions, and run `uv sync` to install required dependencies, then retry the pipeline init command.

Does dlt handle API rate limits automatically?▼

Yes. dlt handles HTTP 429 responses and Retry-After headers automatically, so no custom retry code is needed. For strictly rate-limited APIs, retry settings can be tuned separately.