langsmith.client.Client.get_run_from_annotation_queue#

Client.get_run_from_annotation_queue(queue_id: UUID | str, *, index: int) RunWithAnnotationQueueInfo[source]#

Get a run from an annotation queue at the specified index.

Parameters:
  • queue_id (ID_TYPE) – The ID of the annotation queue.

  • index (int) – The index of the run to retrieve.

Returns:

The run at the specified index.

Return type:

ls_schemas.RunWithAnnotationQueueInfo

Raises:
  • ls_utils.LangSmithNotFoundError – If the run is not found at the given index.

  • ls_utils.LangSmithError – For other API-related errors.