---
title: "GET /v1/namespaces/{namespace}/operations/{token}?stainless_overload=pollCopyFrom"
method: GET
path: "/v1/namespaces/{namespace}/operations/{token}?stainless_overload=pollCopyFrom"
---

# GET /v1/namespaces/{namespace}/operations/{token}?stainless_overload=pollCopyFrom

`GET /v1/namespaces/{namespace}/operations/{token}?stainless_overload=pollCopyFrom`

## Request

- Base URL: `https://{region}.turbopuffer.com`
- URL: `https://{region}.turbopuffer.com/v1/namespaces/{namespace}/operations/{token}?stainless_overload=pollCopyFrom`
- Auth: HTTP bearer

Retrieve the current status of a copy operation.

## Path parameters

- `namespace` string, required
- `token` string, required

## Response `200`

The current status of the copy operation.

- union: The current status of a copy operation.
  - object: The copy is still in progress.
    - `status` 'running', required
    - `start_time` string, date-time, required: The time at which the operation started.
    - `progress` string: A freeform description of the operation's progress. May be absent, and its format may change.
  - object: The copy has finished, successfully or not.
    - `status` 'finished', required
    - `start_time` string, date-time, required: The time at which the operation started.
    - `finish_time` string, date-time, required: The time at which the operation finished.
    - `result` union, required: The result of a finished copy operation.
      - object
        - `success` WriteResult, required: The response to a successful write request.
          - `status` 'OK', required: The status of the request.
          - `message` string, required: A message describing the result of the write request.
          - `rows_affected` integer, required: The number of rows affected by the write request.
          - `rows_upserted` integer: The number of rows upserted by the write request.
          - `rows_patched` integer: The number of rows patched by the write request.
          - `rows_deleted` integer: The number of rows deleted by the write request.
          - `rows_remaining` boolean: Whether more documents match the filter for partial operations.
          - `upserted_ids` Id[]: The IDs of documents that were upserted. Only included when `return_affected_ids` is true and at least one document was upserted.
            - union: An identifier for a document.
              - …
          - `patched_ids` Id[]: The IDs of documents that were patched. Only included when `return_affected_ids` is true and at least one document was patched.
            - union: An identifier for a document.
              - …
          - `deleted_ids` Id[]: The IDs of documents that were deleted. Only included when `return_affected_ids` is true and at least one document was deleted.
            - union: An identifier for a document.
              - …
          - `billing` WriteBilling, required: The billing information for a write request.
            - `billable_logical_bytes_written` integer, required: The number of billable logical bytes written to the namespace.
            - `query` QueryBilling: The billing information for a query.
              - …
          - `performance` WritePerformance: The performance information for a write request.
            - `server_total_ms` integer, required: Request time measured on the server, in milliseconds.
            - `embedding_tokens` integer: The number of tokens embedded. Only set when using a native embedding model.
            - `embedding_ms` integer: Time spent embedding text, in milliseconds. Only set when using a native embedding model.
      - object
        - `error` OperationError, required: The error of an asynchronous operation that failed.
          - `status_code` integer, required: The HTTP status code of the operation's error.
          - `detail` ErrorResponse, required: The response to an unsuccessful request.
            - `status` 'error', required: The status of the request.
            - `error` string, required: The error message.

## Other responses

- `default`: An error response.

## Changes

- **2026-10-08** `b7b110f96b73`: 2 info
  - added the optional property `oneOf[subschema #2: finished]/result/oneOf[subschema #1: success]/success/allOf[#/components/schemas/WriteResult]/performance/embedding_ms` to the response with the `200` status
  - added the optional property `oneOf[subschema #2: finished]/result/oneOf[subschema #1: success]/success/allOf[#/components/schemas/WriteResult]/performance/embedding_tokens` to the response with the `200` status
- **2026-09-17** `ac76e8da9620`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/turbopuffer/apis/turbopuffer-api/changes/v1/namespaces/:namespace/operations/:token%3Fstainless_overload=pollCopyFrom/get.md)

---

[API](https://skmtc.dev/turbopuffer/apis/turbopuffer-api.md) - [All operations](https://skmtc.dev/turbopuffer/apis/turbopuffer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/turbopuffer/apis/turbopuffer-api/revisions/1db3a23efec4?raw)
