Skip to main content
GET
/
api
/
v2
/
analytics
/
cycle
/
{flockId}
/
{cycleId}
/
predict
Get predictive insights and forecasts Query params: historicalCycles (comma-s...
curl --request GET \
  --url http://localhost:3000/api/v2/analytics/cycle/{flockId}/{cycleId}/predict \
  --header 'Authorization: Bearer <token>'
{}

Authorizations

Authorization
string
header
required

JWT obtained from POST /api/v1/auth/login.

Path Parameters

flockId
string
required

flockId identifier

cycleId
string
required

cycleId identifier

Query Parameters

historicalCycles
string

historicalCycles query parameter.

Response

OK

Resource data (object or array depending on endpoint).