Update Anthropic SaaS Costs setup docs with Enterprise API key guidance and org_type tag#37261
Update Anthropic SaaS Costs setup docs with Enterprise API key guidance and org_type tag#37261colbyh19 wants to merge 1 commit into
Conversation
… org_type tag Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Preview links (active after the
|
|
/review |
There was a problem hiding this comment.
🤖 Automated review by Claude. AI-generated; verify before acting.
One small clarity suggestion on the new Anthropic Enterprise note.
Reviewed ec7a970347db086aeff6c20112ffcc16e9719088 — workflow run
|
|
||
| After you save your configuration, Datadog begins polling Anthropic usage and cost endpoints using this key, and populates metrics in your environment. | ||
|
|
||
| **Note**: To track costs for both Anthropic Enterprise and platform accounts, add a separate account entry for each API key type. Use the platform Admin API key for standard platform usage, and the enterprise Analytics API key for Anthropic Enterprise usage. |
There was a problem hiding this comment.
Suggestion: The note introduces an "enterprise Analytics API key" that wasn't mentioned in the setup steps above (which only describe the Admin API key, with a link to Anthropic's docs). Consider linking to where the Enterprise Analytics API key is obtained, and making the action more explicit (repeat the setup steps for each key). For example:
| **Note**: To track costs for both Anthropic Enterprise and platform accounts, add a separate account entry for each API key type. Use the platform Admin API key for standard platform usage, and the enterprise Analytics API key for Anthropic Enterprise usage. | |
| **Note**: To track costs for both Anthropic Enterprise and platform accounts, repeat the setup steps to add a separate account entry for each API key type. Use the [Admin API key](https://docs.anthropic.com/en/api/administration-api) for standard platform usage, and the Enterprise Analytics API key for Anthropic Enterprise usage. |
There was a problem hiding this comment.
I can only run on private repositories.
There was a problem hiding this comment.
I can only run on private repositories.
hestonhoffman
left a comment
There was a problem hiding this comment.
Hi! The Claude review looks accurate. I think it would be best if we mention the enterprise Analytics API key in the first step, or add an optional step for getting that key and explain why a user might need it. Something like:
- (Optional) If you need to track Anthropic Enterprise usage, ...
What does this PR do? What is the motivation?
Updates the Anthropic tab of the SaaS Costs setup page with two additions:
Enterprise vs. platform API key note: Added a note in the setup section clarifying that users who want to track costs for both Anthropic Enterprise and platform accounts need a separate account entry for each API key type (platform Admin API key and enterprise Analytics API key).
org_typetag: Added theorg_typetag to the Data Collected tag reference table. This tag indicates the type of Anthropic account (for example,enterprise) and displaysN/Afor non-enterprise accounts.Merge instructions
Merge readiness:
Additional notes