Skip to content

API Reference

Bizon Platform provides a comprehensive REST API for all platform operations.

http://localhost:8000/api

All endpoints (except auth routes) require authentication:

Terminal window
# JWT Token
Authorization: Bearer eyJ...
# OR API Key
X-API-Key: biz_live_...

All responses are JSON. Successful responses return the requested data. Errors return:

{
"detail": "Error message"
}
CodeDescription
200Success
201Created
204No Content (successful delete)
400Bad Request
401Unauthorized
403Forbidden
404Not Found
409Conflict
500Internal Server Error
POST /api/pipelines Create pipeline
GET /api/pipelines List pipelines
GET /api/pipelines/{id} Get pipeline
PUT /api/pipelines/{id} Update pipeline
DELETE /api/pipelines/{id} Delete pipeline
POST /api/pipelines/{id}/run Trigger run
GET /api/pipelines/{id}/runs List runs
GET /api/pipelines/runs/{run_id} Get run status
GET /api/pipelines/runs/{run_id}/logs Get logs
POST /api/pipelines/runs/{run_id}/cancel Cancel run
POST /api/auth/register Register + create org
POST /api/auth/login Login
POST /api/auth/refresh Refresh tokens
GET /api/auth/me Get current user
GET /api/users List members
POST /api/users/invite Invite user
POST /api/users/invitations/accept Accept invite