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

# Get capability statistics for analysis set fields

`GET /getSpecificationEvaluation`

Use this API operation to get in-depth statistics of specification evaluation and product and process capability for an analysis set's numeric fields.

## 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 `avg` represents the average of all the values of the field

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

The `cp` represents the Cp value

The `cpk` represents the Cpk value

The `pp` represents the Pp value

The `ppk` represents the Ppk value

The `lcl` represents the Computed value: Average - 3x standard deviation

The `ucl` represents the Computed value: Average + 3x standard deviation

- union
  - object[]
  - SpecificationsEvaluation

## 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)
