Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

1,258 pages for port.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.

plugins-api Claude Developer Platform · in the page manage-claude/plugins-api …check a Git marketplace before you connect it. For plugin *usage* reporting (which plugins and skills members use, and how often), see [Analytics APIs](https://platform.claude.com/docs/en/manage-cla… rate-limits-api Claude Developer Platform · in the page manage-claude/rate-limits-api …its applied at the organization level for the Messages API and its supporting resources. Limits for other products, such as [Claude Managed Agents](https://platform.claude.com/docs/en/managed-agents/o… spend-limits-api Claude Developer Platform · in the page manage-claude/spend-limits-api …for a higher limit. For per-user and time-bucketed usage and cost *reporting*, see [Analytics APIs](https://platform.claude.com/docs/en/manage-claude/analytics-api). <Check> **Scoped Admin API key… First request Claude Developer Platform · in the page manage-claude/usage-cost-api …Note> ## Which API do you need? Anthropic provides cost and usage reporting through two APIs, depending on which Claude product your organization manages: | Your organization | API… user-management Claude Developer Platform · in the page manage-claude/user-management …| | Usage and cost reports… user-profiles Claude Developer Platform · in the page manage-claude/user-profiles …/platform.claude.com/docs/en/manage-claude/user-profiles-verification-portal#after-the-end-customer-links-the-profile) or enforcement status that Anthropic sets. It doesn't contain conversation conten… wif-admin-api Claude Developer Platform · in the page manage-claude/wif-admin-api …/docs/en/cli-sdks-libraries/cli/authentication#admin-access)), then export the bearer token. Logging in with `--profile admin` stores the `org:admin` credential under its own profile name and also mak… aws Claude Developer Platform · in the page manage-claude/wif-providers/aws …tion**. To enable it programmatically: ```bash python3 -c "import boto3; boto3.client('iam').enable_outbound_web_identity_federation()" ``` If this is not enabled, calls to `GetWebId… Create the app registration that represents the Claude API audience. Claude Developer Platform · in the page manage-claude/wif-providers/azure …uest succeeds. * Your Microsoft Entra tenant ID. Find it in the Azure portal under **Microsoft Entra ID → Overview → Tenant ID**. * Permission to create service accounts, federation issuers, and feder… gcp Claude Developer Platform · in the page manage-claude/wif-providers/gcp …Write the Google-signed identity token to a file the CLI can read export ANTHROPIC_IDENTITY_TOKEN_FILE=$(mktemp) curl -sS -H "Metadata-Flavor: Google" \ "http://metadata.google.internal/comput… github-actions Claude Developer Platform · in the page manage-claude/wif-providers/github-actions …{role: user, content: "Hello, Claude"}' ``` ```python Python import anthropic # Reads ANTHROPIC_FEDERATION_RULE_ID, ANTHROPIC_ORGANIZATION_ID, # ANTHROPIC_SERVICE_ACCOUNT_ID, ANTHROPIC_WOR… kubernetes Claude Developer Platform · in the page manage-claude/wif-providers/kubernetes …listed there, follow this guide and use the issuer URL your cluster reports. </Note> ## Prerequisites * Familiarity with [WIF concepts](https://platform.claude.com/docs/en/manage-claude/workload-ide… okta Claude Developer Platform · in the page manage-claude/wif-providers/okta …1. Request an access token from Okta and write it to a temp file. export ANTHROPIC_IDENTITY_TOKEN_FILE=$(mktemp) curl -sS "$OKTA_ISSUER/v1/token" \ -d grant_type=client_credentials \ -d sc… Replace NODE_UID with the node's UID: Claude Developer Platform · in the page manage-claude/wif-providers/spiffe …OIDC Discovery Provider](https://github.com/spiffe/spire/blob/main/support/oidc-discovery-provider/README.md), a standalone helper that publishes `/.well-known/openid-configuration` and a JWKS endpoin… wif-reference Claude Developer Platform · in the page manage-claude/wif-reference …| | Port | Must be `443` (explicit or default).… workload-identity-federation Claude Developer Platform · in the page manage-claude/workload-identity-federation …ir Workload Identity Federation with the controls your IdP already supports (workload identity binding, conditional access, audit logging) for defense in depth. ## Concepts You configure three resou… workspaces Claude Developer Platform · in the page manage-claude/workspaces …/list) results only when you pass `include_default=true`, and usage reports and cost reports show `null` for its `workspace_id` (an API key's `scope` field carries the real ID for a key bound to the D… agent-setup Claude Developer Platform · in the page managed-agents/agent-setup …ample `{"id": "claude-opus-5-5"}`. Claude 4.5 and later models are supported. The object form also accepts `speed` (csharp, go: `Speed`), `effort` (csharp, go: `Effort`), and `inference_geo` (java, ph… budgets Claude Developer Platform · in the page managed-agents/budgets …rrency`) is an uppercase ISO-4217 currency code; `USD` is the only supported currency. A budget can only be attached when the session is created. Adding a budget to an existing session that doesn't h… choosing-an-environment Claude Developer Platform · in the page managed-agents/choosing-an-environment …de/claude-platform-on-aws#claude-managed-agents) and [Features not supported](https://platform.claude.com/docs/en/build-with-claude/claude-platform-on-aws#features-not-supported). ## Differences on C… DCF Model Rubric Claude Developer Platform · in the page managed-agents/define-outcomes …ant files upload --file /tmp/rubric.md ``` ```python Python import time from pathlib import Path from anthropic import Anthropic client = Anthropic() RUBRIC = """# DCF Model Rubric… dreams Claude Developer Platform · in the page managed-agents/dreams …workflow has cloned the input store; a `running` dream can briefly report an empty `outputs` (csharp, go: `Outputs`) array. ## Create a dream <CodeGroup> ```bash cURL curl -s https://api.anthro… environments Claude Developer Platform · in the page managed-agents/environments …= nil { panic(err) } _ = environment ``` ```java Java import com.anthropic.models.beta.environments.*; import java.util.List; var environment = client.beta().environments().create(E… event-deltas Claude Developer Platform · in the page managed-agents/event-deltas …er unchanged. </Note> ## Accumulate and reconcile Every SDK that supports event deltas includes an [accumulator helper](https://platform.claude.com/docs/en/managed-agents/event-deltas#sdk-accumulato… events-and-streaming Claude Developer Platform · in the page managed-agents/events-and-streaming …Events you receive:** Session events, span events, and agent events report the session's state and the agent's progress. These event type strings follow a `{domain}.{action}` naming convention. See [… files Claude Developer Platform · in the page managed-agents/files …th: anthropic.String("/src/main.py")}}, } ``` ```java Java import com.anthropic.models.beta.sessions.*; import java.util.List; var resources = List.of( BetaManagedAgentsFileResourc… mcp-connector Claude Developer Platform · in the page managed-agents/mcp-connector …betaHeader: managed-agents-2026-04-01 --- Claude Managed Agents supports connecting [Model Context Protocol (MCP)](https://modelcontextprotocol.io) servers to your agents. This gives the agent acce… memory Claude Developer Platform · in the page managed-agents/memory …irectly through the API or the Claude Console, allowing for tuning, importing, and exporting. Every change to a memory creates an immutable **memory version**, giving you an audit trail and point-in-… migration Claude Developer Platform · in the page managed-agents/migration …p, go, java, php, ruby"> ```python Python from claude_agent_sdk import ( ClaudeAgentOptions, ClaudeSDKClient, create_sdk_mcp_server, tool, ) @tool("get_weather", "Get… multiagent-orchestration Claude Developer Platform · in the page managed-agents/multiagent-orchestration …subagents**, it delegates tasks itself and reads what each subagent reports. With **dynamic workflows**, it writes a workflow: a program that runs many agents in the background and combines their resu… overview Claude Developer Platform · in the page managed-agents/overview …, run commands, browse the web, and run code securely. The harness supports built-in prompt caching, compaction, and other performance optimizations for high-quality, efficient agent outputs. To build… permission-policies Claude Developer Platform · in the page managed-agents/permission-policies …err != nil { panic(err) } _ = agent ``` ```java Java import com.anthropic.models.beta.agents.*; var agent = client.beta().agents().create( AgentCreateParams.builder()… quickstart Claude Developer Platform · in the page managed-agents/quickstart …)/bin`. Add it to your `PATH` if it isn't already: ```bash export PATH="$PATH:$(go env GOPATH)/bin" ``` </Tab> </Tabs> Check the installation: ```bash ant --version ``` ## Install th… reference Claude Developer Platform · in the page managed-agents/reference …/reference description: Event types, self-hosted worker CLI flags, supported MCP server types, rate limits, and branding guidelines for Claude Managed Agents. featureMetadata: topic: title: Mana… scheduled-deployments Claude Developer Platform · in the page managed-agents/scheduled-deployments …n`) and a `timezone` (csharp, go: `Timezone`). Maximum granularity supported is at the minute level. <Note> On [Claude Platform on AWS](https://platform.claude.com/docs/en/build-with-claude/claude-… secure-deployment Claude Developer Platform · in the page managed-agents/secure-deployment …on: The settings that limit what your agents can reach and do, most important first. featureMetadata: topic: title: Managed Agents url: https://platform.claude.com/docs/en/managed-agents/ove… spawn.sh: called once per claimed work item Claude Developer Platform · in the page managed-agents/self-hosted-sandboxes …) for the full data-flow boundary. <Note> Self-hosted sandboxes support all Claude models available in Managed Agents, including Claude Opus 4.8 and Claude Opus 5. The model is configured on the [a… self-hosted-sandboxes-custom-tools Claude Developer Platform · in the page managed-agents/self-hosted-sandboxes-custom-tools …lude="shell, csharp, java, php, ruby"> ```python Python import asyncio import os from anthropic import AsyncAnthropic, beta_async_tool from anthropic.lib.environments imp… self-hosted-sandboxes-memory Claude Developer Platform · in the page managed-agents/self-hosted-sandboxes-memory …Script, or Go SDK. * **A POSIX filesystem:** Windows hosts are not supported, because the worker requires `O_NOFOLLOW` when it opens memory files. A case-sensitive filesystem is recommended, so that m… self-hosted-sandboxes-operations Claude Developer Platform · in the page managed-agents/self-hosted-sandboxes-operations …ironment-id "$ANTHROPIC_ENVIRONMENT_ID" ``` ```python Python import os import anthropic client = anthropic.Anthropic() stats = client.beta.environments.work.stats(os.environ["ANTHROPIC… self-hosted-sandboxes-reference Claude Developer Platform · in the page managed-agents/self-hosted-sandboxes-reference …ruby"> ```python Python from anthropic.lib.tools.agent_toolset import ( AgentToolContext, beta_agent_toolset_20260401, ) async with AgentToolContext( workdir="/workspace",… self-hosted-sandboxes-workers Claude Developer Platform · in the page managed-agents/self-hosted-sandboxes-workers …limits, or per-session network controls. The CLI and SDK workers support different combinations: | Capability… session-observability Claude Developer Platform · in the page managed-agents/session-observability …stream. ## Debugging tips * **Check session events:** The session reports errors through [`session.error`](https://platform.claude.com/docs/en/managed-agents/reference#event-types) events. * **Revie… session-operations Claude Developer Platform · in the page managed-agents/session-operations …ystem_`) field is fixed for the session's lifetime. On models that support it, you can still append system-level guidance mid-session by sending a [`system.message` event](https://platform.claude.com/… session-threads Claude Developer Platform · in the page managed-agents/session-threads …r. An interrupted child doesn't send the primary thread's agent the report it sends when a turn ends. While that agent waits on the child, it doesn't start another turn until something else reaches it… sessions Claude Developer Platform · in the page managed-agents/sessions …-types) to send to the session at creation, processed in order. It supports `user.message` and [`user.define_outcome`](https://platform.claude.com/docs/en/managed-agents/define-outcomes) events, and a… skills Claude Developer Platform · in the page managed-agents/skills …custom skill is a directory containing a `SKILL.md` file plus any supporting files, uploaded to your workspace as a zip archive or as individual files. Creating the skill returns the `skill_*` ID you… tools Claude Developer Platform · in the page managed-agents/tools …fying them in the agent configuration. Claude Managed Agents also supports custom, user-defined tools. Your application runs these tools separately and returns the results to Claude, which uses them… tools-web-restrictions Claude Developer Platform · in the page managed-agents/tools-web-restrictions …} fmt.Println(string(output)) } } ``` ```java Java import com.anthropic.models.beta.agents.AgentCreateParams; import com.anthropic.models.beta.agents.BetaManagedAgentsAgentToolset20… vaults Claude Developer Platform · in the page managed-agents/vaults …t": null } ``` ## Add a credential Two credential categories are supported: * **MCP credentials** (`mcp_oauth`, `static_bearer`): each credential is keyed by an `mcp_server_url` (java: `mcpServerUr…
Feedback