CapabilityWire
// event · sdk

Anthropic TypeScript SDK v0.136.0

sdk
vendor: anthropicspublished: 2h agoconfidence: 0.85id: c633b268-574c-4d35-9132-8647846b1019

Anthropic's TypeScript SDK adds admin-API workspace rate-limit updates, GA User Profiles, analytics report pagination (data_refreshed_at/has_more), full tool-definition field support in tool helpers, and surfaces SSE events with unrecognized names. Fixes include treating x-amz-security-token as sensitive and keeping $ sequences literal in the memory tool str_replace.

capability delta

An agent can now manage workspace rate limits via the Admin API, use GA User Profiles, paginate analytics with data_refreshed_at/has_more, and pass any tool-definition field through the TS SDK tool helpers.

// install
npm i @anthropic-ai/sdk@0.136.0
npm · @anthropic-ai/sdk @ 0.136.0
// example
typescript
import Anthropic from '@anthropic-ai/sdk';

const client = new Anthropic();

// Update a workspace rate limit via the Admin API
const limit = await client.beta.workspaces.rateLimits.update(
  'wrkspc_01abc...',
  { input_tokens_per_minute: 200_000 }
);
console.log(limit);

// Paginate analytics with the new fields
const page = await client.beta.analytics.usageReport.list({ limit: 50 });
console.log(page.data_refreshed_at, page.has_more);
// links
anthropictypescriptsdkadmin-apitool-useanalytics
source: github_release · https://github.com/anthropics/anthropic-sdk-typescript/releases/tag/sdk-v0.136.0