Authentication
None during preview. We'll add API keys before opening to public traffic.
Endpoints
GET /api/agrimorai/healthz
Liveness check — also wakes the service from a cold start. Returns 200 OK with a JSON payload when ready.
curl https://agrimor.alphasight.app/api/agrimorai/healthz
POST /api/agrimorai/v1/detect
Run object detection on a single image.
curl -X POST https://agrimor.alphasight.app/api/agrimorai/v1/detect \
-H "content-type: application/json" \
-d '{ "image_url": "https://example.com/drone.jpg" }'
POST /api/agrimorai/v1/batch
Process a batch of images. Returns a job id; poll /v1/batch/{id} for status.
Cold start
The GPU-backed worker takes ~30–60 s to boot from cold. After the first call, subsequent requests within 15 minutes are warm (sub-second).
Cost
Idle: zero. Per-call pricing TBD when auth lands.