Import API - Creates a collection, but doesn't create the API

The import/openapi function in the Postman API works as far as creating a new collection for that API, but it doesn’t actually create the API under the APIs tab.

Here is how it starts:

curl --location --request POST 'https://api.getpostman.com/import/openapi' \
--header 'x-api-key: <my API key>' \
--header 'Content-Type: application/json' \
--data-raw '{
 "type": "json",
"input":{
"openapi": "3.0.1",
"info": {
"title": "ABC.API",
"version": "v1"
},

etc.

This creates a collection called ABC.API.

I am trying to automate the import-from-json process.

Goal: use the Postman API to create the API in Postman, not just the collection.

Thanks