Using the Azure AI Agents - Trying to make a REST Call to get steps details - API Version not supported

Siry, Gaetan 220 Reputation points
2025-05-26T20:02:19.1833333+00:00

Hello,

I am using the Azure AI Agents and am trying to get the details of a run. I keep getting an error message

Content = "{"error":{"code":"BadRequest","message":"API version not supported"}}"

this is the call :

{https://[myprojectnameendpoint/api/projects/[myprojectname]/threads/thread_LNUA3VHuLW2soRWCT8aQUai9/runs/run_HAoNuUEggulETlUcGAm4u8Te/steps/step_fGeUDJpjqDOcHnqoFvR8dvi5?include[]=step_details.tool_calls[].file_search.results[].content&api-version=2024-10-21}

What api version do i need to pass for this to work ?

Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
3,602 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Azar 29,520 Reputation points MVP Volunteer Moderator
    2025-05-26T21:04:17.19+00:00

    Hi there Siry, Gaetan

    Thanks for using QandA platform

    Make that the api-version parameter you're using (2024-10-21) is supported for the specific endpoint you're calling. Azure services often have different API versions for different endpoints.

    Update the API Version: If 2024-10-21 is not supported for the endpoint you're accessing, update it to a supported version as indicated in the documentation.

    If nothing helps kindly accept the answer thanks much.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.