Skip to main content
POST
/
api
/
v2
/
analytics
/
compare
/
{flockId}
Compare multiple cycles Body: { cycleIds: ["2025-1", "2025-2", "2025-3"] }
curl --request POST \
  --url http://localhost:3000/api/v2/analytics/compare/{flockId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "cycleIds": "<string>"
}
'
{
  "message": "<string>",
  "data": {}
}

Authorizations

Authorization
string
header
required

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

Path Parameters

flockId
string
required

flockId identifier

Body

application/json
cycleIds
string

cycleIds — see API source for exact type.

Response

OK

message
string
data
object