---
title: "Get time saved"
method: POST
path: "/api/v1/stats/timeSaved"
tags: ["Stats"]
---

# Get time saved

`POST /api/v1/stats/timeSaved`

## Request

- Base URL: `https://zeropath.com`
- URL: `https://zeropath.com/api/v1/stats/timeSaved`
- Auth: API key in header `X-ZeroPath-API-Token-Id` and API key in header `X-ZeroPath-API-Token-Secret`

## Request body

- object
  - `organizationId` string
  - `projectId` string
  - `startDate` string, date
  - `endDate` string, date

## Response `200`

Successful response

- TimeSavedResponse
  - `totalMinutesSaved` number
  - `patchingMinutesSaved` number
  - `validationMinutesSaved` number
  - `counts` object
    - `totalPatches` number
    - `totalSources` number
    - `totalSinks` number
    - `totalScenarios` number
  - `timeSaved` object
    - `logicMinutesSaved` number
    - `sinkMinutesSaved` number
    - `natLangMinutesSaved` number
    - `patchMinutesSaved` number
    - `totalMinutesSaved` number

---

[API](https://skmtc.dev/zeropath/apis/zeropath-api-2.md) - [All operations](https://skmtc.dev/zeropath/apis/zeropath-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/zeropath/apis/zeropath-api-2/revisions/ea6ae4b68cd3?raw)
