---
title: Managing AI engine training
description: The API Behavioral Security (ABS) AI engine needs to be trained before it can detect attacks on application programming interface (API) services.
component: pingintelligence
version: 5.2
page_id: pingintelligence:managing_pingintelligence_for_apis:pingintelligence_managing_ai_engine_training
canonical_url: https://docs.pingidentity.com/pingintelligence/5.2/managing_pingintelligence_for_apis/pingintelligence_managing_ai_engine_training.html
revdate: June 7, 2024
---

# Managing AI engine training

The API Behavioral Security (ABS) AI engine needs to be trained before it can detect attacks on application programming interface (API) *(tooltip: \<div class="paragraph">
\<p>A specification of interactions available for building software to access an application or service.\</p>
\</div>)* services.

The ABS AI Engine training is governed by global variables that are configured using [Global configuration update REST API](../pingintelligence_reference_guide/pingintelligence_global_configuration_update_rest_api.html). The AI training runs for the minimum training time set, but a minimum amount of data must also be received before the training period is complete for a given API. You can check the [training status](pingintelligence_training_period_status.html) by using the [Admin REST API](../pingintelligence_reference_guide/pingintelligence_admin_rest_api.html).

The ABS AI Engine must be trained on an API before it can be secured. Whenever a new API is added, ABS automatically trains on the new API before looking for attacks.
