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
Pythonlangsmith_openapi_clientresourcesannotation_queuesitemsItemsResource
Classā—Since v0.10

ItemsResource

Copy
ItemsResource(
    self,
    client: Langsmith,
)

Bases

SyncAPIResource

Methods

View source on GitHub
method
with_raw_response
method
with_streaming_response
method
create
method
update
method
list
method
create_status
method
delete_all
method
retrieve_count
method
retrieve_placement

This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content.

An alternative to .with_raw_response that doesn't eagerly read the response body.

Add RUN or THREAD items to a single annotation queue.

RUN items require run_id unless they are created from a suggested example. THREAD items require thread_id and project_id.

Partially update mutable timestamps (added_at, last_reviewed_time) for a RUN or THREAD annotation queue item. Omit a field, or pass JSON null, to leave it unchanged.

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. 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.

Log the caller's reviewer status for a RUN or THREAD annotation queue item.

A null status re-shows the item for this reviewer.

Remove RUN or THREAD items from a single annotation queue by item ID.

Returns the number of annotation queue items for the requested reviewer-specific or archived bucket.

Resolve a RUN or THREAD item to its current review section and zero-based position for deep linking.