# Import an AI chat export **POST /extraction/ai-chat/import** Creates an import job in the extraction code's case for an uploaded AI chat export (Claude, ChatGPT or Gemini), marks the data source as pending and queues the import. Returns 400 if the file was already imported. ## Servers - http://api.example.com: http://api.example.com () ## Authentication methods - Access token ## Parameters ### Body: application/json (object) - **fileId** (string) UserFile ID of the uploaded zip - **platform** (string) AI platform: claude, chatgpt, or gemini - **extractionCode** (string) Extraction code string (optional) ## Responses ### 201 #### Body: application/json (object) - **data** (object) - **statusCode** (number) - **timestamp** (string(date-time)) [Powered by Bump.sh](https://bump.sh)