Copy a thread.
copy(
self,
thread_id: str,
*,
headers: Mapping[str, str] | None = None,
params: QueryParamTypes | None = None
) -> Noneclient = get_client(url="http://localhost:2024)
await client.threads.copy(
thread_id="my_thread_id"
)| Name | Type | Description |
|---|---|---|
thread_id* | str | The ID of the thread to copy. |
headers | Mapping[str, str] | None | Default: NoneOptional custom headers to include with the request. |
params | QueryParamTypes | None | Default: NoneOptional query parameters to include with the request. |