AsyncExamplesResource(
self,
client: AsyncLangsmith,
)This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content.
For more information, see https://www.github.com/langchain-ai/langsmith-python#accessing-raw-response-data-eg-headers
An alternative to .with_raw_response that doesn't eagerly read the response body.
For more information, see https://www.github.com/langchain-ai/langsmith-python#with_streaming_response
Soft-delete an example, preserving prior versions and their attachments.
If the latest version is already deleted, the request succeeds without creating another version. Deletion is recorded at the current time or just after the latest version, whichever is later. For future-dated versions, latest reads reflect deletion immediately; timestamp reads reflect deletion only at or after the recorded deletion timestamp.
Applies the same metadata changes, in order, to every listed example in a dataset. Examples that are not in the dataset or were deleted are skipped; the rest are updated together, so if the update fails none of them change. Answers 207 with one status per submitted example ID: UPDATED, or NOT_FOUND for a skipped example. Metadata keys the operations do not name keep their values. To add examples to a split or remove them from one, use ARRAY_ADD or ARRAY_REMOVE on the dataset_split key. Requires permission to update datasets.