LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • Client
  • AsyncClient
  • Run Helpers
  • Run Trees
  • Evaluation
  • Schemas
  • Utilities
  • Wrappers
  • Anonymizer
  • Testing
  • Expect API
  • Middleware
  • Pytest Plugin
  • Deployment SDK
⌘I

Chat LangChain

What can I help with?

Enter to send·Shift+Enter new line

Menu

OverviewClientAsyncClientRun HelpersRun TreesEvaluationSchemasUtilitiesWrappersAnonymizerTestingExpect APIMiddlewarePytest PluginDeployment SDK
Language
Theme
PythonlangsmithclientClientlist_runs_from_annotation_queue
Method●Since v0.14Deprecated

list_runs_from_annotation_queue

Copy
list_runs_from_annotation_queue(
  self,
  queue_id: ID_TYPE,
  *,
  status: Optional[Literal['needs_my_review', 
View source on GitHub
'needs_others_review'
,
'completed'
]
]
=
None
,
limit
:
Optional
[
int
]
=
None
)
->
Iterator
[
ls_schemas
.
RunWithAnnotationQueueInfo
]

Parameters

NameTypeDescription
queue_id*Union[UUID, str]

The ID of the annotation queue.

statusOptional[Literal['needs_my_review', 'needs_others_review', 'completed']]
Default:None

Filter runs by review status. If None, returns runs across all review states.

limitOptional[int]
Default:None

List runs in an annotation queue with the specified queue_id.

.. admonition:: Deprecated

Use :meth:`langsmith.Client.annotation_queues.items.list` instead.
See https://docs.langchain.com/langsmith/smithdb-sdk-migration-feedback#annotation-queues-read-runs for the migration guide.
Will be removed after Jan 31, 2027.

The maximum number of runs to return.