Get production
getProductionPermission read
«Producido» over a range of plant days, per day, or per day and módulo, referencia or categoría.
/v1/external/organizations/{organizationId}/analytics/productionGroupings: day, module, reference, category. A typed hour counts its «conteo manual», any other hour the puestos de salida’s marcas, and an hour folded into a typed «Extra» 0: a módulo’s figure for a day is its «Tablero de producción» total (getHoursBoard totals.produced). The plant’s figure for a day (groupBy=day) is every módulo that produced added up — the boards’ totals, a módulo deleted since included, as Reportes keep its past days. The live board’s «unidades hoy» (getLiveBoard plant.produced) is the same sum over the módulos with a meta that day only, because it is the numerator of the plant’s eficiencia: it leaves out a módulo that produced with no meta (outside its jornada, or on an OC with no meta per hour), and this figure counts it. Filter: moduleId alone, under any grouping — a typed hour belongs to no puesto and no operario.
Authorization
apiToken An API token created in Configuración › Tokens de API, or a connected app’s access token
In: header
Path Parameters
Query Parameters
First plant day of the range, YYYY-MM-DD on the plant's clock, included. At most 92 days from from to to.
^\d{4}-\d{2}-\d{2}$length <= 10Last plant day of the range, YYYY-MM-DD on the plant’s clock, included; not before from.
^\d{4}-\d{2}-\d{2}$length <= 10One row per day, or per day and módulo / operario / puesto (operation) / referencia / categoría. Each figure answers the groupings the dashboard shows it by; any other is a 400 GROUP_BY_UNSUPPORTED that lists the ones it has.
"day"Value in
- "day"
- "module"
- "operator"
- "operation"
- "reference"
- "category"
1-based page; 100 rows per page, by day then group.
1 <= value <= 10000001Only this módulo. With groupBy=day (or none), its own figure of each day, each row naming it; with module, its rows; with operation, the puestos whose day is filed under it; and, for production, with reference or category too. One filter per request; a second one, or a grouping the filter does not answer, is a 400 FILTER_UNSUPPORTED. An id of another organization is a 404 MODULE_NOT_FOUND.
1 <= value <= 2147483647Only this operario: their own figure of each day (groupBy=day, or none) or their rows (groupBy=operator), as the «Clasificación» counts them. Efficiency and billing; production has no operario (400 FILTER_UNSUPPORTED). An id of another organization is a 404 OPERATOR_NOT_FOUND.
1 <= value <= 2147483647Only this puesto: its own figure of each day (groupBy=day, or none) or its rows (groupBy=operation), as its «reporte por operación» totals them. Efficiency and billing; production has no puesto (400 FILTER_UNSUPPORTED). An id of another organization is a 404 OPERATION_NOT_FOUND.
1 <= value <= 2147483647Response Body
application/json
application/json
curl -X GET "https://api.fluenta.io/v1/external/organizations/0/analytics/production?from=2026-10-01&to=2026-10-31" \ -H "Authorization: Bearer fluenta_live_XXXX"{ "from": "string", "to": "string", "groupBy": "day", "page": 0, "pageSize": 0, "total": 0, "items": [ { "day": "string", "module": { "id": 0, "name": "string" }, "reference": { "id": 0, "name": "string", "orderNumber": "string", "garment": "string" }, "category": { "key": "string", "label": "string" }, "units": 0 } ]}Get pauses GET
The «Pausas» report over a range of up to 31 plant days: every pausa, newest first (at most 2000), and the figures over the whole range.
Get module efficiency GET
One módulo’s «Eficiencia» per day over a range of up to 92 plant days: units made against the meta, every puesto counted. The chart of «Reportes por módulo».