docs(standby): call out endpoint discoverability as a first-class Standby requirement
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- javascript
- Domain
- documentation
Research direction
Start with the Standby documentation page at platform/actors/development/programming-interface/standby and check how it explains endpoint routing and webServerSchema in actor.json. Add an “Endpoint discoverability” subsection covering the three suggested patterns and identifying root-path prose as an anti-pattern. Done means the page communicates these recommendations and cross-references the schema.
Written by the indexing model from the issue text.
Description
Problem
The Apify Standby documentation (platform/actors/development/programming-interface/standby) describes how to build a Standby Actor but does not call out endpoint discoverability as a first-class concern.
Agents (and human authors) commonly land on a topology where:
- Primary HTTP handler is bound on
/metadata(or/api, or another verb-shaped path). - Root
/returns plain-text help:"Actor is ready. Use GET /metadata?url=<url>".
The Actor is reachable, but only by a human reading the help text — programmatic clients hitting / get non-JSON prose and have no machine-readable way to find the real endpoint.
Observed in an eval run (scenario 06, agent's Actor davehan/metadata-api) — deployed Actor was fully functional at /metadata?url=… but invisible to any programmatic client.
Suggested change
Add a "Endpoint discoverability" subsection to the Standby documentation calling out that a well-formed Standby Actor should adopt one of three patterns:
- Bind the primary handler on
/— simplest; the URL you hand out IS the URL clients hit. - Serve an OpenAPI spec at
/openapi.json— clients can auto-discover the shape. Cross-reference thewebServerSchemainactor.json. - Return a machine-readable
{"endpoints": [...]}JSON at/— minimal escape hatch when/is reserved for something else.
Root-path prose (Actor is ready. Use GET /metadata?...) should be explicitly called out as an anti-pattern.
Related
- Sibling change in
apify/agent-skills— the same teaching in the public skill. - Sibling change in
apify/actor-templates— teaching baked into thets-standbytemplate AGENTS.md. - Platform-side (
apify/actor-standby-controller#340): auto-servewebServerSchemaat/openapi.jsonon the Standby URL. That closes the platform-side loop; docs closes the human-authoring loop.
Impact
Medium. Docs are the primary teaching surface — agents that pre-train on Apify docs and human authors both benefit.
Surfaced during an evaluation of Apify surfaces for agent-driven Actor development.
- Dominant language
- JavaScript
- Stars
- 82
- Forks
- 240
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 73
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from apify/apify-docs
-
bug documentation
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
apify/apify-docs#3206 ·
Maintainers usually reply within 1 day
-
t-docs
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
apify/apify-docs#3185 ·
Maintainers usually reply within 1 day
-
Incorrect property in Step 5 of the “Find FIFA logo” exercise solutionPossibly taken @honzajavorek claimed this 7 days ago. Openacademy t-docs
Difficulty 1/5 Under an hour Newbie friendliness 85/100
apify/apify-docs#3049 · 1 comment · 1 assignee ·
Maintainers usually reply within 1 day
-
docs(academy): teach explicit .input reference in actor.json; auto-discovery is deprecatedPossibly taken @honzajavorek claimed this 2 days ago. Open
Difficulty 1/5 1-3 hours Newbie friendliness 82/100
apify/apify-docs#2741 ·
Maintainers usually reply within 1 day
-
low priority t-unblocking tech enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
apify/apify-docs#2451 ·
Maintainers usually reply within 1 day
All issues in apify/apify-docs
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
guybedford/es-module-lexer#266 ·
-
enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
anhnt256/cursor-swarm#21 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
documentation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
zerohourzulu/irontrellis#16 ·
-
AREDL name lookups normalize the whole cached list again for every levelPossibly taken @Isma-L154 claimed this today. Openenhancement
Difficulty 2/5 1-3 hours Newbie friendliness 69/100
Wal-014/Personal-Progress-List#177 ·
Maintainers usually reply within 1 day