Collections

Creates a job to migrate all chat sessions from one collection to another.

Creates a job to migrate all chat sessions from the source collection (specified in path) to the destination collection (specified in request body). Only the collection owner can perform this operation.

post/collections/{collection_id}/migrate_chat_sessions_job

Request

Path parameters

collection_idstring required

Id of the source collection (where chat sessions will be migrated from).

Query parameters

timeoutnumber double

Timeout in seconds

Request body

target_collection_idstring required

The UUID of the target collection to migrate chat sessions to.

Response

Successful operation

idstring required
namestring required
overall_status'in progress' | 'completed' | 'failed' | 'canceled' required
statusstring
passed_percentagenumber double required
failed_percentagenumber double required
progressnumber double required
created_atstring date-time required
updated_atstring date-time required
kindstring required
errorsstring[] required
durationstring required
duration_secondsnumber double required
canceled_bystring
cancel_reasonstring
timeoutnumber double
start_timenumber double
files_totalinteger
files_failedinteger

Changes

No recorded changes to this operation across all 1 revision of this API.