---
title: "Add aggregated execution metrics for a workflow that was executed on a platform."
method: PUT
path: "/api/ga4gh/v2/extended/{id}/aggregatedMetrics"
tags: ["extendedGA4GH"]
---

# Add aggregated execution metrics for a workflow that was executed on a platform.

`PUT /api/ga4gh/v2/extended/{id}/aggregatedMetrics`

This endpoint adds aggregated metrics for a workflow that was executed on a platform

## Path parameters

- `id` string, required

## Request body

- object

## Response `200`

Aggregated metrics added successfully.

- string

## Other responses

- `401` — Credentials not provided or incorrect.
- `404` — The tool cannot be found to add aggregated metrics.

## Changes

- **2025-12-09** `e7ba6b990428` — 1 info
  - added the new optional request property `additionalProperties/executionStatusCount/allOf[subschema #2]/count/additionalProperties/executionTimeHistogram`
- **2025-11-21** `58d7abe5af40` — 6 info
  - added the new optional request property `additionalProperties/executionStatusCount/allOf[subschema #2]/count/additionalProperties/dailyExecutionCounts/allOf[subschema #2]/ends`
  - added the new optional request property `additionalProperties/executionStatusCount/allOf[subschema #2]/count/additionalProperties/monthlyExecutionCounts/allOf[subschema #2]/ends`
  - added the new optional request property `additionalProperties/executionStatusCount/allOf[subschema #2]/count/additionalProperties/weeklyExecutionCounts/allOf[subschema #2]/ends`
  - added the new `YEAR` enum value to the request property `additionalProperties/executionStatusCount/allOf[subschema #2]/count/additionalProperties/dailyExecutionCounts/allOf[subschema #2]/interval`
  - …2 more
- **2025-11-12** `ec3f84f1e69e` — 1 info
  - endpoint added
- **2025-11-12** `52f0ecb5c8ca` — 1 breaking
  - api path removed without deprecation
- **2025-11-07** `45c648809a0c` — 1 info
  - added the new optional request property `additionalProperties/executionStatusCount/allOf[subschema #2]/count/additionalProperties/monthlyExecutionCounts`

[Full history](https://skmtc.dev/dockstore/apis/dockstore-api/changes/api/ga4gh/v2/extended/:id/aggregatedMetrics/put.md)

---

[API](https://skmtc.dev/dockstore/apis/dockstore-api.md) · [All operations](https://skmtc.dev/dockstore/apis/dockstore-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/dockstore/dockstore-api/revisions/9d82a4e96aa7/schema)
