---
title: "Get asset run history histogram"
method: GET
path: "/assets/{id}/run-history/histogram"
tags: ["assets"]
---

# Get asset run history histogram

`GET /assets/{id}/run-history/histogram`

Get histogram data for asset run history over specified period

## Path parameters

- `id` string, required

## Query parameters

- `period` string

## Response `200`

OK

- HistogramResponse
  - `buckets` HistogramBucket[]
    - `abort` integer
    - `complete` integer
    - `date` string
    - `fail` integer
    - `other` integer
    - `running` integer
    - `total` integer
  - `period` string

## Other responses

- `400` — Bad Request
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.net/marmotdata/apis/marmot-api.md) · [All operations](https://skmtc.net/marmotdata/apis/marmot-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/marmotdata/marmot-api/revisions/ba1b1c4be2e7/schema)
