Claude API

Anthropic's Claude is an AI assistant platform that provides advanced language models for conversation, analysis, and code generation. Claude is available through API access, the Claude web and desktop interface, and Claude Code, a terminal-based coding agent.

Required user roles for Claude

Organization admin with admin API key access

Claude authentication method

The required authentication method is Admin API Key through the x-api-key header.

Required Claude credentials

The following credentials are required:

  • Admin API key
  • Organization ID

To manually integrate Claude with SaaS Manager Plus

  1. Click App Integrations available in the left pane and click Claude from the applications list
  2. Provide the Connection name
  3. Enter the Org ID
  4. Enter the API key
  5. Click Authorize

To generate an Admin API Key

  1. Log in to the Anthropic Console at console.anthropic.com
  2. Click Settings in the left sidebar
  3. Navigate to Admin API keys, or go directly to console.anthropic.com/settings/admin-keys
  4. Click Create Admin Key
  5. Provide a name for the key. For example, SaaS Manager Plus Integration
  6. Click Create Key
  7. Copy the generated key and store it securely

Note:The Admin API Key starts with sk-ant-admin. The key will not be shown again after it is generated. A standard API key that starts with sk-ant-api will not work. You must generate an Admin API Key with organization-level permissions for user management, usage reports, and cost reports.

Reference: platform.claude.com/docs/en/api/overview#getting-api-keys

To obtain the Organization ID

  1. Log in to the Anthropic Console at console.anthropic.com
  2. Click Settings in the left sidebar
  3. Navigate to Organization settings
  4. Copy the Organization ID displayed on the page and store it securely

Alternatively, you can retrieve the Organization ID from the API response of /v1/organizations/me after providing the Admin API Key.

Stored Claude information

Users

  • User ID
  • Email
  • Name
  • Role

Usage

  • Model name
  • Input tokens
  • Output tokens
  • Cache creation input tokens
  • Cache read input tokens
  • Cost
  • Usage timestamp
  • Workspace
  • API Key ID

Claude Code usage

  • Model name
  • Input tokens
  • Output tokens
  • Sessions
  • Lines added/removed
  • Commits
  • Pull requests
  • Terminal type
  • Cost

Claude API endpoints

Purpose Endpoint
Organization users api.anthropic.com/v1/organizations/users
Organization details api.anthropic.com/v1/organizations/me
Workspaces api.anthropic.com/v1/workspaces
API usage (Messages) api.anthropic.com/v1/organizations/usage_report/messages
Claude Code Usage api.anthropic.com/v1/organizations/usage_report/claude_code
Cost report api.anthropic.com/v1/organizations/cost_report
API keys api.anthropic.com/v1/organizations/api_keys

Historical data on first-time integration

When Claude is integrated for the first time, SaaS Manager Plus fetches historical data as follows:

Data type Historical range
License / Billing Up to 1 month of historical data
Usage (API messages) Up to 6 months of historical data
Usage (Claude Code) Up to 6 months of historical data

After the initial sync, subsequent daily syncs fetch data from where the previous sync left off.

API rate limits
Anthropic's Admin API does not impose strict per-minute rate limits on organization management endpoints. However, the initial sync may take several minutes for organizations with high API usage volume across many workspaces and models.

NOTE: API access availability varies by vendor plan and subscription tier. Claude Code usage tracking requires a Claude Pro, Team, or Enterprise plan with Claude Code enabled.

Top