Skip to content
arktnld edited this page May 20, 2026 · 1 revision

Claude Code API

REST API wrapper for Claude Code CLI — execute code, manage files, and run commands remotely.

Note: This is an educational/study project. Not affiliated with Anthropic.

Quick Navigation

Page Description
Getting Started Installation, first session, first chat
Authentication API keys, Claude auth modes, rate limiting
Sessions CRUD, lifecycle, templates, working directories
Chat Sync, streaming (SSE), idempotency, overrides
Async Jobs Fire-and-forget, webhooks, cancellation
Files Upload, download, list
Configuration All environment variables
Security Auth, sandboxing, moderation, budget caps
Error Handling RFC 9457 Problem Details, status codes
API Reference Complete route table with request/response

Features

  • Full Claude Code access — Read, Write, Edit, Bash, Glob, Grep, and more
  • Session management — named workspaces with auto-resume
  • Sync & Stream — synchronous or real-time SSE streaming
  • Async jobs — webhook callbacks and cancellation
  • 12 agent templates — customizable via YAML (code-reviewer, debug, devops, etc.)
  • Security — API key auth, rate limiting, path sandboxing, input moderation
  • RFC 9457 errors — structured Problem Details responses
  • Swagger UI — interactive docs at /docs

Links

Clone this wiki locally