---
title: GET Threshold
description: The GET method in Threshold API fetches the threshold values for attack types.
component: pingintelligence
version: 5.1
page_id: pingintelligence:abs_ai_engine:pingintelligence_get_threshold
canonical_url: https://docs.pingidentity.com/pingintelligence/5.1/abs_ai_engine/pingintelligence_get_threshold.html
revdate: April 26, 2024
---

# GET Threshold

The GET method in Threshold API fetches the threshold values for attack types.

**Method**: GET

**URL for an API**: `/v4/abs/attack/threshold?api=<api_name>`

**URL for across API**: `/v4/abs/attack/threshold?id=<type_id>`. The API name is not specified in the URL for fetching the threshold value. Type ID is the [attack ID](pingintelligence_attack_types_rest_websocket_apis.html).

|                | **Header** | **Value**  |
| -------------- | ---------- | ---------- |
| **Access Key** | `x-abs-ak` | `<string>` |
| **Secret Key** | `x-abs-sk` | `<string>` |

**Sample Response for an API**

```json
{
    "company": "ping identity",
    "name": "api_threshold",
    "description": "This report contains threshold settings for all the across API Attack IDs",
    "thresholds": [
         {
            "id": 1,
            "type": "data_exfiltration_attack",
            "user": {
                "A": {
                    "tn": "18",
                    "tx": "20"
                },
                "B": {
                    "tn": "18",
                    "tx": "20"
                }
            },
            "system": {
                "A": {
                    "tn": "22",
                    "tx": "24"
                },
                "B": {
                    "tn": "4",
                    "tx": "6"
                },
                "C": {
                    "tn": "2",
                    "tx": "4"
                }
            }
        },
        {
            "id": 2,
            "type": "single_client_login_attack",
            "system": {
                "A": {
                    "tn": "5",
                    "tx": "7"
                },
                "B": {
                    "tn": "5",
                    "tx": "7"
                }
            }
        },
}
```

**Sample response for across API**

```json
{
    "company": "ping identity",
    "name": "api_threshold",
    "description": "This report contains threshold settings for the specified API",
    "api_name": "access_token",
    "threshold": [
        {
            "type": "extended_stolen_access_token",
            "system": {
                "A": {
                    "tn": "2",
                    "tx": "na"
                },
                "B": {
                    "tn": "1",
                    "tx": "na"
                },
                "C": {
                    "tn": "1",
                    "tx": "na"
                }
            }
        }
    ]
}
```
