@@ -14,7 +14,7 @@ service:
1414 results : $response.records
1515 display-name : ' List '
1616 request :
17- name : DatasetsListRequest
17+ name : ListDatasetsGetRequest
1818 query-parameters :
1919 page :
2020 type : optional<integer>
@@ -113,7 +113,7 @@ service:
113113
114114 you can add a unique identifier to the Datapoint's inputs such as
115115 `{_dedupe_id: <unique ID>}`.
116- display-name : Upsert Dataset
116+ display-name : Upsert
117117 request :
118118 name : DatasetsRequest
119119 query-parameters :
@@ -226,9 +226,9 @@ service:
226226 id :
227227 type : string
228228 docs : Unique identifier for Dataset.
229- display-name : Get Dataset
229+ display-name : Get
230230 request :
231- name : DatasetsGetRequest
231+ name : GetDatasetsIdGetRequest
232232 query-parameters :
233233 version_id :
234234 type : optional<string>
@@ -289,7 +289,7 @@ service:
289289 id :
290290 type : string
291291 docs : Unique identifier for Dataset.
292- display-name : Delete Dataset
292+ display-name : Delete
293293 errors :
294294 - root.UnprocessableEntityError
295295 examples :
@@ -304,7 +304,7 @@ service:
304304 id :
305305 type : string
306306 docs : Unique identifier for Dataset.
307- display-name : Move Dataset
307+ display-name : Move
308308 request :
309309 name : UpdateDatasetRequest
310310 body :
@@ -356,7 +356,7 @@ service:
356356 target :
357357 target : target
358358 id : id
359- listdatapoints :
359+ listDatapoints :
360360 path : /datasets/{id}/datapoints
361361 method : GET
362362 auth : true
@@ -370,7 +370,7 @@ service:
370370 docs : Unique identifier for Dataset.
371371 display-name : List Datapoints
372372 request :
373- name : DatasetsListDatapointsRequest
373+ name : ListDatapointsDatasetsIdDatapointsGetRequest
374374 query-parameters :
375375 version_id :
376376 type : optional<string>
@@ -405,7 +405,7 @@ service:
405405 page : 1
406406 size : 1
407407 total : 1
408- listversions :
408+ listVersions :
409409 path : /datasets/{id}/versions
410410 method : GET
411411 auth : true
@@ -416,7 +416,7 @@ service:
416416 docs : Unique identifier for Dataset.
417417 display-name : List Versions
418418 request :
419- name : DatasetsListVersionsRequest
419+ name : ListVersionsDatasetsIdVersionsGetRequest
420420 query-parameters :
421421 status :
422422 type : optional<root.VersionStatus>
@@ -517,7 +517,92 @@ service:
517517 target :
518518 target : target
519519 id : id
520- createdatapointsfromlogs :
520+ uploadCsv :
521+ path : /datasets/{id}/datapoints/csv
522+ method : POST
523+ auth : true
524+ docs : >-
525+ Add Datapoints from a CSV file to a Dataset.
526+
527+
528+ This will create a new committed version of the Dataset with the
529+ Datapoints from the CSV file.
530+
531+
532+ If either `version_id` or `environment` is provided, the new version
533+ will be based on the specified version,
534+
535+ with the Datapoints from the CSV file added to the existing Datapoints
536+ in the version.
537+
538+ If neither `version_id` nor `environment` is provided, the new version
539+ will be based on the version
540+
541+ of the Dataset that is deployed to the default Environment.
542+ path-parameters :
543+ id :
544+ type : string
545+ docs : Unique identifier for the Dataset
546+ display-name : Upload Csv
547+ request :
548+ name : Body_upload_csv_datasets__id__datapoints_csv_post
549+ query-parameters :
550+ version_id :
551+ type : optional<string>
552+ docs : ID of the specific Dataset version to base the created Version on.
553+ environment :
554+ type : optional<string>
555+ docs : >-
556+ Name of the Environment identifying a deployed Version to base the
557+ created Version on.
558+ body :
559+ properties :
560+ file : file
561+ commit_message :
562+ type : string
563+ docs : Commit message for the new Dataset version.
564+ content-type : multipart/form-data
565+ response :
566+ docs : Successful Response
567+ type : root.DatasetResponse
568+ errors :
569+ - root.UnprocessableEntityError
570+ examples :
571+ - path-parameters :
572+ id : id
573+ request :
574+ commit_message : commit_message
575+ response :
576+ body :
577+ path : path
578+ id : id
579+ name : name
580+ version_id : version_id
581+ type : dataset
582+ environments :
583+ - id : id
584+ created_at : ' 2024-01-15T09:30:00Z'
585+ name : name
586+ tag : default
587+ created_at : ' 2024-01-15T09:30:00Z'
588+ updated_at : ' 2024-01-15T09:30:00Z'
589+ created_by :
590+ id : id
591+ email_address : email_address
592+ full_name : full_name
593+ status : uncommitted
594+ last_used_at : ' 2024-01-15T09:30:00Z'
595+ commit_message : commit_message
596+ datapoints_count : 1
597+ datapoints :
598+ - inputs :
599+ inputs : inputs
600+ messages :
601+ - role : user
602+ target :
603+ target : target
604+ id : id
605+ fromLogs :
521606 path : /datasets/{id}/datapoints/logs
522607 method : POST
523608 auth : true
@@ -543,9 +628,9 @@ service:
543628 id :
544629 type : string
545630 docs : Unique identifier for the Dataset
546- display-name : Add Datapoints From Logs
631+ display-name : From Logs
547632 request :
548- name : BodyDatasetsCreateDatapointsFromLogs
633+ name : BodyFromLogsDatasetsIdDatapointsLogsPost
549634 query-parameters :
550635 version_id :
551636 type : optional<string>
0 commit comments