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
Pythonlangsmithresourcesannotation_queuesitemsAsyncItemsResourcelist
Method●Since v0.14

list

Copy
list(
  self,
  queue_id: str,
  *,
  status: Literal['needs_my_review',
View source on GitHub
'needs_others_review'
,
'archived'
]
,
agreement
:
Literal
[
'disagreed'
]
|
Omit
=
omit
,
cursor
:
str
|
Omit
=
omit
,
direction
:
Literal
[
'forward'
,
'backward'
]
|
Omit
=
omit
,
has_unresolved_keys
:
bool
|
Omit
=
omit
,
item_type
:
Literal
[
'RUN'
,
'THREAD'
]
|
Omit
=
omit
,
max_start_time
:
Union
[
str
,
datetime
]
|
Omit
=
omit
,
min_start_time
:
Union
[
str
,
datetime
]
|
Omit
=
omit
,
page_size
:
int
|
Omit
=
omit
,
extra_headers
:
Headers
|
None
=
None
,
extra_query
:
Query
|
None
=
None
,
extra_body
:
Body
|
None
=
None
,
timeout
:
float
|
httpx
.
Timeout
|
None
|
NotGiven
=
not_given
)
->
AsyncPaginator
[
ItemListResponse
,
AsyncItemsCursorGetPagination
[
ItemListResponse
]
]

Parameters

NameTypeDescription
status*Literal['needs_my_review', 'needs_others_review', 'archived']

Review section: needs_my_review, needs_others_review, or archived

agreementLiteral['disagreed'] | Omit
Default:omit

Only completed items whose reviewers disagreed on at least one rubric key. Returns 501 unless multi-reviewer queues are on for the workspace. Requires status=archived

cursorstr | Omit
Default:omit
directionLiteral['forward', 'backward'] | Omit
Default:omit
has_unresolved_keysbool | Omit
Default:omit
item_typeLiteral['RUN', 'THREAD'] | Omit
Default:omit
max_start_timeUnion[str, datetime] | Omit
Default:omit
min_start_timeUnion[str, datetime] | Omit
Default:omit
page_sizeint | Omit
Default:omit
extra_headersHeaders | None
Default:None
extra_queryQuery | None
Default:None
extra_bodyBody | None
Default:None
timeoutfloat | httpx.Timeout | None | NotGiven
Default:not_given

List RUN and THREAD items in a single annotation queue for one review status section, with opaque cursor pagination. Optional item_type=RUN|THREAD filters the page. Optional min_start_time/max_start_time bound the item's trace start time; items with no start time are excluded when either bound is set. direction=backward returns items before the supplied cursor. The response contains item metadata only, not expanded run or thread payloads. status=archived returns items whose queue review requirements have been satisfied, not merely items the caller personally marked completed.

Opaque pagination cursor

Pagination direction. backward requires cursor

Only completed items that do (true) or do not (false) still have a disagreed rubric key with no final answer. Items with no agreement result match neither value. Returns 501 unless multi-reviewer queues are on for the workspace. Requires status=archived

Filter to RUN or THREAD

Only items whose trace start time is at or before this timestamp. Omit or send the zero time for no bound

Only items whose trace start time is at or after this timestamp. Omit or send the zero time for no bound

Page size (max 100)

Send extra headers

Add additional query parameters to the request

Add additional JSON properties to the request

Override the client-level default timeout for this request, in seconds