ChatGPT

Schema

File: 1_parsed_conversations.json

{
  "company": "OpenAI",
  "name": "ChatGPT",
  "runID": "chatgpt-001",
  "timestamp": 1731700918119,
  "content": [
    {
      "title": "Title of the page",
      "messages": [
        {
          "text": "Content of the message",
          "type": "human" | "ai",
          "timestamp": 1731599217.951566
        },
        ...
      ]
    },
    ...
  ]
}

Export Process

Steps:

  • The app goes to https://chatgpt.com/#settings/DataControls.
  • The app then clicks the Export button.
  • The app then goes to the user's gmail inbox and waits for the email from ChatGPT.
  • Once the email is received, the app opens the email and downloads the zip file.
  • The app then parses the conversations.json file for better readability.

Files for reference:

  • chatgpt.js
  • platforms.ts
  • main.ts