Answer: Save the content as document-api.prompt.md in your .github/prompts folder, then in Visual Studio Code display the Copilot Chat view and enter /document-api. You can optionally specify an endpoint by typing endpoint_focus=GET /activities. Status: Confirmed Entry: tool/github-copilot/features/use-document-api-prompt-file Revision: 3 Digest: sha256:0cf5fa961661b48d (changes whenever the content changes) Timeline: Created: 2026-11-13T03:34:13Z Last changed: 2026-11-19T13:10:11Z (optional endpoint syntax: — → endpoint_focus=GET /activities) Last verified: 2026-11-20T13:16:32Z Next check: 2026-11-21T13:16:32Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of file name | document-api.prompt.md | [1] | 2026-11-20 folder | .github/prompts | [1] | 2026-11-20 command | /document-api | [1] | 2026-11-20 optional endpoint syntax | endpoint_focus=GET /activities | [1] | 2026-11-20 Sources: [1] GitHub. "Document API - GitHub Docs". https://docs.github.com/en/copilot/tutorials/customization-library/prompt-files/document-api Role: primary. Accessed: 2026-11-20T13:16:32Z Quote: "Save the above content as document-api.prompt.md in your .github/prompts folder." (Supports: file name, folder) Quote: "display the Copilot Chat view and enter /document-api" (Supports: command) Quote: "typing endpoint_focus=GET /activities" (Supports: optional endpoint syntax) Snapshot SHA-256: 31d1e7953d9263ef5561126c83336bc7dfb5c9c75830c7bb7a40b3e6ee48fd88 (captured 2026-11-18T13:13:13Z) 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-18T13:13:13Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:16:32Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:16:32Z Last attempt: 2026-11-20T13:16:32Z Notes and limitations: Extracted automatically from a single official source (section "How to use this prompt file"). Related: https://latestn.com/tool/github-copilot/features/use-images-copilot-chat How do I use images in GitHub Copilot Chat? https://latestn.com/tool/github-copilot/features/use-insights-tab How do I use the Insights tab in GitHub Copilot to learn about a repository? https://latestn.com/tool/github-copilot/features/use-local-sandboxing How do I use local sandboxing with GitHub Copilot? https://latestn.com/tool/github-copilot/features/unsupported-instruction-types What should I not include in GitHub Copilot code review custom instructions? https://latestn.com/tool/github-copilot/features/use-copilot-chat-edit-mode How do I use GitHub Copilot Chat in edit mode to change code? https://latestn.com/tool/github-copilot/features/use-copilot-code-review How do I use GitHub Copilot code review on GitHub? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-19T13:10:11Z | changed | optional endpoint syntax: — → endpoint_focus=GET /activities | [1] 2026-11-19T13:10:11Z | changed | command: — → /document-api | [1] 2026-11-19T13:10:11Z | changed | folder: — → .github/prompts | [1] 2026-11-19T13:10:11Z | changed | file name: — → document-api.prompt.md | [1] 2026-11-19T13:10:11Z | changed | Optional endpoint parameter: endpoint_focus=GET /activities → — | [1] 2026-11-19T13:10:11Z | changed | Command: /document-api → — | [1] 2026-11-19T13:10:11Z | changed | Folder: .github/prompts → — | [1] 2026-11-19T13:10:11Z | changed | File name: document-api.prompt.md → — | [1] 2026-11-17T13:36:53Z | changed | Optional endpoint parameter: — → endpoint_focus=GET /activities | [1] 2026-11-17T13:36:53Z | changed | Command: — → /document-api | [1] 2026-11-17T13:36:53Z | changed | Folder: — → .github/prompts | [1] 2026-11-17T13:36:53Z | changed | File name: — → document-api.prompt.md | [1] 2026-11-17T13:36:53Z | changed | optional endpoint parameter: endpoint_focus=GET /activities → — | [1] 2026-11-17T13:36:53Z | changed | command: /document-api → — | [1] 2026-11-17T13:36:53Z | changed | folder: .github/prompts → — | [1] 2026-11-17T13:36:53Z | changed | file name: document-api.prompt.md → — | [1] 2026-11-13T03:34:13Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/github-copilot/features/use-document-api-prompt-file/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/github-copilot/features/use-document-api-prompt-file POST: https://latestn.com/dispute/tool/github-copilot/features/use-document-api-prompt-file with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/github-copilot/features/use-document-api-prompt-file?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I use the Document API prompt file in GitHub Copilot? Revision 3, last verified 2026-11-20T13:16:32Z. https://latestn.com/tool/github-copilot/features/use-document-api-prompt-file (accessed 2026-11-21T09:53:12Z). @misc{LatestN_tool_github_copilot_features_use_document_api_prompt_file_r3, title = {How do I use the Document API prompt file in GitHub Copilot?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/github-copilot/features/use-document-api-prompt-file}}, note = {Revision 3; digest sha256:0cf5fa961661b48d; last verified 2026-11-20T13:16:32Z; accessed 2026-11-21T09:53:12Z} } 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/github-copilot/features/use-document-api-prompt-file