@eigenpal/sdk 0.19.1 → 0.20.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15,6 +15,70 @@ export type UpdateAutomationRequest = {
15
15
  folderPath?: string;
16
16
  };
17
17
 
18
+ export type CreateDatasetReviewRequest = {
19
+ title: string;
20
+ /**
21
+ * Note shown to the reviewer for the whole request.
22
+ */
23
+ instructions?: string | null;
24
+ /**
25
+ * Expected-output paths to highlight. Other fields stay normal unless listed in ignoredFields.
26
+ */
27
+ focusFields?: Array<DatasetReviewFocusField>;
28
+ /**
29
+ * Expected-output paths reviewers can skip. Shown muted as not required. Prefixes apply to nested leaves.
30
+ */
31
+ ignoredFields?: Array<string>;
32
+ /**
33
+ * Optional per-example and per-field notes seeded as commented events at create time.
34
+ */
35
+ itemNotes?: Array<DatasetReviewCreateItemNote>;
36
+ exampleNames: Array<string>;
37
+ status?: 'draft' | 'open' | 'paused';
38
+ };
39
+
40
+ export type DatasetReviewFocusField = {
41
+ /**
42
+ * Dotted expected-output path the reviewer should inspect, e.g. vendor.iban.
43
+ */
44
+ path: string;
45
+ /**
46
+ * Optional reason this field needs attention.
47
+ */
48
+ reason?: string | null;
49
+ };
50
+
51
+ export type DatasetReviewCreateItemNote = {
52
+ exampleName: string;
53
+ comment?: string | null;
54
+ fields?: Array<DatasetReviewItemFieldNote>;
55
+ };
56
+
57
+ export type DatasetReviewItemFieldNote = {
58
+ path: string;
59
+ comment: string;
60
+ };
61
+
62
+ export type UpdateDatasetReviewRequest = {
63
+ title?: string;
64
+ instructions?: string | null;
65
+ focusFields?: Array<DatasetReviewFocusField>;
66
+ ignoredFields?: Array<string>;
67
+ status?: 'draft' | 'open' | 'paused' | 'closed';
68
+ };
69
+
70
+ export type UpdateDatasetReviewItem = {
71
+ action: 'approve' | 'edit' | 'reject' | 'reopen' | 'comment' | 'field-decision';
72
+ expected?: unknown;
73
+ comment?: string | null;
74
+ fieldPath?: string | null;
75
+ decision?: 'approved' | 'rejected' | null;
76
+ /**
77
+ * ISO timestamp of the item `updatedAt` the client last observed. Required for optimistic concurrency.
78
+ */
79
+ expectedUpdatedAt: string;
80
+ };
81
+
18
82
  export type AutomationDatasetImportMultipartRequest = {
19
83
  /**
20
84
  * Dataset ZIP file
@@ -641,6 +705,123 @@ export type DeleteAutomationResponse = {
641
705
  id: string;
642
706
  };
643
707
 
708
+ export type DatasetReviewRequestList = {
709
+ data: Array<DatasetReviewRequest>;
710
+ total: number;
711
+ limit: number;
712
+ offset: number;
713
+ };
714
+
715
+ export type DatasetReviewRequest = {
716
+ id: string;
717
+ automationId: string;
718
+ title: string;
719
+ instructions: string | null;
720
+ focusFields: Array<DatasetReviewFocusFieldOutput>;
721
+ ignoredFields: Array<string>;
722
+ status: 'draft' | 'open' | 'paused' | 'closed';
723
+ exampleNames: Array<string>;
724
+ progress: DatasetReviewProgress;
725
+ createdBy: string | null;
726
+ createdAt: string;
727
+ closedAt: string | null;
728
+ };
729
+
730
+ export type DatasetReviewProgress = {
731
+ total: number;
732
+ pending: number;
733
+ approved: number;
734
+ edited: number;
735
+ rejected: number;
736
+ /**
737
+ * Count of examples still pending a decision.
738
+ */
739
+ remaining: number;
740
+ /**
741
+ * True when every example has been approved, edited, or rejected. Close the request when review is finished; dataset write-back is always manual.
742
+ */
743
+ complete: boolean;
744
+ };
745
+
746
+ export type DatasetReviewDetail = {
747
+ id: string;
748
+ automationId: string;
749
+ title: string;
750
+ instructions: string | null;
751
+ focusFields: Array<DatasetReviewFocusFieldOutput>;
752
+ ignoredFields: Array<string>;
753
+ status: 'draft' | 'open' | 'paused' | 'closed';
754
+ exampleNames: Array<string>;
755
+ progress: DatasetReviewProgress;
756
+ createdBy: string | null;
757
+ createdAt: string;
758
+ closedAt: string | null;
759
+ items: Array<DatasetReviewItem>;
760
+ events?: Array<DatasetReviewEvent>;
761
+ };
762
+
763
+ export type DatasetReviewItem = {
764
+ id: string;
765
+ reviewId: string;
766
+ exampleName: string;
767
+ snapshotInputJson: {
768
+ [key: string]: unknown;
769
+ } | null;
770
+ snapshotExpectedJson: unknown | null;
771
+ snapshotManifest: {
772
+ expectedFiles: Array<{
773
+ name: string;
774
+ }>;
775
+ metadata: {
776
+ [key: string]: unknown;
777
+ } | null;
778
+ inputFileHashes?: Array<{
779
+ path: string;
780
+ sha256: string;
781
+ }>;
782
+ };
783
+ status: 'pending' | 'approved' | 'edited' | 'rejected';
784
+ currentExpectedJson: unknown | null;
785
+ fieldDecisions: {
786
+ [key: string]: DatasetReviewFieldDecision;
787
+ };
788
+ /**
789
+ * True when live dataset input-file bytes no longer match the hashes captured at request creation.
790
+ */
791
+ inputDrifted: boolean;
792
+ updatedBy: string | null;
793
+ updatedAt: string;
794
+ };
795
+
796
+ export type DatasetReviewFieldDecision = {
797
+ decision: 'approved' | 'rejected';
798
+ comment?: string | null;
799
+ reviewerId: string;
800
+ updatedAt: string;
801
+ };
802
+
803
+ export type DatasetReviewEvent = {
804
+ id: string;
805
+ reviewId: string;
806
+ itemId: string | null;
807
+ actorUserId: string | null;
808
+ action: 'created' | 'approved' | 'edited' | 'rejected' | 'reopened' | 'commented' | 'field-decision';
809
+ diffSummary: unknown | null;
810
+ createdAt: string;
811
+ };
812
+
813
+ export type DatasetReviewEventList = {
814
+ events: Array<DatasetReviewEvent>;
815
+ };
816
+
817
+ export type DatasetReviewItemList = {
818
+ items: Array<DatasetReviewItem>;
819
+ };
820
+
821
+ export type DatasetReviewItemResponse = {
822
+ item: DatasetReviewItem;
823
+ };
824
+
644
825
  export type DatasetImportResponse = {
645
826
  mode: 'append';
646
827
  created: number;
@@ -2171,6 +2352,17 @@ export type TemplateStagingResponse = {
2171
2352
  finalized?: boolean;
2172
2353
  };
2173
2354
 
2355
+ export type DatasetReviewFocusFieldOutput = {
2356
+ /**
2357
+ * Dotted expected-output path the reviewer should inspect, e.g. vendor.iban.
2358
+ */
2359
+ path: string;
2360
+ /**
2361
+ * Optional reason this field needs attention.
2362
+ */
2363
+ reason?: string | null;
2364
+ };
2365
+
2174
2366
  export type AuthCheckData = {
2175
2367
  body?: never;
2176
2368
  path?: never;
@@ -2207,6 +2399,10 @@ export type AuthCheckErrors = {
2207
2399
  * Internal server error
2208
2400
  */
2209
2401
  500: ApiErrorEnvelope;
2402
+ /**
2403
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
2404
+ */
2405
+ 503: ApiErrorEnvelope;
2210
2406
  };
2211
2407
 
2212
2408
  export type AuthCheckError = AuthCheckErrors[keyof AuthCheckErrors];
@@ -2277,6 +2473,10 @@ export type AutomationsListErrors = {
2277
2473
  * Internal server error
2278
2474
  */
2279
2475
  500: ApiErrorEnvelope;
2476
+ /**
2477
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
2478
+ */
2479
+ 503: ApiErrorEnvelope;
2280
2480
  };
2281
2481
 
2282
2482
  export type AutomationsListError = AutomationsListErrors[keyof AutomationsListErrors];
@@ -2296,13 +2496,505 @@ export type AutomationsDeleteData = {
2296
2496
  /**
2297
2497
  * Workflow id, agent id, or typed alias like workflows.slug / agents.slug
2298
2498
  */
2299
- id: string;
2499
+ id: string;
2500
+ };
2501
+ query?: never;
2502
+ url: '/v1/automations/{id}';
2503
+ };
2504
+
2505
+ export type AutomationsDeleteErrors = {
2506
+ /**
2507
+ * Validation error. Request shape did not match the spec.
2508
+ */
2509
+ 400: ApiErrorEnvelope;
2510
+ /**
2511
+ * Missing or invalid API key
2512
+ */
2513
+ 401: ApiErrorEnvelope;
2514
+ /**
2515
+ * API key lacks required scope
2516
+ */
2517
+ 403: ApiErrorEnvelope;
2518
+ /**
2519
+ * Resource not found
2520
+ */
2521
+ 404: ApiErrorEnvelope;
2522
+ /**
2523
+ * Payload too large. Upload exceeded the per-request size cap.
2524
+ */
2525
+ 413: ApiErrorEnvelope;
2526
+ /**
2527
+ * Rate limit exceeded
2528
+ */
2529
+ 429: ApiErrorEnvelope;
2530
+ /**
2531
+ * Internal server error
2532
+ */
2533
+ 500: ApiErrorEnvelope;
2534
+ /**
2535
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
2536
+ */
2537
+ 503: ApiErrorEnvelope;
2538
+ };
2539
+
2540
+ export type AutomationsDeleteError = AutomationsDeleteErrors[keyof AutomationsDeleteErrors];
2541
+
2542
+ export type AutomationsDeleteResponses = {
2543
+ /**
2544
+ * Automation deleted
2545
+ */
2546
+ 200: DeleteAutomationResponse;
2547
+ };
2548
+
2549
+ export type AutomationsDeleteResponse = AutomationsDeleteResponses[keyof AutomationsDeleteResponses];
2550
+
2551
+ export type AutomationsGetData = {
2552
+ body?: never;
2553
+ path: {
2554
+ /**
2555
+ * Workflow id, agent id, or typed alias like workflows.slug / agents.slug
2556
+ */
2557
+ id: string;
2558
+ };
2559
+ query?: never;
2560
+ url: '/v1/automations/{id}';
2561
+ };
2562
+
2563
+ export type AutomationsGetErrors = {
2564
+ /**
2565
+ * Validation error. Request shape did not match the spec.
2566
+ */
2567
+ 400: ApiErrorEnvelope;
2568
+ /**
2569
+ * Missing or invalid API key
2570
+ */
2571
+ 401: ApiErrorEnvelope;
2572
+ /**
2573
+ * API key lacks required scope
2574
+ */
2575
+ 403: ApiErrorEnvelope;
2576
+ /**
2577
+ * Resource not found
2578
+ */
2579
+ 404: ApiErrorEnvelope;
2580
+ /**
2581
+ * Payload too large. Upload exceeded the per-request size cap.
2582
+ */
2583
+ 413: ApiErrorEnvelope;
2584
+ /**
2585
+ * Rate limit exceeded
2586
+ */
2587
+ 429: ApiErrorEnvelope;
2588
+ /**
2589
+ * Internal server error
2590
+ */
2591
+ 500: ApiErrorEnvelope;
2592
+ /**
2593
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
2594
+ */
2595
+ 503: ApiErrorEnvelope;
2596
+ };
2597
+
2598
+ export type AutomationsGetError = AutomationsGetErrors[keyof AutomationsGetErrors];
2599
+
2600
+ export type AutomationsGetResponses = {
2601
+ /**
2602
+ * Automation
2603
+ */
2604
+ 200: AutomationDetail;
2605
+ };
2606
+
2607
+ export type AutomationsGetResponse = AutomationsGetResponses[keyof AutomationsGetResponses];
2608
+
2609
+ export type AutomationsUpdateData = {
2610
+ body: UpdateAutomationRequest;
2611
+ path: {
2612
+ /**
2613
+ * Workflow id, agent id, or typed alias like workflows.slug / agents.slug
2614
+ */
2615
+ id: string;
2616
+ };
2617
+ query?: never;
2618
+ url: '/v1/automations/{id}';
2619
+ };
2620
+
2621
+ export type AutomationsUpdateErrors = {
2622
+ /**
2623
+ * Validation error. Request shape did not match the spec.
2624
+ */
2625
+ 400: ApiErrorEnvelope;
2626
+ /**
2627
+ * Missing or invalid API key
2628
+ */
2629
+ 401: ApiErrorEnvelope;
2630
+ /**
2631
+ * API key lacks required scope
2632
+ */
2633
+ 403: ApiErrorEnvelope;
2634
+ /**
2635
+ * Resource not found
2636
+ */
2637
+ 404: ApiErrorEnvelope;
2638
+ /**
2639
+ * Payload too large. Upload exceeded the per-request size cap.
2640
+ */
2641
+ 413: ApiErrorEnvelope;
2642
+ /**
2643
+ * Rate limit exceeded
2644
+ */
2645
+ 429: ApiErrorEnvelope;
2646
+ /**
2647
+ * Internal server error
2648
+ */
2649
+ 500: ApiErrorEnvelope;
2650
+ /**
2651
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
2652
+ */
2653
+ 503: ApiErrorEnvelope;
2654
+ };
2655
+
2656
+ export type AutomationsUpdateError = AutomationsUpdateErrors[keyof AutomationsUpdateErrors];
2657
+
2658
+ export type AutomationsUpdateResponses = {
2659
+ /**
2660
+ * Updated automation
2661
+ */
2662
+ 200: AutomationDetail;
2663
+ };
2664
+
2665
+ export type AutomationsUpdateResponse = AutomationsUpdateResponses[keyof AutomationsUpdateResponses];
2666
+
2667
+ export type AutomationsDatasetReviewRequestsListData = {
2668
+ body?: never;
2669
+ path: {
2670
+ /**
2671
+ * Automation id or typed alias, such as `workflows.slug` or `agents.slug`.
2672
+ */
2673
+ id: string;
2674
+ };
2675
+ query?: {
2676
+ /**
2677
+ * Optional comma-separated review statuses to filter by.
2678
+ */
2679
+ status?: string;
2680
+ limit?: number;
2681
+ offset?: number;
2682
+ };
2683
+ url: '/v1/automations/{id}/dataset-review-requests';
2684
+ };
2685
+
2686
+ export type AutomationsDatasetReviewRequestsListErrors = {
2687
+ /**
2688
+ * Validation error. Request shape did not match the spec.
2689
+ */
2690
+ 400: ApiErrorEnvelope;
2691
+ /**
2692
+ * Missing or invalid API key
2693
+ */
2694
+ 401: ApiErrorEnvelope;
2695
+ /**
2696
+ * API key lacks required scope
2697
+ */
2698
+ 403: ApiErrorEnvelope;
2699
+ /**
2700
+ * Resource not found
2701
+ */
2702
+ 404: ApiErrorEnvelope;
2703
+ /**
2704
+ * Payload too large. Upload exceeded the per-request size cap.
2705
+ */
2706
+ 413: ApiErrorEnvelope;
2707
+ /**
2708
+ * Rate limit exceeded
2709
+ */
2710
+ 429: ApiErrorEnvelope;
2711
+ /**
2712
+ * Internal server error
2713
+ */
2714
+ 500: ApiErrorEnvelope;
2715
+ /**
2716
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
2717
+ */
2718
+ 503: ApiErrorEnvelope;
2719
+ };
2720
+
2721
+ export type AutomationsDatasetReviewRequestsListError = AutomationsDatasetReviewRequestsListErrors[keyof AutomationsDatasetReviewRequestsListErrors];
2722
+
2723
+ export type AutomationsDatasetReviewRequestsListResponses = {
2724
+ /**
2725
+ * Page of dataset review requests.
2726
+ */
2727
+ 200: DatasetReviewRequestList;
2728
+ };
2729
+
2730
+ export type AutomationsDatasetReviewRequestsListResponse = AutomationsDatasetReviewRequestsListResponses[keyof AutomationsDatasetReviewRequestsListResponses];
2731
+
2732
+ export type AutomationsDatasetReviewRequestsCreateData = {
2733
+ body: CreateDatasetReviewRequest;
2734
+ path: {
2735
+ /**
2736
+ * Automation id or typed alias, such as `workflows.slug` or `agents.slug`.
2737
+ */
2738
+ id: string;
2739
+ };
2740
+ query?: never;
2741
+ url: '/v1/automations/{id}/dataset-review-requests';
2742
+ };
2743
+
2744
+ export type AutomationsDatasetReviewRequestsCreateErrors = {
2745
+ /**
2746
+ * Validation error. Request shape did not match the spec.
2747
+ */
2748
+ 400: ApiErrorEnvelope;
2749
+ /**
2750
+ * Missing or invalid API key
2751
+ */
2752
+ 401: ApiErrorEnvelope;
2753
+ /**
2754
+ * API key lacks required scope
2755
+ */
2756
+ 403: ApiErrorEnvelope;
2757
+ /**
2758
+ * Resource not found
2759
+ */
2760
+ 404: ApiErrorEnvelope;
2761
+ /**
2762
+ * Payload too large. Upload exceeded the per-request size cap.
2763
+ */
2764
+ 413: ApiErrorEnvelope;
2765
+ /**
2766
+ * Rate limit exceeded
2767
+ */
2768
+ 429: ApiErrorEnvelope;
2769
+ /**
2770
+ * Internal server error
2771
+ */
2772
+ 500: ApiErrorEnvelope;
2773
+ /**
2774
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
2775
+ */
2776
+ 503: ApiErrorEnvelope;
2777
+ };
2778
+
2779
+ export type AutomationsDatasetReviewRequestsCreateError = AutomationsDatasetReviewRequestsCreateErrors[keyof AutomationsDatasetReviewRequestsCreateErrors];
2780
+
2781
+ export type AutomationsDatasetReviewRequestsCreateResponses = {
2782
+ /**
2783
+ * Created dataset review request.
2784
+ */
2785
+ 201: DatasetReviewDetail;
2786
+ };
2787
+
2788
+ export type AutomationsDatasetReviewRequestsCreateResponse = AutomationsDatasetReviewRequestsCreateResponses[keyof AutomationsDatasetReviewRequestsCreateResponses];
2789
+
2790
+ export type AutomationsDatasetReviewRequestsGetData = {
2791
+ body?: never;
2792
+ path: {
2793
+ /**
2794
+ * Automation id or typed alias.
2795
+ */
2796
+ id: string;
2797
+ /**
2798
+ * Dataset review request id.
2799
+ */
2800
+ reviewId: string;
2801
+ };
2802
+ query?: never;
2803
+ url: '/v1/automations/{id}/dataset-review-requests/{reviewId}';
2804
+ };
2805
+
2806
+ export type AutomationsDatasetReviewRequestsGetErrors = {
2807
+ /**
2808
+ * Validation error. Request shape did not match the spec.
2809
+ */
2810
+ 400: ApiErrorEnvelope;
2811
+ /**
2812
+ * Missing or invalid API key
2813
+ */
2814
+ 401: ApiErrorEnvelope;
2815
+ /**
2816
+ * API key lacks required scope
2817
+ */
2818
+ 403: ApiErrorEnvelope;
2819
+ /**
2820
+ * Resource not found
2821
+ */
2822
+ 404: ApiErrorEnvelope;
2823
+ /**
2824
+ * Payload too large. Upload exceeded the per-request size cap.
2825
+ */
2826
+ 413: ApiErrorEnvelope;
2827
+ /**
2828
+ * Rate limit exceeded
2829
+ */
2830
+ 429: ApiErrorEnvelope;
2831
+ /**
2832
+ * Internal server error
2833
+ */
2834
+ 500: ApiErrorEnvelope;
2835
+ /**
2836
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
2837
+ */
2838
+ 503: ApiErrorEnvelope;
2839
+ };
2840
+
2841
+ export type AutomationsDatasetReviewRequestsGetError = AutomationsDatasetReviewRequestsGetErrors[keyof AutomationsDatasetReviewRequestsGetErrors];
2842
+
2843
+ export type AutomationsDatasetReviewRequestsGetResponses = {
2844
+ /**
2845
+ * Dataset review request.
2846
+ */
2847
+ 200: DatasetReviewDetail;
2848
+ };
2849
+
2850
+ export type AutomationsDatasetReviewRequestsGetResponse = AutomationsDatasetReviewRequestsGetResponses[keyof AutomationsDatasetReviewRequestsGetResponses];
2851
+
2852
+ export type AutomationsDatasetReviewRequestsUpdateData = {
2853
+ body: UpdateDatasetReviewRequest;
2854
+ path: {
2855
+ /**
2856
+ * Automation id or typed alias.
2857
+ */
2858
+ id: string;
2859
+ /**
2860
+ * Dataset review request id.
2861
+ */
2862
+ reviewId: string;
2863
+ };
2864
+ query?: never;
2865
+ url: '/v1/automations/{id}/dataset-review-requests/{reviewId}';
2866
+ };
2867
+
2868
+ export type AutomationsDatasetReviewRequestsUpdateErrors = {
2869
+ /**
2870
+ * Validation error. Request shape did not match the spec.
2871
+ */
2872
+ 400: ApiErrorEnvelope;
2873
+ /**
2874
+ * Missing or invalid API key
2875
+ */
2876
+ 401: ApiErrorEnvelope;
2877
+ /**
2878
+ * API key lacks required scope
2879
+ */
2880
+ 403: ApiErrorEnvelope;
2881
+ /**
2882
+ * Resource not found
2883
+ */
2884
+ 404: ApiErrorEnvelope;
2885
+ /**
2886
+ * Payload too large. Upload exceeded the per-request size cap.
2887
+ */
2888
+ 413: ApiErrorEnvelope;
2889
+ /**
2890
+ * Rate limit exceeded
2891
+ */
2892
+ 429: ApiErrorEnvelope;
2893
+ /**
2894
+ * Internal server error
2895
+ */
2896
+ 500: ApiErrorEnvelope;
2897
+ /**
2898
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
2899
+ */
2900
+ 503: ApiErrorEnvelope;
2901
+ };
2902
+
2903
+ export type AutomationsDatasetReviewRequestsUpdateError = AutomationsDatasetReviewRequestsUpdateErrors[keyof AutomationsDatasetReviewRequestsUpdateErrors];
2904
+
2905
+ export type AutomationsDatasetReviewRequestsUpdateResponses = {
2906
+ /**
2907
+ * Updated dataset review request.
2908
+ */
2909
+ 200: DatasetReviewDetail;
2910
+ };
2911
+
2912
+ export type AutomationsDatasetReviewRequestsUpdateResponse = AutomationsDatasetReviewRequestsUpdateResponses[keyof AutomationsDatasetReviewRequestsUpdateResponses];
2913
+
2914
+ export type AutomationsDatasetReviewRequestsListEventsData = {
2915
+ body?: never;
2916
+ path: {
2917
+ /**
2918
+ * Automation id or typed alias.
2919
+ */
2920
+ id: string;
2921
+ /**
2922
+ * Dataset review request id.
2923
+ */
2924
+ reviewId: string;
2925
+ };
2926
+ query?: never;
2927
+ url: '/v1/automations/{id}/dataset-review-requests/{reviewId}/events';
2928
+ };
2929
+
2930
+ export type AutomationsDatasetReviewRequestsListEventsErrors = {
2931
+ /**
2932
+ * Validation error. Request shape did not match the spec.
2933
+ */
2934
+ 400: ApiErrorEnvelope;
2935
+ /**
2936
+ * Missing or invalid API key
2937
+ */
2938
+ 401: ApiErrorEnvelope;
2939
+ /**
2940
+ * API key lacks required scope
2941
+ */
2942
+ 403: ApiErrorEnvelope;
2943
+ /**
2944
+ * Resource not found
2945
+ */
2946
+ 404: ApiErrorEnvelope;
2947
+ /**
2948
+ * Payload too large. Upload exceeded the per-request size cap.
2949
+ */
2950
+ 413: ApiErrorEnvelope;
2951
+ /**
2952
+ * Rate limit exceeded
2953
+ */
2954
+ 429: ApiErrorEnvelope;
2955
+ /**
2956
+ * Internal server error
2957
+ */
2958
+ 500: ApiErrorEnvelope;
2959
+ /**
2960
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
2961
+ */
2962
+ 503: ApiErrorEnvelope;
2963
+ };
2964
+
2965
+ export type AutomationsDatasetReviewRequestsListEventsError = AutomationsDatasetReviewRequestsListEventsErrors[keyof AutomationsDatasetReviewRequestsListEventsErrors];
2966
+
2967
+ export type AutomationsDatasetReviewRequestsListEventsResponses = {
2968
+ /**
2969
+ * Review events.
2970
+ */
2971
+ 200: DatasetReviewEventList;
2972
+ };
2973
+
2974
+ export type AutomationsDatasetReviewRequestsListEventsResponse = AutomationsDatasetReviewRequestsListEventsResponses[keyof AutomationsDatasetReviewRequestsListEventsResponses];
2975
+
2976
+ export type AutomationsDatasetReviewRequestsListItemsData = {
2977
+ body?: never;
2978
+ path: {
2979
+ /**
2980
+ * Automation id or typed alias.
2981
+ */
2982
+ id: string;
2983
+ /**
2984
+ * Dataset review request id.
2985
+ */
2986
+ reviewId: string;
2987
+ };
2988
+ query?: {
2989
+ /**
2990
+ * Optional comma-separated item statuses to filter by.
2991
+ */
2992
+ status?: string;
2300
2993
  };
2301
- query?: never;
2302
- url: '/v1/automations/{id}';
2994
+ url: '/v1/automations/{id}/dataset-review-requests/{reviewId}/items';
2303
2995
  };
2304
2996
 
2305
- export type AutomationsDeleteErrors = {
2997
+ export type AutomationsDatasetReviewRequestsListItemsErrors = {
2306
2998
  /**
2307
2999
  * Validation error. Request shape did not match the spec.
2308
3000
  */
@@ -2331,32 +3023,44 @@ export type AutomationsDeleteErrors = {
2331
3023
  * Internal server error
2332
3024
  */
2333
3025
  500: ApiErrorEnvelope;
3026
+ /**
3027
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
3028
+ */
3029
+ 503: ApiErrorEnvelope;
2334
3030
  };
2335
3031
 
2336
- export type AutomationsDeleteError = AutomationsDeleteErrors[keyof AutomationsDeleteErrors];
3032
+ export type AutomationsDatasetReviewRequestsListItemsError = AutomationsDatasetReviewRequestsListItemsErrors[keyof AutomationsDatasetReviewRequestsListItemsErrors];
2337
3033
 
2338
- export type AutomationsDeleteResponses = {
3034
+ export type AutomationsDatasetReviewRequestsListItemsResponses = {
2339
3035
  /**
2340
- * Automation deleted
3036
+ * Review items.
2341
3037
  */
2342
- 200: DeleteAutomationResponse;
3038
+ 200: DatasetReviewItemList;
2343
3039
  };
2344
3040
 
2345
- export type AutomationsDeleteResponse = AutomationsDeleteResponses[keyof AutomationsDeleteResponses];
3041
+ export type AutomationsDatasetReviewRequestsListItemsResponse = AutomationsDatasetReviewRequestsListItemsResponses[keyof AutomationsDatasetReviewRequestsListItemsResponses];
2346
3042
 
2347
- export type AutomationsGetData = {
2348
- body?: never;
3043
+ export type AutomationsDatasetReviewRequestsUpdateItemData = {
3044
+ body: UpdateDatasetReviewItem;
2349
3045
  path: {
2350
3046
  /**
2351
- * Workflow id, agent id, or typed alias like workflows.slug / agents.slug
3047
+ * Automation id or typed alias.
2352
3048
  */
2353
3049
  id: string;
3050
+ /**
3051
+ * Dataset review request id.
3052
+ */
3053
+ reviewId: string;
3054
+ /**
3055
+ * Dataset review item id.
3056
+ */
3057
+ itemId: string;
2354
3058
  };
2355
3059
  query?: never;
2356
- url: '/v1/automations/{id}';
3060
+ url: '/v1/automations/{id}/dataset-review-requests/{reviewId}/items/{itemId}';
2357
3061
  };
2358
3062
 
2359
- export type AutomationsGetErrors = {
3063
+ export type AutomationsDatasetReviewRequestsUpdateItemErrors = {
2360
3064
  /**
2361
3065
  * Validation error. Request shape did not match the spec.
2362
3066
  */
@@ -2385,32 +3089,48 @@ export type AutomationsGetErrors = {
2385
3089
  * Internal server error
2386
3090
  */
2387
3091
  500: ApiErrorEnvelope;
3092
+ /**
3093
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
3094
+ */
3095
+ 503: ApiErrorEnvelope;
2388
3096
  };
2389
3097
 
2390
- export type AutomationsGetError = AutomationsGetErrors[keyof AutomationsGetErrors];
3098
+ export type AutomationsDatasetReviewRequestsUpdateItemError = AutomationsDatasetReviewRequestsUpdateItemErrors[keyof AutomationsDatasetReviewRequestsUpdateItemErrors];
2391
3099
 
2392
- export type AutomationsGetResponses = {
3100
+ export type AutomationsDatasetReviewRequestsUpdateItemResponses = {
2393
3101
  /**
2394
- * Automation
3102
+ * Updated review item.
2395
3103
  */
2396
- 200: AutomationDetail;
3104
+ 200: DatasetReviewItemResponse;
2397
3105
  };
2398
3106
 
2399
- export type AutomationsGetResponse = AutomationsGetResponses[keyof AutomationsGetResponses];
3107
+ export type AutomationsDatasetReviewRequestsUpdateItemResponse = AutomationsDatasetReviewRequestsUpdateItemResponses[keyof AutomationsDatasetReviewRequestsUpdateItemResponses];
2400
3108
 
2401
- export type AutomationsUpdateData = {
2402
- body: UpdateAutomationRequest;
3109
+ export type AutomationsDatasetReviewRequestsItemFileGetData = {
3110
+ body?: never;
2403
3111
  path: {
2404
3112
  /**
2405
- * Workflow id, agent id, or typed alias like workflows.slug / agents.slug
3113
+ * Automation id or typed alias.
2406
3114
  */
2407
3115
  id: string;
3116
+ /**
3117
+ * Dataset review request id.
3118
+ */
3119
+ reviewId: string;
3120
+ /**
3121
+ * Dataset review item id.
3122
+ */
3123
+ itemId: string;
3124
+ /**
3125
+ * Slash-delimited path under the example input folder referenced by the item snapshot.
3126
+ */
3127
+ path: string;
2408
3128
  };
2409
3129
  query?: never;
2410
- url: '/v1/automations/{id}';
3130
+ url: '/v1/automations/{id}/dataset-review-requests/{reviewId}/items/{itemId}/files/{path}';
2411
3131
  };
2412
3132
 
2413
- export type AutomationsUpdateErrors = {
3133
+ export type AutomationsDatasetReviewRequestsItemFileGetErrors = {
2414
3134
  /**
2415
3135
  * Validation error. Request shape did not match the spec.
2416
3136
  */
@@ -2439,18 +3159,22 @@ export type AutomationsUpdateErrors = {
2439
3159
  * Internal server error
2440
3160
  */
2441
3161
  500: ApiErrorEnvelope;
3162
+ /**
3163
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
3164
+ */
3165
+ 503: ApiErrorEnvelope;
2442
3166
  };
2443
3167
 
2444
- export type AutomationsUpdateError = AutomationsUpdateErrors[keyof AutomationsUpdateErrors];
3168
+ export type AutomationsDatasetReviewRequestsItemFileGetError = AutomationsDatasetReviewRequestsItemFileGetErrors[keyof AutomationsDatasetReviewRequestsItemFileGetErrors];
2445
3169
 
2446
- export type AutomationsUpdateResponses = {
3170
+ export type AutomationsDatasetReviewRequestsItemFileGetResponses = {
2447
3171
  /**
2448
- * Updated automation
3172
+ * Input file bytes for a review item.
2449
3173
  */
2450
- 200: AutomationDetail;
3174
+ 200: Blob | File;
2451
3175
  };
2452
3176
 
2453
- export type AutomationsUpdateResponse = AutomationsUpdateResponses[keyof AutomationsUpdateResponses];
3177
+ export type AutomationsDatasetReviewRequestsItemFileGetResponse = AutomationsDatasetReviewRequestsItemFileGetResponses[keyof AutomationsDatasetReviewRequestsItemFileGetResponses];
2454
3178
 
2455
3179
  export type AutomationsDatasetExportData = {
2456
3180
  body?: never;
@@ -2498,6 +3222,10 @@ export type AutomationsDatasetExportErrors = {
2498
3222
  * Internal server error
2499
3223
  */
2500
3224
  500: ApiErrorEnvelope;
3225
+ /**
3226
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
3227
+ */
3228
+ 503: ApiErrorEnvelope;
2501
3229
  };
2502
3230
 
2503
3231
  export type AutomationsDatasetExportError = AutomationsDatasetExportErrors[keyof AutomationsDatasetExportErrors];
@@ -2552,6 +3280,10 @@ export type AutomationsDatasetImportErrors = {
2552
3280
  * Internal server error
2553
3281
  */
2554
3282
  500: ApiErrorEnvelope;
3283
+ /**
3284
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
3285
+ */
3286
+ 503: ApiErrorEnvelope;
2555
3287
  };
2556
3288
 
2557
3289
  export type AutomationsDatasetImportError = AutomationsDatasetImportErrors[keyof AutomationsDatasetImportErrors];
@@ -2606,6 +3338,10 @@ export type AutomationsEvaluatorsGetErrors = {
2606
3338
  * Internal server error
2607
3339
  */
2608
3340
  500: ApiErrorEnvelope;
3341
+ /**
3342
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
3343
+ */
3344
+ 503: ApiErrorEnvelope;
2609
3345
  };
2610
3346
 
2611
3347
  export type AutomationsEvaluatorsGetError = AutomationsEvaluatorsGetErrors[keyof AutomationsEvaluatorsGetErrors];
@@ -2660,6 +3396,10 @@ export type AutomationsEvaluatorsUpdateErrors = {
2660
3396
  * Internal server error
2661
3397
  */
2662
3398
  500: ApiErrorEnvelope;
3399
+ /**
3400
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
3401
+ */
3402
+ 503: ApiErrorEnvelope;
2663
3403
  };
2664
3404
 
2665
3405
  export type AutomationsEvaluatorsUpdateError = AutomationsEvaluatorsUpdateErrors[keyof AutomationsEvaluatorsUpdateErrors];
@@ -2727,6 +3467,10 @@ export type AutomationsExamplesListErrors = {
2727
3467
  * Internal server error
2728
3468
  */
2729
3469
  500: ApiErrorEnvelope;
3470
+ /**
3471
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
3472
+ */
3473
+ 503: ApiErrorEnvelope;
2730
3474
  };
2731
3475
 
2732
3476
  export type AutomationsExamplesListError = AutomationsExamplesListErrors[keyof AutomationsExamplesListErrors];
@@ -2781,6 +3525,10 @@ export type AutomationsExamplesCreateErrors = {
2781
3525
  * Internal server error
2782
3526
  */
2783
3527
  500: ApiErrorEnvelope;
3528
+ /**
3529
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
3530
+ */
3531
+ 503: ApiErrorEnvelope;
2784
3532
  };
2785
3533
 
2786
3534
  export type AutomationsExamplesCreateError = AutomationsExamplesCreateErrors[keyof AutomationsExamplesCreateErrors];
@@ -2839,6 +3587,10 @@ export type AutomationsExamplesDeleteErrors = {
2839
3587
  * Internal server error
2840
3588
  */
2841
3589
  500: ApiErrorEnvelope;
3590
+ /**
3591
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
3592
+ */
3593
+ 503: ApiErrorEnvelope;
2842
3594
  };
2843
3595
 
2844
3596
  export type AutomationsExamplesDeleteError = AutomationsExamplesDeleteErrors[keyof AutomationsExamplesDeleteErrors];
@@ -2897,6 +3649,10 @@ export type AutomationsExamplesGetErrors = {
2897
3649
  * Internal server error
2898
3650
  */
2899
3651
  500: ApiErrorEnvelope;
3652
+ /**
3653
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
3654
+ */
3655
+ 503: ApiErrorEnvelope;
2900
3656
  };
2901
3657
 
2902
3658
  export type AutomationsExamplesGetError = AutomationsExamplesGetErrors[keyof AutomationsExamplesGetErrors];
@@ -2955,6 +3711,10 @@ export type AutomationsExamplesUpdateErrors = {
2955
3711
  * Internal server error
2956
3712
  */
2957
3713
  500: ApiErrorEnvelope;
3714
+ /**
3715
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
3716
+ */
3717
+ 503: ApiErrorEnvelope;
2958
3718
  };
2959
3719
 
2960
3720
  export type AutomationsExamplesUpdateError = AutomationsExamplesUpdateErrors[keyof AutomationsExamplesUpdateErrors];
@@ -3013,6 +3773,10 @@ export type AutomationsExamplesExpectedFilesListErrors = {
3013
3773
  * Internal server error
3014
3774
  */
3015
3775
  500: ApiErrorEnvelope;
3776
+ /**
3777
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
3778
+ */
3779
+ 503: ApiErrorEnvelope;
3016
3780
  };
3017
3781
 
3018
3782
  export type AutomationsExamplesExpectedFilesListError = AutomationsExamplesExpectedFilesListErrors[keyof AutomationsExamplesExpectedFilesListErrors];
@@ -3071,6 +3835,10 @@ export type AutomationsExamplesExpectedFilesCreateErrors = {
3071
3835
  * Internal server error
3072
3836
  */
3073
3837
  500: ApiErrorEnvelope;
3838
+ /**
3839
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
3840
+ */
3841
+ 503: ApiErrorEnvelope;
3074
3842
  };
3075
3843
 
3076
3844
  export type AutomationsExamplesExpectedFilesCreateError = AutomationsExamplesExpectedFilesCreateErrors[keyof AutomationsExamplesExpectedFilesCreateErrors];
@@ -3133,6 +3901,10 @@ export type AutomationsExamplesExpectedFileDeleteErrors = {
3133
3901
  * Internal server error
3134
3902
  */
3135
3903
  500: ApiErrorEnvelope;
3904
+ /**
3905
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
3906
+ */
3907
+ 503: ApiErrorEnvelope;
3136
3908
  };
3137
3909
 
3138
3910
  export type AutomationsExamplesExpectedFileDeleteError = AutomationsExamplesExpectedFileDeleteErrors[keyof AutomationsExamplesExpectedFileDeleteErrors];
@@ -3193,6 +3965,10 @@ export type AutomationsExamplesExpectedFileGetErrors = {
3193
3965
  * Internal server error
3194
3966
  */
3195
3967
  500: ApiErrorEnvelope;
3968
+ /**
3969
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
3970
+ */
3971
+ 503: ApiErrorEnvelope;
3196
3972
  };
3197
3973
 
3198
3974
  export type AutomationsExamplesExpectedFileGetError = AutomationsExamplesExpectedFileGetErrors[keyof AutomationsExamplesExpectedFileGetErrors];
@@ -3255,6 +4031,10 @@ export type AutomationsExamplesExpectedFileUpdateErrors = {
3255
4031
  * Internal server error
3256
4032
  */
3257
4033
  500: ApiErrorEnvelope;
4034
+ /**
4035
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
4036
+ */
4037
+ 503: ApiErrorEnvelope;
3258
4038
  };
3259
4039
 
3260
4040
  export type AutomationsExamplesExpectedFileUpdateError = AutomationsExamplesExpectedFileUpdateErrors[keyof AutomationsExamplesExpectedFileUpdateErrors];
@@ -3313,6 +4093,10 @@ export type AutomationsExamplesInputFilesListErrors = {
3313
4093
  * Internal server error
3314
4094
  */
3315
4095
  500: ApiErrorEnvelope;
4096
+ /**
4097
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
4098
+ */
4099
+ 503: ApiErrorEnvelope;
3316
4100
  };
3317
4101
 
3318
4102
  export type AutomationsExamplesInputFilesListError = AutomationsExamplesInputFilesListErrors[keyof AutomationsExamplesInputFilesListErrors];
@@ -3371,6 +4155,10 @@ export type AutomationsExamplesInputFilesCreateErrors = {
3371
4155
  * Internal server error
3372
4156
  */
3373
4157
  500: ApiErrorEnvelope;
4158
+ /**
4159
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
4160
+ */
4161
+ 503: ApiErrorEnvelope;
3374
4162
  };
3375
4163
 
3376
4164
  export type AutomationsExamplesInputFilesCreateError = AutomationsExamplesInputFilesCreateErrors[keyof AutomationsExamplesInputFilesCreateErrors];
@@ -3433,6 +4221,10 @@ export type AutomationsExamplesInputFileDeleteErrors = {
3433
4221
  * Internal server error
3434
4222
  */
3435
4223
  500: ApiErrorEnvelope;
4224
+ /**
4225
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
4226
+ */
4227
+ 503: ApiErrorEnvelope;
3436
4228
  };
3437
4229
 
3438
4230
  export type AutomationsExamplesInputFileDeleteError = AutomationsExamplesInputFileDeleteErrors[keyof AutomationsExamplesInputFileDeleteErrors];
@@ -3493,6 +4285,10 @@ export type AutomationsExamplesInputFileGetErrors = {
3493
4285
  * Internal server error
3494
4286
  */
3495
4287
  500: ApiErrorEnvelope;
4288
+ /**
4289
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
4290
+ */
4291
+ 503: ApiErrorEnvelope;
3496
4292
  };
3497
4293
 
3498
4294
  export type AutomationsExamplesInputFileGetError = AutomationsExamplesInputFileGetErrors[keyof AutomationsExamplesInputFileGetErrors];
@@ -3555,6 +4351,10 @@ export type AutomationsExamplesInputFileUpdateErrors = {
3555
4351
  * Internal server error
3556
4352
  */
3557
4353
  500: ApiErrorEnvelope;
4354
+ /**
4355
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
4356
+ */
4357
+ 503: ApiErrorEnvelope;
3558
4358
  };
3559
4359
 
3560
4360
  export type AutomationsExamplesInputFileUpdateError = AutomationsExamplesInputFileUpdateErrors[keyof AutomationsExamplesInputFileUpdateErrors];
@@ -3613,6 +4413,10 @@ export type AutomationsExamplesRunErrors = {
3613
4413
  * Internal server error
3614
4414
  */
3615
4415
  500: ApiErrorEnvelope;
4416
+ /**
4417
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
4418
+ */
4419
+ 503: ApiErrorEnvelope;
3616
4420
  };
3617
4421
 
3618
4422
  export type AutomationsExamplesRunError = AutomationsExamplesRunErrors[keyof AutomationsExamplesRunErrors];
@@ -3684,6 +4488,10 @@ export type AutomationsExperimentsListErrors = {
3684
4488
  * Internal server error
3685
4489
  */
3686
4490
  500: ApiErrorEnvelope;
4491
+ /**
4492
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
4493
+ */
4494
+ 503: ApiErrorEnvelope;
3687
4495
  };
3688
4496
 
3689
4497
  export type AutomationsExperimentsListError = AutomationsExperimentsListErrors[keyof AutomationsExperimentsListErrors];
@@ -3743,6 +4551,10 @@ export type AutomationsExperimentsCreateErrors = {
3743
4551
  * Internal server error
3744
4552
  */
3745
4553
  500: ApiErrorEnvelope;
4554
+ /**
4555
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
4556
+ */
4557
+ 503: ApiErrorEnvelope;
3746
4558
  };
3747
4559
 
3748
4560
  export type AutomationsExperimentsCreateError = AutomationsExperimentsCreateErrors[keyof AutomationsExperimentsCreateErrors];
@@ -3801,6 +4613,10 @@ export type AutomationsExperimentsGetErrors = {
3801
4613
  * Internal server error
3802
4614
  */
3803
4615
  500: ApiErrorEnvelope;
4616
+ /**
4617
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
4618
+ */
4619
+ 503: ApiErrorEnvelope;
3804
4620
  };
3805
4621
 
3806
4622
  export type AutomationsExperimentsGetError = AutomationsExperimentsGetErrors[keyof AutomationsExperimentsGetErrors];
@@ -3859,6 +4675,10 @@ export type AutomationsExperimentsCancelErrors = {
3859
4675
  * Internal server error
3860
4676
  */
3861
4677
  500: ApiErrorEnvelope;
4678
+ /**
4679
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
4680
+ */
4681
+ 503: ApiErrorEnvelope;
3862
4682
  };
3863
4683
 
3864
4684
  export type AutomationsExperimentsCancelError = AutomationsExperimentsCancelErrors[keyof AutomationsExperimentsCancelErrors];
@@ -3914,6 +4734,10 @@ export type AutomationsExperimentsExportErrors = {
3914
4734
  * Internal server error
3915
4735
  */
3916
4736
  500: ApiErrorEnvelope;
4737
+ /**
4738
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
4739
+ */
4740
+ 503: ApiErrorEnvelope;
3917
4741
  };
3918
4742
 
3919
4743
  export type AutomationsExperimentsExportError = AutomationsExperimentsExportErrors[keyof AutomationsExperimentsExportErrors];
@@ -3967,6 +4791,10 @@ export type AutomationsExperimentsExportAllErrors = {
3967
4791
  * Internal server error
3968
4792
  */
3969
4793
  500: ApiErrorEnvelope;
4794
+ /**
4795
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
4796
+ */
4797
+ 503: ApiErrorEnvelope;
3970
4798
  };
3971
4799
 
3972
4800
  export type AutomationsExperimentsExportAllError = AutomationsExperimentsExportAllErrors[keyof AutomationsExperimentsExportAllErrors];
@@ -4018,6 +4846,10 @@ export type AutomationsExperimentsCreateStreamErrors = {
4018
4846
  * Internal server error
4019
4847
  */
4020
4848
  500: ApiErrorEnvelope;
4849
+ /**
4850
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
4851
+ */
4852
+ 503: ApiErrorEnvelope;
4021
4853
  };
4022
4854
 
4023
4855
  export type AutomationsExperimentsCreateStreamError = AutomationsExperimentsCreateStreamErrors[keyof AutomationsExperimentsCreateStreamErrors];
@@ -4119,6 +4951,10 @@ export type AutomationsReviewsHealthErrors = {
4119
4951
  * Internal server error
4120
4952
  */
4121
4953
  500: ApiErrorEnvelope;
4954
+ /**
4955
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
4956
+ */
4957
+ 503: ApiErrorEnvelope;
4122
4958
  };
4123
4959
 
4124
4960
  export type AutomationsReviewsHealthError = AutomationsReviewsHealthErrors[keyof AutomationsReviewsHealthErrors];
@@ -4173,6 +5009,10 @@ export type AutomationsSyncErrors = {
4173
5009
  * Internal server error
4174
5010
  */
4175
5011
  500: ApiErrorEnvelope;
5012
+ /**
5013
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
5014
+ */
5015
+ 503: ApiErrorEnvelope;
4176
5016
  };
4177
5017
 
4178
5018
  export type AutomationsSyncError = AutomationsSyncErrors[keyof AutomationsSyncErrors];
@@ -4268,6 +5108,10 @@ export type AutomationsTriggersGetErrors = {
4268
5108
  * Internal server error
4269
5109
  */
4270
5110
  500: ApiErrorEnvelope;
5111
+ /**
5112
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
5113
+ */
5114
+ 503: ApiErrorEnvelope;
4271
5115
  };
4272
5116
 
4273
5117
  export type AutomationsTriggersGetError = AutomationsTriggersGetErrors[keyof AutomationsTriggersGetErrors];
@@ -4322,6 +5166,10 @@ export type AutomationsVersionsListErrors = {
4322
5166
  * Internal server error
4323
5167
  */
4324
5168
  500: ApiErrorEnvelope;
5169
+ /**
5170
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
5171
+ */
5172
+ 503: ApiErrorEnvelope;
4325
5173
  };
4326
5174
 
4327
5175
  export type AutomationsVersionsListError = AutomationsVersionsListErrors[keyof AutomationsVersionsListErrors];
@@ -4380,6 +5228,10 @@ export type AutomationsVersionsCreateErrors = {
4380
5228
  * Internal server error
4381
5229
  */
4382
5230
  500: ApiErrorEnvelope;
5231
+ /**
5232
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
5233
+ */
5234
+ 503: ApiErrorEnvelope;
4383
5235
  };
4384
5236
 
4385
5237
  export type AutomationsVersionsCreateError = AutomationsVersionsCreateErrors[keyof AutomationsVersionsCreateErrors];
@@ -4442,6 +5294,10 @@ export type AutomationsVersionsPromoteErrors = {
4442
5294
  * Internal server error
4443
5295
  */
4444
5296
  500: ApiErrorEnvelope;
5297
+ /**
5298
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
5299
+ */
5300
+ 503: ApiErrorEnvelope;
4445
5301
  };
4446
5302
 
4447
5303
  export type AutomationsVersionsPromoteError = AutomationsVersionsPromoteErrors[keyof AutomationsVersionsPromoteErrors];
@@ -4504,6 +5360,10 @@ export type AutomationsVersionsRestoreErrors = {
4504
5360
  * Internal server error
4505
5361
  */
4506
5362
  500: ApiErrorEnvelope;
5363
+ /**
5364
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
5365
+ */
5366
+ 503: ApiErrorEnvelope;
4507
5367
  };
4508
5368
 
4509
5369
  export type AutomationsVersionsRestoreError = AutomationsVersionsRestoreErrors[keyof AutomationsVersionsRestoreErrors];
@@ -4562,6 +5422,10 @@ export type EmailServersListErrors = {
4562
5422
  * Internal server error
4563
5423
  */
4564
5424
  500: ApiErrorEnvelope;
5425
+ /**
5426
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
5427
+ */
5428
+ 503: ApiErrorEnvelope;
4565
5429
  };
4566
5430
 
4567
5431
  export type EmailServersListError = EmailServersListErrors[keyof EmailServersListErrors];
@@ -4615,6 +5479,10 @@ export type EmailServersCreateErrors = {
4615
5479
  * Internal server error
4616
5480
  */
4617
5481
  500: ApiErrorEnvelope;
5482
+ /**
5483
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
5484
+ */
5485
+ 503: ApiErrorEnvelope;
4618
5486
  };
4619
5487
 
4620
5488
  export type EmailServersCreateError = EmailServersCreateErrors[keyof EmailServersCreateErrors];
@@ -4669,6 +5537,10 @@ export type EmailServersDeleteErrors = {
4669
5537
  * Internal server error
4670
5538
  */
4671
5539
  500: ApiErrorEnvelope;
5540
+ /**
5541
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
5542
+ */
5543
+ 503: ApiErrorEnvelope;
4672
5544
  };
4673
5545
 
4674
5546
  export type EmailServersDeleteError = EmailServersDeleteErrors[keyof EmailServersDeleteErrors];
@@ -4723,6 +5595,10 @@ export type EmailServersGetErrors = {
4723
5595
  * Internal server error
4724
5596
  */
4725
5597
  500: ApiErrorEnvelope;
5598
+ /**
5599
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
5600
+ */
5601
+ 503: ApiErrorEnvelope;
4726
5602
  };
4727
5603
 
4728
5604
  export type EmailServersGetError = EmailServersGetErrors[keyof EmailServersGetErrors];
@@ -4781,6 +5657,10 @@ export type EmailServersUpdateErrors = {
4781
5657
  * Internal server error
4782
5658
  */
4783
5659
  500: ApiErrorEnvelope;
5660
+ /**
5661
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
5662
+ */
5663
+ 503: ApiErrorEnvelope;
4784
5664
  };
4785
5665
 
4786
5666
  export type EmailServersUpdateError = EmailServersUpdateErrors[keyof EmailServersUpdateErrors];
@@ -4839,6 +5719,10 @@ export type EmailServersTestErrors = {
4839
5719
  * Internal server error
4840
5720
  */
4841
5721
  500: ApiErrorEnvelope;
5722
+ /**
5723
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
5724
+ */
5725
+ 503: ApiErrorEnvelope;
4842
5726
  };
4843
5727
 
4844
5728
  export type EmailServersTestError = EmailServersTestErrors[keyof EmailServersTestErrors];
@@ -4890,6 +5774,10 @@ export type ExperimentsResolveErrors = {
4890
5774
  * Internal server error
4891
5775
  */
4892
5776
  500: ApiErrorEnvelope;
5777
+ /**
5778
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
5779
+ */
5780
+ 503: ApiErrorEnvelope;
4893
5781
  };
4894
5782
 
4895
5783
  export type ExperimentsResolveError = ExperimentsResolveErrors[keyof ExperimentsResolveErrors];
@@ -4919,6 +5807,10 @@ export type FilesCreateErrors = {
4919
5807
  * Missing or invalid API key
4920
5808
  */
4921
5809
  401: ApiErrorEnvelope;
5810
+ /**
5811
+ * Credit quota exceeded. The organization has spent its allowance; nothing was processed.
5812
+ */
5813
+ 402: ApiErrorEnvelope;
4922
5814
  /**
4923
5815
  * API key lacks required scope
4924
5816
  */
@@ -4927,6 +5819,10 @@ export type FilesCreateErrors = {
4927
5819
  * Resource not found
4928
5820
  */
4929
5821
  404: ApiErrorEnvelope;
5822
+ /**
5823
+ * The organization is being deleted. Its stored files are being removed, so new work that would write to its storage is refused.
5824
+ */
5825
+ 409: ApiErrorEnvelope;
4930
5826
  /**
4931
5827
  * Payload too large. Upload exceeded the per-request size cap.
4932
5828
  */
@@ -4939,6 +5835,10 @@ export type FilesCreateErrors = {
4939
5835
  * Internal server error
4940
5836
  */
4941
5837
  500: ApiErrorEnvelope;
5838
+ /**
5839
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
5840
+ */
5841
+ 503: ApiErrorEnvelope;
4942
5842
  };
4943
5843
 
4944
5844
  export type FilesCreateError = FilesCreateErrors[keyof FilesCreateErrors];
@@ -4993,6 +5893,10 @@ export type FilesDeleteErrors = {
4993
5893
  * Internal server error
4994
5894
  */
4995
5895
  500: ApiErrorEnvelope;
5896
+ /**
5897
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
5898
+ */
5899
+ 503: ApiErrorEnvelope;
4996
5900
  };
4997
5901
 
4998
5902
  export type FilesDeleteError = FilesDeleteErrors[keyof FilesDeleteErrors];
@@ -5047,6 +5951,10 @@ export type FilesGetErrors = {
5047
5951
  * Internal server error
5048
5952
  */
5049
5953
  500: ApiErrorEnvelope;
5954
+ /**
5955
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
5956
+ */
5957
+ 503: ApiErrorEnvelope;
5050
5958
  };
5051
5959
 
5052
5960
  export type FilesGetError = FilesGetErrors[keyof FilesGetErrors];
@@ -5101,6 +6009,10 @@ export type FilesContentGetErrors = {
5101
6009
  * Internal server error
5102
6010
  */
5103
6011
  500: ApiErrorEnvelope;
6012
+ /**
6013
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
6014
+ */
6015
+ 503: ApiErrorEnvelope;
5104
6016
  };
5105
6017
 
5106
6018
  export type FilesContentGetError = FilesContentGetErrors[keyof FilesContentGetErrors];
@@ -5128,6 +6040,10 @@ export type FilesUploadsCreateErrors = {
5128
6040
  * Missing or invalid API key
5129
6041
  */
5130
6042
  401: ApiErrorEnvelope;
6043
+ /**
6044
+ * Credit quota exceeded. The organization has spent its allowance; nothing was processed.
6045
+ */
6046
+ 402: ApiErrorEnvelope;
5131
6047
  /**
5132
6048
  * API key lacks required scope
5133
6049
  */
@@ -5136,6 +6052,10 @@ export type FilesUploadsCreateErrors = {
5136
6052
  * Resource not found
5137
6053
  */
5138
6054
  404: ApiErrorEnvelope;
6055
+ /**
6056
+ * The organization is being deleted. Its stored files are being removed, so new work that would write to its storage is refused.
6057
+ */
6058
+ 409: ApiErrorEnvelope;
5139
6059
  /**
5140
6060
  * Payload too large. Upload exceeded the per-request size cap.
5141
6061
  */
@@ -5148,6 +6068,10 @@ export type FilesUploadsCreateErrors = {
5148
6068
  * Internal server error
5149
6069
  */
5150
6070
  500: ApiErrorEnvelope;
6071
+ /**
6072
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
6073
+ */
6074
+ 503: ApiErrorEnvelope;
5151
6075
  };
5152
6076
 
5153
6077
  export type FilesUploadsCreateError = FilesUploadsCreateErrors[keyof FilesUploadsCreateErrors];
@@ -5199,6 +6123,10 @@ export type FilesUploadsAbortErrors = {
5199
6123
  * Internal server error
5200
6124
  */
5201
6125
  500: ApiErrorEnvelope;
6126
+ /**
6127
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
6128
+ */
6129
+ 503: ApiErrorEnvelope;
5202
6130
  };
5203
6131
 
5204
6132
  export type FilesUploadsAbortError = FilesUploadsAbortErrors[keyof FilesUploadsAbortErrors];
@@ -5250,6 +6178,10 @@ export type FilesUploadsGetErrors = {
5250
6178
  * Internal server error
5251
6179
  */
5252
6180
  500: ApiErrorEnvelope;
6181
+ /**
6182
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
6183
+ */
6184
+ 503: ApiErrorEnvelope;
5253
6185
  };
5254
6186
 
5255
6187
  export type FilesUploadsGetError = FilesUploadsGetErrors[keyof FilesUploadsGetErrors];
@@ -5289,6 +6221,10 @@ export type FilesUploadsCompleteErrors = {
5289
6221
  * Resource not found
5290
6222
  */
5291
6223
  404: ApiErrorEnvelope;
6224
+ /**
6225
+ * The organization is being deleted. Its stored files are being removed, so new work that would write to its storage is refused.
6226
+ */
6227
+ 409: ApiErrorEnvelope;
5292
6228
  /**
5293
6229
  * Payload too large. Upload exceeded the per-request size cap.
5294
6230
  */
@@ -5301,6 +6237,10 @@ export type FilesUploadsCompleteErrors = {
5301
6237
  * Internal server error
5302
6238
  */
5303
6239
  500: ApiErrorEnvelope;
6240
+ /**
6241
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
6242
+ */
6243
+ 503: ApiErrorEnvelope;
5304
6244
  };
5305
6245
 
5306
6246
  export type FilesUploadsCompleteError = FilesUploadsCompleteErrors[keyof FilesUploadsCompleteErrors];
@@ -5352,6 +6292,10 @@ export type FilesUploadsPartsListErrors = {
5352
6292
  * Internal server error
5353
6293
  */
5354
6294
  500: ApiErrorEnvelope;
6295
+ /**
6296
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
6297
+ */
6298
+ 503: ApiErrorEnvelope;
5355
6299
  };
5356
6300
 
5357
6301
  export type FilesUploadsPartsListError = FilesUploadsPartsListErrors[keyof FilesUploadsPartsListErrors];
@@ -5391,6 +6335,10 @@ export type FilesUploadsPartsPresignErrors = {
5391
6335
  * Resource not found
5392
6336
  */
5393
6337
  404: ApiErrorEnvelope;
6338
+ /**
6339
+ * The organization is being deleted. Its stored files are being removed, so new work that would write to its storage is refused.
6340
+ */
6341
+ 409: ApiErrorEnvelope;
5394
6342
  /**
5395
6343
  * Payload too large. Upload exceeded the per-request size cap.
5396
6344
  */
@@ -5403,6 +6351,10 @@ export type FilesUploadsPartsPresignErrors = {
5403
6351
  * Internal server error
5404
6352
  */
5405
6353
  500: ApiErrorEnvelope;
6354
+ /**
6355
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
6356
+ */
6357
+ 503: ApiErrorEnvelope;
5406
6358
  };
5407
6359
 
5408
6360
  export type FilesUploadsPartsPresignError = FilesUploadsPartsPresignErrors[keyof FilesUploadsPartsPresignErrors];
@@ -5465,6 +6417,10 @@ export type FoldersListErrors = {
5465
6417
  * Internal server error
5466
6418
  */
5467
6419
  500: ApiErrorEnvelope;
6420
+ /**
6421
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
6422
+ */
6423
+ 503: ApiErrorEnvelope;
5468
6424
  };
5469
6425
 
5470
6426
  export type FoldersListError = FoldersListErrors[keyof FoldersListErrors];
@@ -5518,6 +6474,10 @@ export type FoldersCreateErrors = {
5518
6474
  * Internal server error
5519
6475
  */
5520
6476
  500: ApiErrorEnvelope;
6477
+ /**
6478
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
6479
+ */
6480
+ 503: ApiErrorEnvelope;
5521
6481
  };
5522
6482
 
5523
6483
  export type FoldersCreateError = FoldersCreateErrors[keyof FoldersCreateErrors];
@@ -5572,6 +6532,10 @@ export type FoldersDeleteErrors = {
5572
6532
  * Internal server error
5573
6533
  */
5574
6534
  500: ApiErrorEnvelope;
6535
+ /**
6536
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
6537
+ */
6538
+ 503: ApiErrorEnvelope;
5575
6539
  };
5576
6540
 
5577
6541
  export type FoldersDeleteError = FoldersDeleteErrors[keyof FoldersDeleteErrors];
@@ -5626,6 +6590,10 @@ export type FoldersGetErrors = {
5626
6590
  * Internal server error
5627
6591
  */
5628
6592
  500: ApiErrorEnvelope;
6593
+ /**
6594
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
6595
+ */
6596
+ 503: ApiErrorEnvelope;
5629
6597
  };
5630
6598
 
5631
6599
  export type FoldersGetError = FoldersGetErrors[keyof FoldersGetErrors];
@@ -5684,6 +6652,10 @@ export type FoldersUpdateErrors = {
5684
6652
  * Internal server error
5685
6653
  */
5686
6654
  500: ApiErrorEnvelope;
6655
+ /**
6656
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
6657
+ */
6658
+ 503: ApiErrorEnvelope;
5687
6659
  };
5688
6660
 
5689
6661
  export type FoldersUpdateError = FoldersUpdateErrors[keyof FoldersUpdateErrors];
@@ -5738,6 +6710,10 @@ export type HumanReviewsListErrors = {
5738
6710
  * Internal server error
5739
6711
  */
5740
6712
  500: ApiErrorEnvelope;
6713
+ /**
6714
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
6715
+ */
6716
+ 503: ApiErrorEnvelope;
5741
6717
  };
5742
6718
 
5743
6719
  export type HumanReviewsListError = HumanReviewsListErrors[keyof HumanReviewsListErrors];
@@ -5792,6 +6768,10 @@ export type HumanReviewsGetErrors = {
5792
6768
  * Internal server error
5793
6769
  */
5794
6770
  500: ApiErrorEnvelope;
6771
+ /**
6772
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
6773
+ */
6774
+ 503: ApiErrorEnvelope;
5795
6775
  };
5796
6776
 
5797
6777
  export type HumanReviewsGetError = HumanReviewsGetErrors[keyof HumanReviewsGetErrors];
@@ -5848,6 +6828,10 @@ export type HumanReviewsApproveErrors = {
5848
6828
  * Internal server error
5849
6829
  */
5850
6830
  500: ApiErrorEnvelope;
6831
+ /**
6832
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
6833
+ */
6834
+ 503: ApiErrorEnvelope;
5851
6835
  };
5852
6836
 
5853
6837
  export type HumanReviewsApproveError = HumanReviewsApproveErrors[keyof HumanReviewsApproveErrors];
@@ -5908,6 +6892,10 @@ export type HumanReviewsConfirmFieldErrors = {
5908
6892
  * Internal server error
5909
6893
  */
5910
6894
  500: ApiErrorEnvelope;
6895
+ /**
6896
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
6897
+ */
6898
+ 503: ApiErrorEnvelope;
5911
6899
  };
5912
6900
 
5913
6901
  export type HumanReviewsConfirmFieldError = HumanReviewsConfirmFieldErrors[keyof HumanReviewsConfirmFieldErrors];
@@ -5966,6 +6954,10 @@ export type HumanReviewsFilesContentGetErrors = {
5966
6954
  * Internal server error
5967
6955
  */
5968
6956
  500: ApiErrorEnvelope;
6957
+ /**
6958
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
6959
+ */
6960
+ 503: ApiErrorEnvelope;
5969
6961
  };
5970
6962
 
5971
6963
  export type HumanReviewsFilesContentGetError = HumanReviewsFilesContentGetErrors[keyof HumanReviewsFilesContentGetErrors];
@@ -6022,6 +7014,10 @@ export type HumanReviewsRejectErrors = {
6022
7014
  * Internal server error
6023
7015
  */
6024
7016
  500: ApiErrorEnvelope;
7017
+ /**
7018
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
7019
+ */
7020
+ 503: ApiErrorEnvelope;
6025
7021
  };
6026
7022
 
6027
7023
  export type HumanReviewsRejectError = HumanReviewsRejectErrors[keyof HumanReviewsRejectErrors];
@@ -6076,6 +7072,10 @@ export type ModelsListErrors = {
6076
7072
  * Internal server error
6077
7073
  */
6078
7074
  500: ApiErrorEnvelope;
7075
+ /**
7076
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
7077
+ */
7078
+ 503: ApiErrorEnvelope;
6079
7079
  };
6080
7080
 
6081
7081
  export type ModelsListError = ModelsListErrors[keyof ModelsListErrors];
@@ -6165,6 +7165,10 @@ export type RunsListErrors = {
6165
7165
  * Internal server error
6166
7166
  */
6167
7167
  500: ApiErrorEnvelope;
7168
+ /**
7169
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
7170
+ */
7171
+ 503: ApiErrorEnvelope;
6168
7172
  };
6169
7173
 
6170
7174
  export type RunsListError = RunsListErrors[keyof RunsListErrors];
@@ -6203,6 +7207,10 @@ export type RunsStartErrors = {
6203
7207
  * Missing or invalid API key
6204
7208
  */
6205
7209
  401: ApiErrorEnvelope;
7210
+ /**
7211
+ * Credit quota exceeded (insufficient_credits). The organization has spent its allowance; nothing is started.
7212
+ */
7213
+ 402: ApiErrorEnvelope;
6206
7214
  /**
6207
7215
  * Trigger disabled or insufficient scope. Run start may return api_trigger_disabled when the API trigger is off, or manual_trigger_disabled for dashboard runs on API-only workflows.
6208
7216
  */
@@ -6223,6 +7231,10 @@ export type RunsStartErrors = {
6223
7231
  * Internal server error
6224
7232
  */
6225
7233
  500: ApiErrorEnvelope;
7234
+ /**
7235
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
7236
+ */
7237
+ 503: ApiErrorEnvelope;
6226
7238
  };
6227
7239
 
6228
7240
  export type RunsStartError = RunsStartErrors[keyof RunsStartErrors];
@@ -6290,6 +7302,10 @@ export type RunsGetErrors = {
6290
7302
  * Internal server error
6291
7303
  */
6292
7304
  500: ApiErrorEnvelope;
7305
+ /**
7306
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
7307
+ */
7308
+ 503: ApiErrorEnvelope;
6293
7309
  };
6294
7310
 
6295
7311
  export type RunsGetError = RunsGetErrors[keyof RunsGetErrors];
@@ -6357,6 +7373,10 @@ export type RunsArtifactsListErrors = {
6357
7373
  * Internal server error
6358
7374
  */
6359
7375
  500: ApiErrorEnvelope;
7376
+ /**
7377
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
7378
+ */
7379
+ 503: ApiErrorEnvelope;
6360
7380
  };
6361
7381
 
6362
7382
  export type RunsArtifactsListError = RunsArtifactsListErrors[keyof RunsArtifactsListErrors];
@@ -6409,6 +7429,10 @@ export type RunsArtifactsGetErrors = {
6409
7429
  * Internal server error
6410
7430
  */
6411
7431
  500: ApiErrorEnvelope;
7432
+ /**
7433
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
7434
+ */
7435
+ 503: ApiErrorEnvelope;
6412
7436
  };
6413
7437
 
6414
7438
  export type RunsArtifactsGetError = RunsArtifactsGetErrors[keyof RunsArtifactsGetErrors];
@@ -6458,6 +7482,10 @@ export type RunsCancelErrors = {
6458
7482
  * Internal server error
6459
7483
  */
6460
7484
  500: ApiErrorEnvelope;
7485
+ /**
7486
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
7487
+ */
7488
+ 503: ApiErrorEnvelope;
6461
7489
  };
6462
7490
 
6463
7491
  export type RunsCancelError = RunsCancelErrors[keyof RunsCancelErrors];
@@ -6512,6 +7540,10 @@ export type RunsEventsListErrors = {
6512
7540
  * Internal server error
6513
7541
  */
6514
7542
  500: ApiErrorEnvelope;
7543
+ /**
7544
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
7545
+ */
7546
+ 503: ApiErrorEnvelope;
6515
7547
  };
6516
7548
 
6517
7549
  export type RunsEventsListError = RunsEventsListErrors[keyof RunsEventsListErrors];
@@ -6554,6 +7586,10 @@ export type RunsPromoteErrors = {
6554
7586
  * Resource not found
6555
7587
  */
6556
7588
  404: ApiErrorEnvelope;
7589
+ /**
7590
+ * The organization is being deleted. Its stored files are being removed, so new work that would write to its storage is refused.
7591
+ */
7592
+ 409: ApiErrorEnvelope;
6557
7593
  /**
6558
7594
  * Payload too large. Upload exceeded the per-request size cap.
6559
7595
  */
@@ -6566,6 +7602,10 @@ export type RunsPromoteErrors = {
6566
7602
  * Internal server error
6567
7603
  */
6568
7604
  500: ApiErrorEnvelope;
7605
+ /**
7606
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
7607
+ */
7608
+ 503: ApiErrorEnvelope;
6569
7609
  };
6570
7610
 
6571
7611
  export type RunsPromoteError = RunsPromoteErrors[keyof RunsPromoteErrors];
@@ -6629,6 +7669,10 @@ export type RunsRerunErrors = {
6629
7669
  * Internal server error
6630
7670
  */
6631
7671
  500: ApiErrorEnvelope;
7672
+ /**
7673
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
7674
+ */
7675
+ 503: ApiErrorEnvelope;
6632
7676
  };
6633
7677
 
6634
7678
  export type RunsRerunError = RunsRerunErrors[keyof RunsRerunErrors];
@@ -6691,6 +7735,10 @@ export type RunsReviewsClearErrors = {
6691
7735
  * Internal server error
6692
7736
  */
6693
7737
  500: ApiErrorEnvelope;
7738
+ /**
7739
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
7740
+ */
7741
+ 503: ApiErrorEnvelope;
6694
7742
  };
6695
7743
 
6696
7744
  export type RunsReviewsClearError = RunsReviewsClearErrors[keyof RunsReviewsClearErrors];
@@ -6745,6 +7793,10 @@ export type RunsReviewsGetErrors = {
6745
7793
  * Internal server error
6746
7794
  */
6747
7795
  500: ApiErrorEnvelope;
7796
+ /**
7797
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
7798
+ */
7799
+ 503: ApiErrorEnvelope;
6748
7800
  };
6749
7801
 
6750
7802
  export type RunsReviewsGetError = RunsReviewsGetErrors[keyof RunsReviewsGetErrors];
@@ -6799,6 +7851,10 @@ export type RunsReviewsUpdateErrors = {
6799
7851
  * Internal server error
6800
7852
  */
6801
7853
  500: ApiErrorEnvelope;
7854
+ /**
7855
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
7856
+ */
7857
+ 503: ApiErrorEnvelope;
6802
7858
  };
6803
7859
 
6804
7860
  export type RunsReviewsUpdateError = RunsReviewsUpdateErrors[keyof RunsReviewsUpdateErrors];
@@ -6853,6 +7909,10 @@ export type RunsReviewsExpectedGetErrors = {
6853
7909
  * Internal server error
6854
7910
  */
6855
7911
  500: ApiErrorEnvelope;
7912
+ /**
7913
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
7914
+ */
7915
+ 503: ApiErrorEnvelope;
6856
7916
  };
6857
7917
 
6858
7918
  export type RunsReviewsExpectedGetError = RunsReviewsExpectedGetErrors[keyof RunsReviewsExpectedGetErrors];
@@ -6907,6 +7967,10 @@ export type RunsReviewsExpectedCreateErrors = {
6907
7967
  * Internal server error
6908
7968
  */
6909
7969
  500: ApiErrorEnvelope;
7970
+ /**
7971
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
7972
+ */
7973
+ 503: ApiErrorEnvelope;
6910
7974
  };
6911
7975
 
6912
7976
  export type RunsReviewsExpectedCreateError = RunsReviewsExpectedCreateErrors[keyof RunsReviewsExpectedCreateErrors];
@@ -6965,6 +8029,10 @@ export type RunsReviewsExpectedFileDeleteErrors = {
6965
8029
  * Internal server error
6966
8030
  */
6967
8031
  500: ApiErrorEnvelope;
8032
+ /**
8033
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
8034
+ */
8035
+ 503: ApiErrorEnvelope;
6968
8036
  };
6969
8037
 
6970
8038
  export type RunsReviewsExpectedFileDeleteError = RunsReviewsExpectedFileDeleteErrors[keyof RunsReviewsExpectedFileDeleteErrors];
@@ -7023,6 +8091,10 @@ export type RunsReviewsExpectedFileGetErrors = {
7023
8091
  * Internal server error
7024
8092
  */
7025
8093
  500: ApiErrorEnvelope;
8094
+ /**
8095
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
8096
+ */
8097
+ 503: ApiErrorEnvelope;
7026
8098
  };
7027
8099
 
7028
8100
  export type RunsReviewsExpectedFileGetError = RunsReviewsExpectedFileGetErrors[keyof RunsReviewsExpectedFileGetErrors];
@@ -7081,6 +8153,10 @@ export type RunsReviewsExpectedFileUpdateErrors = {
7081
8153
  * Internal server error
7082
8154
  */
7083
8155
  500: ApiErrorEnvelope;
8156
+ /**
8157
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
8158
+ */
8159
+ 503: ApiErrorEnvelope;
7084
8160
  };
7085
8161
 
7086
8162
  export type RunsReviewsExpectedFileUpdateError = RunsReviewsExpectedFileUpdateErrors[keyof RunsReviewsExpectedFileUpdateErrors];
@@ -7135,6 +8211,10 @@ export type RunsScoresListErrors = {
7135
8211
  * Internal server error
7136
8212
  */
7137
8213
  500: ApiErrorEnvelope;
8214
+ /**
8215
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
8216
+ */
8217
+ 503: ApiErrorEnvelope;
7138
8218
  };
7139
8219
 
7140
8220
  export type RunsScoresListError = RunsScoresListErrors[keyof RunsScoresListErrors];
@@ -7189,6 +8269,10 @@ export type RunsStepsListErrors = {
7189
8269
  * Internal server error
7190
8270
  */
7191
8271
  500: ApiErrorEnvelope;
8272
+ /**
8273
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
8274
+ */
8275
+ 503: ApiErrorEnvelope;
7192
8276
  };
7193
8277
 
7194
8278
  export type RunsStepsListError = RunsStepsListErrors[keyof RunsStepsListErrors];
@@ -7247,6 +8331,10 @@ export type RunsStepsGetErrors = {
7247
8331
  * Internal server error
7248
8332
  */
7249
8333
  500: ApiErrorEnvelope;
8334
+ /**
8335
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
8336
+ */
8337
+ 503: ApiErrorEnvelope;
7250
8338
  };
7251
8339
 
7252
8340
  export type RunsStepsGetError = RunsStepsGetErrors[keyof RunsStepsGetErrors];
@@ -7301,6 +8389,10 @@ export type RunsTraceGetErrors = {
7301
8389
  * Internal server error
7302
8390
  */
7303
8391
  500: ApiErrorEnvelope;
8392
+ /**
8393
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
8394
+ */
8395
+ 503: ApiErrorEnvelope;
7304
8396
  };
7305
8397
 
7306
8398
  export type RunsTraceGetError = RunsTraceGetErrors[keyof RunsTraceGetErrors];
@@ -7355,6 +8447,10 @@ export type RunsUsageGetErrors = {
7355
8447
  * Internal server error
7356
8448
  */
7357
8449
  500: ApiErrorEnvelope;
8450
+ /**
8451
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
8452
+ */
8453
+ 503: ApiErrorEnvelope;
7358
8454
  };
7359
8455
 
7360
8456
  export type RunsUsageGetError = RunsUsageGetErrors[keyof RunsUsageGetErrors];
@@ -7407,6 +8503,10 @@ export type TemplatesListErrors = {
7407
8503
  * Internal server error
7408
8504
  */
7409
8505
  500: ApiErrorEnvelope;
8506
+ /**
8507
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
8508
+ */
8509
+ 503: ApiErrorEnvelope;
7410
8510
  };
7411
8511
 
7412
8512
  export type TemplatesListError = TemplatesListErrors[keyof TemplatesListErrors];
@@ -7460,6 +8560,10 @@ export type TemplatesCreateErrors = {
7460
8560
  * Internal server error
7461
8561
  */
7462
8562
  500: ApiErrorEnvelope;
8563
+ /**
8564
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
8565
+ */
8566
+ 503: ApiErrorEnvelope;
7463
8567
  };
7464
8568
 
7465
8569
  export type TemplatesCreateError = TemplatesCreateErrors[keyof TemplatesCreateErrors];
@@ -7514,6 +8618,10 @@ export type TemplatesDeleteErrors = {
7514
8618
  * Internal server error
7515
8619
  */
7516
8620
  500: ApiErrorEnvelope;
8621
+ /**
8622
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
8623
+ */
8624
+ 503: ApiErrorEnvelope;
7517
8625
  };
7518
8626
 
7519
8627
  export type TemplatesDeleteError = TemplatesDeleteErrors[keyof TemplatesDeleteErrors];
@@ -7568,6 +8676,10 @@ export type TemplatesGetErrors = {
7568
8676
  * Internal server error
7569
8677
  */
7570
8678
  500: ApiErrorEnvelope;
8679
+ /**
8680
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
8681
+ */
8682
+ 503: ApiErrorEnvelope;
7571
8683
  };
7572
8684
 
7573
8685
  export type TemplatesGetError = TemplatesGetErrors[keyof TemplatesGetErrors];
@@ -7626,6 +8738,10 @@ export type TemplatesReplaceErrors = {
7626
8738
  * Internal server error
7627
8739
  */
7628
8740
  500: ApiErrorEnvelope;
8741
+ /**
8742
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
8743
+ */
8744
+ 503: ApiErrorEnvelope;
7629
8745
  };
7630
8746
 
7631
8747
  export type TemplatesReplaceError = TemplatesReplaceErrors[keyof TemplatesReplaceErrors];
@@ -7685,6 +8801,10 @@ export type TemplatesContentGetErrors = {
7685
8801
  * Internal server error
7686
8802
  */
7687
8803
  500: ApiErrorEnvelope;
8804
+ /**
8805
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
8806
+ */
8807
+ 503: ApiErrorEnvelope;
7688
8808
  };
7689
8809
 
7690
8810
  export type TemplatesContentGetError = TemplatesContentGetErrors[keyof TemplatesContentGetErrors];
@@ -7743,6 +8863,10 @@ export type TemplatesStagingErrors = {
7743
8863
  * Internal server error
7744
8864
  */
7745
8865
  500: ApiErrorEnvelope;
8866
+ /**
8867
+ * Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
8868
+ */
8869
+ 503: ApiErrorEnvelope;
7746
8870
  };
7747
8871
 
7748
8872
  export type TemplatesStagingError = TemplatesStagingErrors[keyof TemplatesStagingErrors];