---
title: "GET /v1/metrics/runs-timeseries"
method: GET
path: "/v1/metrics/runs-timeseries"
---

# GET /v1/metrics/runs-timeseries

`GET /v1/metrics/runs-timeseries`

Get time-series data for workflow runs (total, success, failure)

## Query parameters

- `from` integer, required
- `to` integer, required
- `granularity` string, required

## Response `200`

OK

- GetRunsTimeSeriesSuccessResponse
  - `code` integer
  - `data` RunsTimeSeriesData
    - `data` GithubComB3FunB3MonoServicesB3osWorkflowInternalPkgEntityRunsTimeSeriesPoint[] — Time-series data points
      - `bucketStart` string
      - `failure` integer
      - `success` integer
      - `total` integer
    - `granularity` string — "hourly" or "daily"
  - `message` string
  - `requestId` string

## Other responses

- `400` — Bad Request
- `500` — Internal Server Error

---

[API](https://skmtc.net/b3-fun/apis/b3os-workflow-api.md) · [All operations](https://skmtc.net/b3-fun/apis/b3os-workflow-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/b3-fun/b3os-workflow-api/versions/5a750a5a9596/schema)
