api-doc

Create or update OpenAPI specifications and API documentation for Apify endpoints. Use when user says "add API endpoint", "create OpenAPI spec", "document this…

npx skills add https://github.com/apify/apify-docs --skill api-doc

API documentation

Process

  1. Identify change type - new endpoint, update endpoint, add code samples, or new schema
  2. Follow OpenAPI file structure:
    • Paths in apify-api/openapi/paths/
    • Schemas in apify-api/openapi/components/schemas/
    • Code samples in apify-api/openapi/code_samples/{javascript,curl}/
  3. Create or update files using naming conventions:
    • Path files: replace / with @ (e.g., request-queues@{queueId}.yaml)
    • Operation IDs: {objectName}_{httpMethod} in camelCase
    • Code sample filenames must match operationId
  4. Register in main spec - add path $ref to apify-api/openapi/openapi.yaml
  5. Validate - pnpm openapi:lint then pnpm api:rebuild

CRITICAL: API docs are generated, not hand-written. Never edit files in apify-api/docs/ directly.

For detailed patterns and examples, see .agents/skills/api-doc/references/openapi-patterns.md. For edge cases and process notes, see .agents/skills/api-doc/references/process.md.

More skills from apify

apify-influencer-brand-collabs
apify
Discover Instagram brand–creator partnerships by chaining Apify Actors. Use when the user asks who collabs with a brand, which brands a creator has done paid…
apify-actor-development
apify
Create, debug, and deploy serverless cloud programs for web scraping, automation, and data processing. Supports JavaScript, TypeScript, and Python templates with integrated Crawlee, Playwright, and Cheerio libraries for HTTP and browser-based crawling Includes local testing via apify run with isolated storage, schema validation for inputs/outputs, and deployment to Apify platform via apify push Requires Apify CLI authentication and mandatory generatedBy metadata in .actor/actor.json for AI...
apify-actorization
apify
Convert existing projects into serverless Apify Actors with language-specific SDK integration. Supports JavaScript/TypeScript (with Actor.init() / Actor.exit() ), Python (async context manager), and any language via CLI wrapper Provides structured workflow: apify init to scaffold, apply SDK wrapping, configure input/output schemas, test locally with apify run , then deploy with apify push Includes input and output schema validation, Docker containerization, and optional pay-per-event...
apify-content-analytics
apify
Multi-platform content analytics via Apify Actors for Instagram, Facebook, YouTube, and TikTok. Supports 17+ specialized Actors covering posts, reels, stories, comments, hashtags, followers, and ads across all four platforms Dynamically fetches Actor schemas using mcpc CLI to determine required inputs and available output fields Outputs results in three formats: quick chat display, CSV export, or JSON export with customizable result counts Requires Apify token in .env file and Node.js 20.6+...
apify-ecommerce
apify
Extract product data, prices, reviews, and seller information from 50+ e-commerce marketplaces. Three workflow modes: Products & Pricing (price tracking, competitor analysis), Customer Reviews (sentiment analysis, quality issues), and Seller Intelligence (vendor discovery via Google Shopping) Supports Amazon (20+ regions), Walmart, eBay, IKEA, Costco, and European retailers; input via product URLs, category URLs, or keyword search Optional AI-powered analysis generates insights on price...
apify-generate-output-schema
apify
Generate output schemas (dataset_schema.json, output_schema.json, key_value_store_schema.json) for an Apify Actor by analyzing its source code. Use when…
apify-influencer-discovery
apify
Discover and evaluate influencers across Instagram, Facebook, YouTube, and TikTok using Apify Actors. Routes discovery requests to 15+ specialized Actors covering profile scraping, hashtag search, engagement analysis, and niche discovery across all major platforms Dynamically fetches Actor schemas via mcpc to determine required inputs and available output fields before execution Supports three export modes: inline chat display, CSV, or JSON file output with customizable result counts...
apify-ultimate-scraper
apify
Automated web scraper selecting optimal Actors for 55+ platforms including Instagram, TikTok, YouTube, Facebook, Google Maps, and more. Covers 55+ pre-configured Actors across 8 major platforms with use-case-specific selection guidance (lead generation, influencer discovery, brand monitoring, competitor analysis, trend research) Supports three output formats: quick chat display, CSV export, or JSON export with customizable result limits Includes multi-Actor workflow patterns for complex...