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

461 pages for hooks.

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

List Credentials Claude Developer Platform · in the page api/beta/vaults/credentials/list …ads-2026-09-26"` - `"telemetry-destinations-2026-08-11"` - `"webhooks-2026-10-07"` - `"anthropic-workspace-id": optional string` Optional header to select the Workspace for this request. The… Validate an MCP OAuth Credential Claude Developer Platform · in the page api/beta/vaults/credentials/mcp_oauth_validate …ads-2026-09-26"` - `"telemetry-destinations-2026-08-11"` - `"webhooks-2026-10-07"` - `"anthropic-workspace-id": optional string` Optional header to select the Workspace for this request. The… Retrieve a Credential Claude Developer Platform · in the page api/beta/vaults/credentials/retrieve …ads-2026-09-26"` - `"telemetry-destinations-2026-08-11"` - `"webhooks-2026-10-07"` - `"anthropic-workspace-id": optional string` Optional header to select the Workspace for this request. The… Update a Credential Claude Developer Platform · in the page api/beta/vaults/credentials/update …ads-2026-09-26"` - `"telemetry-destinations-2026-08-11"` - `"webhooks-2026-10-07"` - `"anthropic-workspace-id": optional string` Optional header to select the Workspace for this request. The… Delete a Vault Claude Developer Platform · in the page api/beta/vaults/delete …ads-2026-09-26"` - `"telemetry-destinations-2026-08-11"` - `"webhooks-2026-10-07"` - `"anthropic-workspace-id": optional string` Optional header to select the Workspace for this request. The… List Vaults Claude Developer Platform · in the page api/beta/vaults/list …ads-2026-09-26"` - `"telemetry-destinations-2026-08-11"` - `"webhooks-2026-10-07"` - `"anthropic-workspace-id": optional string` Optional header to select the Workspace for this request. The… Retrieve a Vault Claude Developer Platform · in the page api/beta/vaults/retrieve …ads-2026-09-26"` - `"telemetry-destinations-2026-08-11"` - `"webhooks-2026-10-07"` - `"anthropic-workspace-id": optional string` Optional header to select the Workspace for this request. The… Update a Vault Claude Developer Platform · in the page api/beta/vaults/update …ads-2026-09-26"` - `"telemetry-destinations-2026-08-11"` - `"webhooks-2026-10-07"` - `"anthropic-workspace-id": optional string` Optional header to select the Workspace for this request. The… routines-fire Claude Developer Platform · in the page api/claude-code/routines-fire …y authentication, and typical callers such as CI jobs and alerting webhooks send the request directly. ## See also * [Automate work with routines](https://code.claude.com/docs/en/routines) in the Cl… claude-platform-on-aws-iam-actions Claude Developer Platform · in the page api/claude-platform-on-aws-iam-actions …ell if you need to prevent any memory-store mutation. </Note> ### Webhooks | Action | Routes authorized | | --------------------- | ------------------… Completions Claude Developer Platform · in the page api/completions …ads-2026-09-26"` - `"telemetry-destinations-2026-08-11"` - `"webhooks-2026-10-07"` ### Body parameters - `max_tokens_to_sample: number` The maximum number of tokens to generate before stopp… Create a Text Completion Claude Developer Platform · in the page api/completions/create …ads-2026-09-26"` - `"telemetry-destinations-2026-08-11"` - `"webhooks-2026-10-07"` ## Body parameters - `max_tokens_to_sample: number` The maximum number of tokens to generate before stoppi… Compliance API Claude Developer Platform · in the page api/compliance …An RBAC group's visibility policy was updated. - `"inference_hooks_circuit_breaker_tripped"` The organization's Inference hooks circuit breaker tripped automatically: calls to the organi… Activities Claude Developer Platform · in the page api/compliance/activities …An RBAC group's visibility policy was updated. - `"inference_hooks_circuit_breaker_tripped"` The organization's Inference hooks circuit breaker tripped automatically: calls to the organi… Query compliance activities Claude Developer Platform · in the page api/compliance/activities/list …An RBAC group's visibility policy was updated. - `"inference_hooks_circuit_breaker_tripped"` The organization's Inference hooks circuit breaker tripped automatically: calls to the organi… claude-platform-on-aws Claude Developer Platform · in the page build-with-claude/claude-platform-on-aws …ores](https://platform.claude.com/docs/en/managed-agents/memory), [webhooks](https://platform.claude.com/docs/en/managed-agents/webhooks), [multiagent orchestration](https://platform.claude.com/docs/e… admin-api Claude Developer Platform · in the page manage-claude/admin-api …com/docs/en/manage-claude/compliance-api-access). ## Organization webhooks Register webhook endpoints for events about enforcement actions on your organization's user profiles with [organization web… cmek Claude Developer Platform · in the page manage-claude/cmek …erview) (beta) data, including agent configurations, environments, webhooks, sessions and their events, [memory stores](https://platform.claude.com/docs/en/managed-agents/memory) (beta) and their memo… compliance-api Claude Developer Platform · in the page manage-claude/compliance-api …claude.com/docs/en/manage-claude/compliance-sessions). ### Inference hooks [Inference hooks](https://platform.claude.com/docs/en/manage-claude/inference-hooks) act inline: your organization's AI sec… plugins-api Claude Developer Platform · in the page manage-claude/plugins-api …he executable's name. `description` is always `null` for MCP servers, hooks, and CLIs. `null` when not recorded.… user-profiles Claude Developer Platform · in the page manage-claude/user-profiles …`. To get an event when an action opens or ends, see [Organization webhooks](https://platform.claude.com/docs/en/manage-claude/organization-webhooks). Without events, compare both fields with the valu… events-and-streaming Claude Developer Platform · in the page managed-agents/events-and-streaming …ok event types](https://platform.claude.com/docs/en/managed-agents/webhooks#supported-event-types) are separate, and some of their names differ from the stream's. For example, webhooks use `session.st… migration Claude Developer Platform · in the page managed-agents/migration …| | `PreToolUse` / `PostToolUse` hooks | Your client already sees every `agent.custom_tool_use` event before responding; put the logic there. For built-in tools,… permission-policies Claude Developer Platform · in the page managed-agents/permission-policies …stream-events) in the Session event stream guide, or [subscribe to webhooks](https://platform.claude.com/docs/en/managed-agents/webhooks) to be notified when a session pauses for input. <CodeGroup>… reference Claude Developer Platform · in the page managed-agents/reference …events. Webhook event types are listed separately in [Subscribe to webhooks](https://platform.claude.com/docs/en/managed-agents/webhooks#supported-event-types), and some of their names differ from the… scheduled-deployments Claude Developer Platform · in the page managed-agents/scheduled-deployments …atform.claude.com/docs/en/managed-agents/events-and-streaming) or [webhooks](https://platform.claude.com/docs/en/managed-agents/webhooks). Deployment lifecycle changes and the outcome of each schedule… secure-deployment Claude Developer Platform · in the page managed-agents/secure-deployment …ns-and-review-retention) | Webhooks and session deletion | An alert when a session goes idle, reaches its budget… secure-deployment-monitoring Claude Developer Platform · in the page managed-agents/secure-deployment-monitoring …Optionally review each session's events with an offline job. Watch webhooks for sessions that need attention, and see what Managed Agents keeps and for how long. featureMetadata: topic: title: M… spawn.sh: called once per claimed work item Claude Developer Platform · in the page managed-agents/self-hosted-sandboxes …ler; it requires a webhook endpoint that Anthropic can reach (see [Webhooks](https://platform.claude.com/docs/en/managed-agents/webhooks) for endpoint setup and signature verification). <Tabs> <Tab… self-hosted-sandboxes-workers Claude Developer Platform · in the page managed-agents/self-hosted-sandboxes-workers …res a [webhook](https://platform.claude.com/docs/en/managed-agents/webhooks) endpoint that Anthropic can reach. **Where each session runs:** * **In process:** The worker that claims a session also r… vaults Claude Developer Platform · in the page managed-agents/vaults …r fails to refresh, you can subscribe to the vault and credential [webhooks](https://platform.claude.com/docs/en/managed-agents/webhooks) associated with those lifecycle changes. | Event… workflow-runs Claude Developer Platform · in the page managed-agents/workflow-runs …g the session's events returns them too. Run events don't trigger [webhooks](https://platform.claude.com/docs/en/managed-agents/webhooks). Status events from the run's threads arrive on the same strea… overview Claude Developer Platform · in the page release-notes/overview …-restricted-or-banned-a-profile). ### October 20, 2026 * [Inference hooks](https://platform.claude.com/docs/en/manage-claude/inference-hooks) are out of beta for Claude Enterprise organizations. * W… Set up Claude Code for your organization Claude Code CLI · in the page admin-setup …execution, restrict MCP servers and plugin sources, and control which hooks run. Each row is a control surface with the setting keys that drive it. | Control | What it does | Key settings | | :- | :-… How the agent loop works Claude Code CLI · in the page agent-sdk/agent-loop …tool results feeds back to Claude for the next decision. You can use [hooks](/docs/en/agent-sdk/hooks.md) to intercept, modify, or block tool calls before they run. 4. **Repeat.** Steps 2 and 3 repeat… Use Claude Code features in the SDK Claude Code CLI · in the page agent-sdk/claude-code-features …Claude Code features in the SDK > Load project instructions, skills, hooks, and other Claude Code features into your SDK agents. The Agent SDK is built on the same foundation as Claude Code, which m… Configure your agent Claude Code CLI · in the page agent-sdk/configuration …e reads the working directory to determine: * **Project settings and hooks**: which project's [settings and hooks load](/docs/en/agent-sdk/claude-code-features.md) * **Skills**: where [session skills… Connect to external tools with MCP Claude Code CLI · in the page agent-sdk/mcp …message of query({ prompt: "Use the docs MCP server to explain what hooks are in Claude Code", options: { mcpServers: { "claude-code-docs": { type: "http", url: "https://… Modifying system prompts Claude Code CLI · in the page agent-sdk/modifying-system-prompts …er system prompt you choose. [Skills](/docs/en/agent-sdk/skills.md), [hooks](/docs/en/agent-sdk/hooks.md), and [permissions](/docs/en/agent-sdk/permissions.md) also shape behavior outside the system p… Observability with OpenTelemetry Claude Code CLI · in the page agent-sdk/observability …ion`). * **`claude_code.hook`:** wraps each [hook](/docs/en/agent-sdk/hooks.md) execution. Requires detailed beta tracing (`ENABLE_BETA_TRACING_DETAILED=1` and `BETA_TRACING_ENDPOINT`), a pair that al… Agent SDK overview Claude Code CLI · in the page agent-sdk/overview …s](#capabilities), such as built-in tools, permissions, sessions, and hooks. | | Do interactive development or run one-off tasks from a terminal | [**Claude Code CLI**](/docs/en/overview.md) | The ter… Configure permissions Claude Code CLI · in the page agent-sdk/permissions …rmissions > Control how your agent uses tools with permission modes, hooks, and declarative allow/deny rules. The Claude Agent SDK provides permission controls to manage how Claude uses tools. Use p… Plugins in the SDK Claude Code CLI · in the page agent-sdk/plugins …SDK > Load custom plugins to extend Claude Code with skills, agents, hooks, and MCP servers through the Agent SDK Plugins let you extend Claude Code with custom functionality that can be shared acro… Agent SDK reference - Python Claude Code CLI · in the page agent-sdk/python …✅ Supported | | **Interrupts** | ❌ Not supported | ✅ Supported | | **Hooks** | ✅ Supported | ✅ Supported | | **Custom Tools** | ✅ Supported | ✅ Supported | | **Continue Chat** | Manual via `continue_… Quickstart Claude Code CLI · in the page agent-sdk/quickstart …md)**: control what your agent can do and when it needs approval * **[Hooks](/docs/en/agent-sdk/hooks.md)**: run custom code before or after tool calls * **[Sessions](/docs/en/agent-sdk/sessions.md)**… Troubleshoot the Agent SDK Claude Code CLI · in the page agent-sdk/troubleshooting …meout, tool blocked unexpectedly, modified input not applied, session hooks not available in Python, subagent permission prompts multiplying, recursive hook loops with subagents, `systemMessage` not a… Agent SDK reference - TypeScript Claude Code CLI · in the page agent-sdk/typescript …config directory. The session's working directory, its `SessionStart` hooks, its stdio MCP servers, and its CLAUDE.md and git context wait for the claim. A spare holds roughly 230 to 260 MB of memory… Handle approvals and user input Claude Code CLI · in the page agent-sdk/user-input …nably stay running, register a [`PreToolUse` hook](/docs/en/agent-sdk/hooks) that returns the [`defer` decision](/docs/en/hooks#defer-a-tool-call-for-later) instead of waiting in the callback, so the… Orchestrate teams of Claude Code sessions Claude Code CLI · in the page agent-teams …s are removed and which stay on disk. ### Enforce quality gates with hooks Use [hooks](/docs/en/hooks.md) to enforce rules when teammates finish work or tasks are created or completed: * [`Teammate… Manage multiple agents with agent view Claude Code CLI · in the page agent-view …s the rest of Claude Code and fire the [`Notification` hook](/docs/en/hooks#notification) with the `agent_needs_input` or `agent_completed` type. Background sessions don't need any terminal open to k…
Feedback