Skip to content

Releases: arktnld/claude-code-api

v0.2.0 — Initial Release

20 May 15:07

Choose a tag to compare

Claude Code API v0.2.0

REST API wrapper for Claude Code CLI. Educational project.

Highlights

  • Full Claude Code access — Read, Write, Edit, Bash, Glob, Grep, and all native tools
  • Session management — named workspaces, auto-resume, 12 customizable templates
  • Sync & SSE streaming — real-time responses with event IDs and heartbeat
  • Async jobs — fire-and-forget with webhook callbacks and cancellation
  • File management — upload, download, list files in session workspaces
  • Security — API key auth, rate limiting, path sandboxing, input moderation, budget caps
  • RFC 9457 errors — structured Problem Details on every error
  • Swagger UI — interactive docs at /docs with 10 categorized endpoint groups
  • Docker ready — production Dockerfile with gunicorn + uvicorn workers

Quick Start

git clone https://github.com/arktnld/claude-code-api.git
cd claude-code-api
python -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"
cp .env.example .env  # edit APPROVED_DIRECTORY and API_KEYS
make dev

Documentation

Disclaimer

This is an educational/study project. Not affiliated with or endorsed by Anthropic. Use at your own risk.