Complete API documentation for Hellcat platform integration
Most endpoints require authentication using an API key or Bearer token:
/healthHealth check endpoint
/readyReadiness probe
/api/trpc/workflows.createCreate a new workflow
/api/trpc/workflows.listList user workflows
/api/trpc/jobs.createCreate and execute a job
/api/trpc/jobs.getGet job status and results
/api/trpc/billing.getBalanceGet credit balance
/admin/auth/loginAdmin authentication
/admin/metrics/platformPlatform metrics (admin only)
Hellcat uses tRPC for type-safe API communication. All tRPC endpoints are prefixed with:
workflows - Workflow management (create, list, update, delete)jobs - Job execution (create, get, list, cancel, streamLogs)billing - Credit management (getBalance, getTransactions, applyPromo)streaming - Real-time workflow updates (WebSocket)internal - Internal controller endpoints (restricted)// Using fetch
const response = await fetch('/api/trpc/workflows.list', {
method: 'GET',
headers: {
'Authorization': 'Bearer hc_your_api_key',
'Content-Type': 'application/json'
}
})
const data = await response.json()
console.log(data.result.data.workflows)For detailed schemas, request/response examples, and error codes, see the individual router documentation.