---
title: "Get specification versions"
method: GET
path: "/getSpecificationVersion"
tags: ["Specifications"]
---

# Get specification versions

`GET /getSpecificationVersion`

Use this API operation to get (a) specification version(s) for an analysis set.

## Query parameters

- `setId` integer, required
- `indexValue` string

## Response `200`

The output will be a JSON-encoded object with two properties: startDateTime and specs. The latter is another object with properties for each spec field (numeric or select type).

If the specification version is generic, a third property (`generic`) will be present. A generic specification version applies to all index values.

- GetSpecificationVersionSchema
  - `startDateTime` string, datetime
  - `generic` boolean
  - `specs` Specs
    - `numericfield` object
      - `min` integer, nullable
      - `innermin` integer, nullable
      - `goal` integer, nullable
      - `innermax` integer, nullable
      - `max` integer, nullable
    - `selectfield` string[]

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