# yaml-language-server: $schema=https://raw.githubusercontent.com/fern-api/fern/main/fern.schema.json imports: commons: ./commons.yml pagination: ./utils/pagination.yml service: auth: true base-path: /api/public endpoints: create: method: POST docs: Create a dataset run item path: /dataset-run-items request: CreateDatasetRunItemRequest response: commons.DatasetRunItem list: method: GET docs: List dataset run items path: /dataset-run-items request: name: ListDatasetRunItemsRequest query-parameters: datasetId: string runName: string page: type: optional docs: page number, starts at 1 limit: type: optional docs: limit of items per page response: PaginatedDatasetRunItems types: CreateDatasetRunItemRequest: properties: runName: string runDescription: type: optional docs: Description of the run. If run exists, description will be updated. metadata: type: optional docs: Metadata of the dataset run, updates run if run already exists datasetItemId: string observationId: optional traceId: type: optional docs: traceId should always be provided. For compatibility with older SDK versions it can also be inferred from the provided observationId. datasetVersion: type: optional docs: | 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. PaginatedDatasetRunItems: properties: data: list meta: pagination.MetaResponse