Error call Openai API link. Kindly help

Hello everyone, please my call to

https ://api.openai .com/v1/

gives me this

{
“error”: {
“message”: “Invalid URL (GET /v1/)”,
“type”: “invalid_request_error”,
“param”: null,
“code”: null
}
}

Kindly help.

Hi,

Are you using the OpenAI API? is this a CURL call? please give us some more information, what you have provided is not enough to make a determination of your issue.

https://api.openai.com/v1/ is not a valid endpoint. Double check the API docs for the correct URL for your task.