API Reference
Complete API documentation for Hellcat platform integration
Base URL
https://hellcat.pyrosec.gg
Authentication
Most endpoints require authentication using an API key or Bearer token:
Authorization: Bearer hc_your_api_key
Endpoints
GET
/healthHealth check endpoint
{ "status": "healthy", "timestamp": "..." }
GET
/readyReadiness probe
{ "status": "ready" }
POST
Auth Required/api/trpc/workflows.createCreate a new workflow
GET
Auth Required/api/trpc/workflows.listList user workflows
POST
Auth Required/api/trpc/jobs.createCreate and execute a job
GET
Auth Required/api/trpc/jobs.getGet job status and results
GET
Auth Required/api/trpc/billing.getBalanceGet credit balance
POST
/admin/auth/loginAdmin authentication
GET
Auth Required/admin/metrics/platformPlatform metrics (admin only)
tRPC Protocol
Hellcat uses tRPC for type-safe API communication. All tRPC endpoints are prefixed with:
/api/trpc/[router].[procedure]
Available Routers
- 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)
Example Usage
// 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)📚 Full API Documentation
For detailed schemas, request/response examples, and error codes, see the Workflows API, Jobs API, and CLI Reference.