---
title: "Returns the values for the requested sources of the requested chains."
method: POST
path: "/server/redis/metrics"
tags: ["Redis"]
---

# Returns the values for the requested sources of the requested chains.

`POST /server/redis/metrics`

## Request body

- ChainSources
  - `parentIds` object
    - `unique_chain_id` object
      - `systems` object[]
      - `repos` object[]

## Response `200`

OK

- RedisMetricsOverview
  - `result` object
    - `unique_chain_id` object
      - `system` object
        - `unique_system_id` SystemMetrics
          - `s1` string
          - `s2` string
          - `s3` string
          - `s4` string
          - `s5` string
          - `s6` string
          - `s7` string
          - `s8` string
          - `s9` string
          - `s10` string
          - `s11` string
          - `s12` string
          - `s13` string
          - `s14` string
          - `s15` string
      - `github` object
        - `unique_github_id` GithubMetrics
          - `gh1` string
          - `gh2` string

## Other responses

- `532` — Error: Missing key(s) in request body.
- `533` — Error: Redis client not initialised.
- `534` — Error: Could not retrieve data from Redis.
- `538` — Error: JSON does not obey the required schema.

---

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