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/admin-and-enterprise/consumption-api-authentication Revision: 1 Digest: sha256:647d868e193626b6 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:12:45Z Last changed: 2026-11-13T03:12:45Z Last verified: 2026-11-20T12:41:58Z Next check: 2026-11-21T12:41:58Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Authentication method | 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 Consumption". https://docs.devin.ai/desktop/accounts/api-reference/get-consumption.md Role: primary. Accessed: 2026-11-20T12:41:58Z Quote: "This endpoint uses **Bearer token** authentication." (Supports: Authentication method) 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:41:59Z Snapshot SHA-256: 0e2159b039bebd969c7f07101a472d39cbd3ede052fde58748f39681a23c2700 (captured 2026-11-18T12:35:44Z) 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:44Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:41:58Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:41:58Z Last attempt: 2026-11-20T12:41:58Z Notes and limitations: Extracted automatically from a single official source (section "Authentication"). Related: https://latestn.com/tool/devin/admin-and-enterprise/consumption-api-pagination How do I paginate results from the Devin Get Consumption API? https://latestn.com/tool/devin/admin-and-enterprise/create-custom-role How do I create a custom role in Devin Desktop? https://latestn.com/tool/devin/admin-and-enterprise/create-custom-slash-commands How do I create custom slash commands for my organization in Devin? https://latestn.com/tool/devin/admin-and-enterprise/cascade-analytics-service-key-permissions What permissions does the service key need to query Devin Cascade Analytics? https://latestn.com/tool/devin/admin-and-enterprise/clear-add-on-credit-cap How do I clear an existing add-on credit cap for a Devin user? https://latestn.com/tool/devin/admin-and-enterprise/configure-ssl-bypass How do I configure a scoped SSL inspection bypass for Devin Desktop traffic? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:12:45Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/devin/admin-and-enterprise/consumption-api-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/admin-and-enterprise/consumption-api-authentication POST: https://latestn.com/dispute/tool/devin/admin-and-enterprise/consumption-api-authentication with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/devin/admin-and-enterprise/consumption-api-authentication?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I authenticate requests to the Devin Get Consumption API? Revision 1, last verified 2026-11-20T12:41:58Z. https://latestn.com/tool/devin/admin-and-enterprise/consumption-api-authentication (accessed 2026-11-21T09:59:58Z). @misc{LatestN_tool_devin_admin_and_enterprise_consumption_api_authentication_r1, title = {How do I authenticate requests to the Devin Get Consumption API?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/devin/admin-and-enterprise/consumption-api-authentication}}, note = {Revision 1; digest sha256:647d868e193626b6; last verified 2026-11-20T12:41:58Z; accessed 2026-11-21T09:59:58Z} } 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/admin-and-enterprise/consumption-api-authentication