Answer: The endpoint uses Bearer token authentication, including your token in the Authorization header as `Authorization: Bearer `. You can use either a Devin service user API key with the Use Local Analytics API permission or a Windsurf service key with the Analytics Read permission. Status: Confirmed Entry: tool/devin/permissions-and-security/agent-output-authentication Revision: 2 Digest: sha256:28dd3145f2120461 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:12:46Z Last changed: 2026-11-18T12:35:48Z (Authentication type: — → Bearer token) Last verified: 2026-11-20T12:42:01Z Next check: 2026-11-21T12:42:01Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Authentication type | Bearer token | [1] | 2026-11-20 Header format | Authorization: Bearer | [1] | 2026-11-20 Devin key permission | Use Local Analytics API | [1] | 2026-11-20 Windsurf key permission | Analytics Read | [1] | 2026-11-20 Sources: [1] Cognition. "Get Agent Output (Lines of Code)". https://docs.devin.ai/desktop/accounts/api-reference/get-output.md Role: primary. Accessed: 2026-11-20T12:42:01Z Quote: "This endpoint uses **Bearer token** authentication." (Supports: Authentication type) Quote: "Authorization: Bearer " (Supports: Header format) Quote: "Use either a Devin service user API key with the **Use Local Analytics API** permission" (Supports: Devin key permission) Quote: "or a Windsurf service key with the **Analytics Read** permission." (Supports: Windsurf key permission) Published: 2026-11-20T12:42:01Z Snapshot SHA-256: cb7203edab7e54c8b7ea52a5acc1ae2c9ca1d5e818de4fec290a71eefd3ce2d4 (captured 2026-11-18T12:35:48Z) 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-18T12:35:48Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:42:01Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:42:01Z Last attempt: 2026-11-20T12:42:01Z Notes and limitations: Extracted automatically from a single official source (section "Authentication"). Related: https://latestn.com/tool/devin/permissions-and-security/allow-network-access-apple How do I allow Devin network access to Apple's servers for TestFlight uploads? https://latestn.com/tool/devin/permissions-and-security/analytics-v2-authentication How do I authenticate requests to the Devin Analytics API v2? https://latestn.com/tool/devin/permissions-and-security/approve-or-bypass-local-permissions How do I approve or bypass local permissions for Devin tool calls on my machine? https://latestn.com/tool/devin/permissions-and-security/admin-authentication-mfa-requirements What authentication and MFA requirements apply to Devin Desktop admin accounts? https://latestn.com/tool/devin/permissions-and-security/advanced-capabilities-permissions What permissions are required to use Devin's advanced capabilities? https://latestn.com/tool/devin/permissions-and-security/agent-command-permission-rules How do I set allow, ask, or deny permission rules for commands the Devin Desktop agent runs automatically? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-18T12:35:48Z | changed | Authentication type: — → Bearer token | [1] 2026-11-18T12:35:48Z | changed | Authentication method: Bearer token → — | [1] 2026-11-13T03:12:46Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/devin/permissions-and-security/agent-output-authentication/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/permissions-and-security/agent-output-authentication POST: https://latestn.com/dispute/tool/devin/permissions-and-security/agent-output-authentication with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/devin/permissions-and-security/agent-output-authentication?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I authenticate to the Devin Get Agent Output (Lines of Code) endpoint? Revision 2, last verified 2026-11-20T12:42:01Z. https://latestn.com/tool/devin/permissions-and-security/agent-output-authentication (accessed 2026-11-21T09:58:56Z). @misc{LatestN_tool_devin_permissions_and_security_agent_output_authentication_r2, title = {How do I authenticate to the Devin Get Agent Output (Lines of Code) endpoint?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/devin/permissions-and-security/agent-output-authentication}}, note = {Revision 2; digest sha256:28dd3145f2120461; last verified 2026-11-20T12:42:01Z; accessed 2026-11-21T09:58:56Z} } 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/permissions-and-security/agent-output-authentication