/files/:fileId/copy

POST {{baseUrl}}/files/{{fileId}}/copy?projectId={{projectId}}

Repredict a file in current or another project.

Request Params

KeyDatatypeRequiredDescription
projectIdstring

Request Body

{"destinationApiKey"=>"", "destinationProjectId"=>""}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"id":"2dc6aee3-3e86-4d5e-9758-0cdc36760d19","status":"FILE_RECEIVED","expires":1707951088,"fileKey":"2024/02/13/Sample - Original_2dc6aee3-3e86-4d5e-9758-0cdc36760d19","fileId":"2024-02-07T05:38:45.913Z_f955d362-7ea0-437b-b3b9-347d37f79a87"}