Actually, Conversation ID and Parent Id are present in playground examples while chatting but coming to API both Conversation ID and Parent ID not providing. when should we expect to provide those IDs in the API response? If you provide this quickly we will be very thankful to you.
Where are you seeing those IDs? I wouldn’t expect them in the API
If you’re using the API you need to keep track of conversations yourself.
For a long running conversation you should be sending up the previous interactions to keep state.
Have a look at this for a simple example: GitHub - atomic14/command_line_chatgpt: A command line chat bot using the ChatGPT API from OpenAI