Repository navigation
Expand file tree
/
Copy pathopenapi.yaml
More file actions
3713 lines (3702 loc) · 141 KB
/
Copy pathopenapi.yaml
File metadata and controls
3713 lines (3702 loc) · 141 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
openapi: 3.1.0
info:
title: data-designer (plugin)
version: 0.0.0
paths:
/apis/data-designer/v2/workspaces/{workspace}/jobs/create:
post:
tags:
- Data Designer
summary: Create Job
operationId: create_job_apis_data_designer_v2_workspaces__workspace__jobs_create_post
parameters:
- name: workspace
in: path
required: true
schema:
type: string
title: Workspace
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CreateJobRequest'
responses:
'201':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/CreateJob'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
get:
tags:
- Data Designer
summary: List Jobs
operationId: list_jobs_apis_data_designer_v2_workspaces__workspace__jobs_create_get
parameters:
- name: workspace
in: path
required: true
schema:
type: string
title: Workspace
- name: page
in: query
required: false
schema:
type: integer
exclusiveMinimum: 0
description: Page number.
default: 1
title: Page
description: Page number.
- name: page_size
in: query
required: false
schema:
type: integer
exclusiveMinimum: 0
description: Page size.
default: 10
title: Page Size
description: Page size.
- name: sort
in: query
required: false
schema:
allOf:
- $ref: '#/components/schemas/CreateJobsSortField'
description: The field to sort by. To sort in decreasing order, use `-`
in front of the field name.
default: -created_at
description: The field to sort by. To sort in decreasing order, use `-` in
front of the field name.
- in: query
name: filter
style: deepObject
required: false
explode: true
schema:
$ref: '#/components/schemas/CreateJobsListFilter'
description: Filter jobs on various criteria.
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/CreateJobsPage'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/apis/data-designer/v2/workspaces/{workspace}/jobs/create/{job}/results/{name}:
get:
tags:
- Data Designer
summary: Get Job Result
operationId: get_job_result_apis_data_designer_v2_workspaces__workspace__jobs_create__job__results__name__get
parameters:
- name: workspace
in: path
required: true
schema:
type: string
title: Workspace
- name: job
in: path
required: true
schema:
type: string
title: Job
- name: name
in: path
required: true
schema:
type: string
title: Name
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformJobResultResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/apis/data-designer/v2/workspaces/{workspace}/jobs/create/{job}/results/{name}/download:
get:
tags:
- Data Designer
summary: Download Job Result
operationId: download_job_result_apis_data_designer_v2_workspaces__workspace__jobs_create__job__results__name__download_get
parameters:
- name: workspace
in: path
required: true
schema:
type: string
title: Workspace
- name: job
in: path
required: true
schema:
type: string
title: Job
- name: name
in: path
required: true
schema:
type: string
title: Name
responses:
'200':
description: Successful Response
content:
application/octet-stream:
schema:
type: string
format: binary
'404':
description: Not Found
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/apis/data-designer/v2/workspaces/{workspace}/jobs/create/{name}:
get:
tags:
- Data Designer
summary: Get Job
operationId: get_job_apis_data_designer_v2_workspaces__workspace__jobs_create__name__get
parameters:
- name: workspace
in: path
required: true
schema:
type: string
title: Workspace
- name: name
in: path
required: true
schema:
type: string
title: Name
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/CreateJob'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
delete:
tags:
- Data Designer
summary: Delete Job
operationId: delete_job_apis_data_designer_v2_workspaces__workspace__jobs_create__name__delete
parameters:
- name: workspace
in: path
required: true
schema:
type: string
title: Workspace
- name: name
in: path
required: true
schema:
type: string
title: Name
responses:
'204':
description: Successful Response
'404':
description: Job not Found
'409':
description: Job is not in a terminal state
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/apis/data-designer/v2/workspaces/{workspace}/jobs/create/{name}/cancel:
post:
tags:
- Data Designer
summary: Cancel Job
operationId: cancel_job_apis_data_designer_v2_workspaces__workspace__jobs_create__name__cancel_post
parameters:
- name: workspace
in: path
required: true
schema:
type: string
title: Workspace
- name: name
in: path
required: true
schema:
type: string
title: Name
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/CreateJob'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/apis/data-designer/v2/workspaces/{workspace}/jobs/create/{name}/logs:
get:
tags:
- Data Designer
summary: Get Job Logs
operationId: get_job_logs_apis_data_designer_v2_workspaces__workspace__jobs_create__name__logs_get
parameters:
- name: workspace
in: path
required: true
schema:
type: string
title: Workspace
- name: name
in: path
required: true
schema:
type: string
title: Name
- name: limit
in: query
required: false
schema:
title: Limit
type: integer
- name: page_cursor
in: query
required: false
schema:
title: Page Cursor
type: string
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformJobLogPage'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/apis/data-designer/v2/workspaces/{workspace}/jobs/create/{name}/results:
get:
tags:
- Data Designer
summary: List Job Results
operationId: list_job_results_apis_data_designer_v2_workspaces__workspace__jobs_create__name__results_get
parameters:
- name: workspace
in: path
required: true
schema:
type: string
title: Workspace
- name: name
in: path
required: true
schema:
type: string
title: Name
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformJobListResultResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/apis/data-designer/v2/workspaces/{workspace}/jobs/create/{name}/status:
get:
tags:
- Data Designer
summary: Get Job Status
operationId: get_job_status_apis_data_designer_v2_workspaces__workspace__jobs_create__name__status_get
parameters:
- name: workspace
in: path
required: true
schema:
type: string
title: Workspace
- name: name
in: path
required: true
schema:
type: string
title: Name
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/PlatformJobStatusResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/apis/data-designer/v2/workspaces/{workspace}/preview:
post:
tags:
- Data Designer
summary: Generate a small preview dataset by streaming NDJSON frames.
description: Generate a small preview dataset by streaming NDJSON frames.
operationId: PreviewFunction__route_apis_data_designer_v2_workspaces__workspace__preview_post
parameters:
- name: workspace
in: path
required: true
schema:
type: string
title: Workspace
- name: X-Request-ID
in: header
required: false
schema:
title: X-Request-Id
type: string
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/PreviewSpec'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
AgentRolloutFormat:
type: string
enum:
- atif
- claude_code
- codex
- hermes_agent
- pi_coding_agent
title: AgentRolloutFormat
AgentRolloutSeedSource:
properties:
seed_type:
type: string
const: agent_rollout
title: Seed Type
default: agent_rollout
path:
title: Path
description: Directory containing agent rollout artifacts. This field is
required for ATIF trajectories. When omitted, built-in defaults are used
for formats that define one. Claude Code defaults to ~/.claude/projects,
Codex defaults to ~/.codex/sessions, Hermes Agent defaults to ~/.hermes/sessions,
and Pi Coding Agent defaults to ~/.pi/agent/sessions. Relative local paths
are resolved by the active filesystem provider when the seed is validated
or read, not when the config object is constructed.
type: string
file_pattern:
title: File Pattern
description: Case-sensitive filename pattern used to match agent rollout
files. When omitted, ATIF defaults to '*.json', Claude Code, Codex, and
Pi Coding Agent default to '*.jsonl', and Hermes Agent defaults to '*.json*'.
type: string
recursive:
type: boolean
title: Recursive
description: Whether to search nested subdirectories under the provided
directory for matching files.
default: true
format:
allOf:
- $ref: '#/components/schemas/AgentRolloutFormat'
description: Built-in agent rollout format to use for parsing trace files.
type: object
required:
- format
title: AgentRolloutSeedSource
AudioContext:
properties:
modality:
type: string
const: audio
title: Modality
default: audio
column_name:
type: string
title: Column Name
data_type:
$ref: '#/components/schemas/ModalityDataType'
audio_format:
$ref: '#/components/schemas/AudioFormat'
type: object
required:
- column_name
title: AudioContext
description: 'Configuration for providing audio context to multimodal models.
Audio context values are URL or base64 media values. Local paths may be
passed through only in explicit URL mode so colocated model endpoints can
read them directly. ``audio_format`` is consulted only for base64 sources.'
AudioFormat:
type: string
enum:
- mp3
- wav
title: AudioFormat
description: Supported audio formats for audio context.
BaseModel:
properties: {}
type: object
title: BaseModel
BernoulliMixtureSamplerParams:
properties:
p:
type: number
maximum: 1.0
minimum: 0.0
title: P
description: Bernoulli distribution probability of success.
dist_name:
type: string
title: Dist Name
description: Mixture distribution name. Samples will be equal to the distribution
sample with probability `p`, otherwise equal to 0. Must be a valid scipy.stats
distribution name.
dist_params:
additionalProperties: true
type: object
title: Dist Params
description: Parameters of the scipy.stats distribution given in `dist_name`.
sampler_type:
type: string
const: bernoulli_mixture
title: Sampler Type
default: bernoulli_mixture
additionalProperties: false
type: object
required:
- p
- dist_name
- dist_params
title: BernoulliMixtureSamplerParams
description: "Parameters for sampling from a Bernoulli mixture distribution.\n\
\nCombines a Bernoulli distribution with another continuous distribution,\
\ creating a mixture\nwhere values are either 0 (with probability 1-p) or\
\ sampled from the specified distribution\n(with probability p). This is useful\
\ for modeling scenarios with many zero values mixed with\na continuous distribution\
\ of non-zero values.\n\nCommon use cases include modeling sparse events,\
\ zero-inflated data, or situations where\nan outcome either doesn't occur\
\ (0) or follows a specific distribution when it does occur.\n\nAttributes:\n\
\ p (required): Probability of sampling from the mixture distribution (non-zero\
\ outcome).\n Must be between 0.0 and 1.0 (inclusive). With probability\
\ 1-p, the sample is 0.\n dist_name (required): Name of the scipy.stats\
\ distribution to sample from when outcome is non-zero.\n Must be a\
\ valid scipy.stats distribution name (e.g., \"norm\", \"gamma\", \"expon\"\
).\n dist_params (required): Parameters for the specified scipy.stats distribution."
BernoulliSamplerParams:
properties:
p:
type: number
maximum: 1.0
minimum: 0.0
title: P
description: Probability of success.
sampler_type:
type: string
const: bernoulli
title: Sampler Type
default: bernoulli
additionalProperties: false
type: object
required:
- p
title: BernoulliSamplerParams
description: "Parameters for sampling from a Bernoulli distribution.\n\nSamples\
\ binary values (0 or 1) representing the outcome of a single trial with a\
\ fixed\nprobability of success. This is the simplest discrete probability\
\ distribution, useful for\nmodeling binary outcomes like success/failure,\
\ yes/no, or true/false.\n\nAttributes:\n p (required): Probability of\
\ success (sampling 1). Must be between 0.0 and 1.0 (inclusive).\n \
\ The probability of failure (sampling 0) is automatically 1 - p."
BinomialSamplerParams:
properties:
n:
type: integer
title: N
description: Number of trials.
p:
type: number
maximum: 1.0
minimum: 0.0
title: P
description: Probability of success on each trial.
sampler_type:
type: string
const: binomial
title: Sampler Type
default: binomial
additionalProperties: false
type: object
required:
- n
- p
title: BinomialSamplerParams
description: "Parameters for sampling from a Binomial distribution.\n\nSamples\
\ integer values representing the number of successes in a fixed number of\
\ independent\nBernoulli trials, each with the same probability of success.\
\ Commonly used to model the number\nof successful outcomes in repeated experiments.\n\
\nAttributes:\n n (required): Number of independent trials. Must be a positive\
\ integer.\n p (required): Probability of success on each trial. Must be\
\ between 0.0 and 1.0 (inclusive)."
CategorySamplerParams:
properties:
values:
items:
anyOf:
- type: string
- type: integer
- type: number
type: array
minItems: 1
title: Values
description: List of possible categorical values that can be sampled from.
weights:
title: Weights
description: List of unnormalized probability weights to assigned to each
value, in order. Larger values will be sampled with higher probability.
items:
type: number
type: array
sampler_type:
type: string
const: category
title: Sampler Type
default: category
additionalProperties: false
type: object
required:
- values
title: CategorySamplerParams
description: "Parameters for categorical sampling with optional probability\
\ weighting.\n\nSamples values from a discrete set of categories. When weights\
\ are provided, values are\nsampled according to their assigned probabilities.\
\ Without weights, uniform sampling is used.\n\nAttributes:\n values (required):\
\ List of possible categorical values to sample from. Can contain strings,\
\ integers,\n or floats. Must contain at least one value.\n weights:\
\ Optional unnormalized probability weights for each value. If provided, must\
\ be\n the same length as `values`. Weights are automatically normalized\
\ to sum to 1.0.\n Larger weights result in higher sampling probability\
\ for the corresponding value."
ChatCompletionInferenceParams:
properties:
generation_type:
type: string
const: chat-completion
title: Generation Type
default: chat-completion
max_parallel_requests:
type: integer
minimum: 1.0
title: Max Parallel Requests
default: 4
timeout:
title: Timeout
type: integer
minimum: 1.0
extra_body:
title: Extra Body
additionalProperties: true
type: object
temperature:
anyOf:
- type: number
- $ref: '#/components/schemas/UniformDistribution'
- $ref: '#/components/schemas/ManualDistribution'
title: Temperature
top_p:
anyOf:
- type: number
- $ref: '#/components/schemas/UniformDistribution'
- $ref: '#/components/schemas/ManualDistribution'
title: Top P
max_tokens:
title: Max Tokens
type: integer
minimum: 1.0
additionalProperties: false
type: object
title: ChatCompletionInferenceParams
description: "Configuration for LLM inference parameters.\n\nAttributes:\n \
\ generation_type: Type of generation, always \"chat-completion\" for this\
\ class.\n temperature: Sampling temperature (0.0-2.0). Can be a fixed\
\ value or a distribution for dynamic sampling.\n top_p: Nucleus sampling\
\ probability (0.0-1.0). Can be a fixed value or a distribution for dynamic\
\ sampling.\n max_tokens: Maximum number of tokens to generate in the response."
CodeLang:
type: string
enum:
- bash
- c
- cobol
- cpp
- csharp
- go
- java
- javascript
- kotlin
- python
- ruby
- rust
- scala
- swift
- typescript
- sql:sqlite
- sql:tsql
- sql:bigquery
- sql:mysql
- sql:postgres
- sql:ansi
title: CodeLang
CodeValidatorParams:
properties:
validator_type:
type: string
const: code
title: Validator Type
description: Validator type discriminator, always 'code' for this validator
default: code
code_lang:
allOf:
- $ref: '#/components/schemas/CodeLang'
description: The language of the code to validate
additionalProperties: false
type: object
required:
- code_lang
title: CodeValidatorParams
description: "Configuration for code validation. Supports Python and SQL code\
\ validation.\n\nAttributes:\n code_lang (required): The language of the\
\ code to validate. Supported values include: `python`,\n `sql:sqlite`,\
\ `sql:postgres`, `sql:mysql`, `sql:tsql`, `sql:bigquery`, `sql:ansi`."
ColumnInequalityConstraint:
properties:
target_column:
type: string
title: Target Column
description: Name of the sampler column this constraint applies to
constraint_type:
type: string
const: column_inequality
title: Constraint Type
description: Constraint type discriminator, always 'column_inequality' for
this constraint
default: column_inequality
rhs:
type: string
title: Rhs
description: Name of the other sampler column to compare against
operator:
allOf:
- $ref: '#/components/schemas/InequalityOperator'
description: Comparison operator
additionalProperties: false
type: object
required:
- target_column
- rhs
- operator
title: ColumnInequalityConstraint
description: "Constrain a sampler column to be less/greater than another sampler\
\ column.\n\nOnly applies to sampler columns.\n\nAttributes:\n rhs (required):\
\ Name of the other sampler column to compare against.\n operator (required):\
\ Comparison operator (lt, le, gt, ge).\n\nInherited Attributes:\n target_column\
\ (required): Name of the sampler column this constraint applies to."
CreateJob:
properties:
id:
title: Id
type: string
name:
type: string
title: Name
description:
title: Description
type: string
project:
title: Project
type: string
workspace:
title: Workspace
type: string
created_at:
title: Created At
type: string
format: date-time
updated_at:
title: Updated At
type: string
format: date-time
spec:
$ref: '#/components/schemas/DataDesignerStepConfig'
status:
$ref: '#/components/schemas/PlatformJobStatus'
status_details:
title: Status Details
additionalProperties: true
type: object
error_details:
title: Error Details
additionalProperties: true
type: object
ownership:
title: Ownership
additionalProperties: true
type: object
custom_fields:
title: Custom Fields
additionalProperties: true
type: object
type: object
required:
- name
- spec
title: CreateJob
CreateJobRequest:
properties:
name:
title: Name
type: string
description:
title: Description
type: string
project:
title: Project
type: string
spec:
$ref: '#/components/schemas/DataDesignerJobConfig'
profile:
title: Profile
type: string
options:
title: Options
additionalProperties: true
type: object
ownership:
title: Ownership
additionalProperties: true
type: object
custom_fields:
title: Custom Fields
additionalProperties: true
type: object
output_location:
title: Output Location
type: string
type: object
required:
- spec
title: CreateJobRequest
CreateJobsListFilter:
additionalProperties: false
properties:
created_at:
allOf:
- $ref: '#/components/schemas/DatetimeFilter'
description: Jobs created at 'gte' datetime or 'lte' datetime.
name:
anyOf:
- $ref: '#/components/schemas/StringFilter'
- type: string
description: Name of the job.
title: Name
workspace:
description: Workspace of the job.
title: Workspace
type: string
project:
description: Project containing the job.
title: Project
type: string
status:
allOf:
- $ref: '#/components/schemas/PlatformJobStatus'
description: The current status.
updated_at:
allOf:
- $ref: '#/components/schemas/DatetimeFilter'
description: Jobs updated at 'gte' datetime or 'lte' datetime.
title: CreateJobsListFilter
type: object
CreateJobsPage:
properties:
data:
items:
$ref: '#/components/schemas/CreateJob'
type: array
title: Data
pagination:
allOf:
- $ref: '#/components/schemas/PaginationData'
description: Pagination information.
sort:
title: Sort
description: The field on which the results are sorted.
type: string
filter:
title: Filter
description: Filtering information.
additionalProperties: true
type: object
type: object
required:
- data
title: CreateJobsPage
CreateJobsSortField:
type: string
enum:
- created_at
- -created_at
- updated_at
- -updated_at
title: CreateJobsSortField
CustomColumnConfig:
properties:
name:
type: string
title: Name
drop:
type: boolean
title: Drop
default: false
column_type:
type: string
const: custom
title: Column Type
default: custom
skip:
$ref: '#/components/schemas/SkipConfig'
propagate_skip:
type: boolean
title: Propagate Skip
description: "If True (default), this column auto-skips when any of its\
\ required_columns was skipped. Independent of skip \u2014 a column with\
\ no SkipConfig still propagates upstream skips. Set to False for null-tolerant\
\ columns."
default: true
generator_function:
title: Generator Function
description: Function decorated with @custom_column_generator
generation_strategy:
allOf:
- $ref: '#/components/schemas/GenerationStrategy'
description: 'Generation strategy: ''cell_by_cell'' for row-based or ''full_column''
for batch-based'
default: cell_by_cell
generator_params:
allOf:
- $ref: '#/components/schemas/BaseModel'
description: Optional typed configuration object passed as second argument
to generator function
additionalProperties: false
type: object
required:
- name
- generator_function
title: CustomColumnConfig
description: "Configuration for custom user-defined column generators.\n\nCustom\
\ columns allow users to provide their own generation logic via a callable\
\ function\ndecorated with `@custom_column_generator`. Two strategies are\
\ supported: cell_by_cell\n(default, row-based) and full_column (batch-based\
\ with DataFrame access).\n\nAttributes:\n generator_function (required):\
\ A callable decorated with @custom_column_generator.\n generation_strategy:\
\ \"cell_by_cell\" (row-based) or \"full_column\" (batch-based).\n generator_params:\
\ Optional typed configuration object (Pydantic BaseModel) passed\n \
\ as the second argument to the generator function.\n\nInherited Attributes:\n\
\ name (required): Unique name of the column to be generated.\n drop:\
\ If True, generate this column but remove it from the final dataset."
DataDesignerConfig:
properties:
columns:
items:
oneOf:
- $ref: '#/components/schemas/CustomColumnConfig'
- $ref: '#/components/schemas/ExpressionColumnConfig'
- $ref: '#/components/schemas/LLMCodeColumnConfig'
- $ref: '#/components/schemas/LLMJudgeColumnConfig'
- $ref: '#/components/schemas/LLMStructuredColumnConfig'
- $ref: '#/components/schemas/LLMTextColumnConfig'
- $ref: '#/components/schemas/SamplerColumnConfig'
- $ref: '#/components/schemas/SeedDatasetColumnConfig'
- $ref: '#/components/schemas/ValidationColumnConfig'
- $ref: '#/components/schemas/EmbeddingColumnConfig'
- $ref: '#/components/schemas/ImageColumnConfig'
discriminator:
propertyName: column_type
mapping:
custom: '#/components/schemas/CustomColumnConfig'
embedding: '#/components/schemas/EmbeddingColumnConfig'
expression: '#/components/schemas/ExpressionColumnConfig'
image: '#/components/schemas/ImageColumnConfig'
llm-code: '#/components/schemas/LLMCodeColumnConfig'
llm-judge: '#/components/schemas/LLMJudgeColumnConfig'
llm-structured: '#/components/schemas/LLMStructuredColumnConfig'
llm-text: '#/components/schemas/LLMTextColumnConfig'
sampler: '#/components/schemas/SamplerColumnConfig'