Komputer.AI
Integration

Error handling

HTTP status codes returned by the komputer-api and the standard error response format.

HTTP CodeMeaning
201Agent created successfully
200Task forwarded to existing agent / successful read
400Bad request (missing fields, invalid role)
404Agent not found
409Agent is busy or has no running pod yet
500Internal error (cluster issue, pod unreachable)

All error responses follow this format:

{"error": "description of what went wrong"}