The authentication method type.
Anthropic Admin API key with permission to read usage and cost data, or an Analytics API key with the read:analytics scope. Generate an Admin API key in the Anthropic Console under Settings > Admin Keys.
Generated using TypeDoc
Bearer token authentication. Use an Anthropic Admin API key (Platform plan) or an Analytics API key with the
read:analyticsscope (Enterprise plan). An invalid key, or an Analytics key without theread:analyticsscope, is rejected with a422response.