DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to generate an Apify actor endpoint from its input schema with Monid

Scaffold a static zod input schema for an Apify actor and review it before committing.

Short answer: Set APIFY_CREDENTIALS_API_KEY in your shell; then run deno task apify:scaffold and supply the actor you want; review the generated schema/inputs.ts file line by line. All steps.

Credentials. The scaffold step calls the Apify API with your key, so keep APIFY_CREDENTIALS_API_KEY out of committed files.

Who it is forA developer who wants to expose an existing Apify actor through Monid and skip hand-writing its input schema.

The problemWriting the input schema for an Apify actor by hand is slow and easy to get wrong.

The outcomeA generated schema/inputs.ts file for the actor, ready for review and commit.

What you need first

  • Deno 2.x installed
  • git installed to clone the repo
  • A vendor API key for the provider you want to run live (for example TINYFISH_CREDENTIALS_API_KEY)
  • An APIFY_CREDENTIALS_API_KEY if you use the Apify scaffold step

Steps

  1. Set APIFY_CREDENTIALS_API_KEY in your shell
  2. Run deno task apify:scaffold and supply the actor you want
  3. Review the generated schema/inputs.ts file line by line
  4. Run deno task check && deno task test and commit the result

Prompt for your agent

In the monid repo with APIFY_CREDENTIALS_API_KEY set, run deno task apify:scaffold for <actor name>, then review the generated schema/inputs.ts. Report any fields you would change before committing and whether deno task check passes.

Caveat. The scaffold only generates the input schema, so the provider and endpoint files still need to be written and reviewed by hand.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for monid-ai/monid and "Generate an Apify actor endpoint from its input schema"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer