API and "AI enhanced" features

Hello,
I am seeking information about the “AI enhancements” included in the 2025.1 LTA release, specifically regarding the data accessible through the API. We are interested in obtaining metrics related to AI usage, such as:

  • Applied “AI code fix suggestions”
  • The number of repositories utilizing AI code
  • Other relevant AI-related metrics

Could you please provide details on the API endpoints we can use to access this information? Additionally, if there are any other AI-related features or data exposed by the API, I would appreciate your insights.

Thank you for your assistance!

Version: Data Center Edition v2025.4 (108913)

Hey Juan

I don’t believe this stat is available.

In the context of AI Code Autodetection, you could use the internal GET api/projects/get_detected_ai_code or GET api/projects/get_contains_ai_code for those that have been manually confirmed to contain AI-generated code. You’d have to iterate through every project (GET api/projects/search) to pull stats for every project.

The Web API documentation is always available in the footer of your instance.

1 Like