# Start an AI chat import (internal) **POST /ai-chat/{caseId}/import** Desktop plumbing: creates an import job for an uploaded ChatGPT, Claude or Gemini export file, marks the case's AI chat data source as pending, and queues the import. Returns 400 if the file was already imported successfully, and 404 if the file or extraction code is not found. Not available to opposing counsel. ## Servers - http://api.example.com: http://api.example.com () ## Authentication methods - Access token ## Parameters ### Path parameters - **caseId** (string) ### 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)