Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

fix(dataset-items): api version specs (#11947)

marliessophied131bcfe5e3b
diff --git a/web/public/generated/api/openapi.yml b/web/public/generated/api/openapi.yml
index d5b73ffabb..a8a3662d11 100644
--- a/web/public/generated/api/openapi.yml
+++ b/web/public/generated/api/openapi.yml
@@ -925,7 +925,12 @@ paths:
schema:
$ref: '#/components/schemas/CreateDatasetItemRequest'
get:
- description: Get dataset items
+ description: >-
+ Get dataset items. Optionally specify a version to get the items as they
+ existed at that point in time.
+
+ Note: If version parameter is provided, datasetName must also be
+ provided.
operationId: datasetItems_list
tags:
- DatasetItems
@@ -948,6 +953,21 @@ paths:
schema:
type: string
nullable: true
+ - name: version
+ in: query
+ description: >-
+ ISO 8601 timestamp (RFC 3339, Section 5.6) in UTC (e.g.,
+ "2026-01-21T14:35:42Z").
+
+ If provided, returns state of dataset at this timestamp.
+
+ If not provided, returns the latest version. Requires datasetName to
+ be specified.
+ required: false
+ schema:
+ type: string
+ format: date-time
+ nullable: true
- name: page
in: query
description: page number, starts at 1
@@ -7981,6 +8001,20 @@ components:
description: >-
traceId should always be provided. For compatibility with older SDK
versions it can also be inferred from the provided observationId.
+ datasetVersion:
+ type: string
+ format: date-time
+ nullable: true
+ description: >-
+ ISO 8601 timestamp (RFC 3339, Section 5.6) in UTC (e.g.,
+ "2026-01-21T14:35:42Z").
+
+ Specifies the dataset version to use for this experiment run.
+
+ If provided, the experiment will use dataset items as they existed
+ at or before this timestamp.
+
+ If not provided, uses the latest version of dataset items.
required:
- runName
- datasetItemId
diff --git a/web/public/generated/postman/collection.json b/web/public/generated/postman/collection.json
index 9af498f40d..4d520371ef 100644
--- a/web/public/generated/postman/collection.json
+++ b/web/public/generated/postman/collection.json
@@ -739,9 +739,9 @@
"_type": "endpoint",
"name": "List",
"request": {
- "description": "Get dataset items",
+ "description": "Get dataset items. Optionally specify a version to get the items as they existed at that point in time.\nNote: If version parameter is provided, datasetName must also be provided.",
"url": {
- "raw": "{{baseUrl}}/api/public/dataset-items?datasetName=&sourceTraceId=&sourceObservationId=&page=&limit=",
+ "raw": "{{baseUrl}}/api/public/dataset-items?datasetName=&sourceTraceId=&sourceObservationId=&version=&page=&limit=",
"host": [
"{{baseUrl}}"
],
@@ -766,6 +766,11 @@
"value": "",
"description": null
},
+ {
+ "key": "version",
+ "value": "",
+ "description": "ISO 8601 timestamp (RFC 3339, Section 5.6) in UTC (e.g., \"2026-01-21T14:35:42Z\").\nIf provided, returns state of dataset at this timestamp.\nIf not provided, returns the latest version. Requires datasetName to be specified."
+ },
{
"key": "page",
"value": "",
@@ -848,7 +853,7 @@
"auth": null,
"body": {
"mode": "raw",
- "raw": "{\n \"runName\": \"example\",\n \"runDescription\": \"example\",\n \"metadata\": \"UNKNOWN\",\n \"datasetItemId\": \"example\",\n \"observationId\": \"example\",\n \"traceId\": \"example\"\n}",
+ "raw": "{\n \"runName\": \"example\",\n \"runDescription\": \"example\",\n \"metadata\": \"UNKNOWN\",\n \"datasetItemId\": \"example\",\n \"observationId\": \"example\",\n \"traceId\": \"example\",\n \"datasetVersion\": \"1994-11-05T13:15:30Z\"\n}",
"options": {
"raw": {
"language": "json"