#How to recover your chats

1 messages · Page 1 of 1 (latest)

prime heath
#

If you want to recovery your history, follow this simple tutorial:

Go to ChatGPT, press Ctrl + Shift + C and go to network tab

#

Refresh the page and right click on the following message

#

You will see something like this:

#

Filter to Fetch/XHR and right click "models", then Copy -> Copy as Fetch

Go to console tab and paste it
modify the first line to

fetch("https://chat.openai.com/backend-api/conversations", {
#

Delete the last ";" and paste this at the end.

  .then(response => response.json())
  .then(data => console.log(data))
  .catch(error => console.error(error));

And you will have something like this:

#

These are your last 50 conversations!

#

How to recover your chats

dapper portal
#

does this do anything bad to our computer or?

prime heath
#

No, the API you are calling is the one used by Chat GPT, and all traffic is between you and OpenAI

#

You can verify this by copying and pasting what is written in the console and asking ChatGPT if you are sending a request to someone other than OpenAI

#

Basically, what you are doing is calling the conversation history, the only difference is that the page hid this option due to a bug or something in particular.

azure salmon
prime heath
#

there

#

It says /models by default, you should change it to /conversations

azure salmon
#

no, the other one
it doesn't work

prime heath
#

Ahhh, you must paste it at the end, after the last ")"

azure salmon
#

it looks like this now

prime heath
#

for example:

fetch("https://chat.openai.com/backend-api/conversations", {
  "headers": {
    "accept": "*/*",
    "accept-language": "es-ES,es;q=0.9",
    "authorization": "Bearer ",
    "content-type": "application/json",
    "sec-ch-ua": "\"Opera GX\";v=\"95\", \"Chromium\";v=\"109\", \"Not;A=Brand\";v=\"24\"",
    "sec-ch-ua-mobile": "?0",
    "sec-ch-ua-platform": "\"Windows\"",
    "sec-fetch-dest": "empty",
    "sec-fetch-mode": "cors",
    "sec-fetch-site": "same-origin"
  },
  "referrer": "https://chat.openai.com/chat",
  "referrerPolicy": "same-origin",
  "body": null,
  "method": "GET",
  "mode": "cors",
  "credentials": "include"
})
  .then(response => response.json())
  .then(data => console.log(data))
  .catch(error => console.error(error));
#

Delete that ";"

#

@azure salmon Now it works for you?

azure salmon
#

so... now what?

prime heath
#

Open "items" there are all the IDs of your conversations.

prime heath
#

Apparently you don't have any, I have this result

#

Now I open it and I have this:

azure salmon
#

i have nothing in items

prime heath
#

Hmmm

#

Create a conversation and try again

#

to see if at least one is generated

azure salmon
prime heath
#

Your conversations are not being saved, do you have the free or paid version of ChatGPT?

#

Perhaps only Plus conversations are being saved

azure salmon
#

i generated a new chat but it's the same
i have the free version is that the cause?

prime heath
#

maybe, it seems that OpenAI cleared the free account history

#

Or maybe you just don't have them available

dapper portal
#

i got my chat back

prime heath
#

Yep, I was looking at the same post

#

Well, if something similar happens again, try that and maybe it will help 😄

dry jungle
# prime heath

excuse me how do you get that extra bar that contains "Use large request rows" "Show overview" "Group by frame" and "Capture screenshots" options??

lost vessel
#

I pasted this in the console (edge), which restored the sidebar entries. When going to each of the sidebars my latest conversations are there. However my older history containing any sort of code is unrecoverable.