routines-fire changedapi/claude-code/routines-fire
Nearest release: v2.1.334, published 11 hours before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+4added
Lines−4removed
From line
12
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits13to this page, all time
The whole hunk
from line 12, old and new numbered
/
from line 12
1212
1313This endpoint is the HTTP entry point. POSTing to it starts a new run of an existing routine and returns the resulting session ID and URL. Typical callers are alerting systems, CI pipelines, and internal tools that need to start a Claude Code session programmatically.
1414
15Calling this endpoint requires a claude.ai account on a Pro, Max, Ultra, Team, or Enterprise plan with [Claude Code on the web](https://code.claude.com/docs/en/claude-code-on-the-web) enabled. Authenticate with a per-routine bearer token created in the Claude Code web UI rather than a Claude API key.
15Calling this endpoint requires a claude.ai account on a Pro, Max, Ultra, Team, or Enterprise plan with [Claude Code on the web](https://code.claude.com/docs/en/claude-code-on-the-web) enabled. Authenticate with a per-routine bearer token created in the Claude Code web UI rather than Claude Platform credentials.
1616
1717## Differences from the Claude Platform
1818
from line 20
2020
2121| Aspect | This endpoint | Claude Platform APIs |
2222| ----- | ----- | ----- |
23| Authentication | `Authorization: Bearer` with a per-routine token (`sk-ant-oat01-...`) created at [claude.ai/code/routines](https://claude.ai/code/routines) | A Claude API key from Claude Console, sent as `Authorization: Bearer` |
24| Token scope | One routine only; no read access | Workspace-level |
23| Authentication | `Authorization: Bearer` with a per-routine token (`sk-ant-oat01-...`) created at [claude.ai/code/routines](https://claude.ai/code/routines) | [Access token or Developer API key](https://platform.claude.com/docs/en/manage-claude/authentication), sent as `Authorization: Bearer` |
24| Token scope | One routine only; no read access | Workspace or organization |
2525| SDK support | None | Available in all [client SDKs](https://platform.claude.com/docs/en/cli-sdks-libraries/overview) |
2626| Billing | Claude Code subscription usage on claude.ai | Claude Platform usage |
2727| Path namespace | `/v1/claude_code/...` | `/v1/...` |
from line 151
151151
152152## SDK support
153153
154This endpoint is not in the Anthropic SDKs. Its token model differs from API key authentication, and typical callers such as CI jobs and alerting webhooks send the request directly.
154This endpoint is not in the SDK. Its token model differs from Claude Platform authentication, and typical callers such as CI jobs and alerting webhooks send the request directly.
155155
156156## See also
157157
No line in this hunk matches that.