OpenApi is not working properlly

Hi, I am trying to get response from the api, I have an app in android studio working with java, this is the call to the api:

Retrofit retrofit = new Retrofit.Builder()
                .baseUrl("https://api.openai.com/v1/")
                .addConverterFactory(GsonConverterFactory.create())
                .build();
        OpenAIAPIService apiService = retrofit.create(OpenAIAPIService.class);
        OpenAIRequest openAIRequest = new OpenAIRequest("text-davinci-003", phrase, 64, 0.5);
        Call<OpenAIResponse> call = apiService.getGPT35Response(APIKEY, openAIRequest);
 call.enqueue(new Callback<OpenAIResponse>() {
            @Override
            public void onResponse(Call<OpenAIResponse> call, Response<OpenAIResponse> response) {
                if (response.isSuccessful()) {}else{                    Toast.makeText(HomeActivity.this, "Error.", Toast.LENGTH_SHORT).show();
}

The other day this call was working, but today not, the api is not working? Or I have to update the call?