FluentaAPI

Get my usage

getMyUsagePermiso read

What this credential has asked of the API: totals, by route and by day. Only its own requests, in every organization.

GET/v1/external/me/usage

Counts the requests this credential made, refusals included, over the last days days (30 by default, 90 at most). Days are UTC days: from, to and each days[].day are YYYY-MM-DD dates of the server’s clock, not of a plant’s, and from counts from its first hour. Figures are kept by the hour and may trail the last seconds. A connected app is counted as one credential across the access tokens it was issued; an API token is counted on its own. Nothing in the query names another credential.

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 consulta

days?number

How many days back the figures reach, counted in UTC days from today: from is that day, whole, and to is today. Usage is kept 90 days.

Rango1 <= value <= 90
Predeterminado30

Respuestas

application/json

application/json

curl -X GET "https://api.fluenta.io/v1/external/me/usage" \  -H "Authorization: Bearer fluenta_live_XXXX"
{  "from": "2026-10-12",  "to": "2026-11-11",  "credential": {    "kind": "oauth",    "name": "string",    "prefix": "fluenta_live_ab1"  },  "totals": {    "requests": 0,    "errors": 0,    "averageDurationMs": 0,    "maxDurationMs": 0,    "lastAt": "2019-08-24T14:15:22Z"  },  "endpoints": [    {      "requests": 0,      "errors": 0,      "averageDurationMs": 0,      "maxDurationMs": 0,      "lastAt": "2019-08-24T14:15:22Z",      "method": "GET",      "route": "/v1/external/organizations/:organizationId/modules"    }  ],  "days": [    {      "requests": 0,      "errors": 0,      "averageDurationMs": 0,      "maxDurationMs": 0,      "lastAt": "2019-08-24T14:15:22Z",      "day": "2026-11-10"    }  ]}