latestOpenAPI 3.0.02026-08-0819201.1 MB

411f9f98c01e

runtime quota usages

Returns usage history (CPU and Memory) of the specified workspace within defined period. Returns Memory (in MiB) and CPU (in milli CPU) usage.

You have to be workspace member to access this resource. Memory usage is reported as a sum of RAM usage for a day. CPU usage is reported as an amount of consumed CPU for a day.

get/runtime-quota-usages/flows/{flow_id}/history

Path parameters

flow_idstring required

Flow identifier

Query parameters

workspace_idstring required

Workspace identifier

fromstring required

Start Date of the period (inclusive). Format – ISO 8601.

tostring required

End Date of the period (inclusive). Format – ISO 8601.

group_bystring

Param to specify aggregation period. Format - 'day', 'month' (default: 'month')

Response

OK

Example response

{
  "data": [
    {
      "id": "2019-09-01",
      "memory": 23039948,
      "cpu": 68423815
    }
  ]
}