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

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

OverviewClientAsyncClientRun HelpersRun TreesEvaluationSchemasUtilitiesWrappersAnonymizerTestingExpect APIMiddlewarePytest PluginDeployment SDK
Language
Theme
Pythonlangsmithasync_clientAsyncClientlist_runs_from_annotation_queue
Method●Since v0.8

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
)
->
AsyncIterator
[
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. Must be one of "needs_my_review", "needs_others_review", or "completed". If None, returns runs across all review states.

limitOptional[int]
Default:None

List runs in an annotation queue with the specified queue_id.

The maximum number of runs to return.