pixano_inference.api.v1.router
Assemble and mount the /v1 API onto a FastAPI app.
register_v1_api(app, deployment_manager, auth_dependency=None)
Mount the /v1 API on app.
Health/readiness/info are unauthenticated (probes); inference, jobs, and admin routes
require the API key when one is configured. A top-level /health alias is also mounted
for container health checks.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
app
|
FastAPI
|
FastAPI application. |
required |
deployment_manager
|
DeploymentManager
|
The deployment manager instance. |
required |
auth_dependency
|
Any | None
|
Optional auth dependency applied to the guarded routers. |
None
|