Hatchet API
The Hatchet REST API is the control plane for the Hatchet engine. It exposes operations for tasks, workflow runs, durable tasks, events, filters (CEL-based event routing), webhooks/webhook workers, tenants, users, workers, scheduled and cron workflows, alerting, rate limits, API tokens, observability (logs, traces, metrics), feature flags, and engine metadata. The contract is OpenAPI 3.1 and ships in-tree at hatchet-dev/hatchet under api-contracts/openapi. Stable endpoints are namespaced under /api/v1/stable; legacy endpoints remain under /api/v1. Authentication is bearer token or session cookie.
Documentation
Documentation
https://docs.hatchet.run/
GettingStarted
https://docs.hatchet.run/home/quickstart
GettingStarted
https://docs.hatchet.run/home/quickstart
APIReference
https://docs.hatchet.run/
Authentication
Bearer Token + Session Cookie
RateLimits
https://raw.githubusercontent.com/api-evangelist/hatchet/refs/heads/main/rate-limits/hatchet-rate-limits.yml
Specifications
OpenAPI
https://raw.githubusercontent.com/api-evangelist/hatchet/refs/heads/main/openapi/hatchet-openapi.yml
OpenAPI
Source OpenAPI (canonical, $ref-composed)
Code Examples
CodeExamples
Python Quickstart
CodeExamples
TypeScript Quickstart
CodeExamples
Go Quickstart
CodeExamples
Deep Research Agent Pattern (TypeScript)
CodeExamples
Coding Agent Pattern (TypeScript)
CodeExamples
Worker Infrastructure Walkthroughs
Schemas & Data
JSONSchema
V1 Task
JSONSchema
V1 Workflow Run
JSONSchema
V1 Event
JSONSchema
V1 Filter
JSONSchema
V1 Webhook
JSONSchema
V1 Task Event
JSONSchema
V1 Log Line
JSONSchema
Tenant
JSONSchema
Worker
JSONSchema
Rate Limit
JSONSchema
API Token
JSONSchema
Workflow
Other Resources
Examples
Get Task
Examples
Trigger Workflow Run
Examples
Publish Event
Examples
Create Filter
Examples
Cancel Tasks
Examples
Replay Tasks
Examples
List Task Logs
Examples
Upsert Rate Limit
Examples
Register Webhook Worker
Examples
List Workers
SDKs
Python SDK (hatchet-sdk on PyPI)
SDKs
TypeScript SDK (@hatchet-dev/typescript-sdk on npm)
SDKs
Go SDK (in-tree at sdks/go)
SDKs
Ruby SDK (in-tree at sdks/ruby)
SelfHosting
https://docs.hatchet.run/self-hosting
SourceCode
https://github.com/hatchet-dev/hatchet
APIsJSON
https://raw.githubusercontent.com/api-evangelist/hatchet/refs/heads/main/apis.yml