Skip to content

API Reference

https://qubithub.co/api

Protected endpoints require either a JWT Bearer token or an API key. See Authentication.

MethodEndpointDescription
POST/auth/loginAuthenticate and receive JWT
GET/circuitsList circuits with filters
GET/circuits/{id}Circuit detail
POST/circuitsCreate a new circuit
POST/circuits/{id}/forkFork a circuit
POST/circuits/{id}/starStar a circuit
POST/runsSubmit a circuit execution run
GET/runsList your runs
GET/runs/{id}Get execution status and results
DELETE/runs/{id}Cancel a run
GET/runs/users/me/statsYour run statistics

All responses use JSON. Errors follow a consistent structure:

{
"detail": "Error message here"
}