---
title: "Get descriptive statistics for analysis set fields"
method: GET
path: "/getStatistics"
tags: ["Statistics"]
---

# Get descriptive statistics for analysis set fields

`GET /getStatistics`

Use this API operation to get descriptive statistics for numeric analysis set fields of your choice.

## Query parameters

- `setId` integer, required
- `fields` string, required
- `limit` integer
- `filter` string

## Response `200`

The output will be a JSON-encoded array. Each array element contains the following JSON object:

The `count` represents the number of values

The `no-spec` represents the number of values without spec

The `in-spec` represents the number of values within spec bandwidth

The `offspec-internal` represents the number of values off-spec in the internal spec range

The `offspec-external` represents the number of values off-spec in the external spec range

The `min` represents the minimum value of the field

The `max` represents the maximum value of the field

The `sum` represents the sum of all the values of the field

The `avg` represents the average of all the values of the field

The `stddev` represents the standard deviation of all the values of the field

- object[]

## Other responses

- `304` — Not Modified
- `400` — Bad Request
- `403` — Forbidden
- `429` — Too many requests

---

[API](https://skmtc.net/alisqi/apis/alisqi-api.md) · [All operations](https://skmtc.net/alisqi/apis/alisqi-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/alisqi/alisqi-api/versions/0b7557342fcf/schema)
