File size: 552 Bytes
51efbb1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# API surface

The FastAPI service exposes OpenAPI documentation at `/docs` when running locally.

Core routes:

- `GET /api/v1/health`, `/system`, `/dashboard`
- `POST /api/v1/datasets/ingest`, `GET /api/v1/datasets`, `/images`
- `GET /api/v1/models`, `POST /api/v1/models/fit`
- `POST /api/v1/inspections`, `GET /api/v1/inspections`
- `GET /api/v1/policies`
- `GET /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.