Answer: A good instruction for adding a new API endpoint clearly specifies the route and expected response format, references existing code as a template, defines the data source, and includes test coverage requirements. Status: Confirmed Entry: tool/devin/agents-and-automation/good-instructions-api-endpoint Revision: 1 Digest: sha256:9e1d866cd7868bbf (changes whenever the content changes) Timeline: Created: 2026-11-13T03:14:38Z Last changed: 2026-11-13T03:14:38Z Last verified: 2026-11-20T12:45:43Z Next check: 2026-11-21T12:45:43Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of route and response format | Clearly specifies the route and expected response format | [1] | 2026-11-20 existing code reference | References existing code as a template | [1] | 2026-11-20 data source | Defines data source (users table) | [1] | 2026-11-20 test coverage | Includes test coverage requirements | [1] | 2026-11-20 Sources: [1] Cognition. "Good vs. Bad Instructions". https://docs.devin.ai/essential-guidelines/good-vs-bad-instructions.md Role: primary. Accessed: 2026-11-20T12:45:43Z Quote: "Clearly specifies the route and expected response format" (Supports: route and response format) Quote: "References existing code as a template" (Supports: existing code reference) Quote: "Defines data source (users table)" (Supports: data source) Quote: "Includes test coverage requirements" (Supports: test coverage) Published: 2026-11-20T09:56:00Z Snapshot SHA-256: dc31e1ae9fd32f3b7f7a0e265754184f6ec788dc85663ac4a189f9736f2406e0 (captured 2026-11-13T03:14:38Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:14:38Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:45:43Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:45:43Z Last attempt: 2026-11-20T12:45:43Z Notes and limitations: Extracted automatically from a single official source (section "Good vs. Bad Instructions"). Related: https://latestn.com/tool/devin/agents-and-automation/good-vs-bad-examples What are examples of good and bad instructions for Devin? https://latestn.com/tool/devin/agents-and-automation/instructing-best-practices What are the best practices and things to avoid when instructing Devin? https://latestn.com/tool/devin/agents-and-automation/iterate-with-child-sessions How do I iterate on a Devin training run using child sessions? https://latestn.com/tool/devin/agents-and-automation/enable-disable-automation How do I enable or disable a Devin automation? https://latestn.com/tool/devin/agents-and-automation/evaluate-tasks-for-devin How do I evaluate whether a task is a good fit for Devin before starting? https://latestn.com/tool/devin/agents-and-automation/generate-blueprint-from-repo How do I get Devin to generate an environment blueprint from my repository? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:14:38Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/devin/agents-and-automation/good-instructions-api-endpoint/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/devin/agents-and-automation/good-instructions-api-endpoint POST: https://latestn.com/dispute/tool/devin/agents-and-automation/good-instructions-api-endpoint with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/devin/agents-and-automation/good-instructions-api-endpoint?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). What makes a good instruction for Devin when adding a new API endpoint? Revision 1, last verified 2026-11-20T12:45:43Z. https://latestn.com/tool/devin/agents-and-automation/good-instructions-api-endpoint (accessed 2026-11-21T10:03:37Z). @misc{LatestN_tool_devin_agents_and_automation_good_instructions_api_endpoint_r1, title = {What makes a good instruction for Devin when adding a new API endpoint?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/devin/agents-and-automation/good-instructions-api-endpoint}}, note = {Revision 1; digest sha256:9e1d866cd7868bbf; last verified 2026-11-20T12:45:43Z; accessed 2026-11-21T10:03:37Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/devin/agents-and-automation/good-instructions-api-endpoint