|
Download docs/api/README.md from husnainbinmunawar/ShiftBudget-Research-Lab: direct link, hf CLI and curl.
- Browser
- Download file 552 Bytes
-
https://huggingface.co/spaces/husnainbinmunawar/ShiftBudget-Research-Lab/resolve/main/docs/api/README.md
- Command line
-
hf download hf://spaces/husnainbinmunawar/ShiftBudget-Research-Lab/docs/api/README.md
-
curl -L -o README.md https://huggingface.co/spaces/husnainbinmunawar/ShiftBudget-Research-Lab/resolve/main/docs/api/README.md
552 Bytes
API surface
The FastAPI service exposes OpenAPI documentation at /docs when running locally.
Core routes:
GET /api/v1/health,/system,/dashboardPOST /api/v1/datasets/ingest,GET /api/v1/datasets,/imagesGET /api/v1/models,POST /api/v1/models/fitPOST /api/v1/inspections,GET /api/v1/inspectionsGET /api/v1/policiesGET /api/v1/reviews,POST /api/v1/reviews/{id}
Inspection accepts either a multipart image upload or a persisted image_id. It returns NOT_AVAILABLE when no fitted artifact exists.