POST /v2/namespaces/{namespace}/async?stainless_overload=startCopyFrom

Changed on

Start copying all documents from another namespace into this one. Returns an operation token without waiting for the copy to finish. Use the token to poll for progress and the result.

Request

  • Base URL
    https://{region}.turbopuffer.com
  • Auth
    HTTP bearer

Path parameters

namespacestring required

The name of the namespace.

Request body

source_namespacestring required

The namespace to copy documents from.

source_api_keystring

(Optional) An API key for the organization containing the source namespace

source_regionstring

(Optional) The region of the source namespace.

Response

The copy was accepted for asynchronous execution.

tokenstring required

The token identifying the copy operation.

Changes