langsmith.client.Client.read_example#

Client.read_example(example_id: UUID | str, *, as_of: datetime | None = None) Example[source]#

Read an example from the LangSmith API.

Parameters:
  • example_id (UUID) – The ID of the example to read.

  • as_of (datetime | None) –

Returns:

The example.

Return type:

Example