Greetings @vichetan! I haven’t played with APIM at all, however, I did some research and it looks like there is an az cli command that can be of assistance - az apim api import.
In your response, you have mentioned “specification-url”. Do we need to pass specific url or can we use existing file from Azure DevOps repository / file from nuget package?
That was the example from the Microsoft Documentation. --specification-url is an optional parameter. In your case, I think you’d want to use the --specification-path parameter instead to specify a file.
--specification-path
File path specified to import the API.