Skip to content

OpenAI / ChatGPT

The mappings below reflect observed export structures as of February 2026, verified against official OpenAI documentation and community-verified export data. OpenAI does not natively support PAM. These mappings are best-effort compatibility guidance. Provider export formats may change without notice. Importers MUST be versioned.

  1. Go to ChatGPT Settings → Data Controls → Export Data
  2. You’ll receive an email with a download link
  3. Download and extract the ZIP file
FileDescription
conversations.jsonAll conversation history as a JSON array with DAG structure
chat.htmlHuman-readable version (renders JSON via client-side JS)
user.jsonAccount metadata (id, email, phone, plan)
message_feedback.jsonThumbs-up/down ratings with text descriptions
shared_conversations.jsonConversations shared via public link
tool_messages.jsonTool-related responses and metadata
*.datDALL-E image assets (actually PNG files with C2PA metadata)
Provider fieldPAM fieldTransform
idprovider.conversation_iddirect
titletitledirect
create_timetemporal.created_atdatetime.fromtimestamp(v, tz=UTC).isoformat()
update_timetemporal.updated_atdatetime.fromtimestamp(v, tz=UTC).isoformat()
provider.namehardcode "chatgpt"

Messages are in mapping[message_id], not a flat array. Traverse by following parent and children references.

Provider fieldPAM fieldTransform
mapping[k].idprovider_message_iddirect
mapping[k].ididgenerate UUID or use original
mapping[k].parentparent_idmap provider ID to PAM ID
mapping[k].childrenchildren_idsmap provider IDs to PAM IDs
mapping[k].message.author.roleroleuseruser, assistantassistant, systemsystem, tooltool
mapping[k].message.content.content_typecontent.type"text""text", "multimodal_text""multipart"
mapping[k].message.content.parts[]content.text or content.parts[]join parts for text, split for multipart
mapping[k].message.create_timecreated_atUnix epoch float → ISO 8601
mapping[k].message.metadata.model_slugmodeldirect if present

PAM import support for ChatGPT is provided by official SDK Converters maintained by the PAM project. See the Importing Guide for general import instructions and the Provider Overview for the full compatibility matrix.