---
title: "Get parameter sets"
method: GET
path: "/api/{projectId}/performance-calibration/parameter-sets"
tags: ["PerformanceCalibration"]
---

# Get parameter sets

`GET /api/{projectId}/performance-calibration/parameter-sets`

## Request

- Base URL: `https://studio.edgeimpulse.com/v1`
- URL: `https://studio.edgeimpulse.com/v1/api/{projectId}/performance-calibration/parameter-sets`
- Auth: one of:
  - API key in header `x-api-key`
  - API key in cookie `jwt`
  - API key in header `x-jwt-token`
  - OAuth 2
    - Authorization code: `/v1/oauth/authorize`
    - Client credentials
    - Implicit: `/v1/oauth/authorize`
    - Password
    - Token URL: `/v1/oauth/token`
- TypeScript: <https://skmtc.dev/edgeimpulse/apis/edge-impulse-api/docs/api/:projectId/performance-calibration/parameter-sets/get.ts> (a function with typed inputs; its response is checked against the schema)

Get performance calibration parameter sets

## Path parameters

- `projectId` integer, required

## Query parameters

- `impulseId` integer

## Response `200`

File

- GetPerformanceCalibrationParameterSetsResponse
  - `success` boolean, required: Whether the operation succeeded
  - `error` string: Optional error description (set if 'success' was false)
  - `parameterSets` PerformanceCalibrationParameterSet[], required
    - `detections` PerformanceCalibrationDetection[], required: All of the detections using this parameter set
      - `time` integer, required: The time of the detection in milliseconds
      - `label` string, required: The label that was detected
    - `isBest` boolean, required: Whether this is considered the best parameter set
    - `labels` string[], required: All of the possible labels in the detections array
    - `aggregateStats` object, required
      - `falsePositiveRate` number, required
      - `falseNegativeRate` number, required
    - `stats` object[], required
      - `label` string, required
      - `truePositives` integer, required
      - `falsePositives` integer, required
      - `falseNegatives` integer, required
      - `trueNegatives` integer, required
      - `falsePositiveRate` number, required
      - `falseNegativeRate` number, required
      - `falsePositiveDetails` PerformanceCalibrationFalsePositive[]: The details of every false positive detection.
        - `type` 'incorrect' | 'duplicate' | 'spurious', required: The type of false positive. Incorrect is when a detection matches the wrong ground truth. Duplicate is when the same ground truth was detected more than once. The first correct detection is considered a true positive but subsequent detections are considered false positives. Spurious is when the detection was not associated with any ground truth.
        - `detectionTime` integer, required: The time of the detection in milliseconds
        - `groundTruthLabel` string: The label of any associated ground truth
        - `groundTruthStart` number: The start time of any associated ground truth
        - `sampleIds` integer[]: All of the sample IDs in the affected region
      - `falseNegativeTimes` number[], required: The times in ms at which false negatives occurred. These correspond to specific items in the ground truth.
    - `params` PerformanceCalibrationParameters, required
      - `type` 'standard', required: The post-processing algorithm type.
      - `version` integer, required: The version number of the post-processing algorithm.
      - `parametersStandard` PerformanceCalibrationParametersStandard
        - `averageWindowDurationMs` number, required: The length of the averaging window in milliseconds.
        - `detectionThreshold` number, required: The minimum threshold for detection, from 0-1.
        - `suppressionMs` number, required: The amount of time new matches will be ignored after a positive result.
    - `windowSizeMs` number, required: The size of the input block window in milliseconds.

---

[API](https://skmtc.dev/edgeimpulse/apis/edge-impulse-api.md) - [All operations](https://skmtc.dev/edgeimpulse/apis/edge-impulse-api/llms.txt) - [OpenAPI document](https://skmtc.dev/edgeimpulse/apis/edge-impulse-api/revisions/e2a976d38427?raw)
