合规API会话端点已结束Cowork和Claude Code会话的测试阶段。请参阅检索会话记录。合规API本地会话端点现在也返回Claude Science会话(product_surface值为claude_science)以及Claude for Microsoft 365在Excel、PowerPoint、Word和Outlook中的会话(product_surface值以office_agents开头)的记录,这些功能面向Claude Enterprise组织处于测试阶段,使用您现有的合规访问密钥和read:compliance_user_data范围。请参阅用户机器上的会话。Admin API现已在ant CLI以及Python、TypeScript、C#、Go、Java、PHP和Ruby SDK中可用,位于client.beta.organization下。它们涵盖组织信息、成员、邀请、工作区和工作区成员、API密钥、速率限制、服务账户、工作负载身份联合发行者和规则,以及客户管理的加密密钥。使用量和成本报告以及Claude Enterprise用户管理和分析端点仍仅支持curl。CLI和SDK从ANTHROPIC_API_KEY读取Admin API密钥,或从ANTHROPIC_AUTH_TOKEN读取org:admin OAuth令牌。
The Compliance API session endpoints are out of beta for Cowork and Claude Code sessions. See Retrieve session transcripts. The Compliance API local session endpoints now also return transcripts of Claude Science sessions (product_surface value claude_science) and Claude for Microsoft 365 sessions in Excel, PowerPoint, Word, and Outlook (product_surface values beginning with office_agents), in beta for Claude Enterprise organizations, with your existing Compliance Access Key and the read:compliance_user_data scope. See Sessions on users' machines. The Admin API is now available in the ant CLI and the Python, TypeScript, C#, Go, Java, PHP, and Ruby SDKs under client.beta.organization. They cover organization info, members, invites, workspaces and workspace members, API keys, rate limits, service accounts, workload identity federation issuers and rules, and customer-managed encryption keys. Usage and cost reports and the Claude Enterprise user-management and analytics endpoints remain curl-only. The CLI and SDKs read an Admin API key from ANTHROPIC_API_KEY or an org:admin OAuth token from ANTHROPIC_AUTH_TOKEN.
本文内容采集自官方网站,排版和翻译可能与原页面存在差异。
阅读官方全文