Skip to content

Update Anthropic SaaS Costs setup docs with Enterprise API key guidance and org_type tag#37261

Open
colbyh19 wants to merge 1 commit into
masterfrom
colby.hanley/anthropic-enterprise-api-key-docs
Open

Update Anthropic SaaS Costs setup docs with Enterprise API key guidance and org_type tag#37261
colbyh19 wants to merge 1 commit into
masterfrom
colby.hanley/anthropic-enterprise-api-key-docs

Conversation

@colbyh19
Copy link
Copy Markdown
Contributor

@colbyh19 colbyh19 commented Jun 4, 2026

What does this PR do? What is the motivation?

Updates the Anthropic tab of the SaaS Costs setup page with two additions:

  1. 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).

  2. org_type tag: Added the org_type tag to the Data Collected tag reference table. This tag indicates the type of Anthropic account (for example, enterprise) and displays N/A for non-enterprise accounts.

Merge instructions

Merge readiness:

  • Ready for merge

Additional notes

… org_type tag

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@colbyh19 colbyh19 requested review from a team as code owners June 4, 2026 15:58
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 4, 2026

Preview links (active after the build_preview check completes)

Modified Files

@hestonhoffman
Copy link
Copy Markdown
Contributor

/review

Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 Automated review by Claude. AI-generated; verify before acting.

One small clarity suggestion on the new Anthropic Enterprise note.

Reviewed ec7a970347db086aeff6c20112ffcc16e9719088workflow 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.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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:

Suggested change
**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.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@DataDog fix this

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can only run on private repositories.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@DataDog fix this

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can only run on private repositories.

Copy link
Copy Markdown
Contributor

@hestonhoffman hestonhoffman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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:

  1. (Optional) If you need to track Anthropic Enterprise usage, ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants