Skip to main content
PATCH
/
v1
/
platform
/
datasets
/
{dataset_id}
/
examples
Error
A valid request URL is required to generate request examples
{
  "as_of": "2024-01-21T10:00:00.123456Z",
  "count": 1,
  "example_ids": [
    "[\"123e4567-e89b-12d3-a456-426614174000\"]"
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.langchain.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-API-Key
string
header
required

Path Parameters

dataset_id
string<uuid>
required

Dataset ID

Body

multipart/form-data
{example_id}
file
required

The Example update info as JSON. Can have fields 'metadata', 'split'

{example_id}.inputs
file

The updated Example inputs as JSON

{example_id}.outputs
file

The updated Example outputs as JSON

{example_id}.attachments_operations
file

JSON describing attachment operations (retain, rename)

{example_id}.attachment.{name}
file

New file attachment named {name}

Response

Created

as_of
string
Example:

"2024-01-21T10:00:00.123456Z"

count
integer
Example:

1

example_ids
string[]
Example:
[
  "[\"123e4567-e89b-12d3-a456-426614174000\"]"
]