langsmith.async_client.AsyncClient.share_run#
- async AsyncClient.share_run(run_id: UUID | str, *, share_id: UUID | str | None = None) → str[source]#
Get a share link for a run asynchronously.
- Parameters:
run_id (ID_TYPE) – The ID of the run to share.
share_id (Optional[ID_TYPE], optional) – Custom share ID. If not provided, a random UUID will be generated.
- Returns:
The URL of the shared run.
- Return type:
str
- Raises:
httpx.HTTPStatusError – If the API request fails.