FluentaAPI

Get module

getModulePermiso read

One «módulo» (production line): its name, its place on the floor, how many «puestos» it has and its colour.

GET/v1/external/organizations/{organizationId}/modules/{moduleId}

Answers one «módulo», a production line of the plant, as listModules lists it: name, position (its place on the floor, top to bottom), stationCount (how many «puestos» it has) and colorHue (the colour it wears on the dashboard, 1 to 12; null for the automatic one).

moduleId comes from listModules or getFloor. Its «puestos» are listStations, its «descansos» listModuleRestTimes, its queue of OCs getProgram.

No time field.

Not paged: the whole answer comes in one response.

Plan: on every plan, Light included. A «token de API» reads it in any organization the user who created it belongs to; a connected AI app (a «conexión») reads it only where the organization has «Conectar con IA» (getPlan.features.aiConnector, a Pro feature), and answers 403 PLAN_LIMIT elsewhere.

Rate limit: one request of the credential’s ordinary budget in this organization (getPlan answers the numbers); past it, 429 RATE_LIMITED with Retry-After in seconds.

Autorización

apiToken
AutorizaciónBearer <token>

An API token created in Configuración › Tokens de API, or a connected app’s access token

En: header

Parámetros de ruta

moduleId*integer

The «módulo»: an id of listModules or getFloor, or the moduleId of a «puesto».

organizationId*integer

The organization, from getMe or listOrganizations.

Respuestas

application/json

application/json

curl -X GET "https://api.fluenta.io/v1/external/organizations/0/modules/0" \  -H "Authorization: Bearer fluenta_live_XXXX"
{  "id": 0,  "name": "string",  "position": 0,  "stationCount": 0,  "colorHue": 1}