latestOpenAPI 3.0.02026-08-0819201.1 MB

411f9f98c01e

runtime quota usages

Returns usage metrics (CPU and Memory) for each flow that was active in the specified period in a certain workspace. Returns Memory (in MiB) and CPU (in milli CPU) usage.

Memory usage is reported as a sum of RAM usage for each second during the specified period for each step. CPU usage is reported as an amount of consumed CPU for each step. Only a corresponding contract member can be authorized to access this resource.

get/runtime-quota-usages/workspaces/{workspace_id}/flows

Path parameters

workspace_idstring required

Workspace identifier

Query parameters

fromstring required

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

tostring required

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

Response

OK

Example response

{
  "data": {
    "memory": 23039948,
    "cpu": 68423815,
    "id": "5b4f337bff4304610483ba67"
  }
}