> ## Documentation Index
> Fetch the complete documentation index at: https://docs.orcrev.fit/llms.txt
> Use this file to discover all available pages before exploring further.

# All Metrics

> Get metrics for all services at once

# All Metrics

Retrieve peak metrics for all services in a single request. Optimized for dashboard views.

## Response

<ResponseField name="metrics" type="object">
  Object with service slugs as keys

  <Expandable title="Metrics Object">
    <ResponseField name="[slug]" type="object">
      Metrics for each service

      <Expandable title="Service Metrics">
        <ResponseField name="top24" type="number">
          Peak online in last 24 hours
        </ResponseField>

        <ResponseField name="topAll" type="number">
          All-time peak online
        </ResponseField>
      </Expandable>
    </ResponseField>
  </Expandable>
</ResponseField>

## Example Request

```bash theme={null}
curl -X GET "https://www.orcrev.fit/api/metrics/all"
```

## Example Response

```json theme={null}
{
  "metrics": {
    "service-one": {
      "top24": 5420,
      "topAll": 12850
    },
    "service-two": {
      "top24": 2100,
      "topAll": 8500
    },
    "service-three": {
      "top24": 890,
      "topAll": 3200
    }
  }
}
```

<Note>
  This endpoint uses `no-store` caching to ensure real-time data. Use sparingly to avoid unnecessary load.
</Note>

<ResponseExample>
  ```json Response theme={null}
  {
    "metrics": {
      "service-one": {
        "top24": 5420,
        "topAll": 12850
      },
      "service-two": {
        "top24": 2100,
        "topAll": 8500
      }
    }
  }
  ```
</ResponseExample>
