# Register an uploaded file **POST /extraction/file/register** Creates a file record for a file already uploaded to S3, by its key, so it can then be imported (for example an AI chat export). If a record for that key already exists, it is returned instead. Returns 404 if the key is not in S3. Only keys under ai-chat/, linkedin-imports/ or case-files// can be registered (403 otherwise). ## Servers - http://api.example.com: http://api.example.com () ## Authentication methods - Access token ## Parameters ### Body: application/json (object) - **fileKey** (string) S3 file key (path in bucket) - **type** (string | null) Override content type. If not provided, uses S3 metadata. ## Responses ### 201 #### Body: application/json (object) - **data** (object) - **statusCode** (number) - **timestamp** (string(date-time)) [Powered by Bump.sh](https://bump.sh)