@robosystems/client 0.1.16 → 0.1.18

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.
package/types.gen.d.ts CHANGED
@@ -274,22 +274,6 @@ export type BackupCreateRequest = {
274
274
  */
275
275
  schedule?: string | null;
276
276
  };
277
- /**
278
- * BackupExportRequest
279
- * Request model for exporting a backup.
280
- */
281
- export type BackupExportRequest = {
282
- /**
283
- * Backup Id
284
- * ID of backup to export
285
- */
286
- backup_id: string;
287
- /**
288
- * Export Format
289
- * Export format - only 'original' is supported (compressed .kuzu file)
290
- */
291
- export_format?: string;
292
- };
293
277
  /**
294
278
  * BackupListResponse
295
279
  * Response model for backup list.
@@ -606,6 +590,69 @@ export type ConnectionResponse = {
606
590
  [key: string]: unknown;
607
591
  };
608
592
  };
593
+ /**
594
+ * CopyResponse
595
+ * Response model for copy operations.
596
+ */
597
+ export type CopyResponse = {
598
+ /**
599
+ * Status
600
+ * Operation status
601
+ */
602
+ status: 'completed' | 'failed' | 'partial' | 'accepted';
603
+ /**
604
+ * Operation Id
605
+ * Operation ID for SSE monitoring (for long-running operations)
606
+ */
607
+ operation_id?: string | null;
608
+ /**
609
+ * Sse Url
610
+ * SSE endpoint URL for monitoring operation progress
611
+ */
612
+ sse_url?: string | null;
613
+ /**
614
+ * Source Type
615
+ * Type of source that was copied from
616
+ */
617
+ source_type: string;
618
+ /**
619
+ * Execution Time Ms
620
+ * Total execution time in milliseconds (for synchronous operations)
621
+ */
622
+ execution_time_ms?: number | null;
623
+ /**
624
+ * Message
625
+ * Human-readable status message
626
+ */
627
+ message: string;
628
+ /**
629
+ * Rows Imported
630
+ * Number of rows successfully imported
631
+ */
632
+ rows_imported?: number | null;
633
+ /**
634
+ * Rows Skipped
635
+ * Number of rows skipped due to errors (when ignore_errors=true)
636
+ */
637
+ rows_skipped?: number | null;
638
+ /**
639
+ * Warnings
640
+ * List of warnings encountered during import
641
+ */
642
+ warnings?: Array<string> | null;
643
+ /**
644
+ * Error Details
645
+ * Detailed error information if operation failed
646
+ */
647
+ error_details?: {
648
+ [key: string]: unknown;
649
+ } | null;
650
+ /**
651
+ * Bytes Processed
652
+ * Total bytes processed from source
653
+ */
654
+ bytes_processed?: number | null;
655
+ };
609
656
  /**
610
657
  * CreateAPIKeyRequest
611
658
  * Request model for creating a new API key.
@@ -721,22 +768,6 @@ export type CreateSubgraphRequest = {
721
768
  [key: string]: unknown;
722
769
  } | null;
723
770
  };
724
- /**
725
- * CreditCheckRequest
726
- * Request to check credit balance.
727
- */
728
- export type CreditCheckRequest = {
729
- /**
730
- * Operation Type
731
- * Type of operation to check
732
- */
733
- operation_type: string;
734
- /**
735
- * Base Cost
736
- * Custom base cost (uses default if not provided)
737
- */
738
- base_cost?: number | null;
739
- };
740
771
  /**
741
772
  * CreditSummary
742
773
  * Credit balance summary.
@@ -925,6 +956,47 @@ export type CypherQueryRequest = {
925
956
  */
926
957
  timeout?: number | null;
927
958
  };
959
+ /**
960
+ * DataFrameCopyRequest
961
+ * Request model for DataFrame copy operations (future).
962
+ */
963
+ export type DataFrameCopyRequest = {
964
+ /**
965
+ * Table Name
966
+ * Target Kuzu table name
967
+ */
968
+ table_name: string;
969
+ /**
970
+ * Ignore Errors
971
+ * Skip duplicate/invalid rows (enables upsert-like behavior)
972
+ */
973
+ ignore_errors?: boolean;
974
+ /**
975
+ * Extended Timeout
976
+ * Use extended timeout for large datasets
977
+ */
978
+ extended_timeout?: boolean;
979
+ /**
980
+ * Validate Schema
981
+ * Validate source schema against target table
982
+ */
983
+ validate_schema?: boolean;
984
+ /**
985
+ * Source Type
986
+ * Source type identifier
987
+ */
988
+ source_type?: 'dataframe';
989
+ /**
990
+ * Data Reference
991
+ * Reference to uploaded DataFrame data
992
+ */
993
+ data_reference: string;
994
+ /**
995
+ * Format
996
+ * DataFrame format
997
+ */
998
+ format?: 'pandas' | 'polars' | 'arrow';
999
+ };
928
1000
  /**
929
1001
  * DatabaseHealthResponse
930
1002
  * Response model for database health check.
@@ -1865,6 +1937,115 @@ export type RepositoryType = 'sec' | 'industry' | 'economic';
1865
1937
  * Response modes for execution.
1866
1938
  */
1867
1939
  export type ResponseMode = 'auto' | 'sync' | 'async' | 'stream';
1940
+ /**
1941
+ * S3CopyRequest
1942
+ * Request model for S3 copy operations.
1943
+ *
1944
+ * Copies data from S3 buckets into graph database tables using user-provided
1945
+ * AWS credentials. Supports various file formats and bulk loading options.
1946
+ */
1947
+ export type S3CopyRequest = {
1948
+ /**
1949
+ * Table Name
1950
+ * Target Kuzu table name
1951
+ */
1952
+ table_name: string;
1953
+ /**
1954
+ * Ignore Errors
1955
+ * Skip duplicate/invalid rows (enables upsert-like behavior)
1956
+ */
1957
+ ignore_errors?: boolean;
1958
+ /**
1959
+ * Extended Timeout
1960
+ * Use extended timeout for large datasets
1961
+ */
1962
+ extended_timeout?: boolean;
1963
+ /**
1964
+ * Validate Schema
1965
+ * Validate source schema against target table
1966
+ */
1967
+ validate_schema?: boolean;
1968
+ /**
1969
+ * Source Type
1970
+ * Source type identifier
1971
+ */
1972
+ source_type?: 's3';
1973
+ /**
1974
+ * S3 Path
1975
+ * Full S3 path (s3://bucket/key or s3://bucket/prefix*.parquet)
1976
+ */
1977
+ s3_path: string;
1978
+ /**
1979
+ * S3 Access Key Id
1980
+ * AWS access key ID for S3 access
1981
+ */
1982
+ s3_access_key_id: string;
1983
+ /**
1984
+ * S3 Secret Access Key
1985
+ * AWS secret access key for S3 access
1986
+ */
1987
+ s3_secret_access_key: string;
1988
+ /**
1989
+ * S3 Session Token
1990
+ * AWS session token (for temporary credentials)
1991
+ */
1992
+ s3_session_token?: string | null;
1993
+ /**
1994
+ * S3 Region
1995
+ * S3 region
1996
+ */
1997
+ s3_region?: string | null;
1998
+ /**
1999
+ * S3 Endpoint
2000
+ * Custom S3 endpoint (for S3-compatible storage)
2001
+ */
2002
+ s3_endpoint?: string | null;
2003
+ /**
2004
+ * S3 Url Style
2005
+ * S3 URL style (vhost or path)
2006
+ */
2007
+ s3_url_style?: ('vhost' | 'path') | null;
2008
+ /**
2009
+ * File Format
2010
+ * File format of the S3 data
2011
+ */
2012
+ file_format?: 'parquet' | 'csv' | 'json' | 'delta' | 'iceberg';
2013
+ /**
2014
+ * Csv Delimiter
2015
+ * CSV delimiter
2016
+ */
2017
+ csv_delimiter?: string | null;
2018
+ /**
2019
+ * Csv Header
2020
+ * CSV has header row
2021
+ */
2022
+ csv_header?: boolean | null;
2023
+ /**
2024
+ * Csv Quote
2025
+ * CSV quote character
2026
+ */
2027
+ csv_quote?: string | null;
2028
+ /**
2029
+ * Csv Escape
2030
+ * CSV escape character
2031
+ */
2032
+ csv_escape?: string | null;
2033
+ /**
2034
+ * Csv Skip
2035
+ * Number of rows to skip
2036
+ */
2037
+ csv_skip?: number | null;
2038
+ /**
2039
+ * Allow Moved Paths
2040
+ * Allow moved paths for Iceberg tables
2041
+ */
2042
+ allow_moved_paths?: boolean | null;
2043
+ /**
2044
+ * Max File Size Gb
2045
+ * Maximum total file size limit in GB
2046
+ */
2047
+ max_file_size_gb?: number | null;
2048
+ };
1868
2049
  /**
1869
2050
  * SECConnectionConfig
1870
2051
  * SEC-specific connection configuration.
@@ -2447,6 +2628,54 @@ export type TransactionSummaryResponse = {
2447
2628
  */
2448
2629
  last_transaction?: string | null;
2449
2630
  };
2631
+ /**
2632
+ * URLCopyRequest
2633
+ * Request model for URL copy operations (future).
2634
+ */
2635
+ export type UrlCopyRequest = {
2636
+ /**
2637
+ * Table Name
2638
+ * Target Kuzu table name
2639
+ */
2640
+ table_name: string;
2641
+ /**
2642
+ * Ignore Errors
2643
+ * Skip duplicate/invalid rows (enables upsert-like behavior)
2644
+ */
2645
+ ignore_errors?: boolean;
2646
+ /**
2647
+ * Extended Timeout
2648
+ * Use extended timeout for large datasets
2649
+ */
2650
+ extended_timeout?: boolean;
2651
+ /**
2652
+ * Validate Schema
2653
+ * Validate source schema against target table
2654
+ */
2655
+ validate_schema?: boolean;
2656
+ /**
2657
+ * Source Type
2658
+ * Source type identifier
2659
+ */
2660
+ source_type?: 'url';
2661
+ /**
2662
+ * Url
2663
+ * HTTP(S) URL to the data file
2664
+ */
2665
+ url: string;
2666
+ /**
2667
+ * File Format
2668
+ * File format of the URL data
2669
+ */
2670
+ file_format: 'parquet' | 'csv' | 'json';
2671
+ /**
2672
+ * Headers
2673
+ * Optional HTTP headers for authentication
2674
+ */
2675
+ headers?: {
2676
+ [key: string]: string;
2677
+ } | null;
2678
+ };
2450
2679
  /**
2451
2680
  * UpdateAPIKeyRequest
2452
2681
  * Request model for updating an API key.
@@ -2500,20 +2729,6 @@ export type UpdateUserRequest = {
2500
2729
  */
2501
2730
  email?: string | null;
2502
2731
  };
2503
- /**
2504
- * UpgradeSubscriptionRequest
2505
- * Request to upgrade a graph database subscription.
2506
- */
2507
- export type UpgradeSubscriptionRequest = {
2508
- /**
2509
- * Plan Name
2510
- */
2511
- plan_name: string;
2512
- /**
2513
- * Payment Method Id
2514
- */
2515
- payment_method_id?: string | null;
2516
- };
2517
2732
  /**
2518
2733
  * UserAnalyticsResponse
2519
2734
  * Response model for comprehensive user analytics.
@@ -3023,18 +3238,6 @@ export type CompleteSsoAuthResponses = {
3023
3238
  200: AuthResponse;
3024
3239
  };
3025
3240
  export type CompleteSsoAuthResponse = CompleteSsoAuthResponses[keyof CompleteSsoAuthResponses];
3026
- export type GetCaptchaConfigData = {
3027
- body?: never;
3028
- path?: never;
3029
- query?: never;
3030
- url: '/v1/auth/captcha/config';
3031
- };
3032
- export type GetCaptchaConfigResponses = {
3033
- /**
3034
- * CAPTCHA configuration
3035
- */
3036
- 200: unknown;
3037
- };
3038
3241
  export type GetPasswordPolicyData = {
3039
3242
  body?: never;
3040
3243
  path?: never;
@@ -3068,6 +3271,18 @@ export type CheckPasswordStrengthResponses = {
3068
3271
  200: PasswordCheckResponse;
3069
3272
  };
3070
3273
  export type CheckPasswordStrengthResponse = CheckPasswordStrengthResponses[keyof CheckPasswordStrengthResponses];
3274
+ export type GetCaptchaConfigData = {
3275
+ body?: never;
3276
+ path?: never;
3277
+ query?: never;
3278
+ url: '/v1/auth/captcha/config';
3279
+ };
3280
+ export type GetCaptchaConfigResponses = {
3281
+ /**
3282
+ * CAPTCHA configuration
3283
+ */
3284
+ 200: unknown;
3285
+ };
3071
3286
  export type GetServiceStatusData = {
3072
3287
  body?: never;
3073
3288
  path?: never;
@@ -3212,7 +3427,7 @@ export type GetAllCreditSummariesData = {
3212
3427
  };
3213
3428
  path?: never;
3214
3429
  query?: never;
3215
- url: '/v1/user/credits/summary';
3430
+ url: '/v1/user/credits';
3216
3431
  };
3217
3432
  export type GetAllCreditSummariesErrors = {
3218
3433
  /**
@@ -3451,7 +3666,7 @@ export type GetUserUsageResponses = {
3451
3666
  200: UserUsageResponse;
3452
3667
  };
3453
3668
  export type GetUserUsageResponse = GetUserUsageResponses[keyof GetUserUsageResponses];
3454
- export type GetSharedRepositoryLimitsData = {
3669
+ export type GetAllSharedRepositoryLimitsData = {
3455
3670
  body?: never;
3456
3671
  headers?: {
3457
3672
  /**
@@ -3459,34 +3674,28 @@ export type GetSharedRepositoryLimitsData = {
3459
3674
  */
3460
3675
  authorization?: string | null;
3461
3676
  };
3462
- path: {
3463
- /**
3464
- * Repository
3465
- * Repository name (e.g., 'sec')
3466
- */
3467
- repository: string;
3468
- };
3677
+ path?: never;
3469
3678
  query?: never;
3470
- url: '/v1/user/limits/shared-repositories/{repository}';
3679
+ url: '/v1/user/limits/shared-repositories/summary';
3471
3680
  };
3472
- export type GetSharedRepositoryLimitsErrors = {
3681
+ export type GetAllSharedRepositoryLimitsErrors = {
3473
3682
  /**
3474
3683
  * Validation Error
3475
3684
  */
3476
3685
  422: HttpValidationError;
3477
3686
  };
3478
- export type GetSharedRepositoryLimitsError = GetSharedRepositoryLimitsErrors[keyof GetSharedRepositoryLimitsErrors];
3479
- export type GetSharedRepositoryLimitsResponses = {
3687
+ export type GetAllSharedRepositoryLimitsError = GetAllSharedRepositoryLimitsErrors[keyof GetAllSharedRepositoryLimitsErrors];
3688
+ export type GetAllSharedRepositoryLimitsResponses = {
3480
3689
  /**
3481
- * Response Getsharedrepositorylimits
3690
+ * Response Getallsharedrepositorylimits
3482
3691
  * Successful Response
3483
3692
  */
3484
3693
  200: {
3485
3694
  [key: string]: unknown;
3486
3695
  };
3487
3696
  };
3488
- export type GetSharedRepositoryLimitsResponse = GetSharedRepositoryLimitsResponses[keyof GetSharedRepositoryLimitsResponses];
3489
- export type GetAllSharedRepositoryLimitsData = {
3697
+ export type GetAllSharedRepositoryLimitsResponse = GetAllSharedRepositoryLimitsResponses[keyof GetAllSharedRepositoryLimitsResponses];
3698
+ export type GetSharedRepositoryLimitsData = {
3490
3699
  body?: never;
3491
3700
  headers?: {
3492
3701
  /**
@@ -3494,27 +3703,33 @@ export type GetAllSharedRepositoryLimitsData = {
3494
3703
  */
3495
3704
  authorization?: string | null;
3496
3705
  };
3497
- path?: never;
3706
+ path: {
3707
+ /**
3708
+ * Repository
3709
+ * Repository name (e.g., 'sec')
3710
+ */
3711
+ repository: string;
3712
+ };
3498
3713
  query?: never;
3499
- url: '/v1/user/limits/shared-repositories/summary';
3714
+ url: '/v1/user/limits/shared-repositories/{repository}';
3500
3715
  };
3501
- export type GetAllSharedRepositoryLimitsErrors = {
3716
+ export type GetSharedRepositoryLimitsErrors = {
3502
3717
  /**
3503
3718
  * Validation Error
3504
3719
  */
3505
3720
  422: HttpValidationError;
3506
3721
  };
3507
- export type GetAllSharedRepositoryLimitsError = GetAllSharedRepositoryLimitsErrors[keyof GetAllSharedRepositoryLimitsErrors];
3508
- export type GetAllSharedRepositoryLimitsResponses = {
3722
+ export type GetSharedRepositoryLimitsError = GetSharedRepositoryLimitsErrors[keyof GetSharedRepositoryLimitsErrors];
3723
+ export type GetSharedRepositoryLimitsResponses = {
3509
3724
  /**
3510
- * Response Getallsharedrepositorylimits
3725
+ * Response Getsharedrepositorylimits
3511
3726
  * Successful Response
3512
3727
  */
3513
3728
  200: {
3514
3729
  [key: string]: unknown;
3515
3730
  };
3516
3731
  };
3517
- export type GetAllSharedRepositoryLimitsResponse = GetAllSharedRepositoryLimitsResponses[keyof GetAllSharedRepositoryLimitsResponses];
3732
+ export type GetSharedRepositoryLimitsResponse = GetSharedRepositoryLimitsResponses[keyof GetSharedRepositoryLimitsResponses];
3518
3733
  export type GetUserUsageOverviewData = {
3519
3734
  body?: never;
3520
3735
  headers?: {
@@ -3818,46 +4033,6 @@ export type GetRepositoryCreditsResponses = {
3818
4033
  200: RepositoryCreditsResponse;
3819
4034
  };
3820
4035
  export type GetRepositoryCreditsResponse = GetRepositoryCreditsResponses[keyof GetRepositoryCreditsResponses];
3821
- export type GetConnectionOptionsData = {
3822
- body?: never;
3823
- headers?: {
3824
- /**
3825
- * Authorization
3826
- */
3827
- authorization?: string | null;
3828
- };
3829
- path: {
3830
- /**
3831
- * Graph Id
3832
- * Graph database identifier
3833
- */
3834
- graph_id: string;
3835
- };
3836
- query?: never;
3837
- url: '/v1/{graph_id}/connections/options';
3838
- };
3839
- export type GetConnectionOptionsErrors = {
3840
- /**
3841
- * Access denied to graph
3842
- */
3843
- 403: ErrorResponse;
3844
- /**
3845
- * Validation Error
3846
- */
3847
- 422: HttpValidationError;
3848
- /**
3849
- * Failed to retrieve options
3850
- */
3851
- 500: ErrorResponse;
3852
- };
3853
- export type GetConnectionOptionsError = GetConnectionOptionsErrors[keyof GetConnectionOptionsErrors];
3854
- export type GetConnectionOptionsResponses = {
3855
- /**
3856
- * Connection options retrieved successfully
3857
- */
3858
- 200: ConnectionOptionsResponse;
3859
- };
3860
- export type GetConnectionOptionsResponse = GetConnectionOptionsResponses[keyof GetConnectionOptionsResponses];
3861
4036
  export type ListConnectionsData = {
3862
4037
  body?: never;
3863
4038
  headers?: {
@@ -4056,8 +4231,8 @@ export type GetConnectionResponses = {
4056
4231
  200: ConnectionResponse;
4057
4232
  };
4058
4233
  export type GetConnectionResponse = GetConnectionResponses[keyof GetConnectionResponses];
4059
- export type SyncConnectionData = {
4060
- body?: SyncConnectionRequest;
4234
+ export type GetConnectionOptionsData = {
4235
+ body?: never;
4061
4236
  headers?: {
4062
4237
  /**
4063
4238
  * Authorization
@@ -4070,7 +4245,47 @@ export type SyncConnectionData = {
4070
4245
  * Graph database identifier
4071
4246
  */
4072
4247
  graph_id: string;
4073
- /**
4248
+ };
4249
+ query?: never;
4250
+ url: '/v1/{graph_id}/connections/options';
4251
+ };
4252
+ export type GetConnectionOptionsErrors = {
4253
+ /**
4254
+ * Access denied to graph
4255
+ */
4256
+ 403: ErrorResponse;
4257
+ /**
4258
+ * Validation Error
4259
+ */
4260
+ 422: HttpValidationError;
4261
+ /**
4262
+ * Failed to retrieve options
4263
+ */
4264
+ 500: ErrorResponse;
4265
+ };
4266
+ export type GetConnectionOptionsError = GetConnectionOptionsErrors[keyof GetConnectionOptionsErrors];
4267
+ export type GetConnectionOptionsResponses = {
4268
+ /**
4269
+ * Connection options retrieved successfully
4270
+ */
4271
+ 200: ConnectionOptionsResponse;
4272
+ };
4273
+ export type GetConnectionOptionsResponse = GetConnectionOptionsResponses[keyof GetConnectionOptionsResponses];
4274
+ export type SyncConnectionData = {
4275
+ body?: SyncConnectionRequest;
4276
+ headers?: {
4277
+ /**
4278
+ * Authorization
4279
+ */
4280
+ authorization?: string | null;
4281
+ };
4282
+ path: {
4283
+ /**
4284
+ * Graph Id
4285
+ * Graph database identifier
4286
+ */
4287
+ graph_id: string;
4288
+ /**
4074
4289
  * Connection Id
4075
4290
  * Connection identifier
4076
4291
  */
@@ -4439,6 +4654,49 @@ export type CallMcpToolResponses = {
4439
4654
  */
4440
4655
  202: unknown;
4441
4656
  };
4657
+ export type ListBackupsData = {
4658
+ body?: never;
4659
+ headers?: {
4660
+ /**
4661
+ * Authorization
4662
+ */
4663
+ authorization?: string | null;
4664
+ };
4665
+ path: {
4666
+ /**
4667
+ * Graph Id
4668
+ * Graph database identifier
4669
+ */
4670
+ graph_id: string;
4671
+ };
4672
+ query?: {
4673
+ /**
4674
+ * Limit
4675
+ * Maximum number of backups to return
4676
+ */
4677
+ limit?: number;
4678
+ /**
4679
+ * Offset
4680
+ * Number of backups to skip
4681
+ */
4682
+ offset?: number;
4683
+ };
4684
+ url: '/v1/{graph_id}/backups';
4685
+ };
4686
+ export type ListBackupsErrors = {
4687
+ /**
4688
+ * Validation Error
4689
+ */
4690
+ 422: HttpValidationError;
4691
+ };
4692
+ export type ListBackupsError = ListBackupsErrors[keyof ListBackupsErrors];
4693
+ export type ListBackupsResponses = {
4694
+ /**
4695
+ * Successful Response
4696
+ */
4697
+ 200: BackupListResponse;
4698
+ };
4699
+ export type ListBackupsResponse = ListBackupsResponses[keyof ListBackupsResponses];
4442
4700
  export type CreateBackupData = {
4443
4701
  body: BackupCreateRequest;
4444
4702
  headers?: {
@@ -4455,7 +4713,7 @@ export type CreateBackupData = {
4455
4713
  graph_id: string;
4456
4714
  };
4457
4715
  query?: never;
4458
- url: '/v1/{graph_id}/backup/create';
4716
+ url: '/v1/{graph_id}/backups';
4459
4717
  };
4460
4718
  export type CreateBackupErrors = {
4461
4719
  /**
@@ -4486,45 +4744,52 @@ export type CreateBackupResponses = {
4486
4744
  */
4487
4745
  202: unknown;
4488
4746
  };
4489
- export type ListBackupsData = {
4747
+ export type ExportBackupData = {
4490
4748
  body?: never;
4491
- path: {
4749
+ headers?: {
4492
4750
  /**
4493
- * Graph Id
4494
- * Graph database identifier
4751
+ * Authorization
4495
4752
  */
4496
- graph_id: string;
4753
+ authorization?: string | null;
4497
4754
  };
4498
- query?: {
4755
+ path: {
4499
4756
  /**
4500
- * Limit
4501
- * Maximum number of backups to return
4757
+ * Backup Id
4758
+ * Backup identifier
4502
4759
  */
4503
- limit?: number;
4760
+ backup_id: string;
4504
4761
  /**
4505
- * Offset
4506
- * Number of backups to skip
4762
+ * Graph Id
4763
+ * Graph database identifier
4507
4764
  */
4508
- offset?: number;
4765
+ graph_id: string;
4509
4766
  };
4510
- url: '/v1/{graph_id}/backup/list';
4767
+ query?: never;
4768
+ url: '/v1/{graph_id}/backups/{backup_id}/export';
4511
4769
  };
4512
- export type ListBackupsErrors = {
4770
+ export type ExportBackupErrors = {
4771
+ /**
4772
+ * Access denied or backup is encrypted
4773
+ */
4774
+ 403: unknown;
4775
+ /**
4776
+ * Backup not found
4777
+ */
4778
+ 404: unknown;
4513
4779
  /**
4514
4780
  * Validation Error
4515
4781
  */
4516
4782
  422: HttpValidationError;
4517
4783
  };
4518
- export type ListBackupsError = ListBackupsErrors[keyof ListBackupsErrors];
4519
- export type ListBackupsResponses = {
4784
+ export type ExportBackupError = ExportBackupErrors[keyof ExportBackupErrors];
4785
+ export type ExportBackupResponses = {
4520
4786
  /**
4521
- * Successful Response
4787
+ * Backup exported successfully
4522
4788
  */
4523
- 200: BackupListResponse;
4789
+ 200: unknown;
4524
4790
  };
4525
- export type ListBackupsResponse = ListBackupsResponses[keyof ListBackupsResponses];
4526
- export type ExportBackupData = {
4527
- body: BackupExportRequest;
4791
+ export type GetBackupDownloadUrlData = {
4792
+ body?: never;
4528
4793
  headers?: {
4529
4794
  /**
4530
4795
  * Authorization
@@ -4532,16 +4797,27 @@ export type ExportBackupData = {
4532
4797
  authorization?: string | null;
4533
4798
  };
4534
4799
  path: {
4800
+ /**
4801
+ * Backup Id
4802
+ * Backup identifier
4803
+ */
4804
+ backup_id: string;
4535
4805
  /**
4536
4806
  * Graph Id
4537
4807
  * Graph database identifier
4538
4808
  */
4539
4809
  graph_id: string;
4540
4810
  };
4541
- query?: never;
4542
- url: '/v1/{graph_id}/backup/export';
4811
+ query?: {
4812
+ /**
4813
+ * Expires In
4814
+ * URL expiration time in seconds
4815
+ */
4816
+ expires_in?: number;
4817
+ };
4818
+ url: '/v1/{graph_id}/backups/{backup_id}/download';
4543
4819
  };
4544
- export type ExportBackupErrors = {
4820
+ export type GetBackupDownloadUrlErrors = {
4545
4821
  /**
4546
4822
  * Access denied or backup is encrypted
4547
4823
  */
@@ -4554,14 +4830,22 @@ export type ExportBackupErrors = {
4554
4830
  * Validation Error
4555
4831
  */
4556
4832
  422: HttpValidationError;
4833
+ /**
4834
+ * Failed to generate download URL
4835
+ */
4836
+ 500: unknown;
4557
4837
  };
4558
- export type ExportBackupError = ExportBackupErrors[keyof ExportBackupErrors];
4559
- export type ExportBackupResponses = {
4838
+ export type GetBackupDownloadUrlError = GetBackupDownloadUrlErrors[keyof GetBackupDownloadUrlErrors];
4839
+ export type GetBackupDownloadUrlResponses = {
4560
4840
  /**
4561
- * Backup exported successfully
4841
+ * Response Getbackupdownloadurl
4842
+ * Download URL generated successfully
4562
4843
  */
4563
- 200: unknown;
4844
+ 200: {
4845
+ [key: string]: unknown;
4846
+ };
4564
4847
  };
4848
+ export type GetBackupDownloadUrlResponse = GetBackupDownloadUrlResponses[keyof GetBackupDownloadUrlResponses];
4565
4849
  export type RestoreBackupData = {
4566
4850
  body: BackupRestoreRequest;
4567
4851
  headers?: {
@@ -4578,7 +4862,7 @@ export type RestoreBackupData = {
4578
4862
  graph_id: string;
4579
4863
  };
4580
4864
  query?: never;
4581
- url: '/v1/{graph_id}/backup/restore';
4865
+ url: '/v1/{graph_id}/backups/restore';
4582
4866
  };
4583
4867
  export type RestoreBackupErrors = {
4584
4868
  /**
@@ -4610,32 +4894,6 @@ export type RestoreBackupResponses = {
4610
4894
  202: unknown;
4611
4895
  };
4612
4896
  export type GetBackupStatsData = {
4613
- body?: never;
4614
- path: {
4615
- /**
4616
- * Graph Id
4617
- * Graph database identifier
4618
- */
4619
- graph_id: string;
4620
- };
4621
- query?: never;
4622
- url: '/v1/{graph_id}/backup/stats';
4623
- };
4624
- export type GetBackupStatsErrors = {
4625
- /**
4626
- * Validation Error
4627
- */
4628
- 422: HttpValidationError;
4629
- };
4630
- export type GetBackupStatsError = GetBackupStatsErrors[keyof GetBackupStatsErrors];
4631
- export type GetBackupStatsResponses = {
4632
- /**
4633
- * Successful Response
4634
- */
4635
- 200: BackupStatsResponse;
4636
- };
4637
- export type GetBackupStatsResponse = GetBackupStatsResponses[keyof GetBackupStatsResponses];
4638
- export type KuzuBackupHealthData = {
4639
4897
  body?: never;
4640
4898
  headers?: {
4641
4899
  /**
@@ -4651,83 +4909,22 @@ export type KuzuBackupHealthData = {
4651
4909
  graph_id: string;
4652
4910
  };
4653
4911
  query?: never;
4654
- url: '/v1/{graph_id}/backup/health';
4912
+ url: '/v1/{graph_id}/backups/stats';
4655
4913
  };
4656
- export type KuzuBackupHealthErrors = {
4914
+ export type GetBackupStatsErrors = {
4657
4915
  /**
4658
4916
  * Validation Error
4659
4917
  */
4660
4918
  422: HttpValidationError;
4661
4919
  };
4662
- export type KuzuBackupHealthError = KuzuBackupHealthErrors[keyof KuzuBackupHealthErrors];
4663
- export type KuzuBackupHealthResponses = {
4920
+ export type GetBackupStatsError = GetBackupStatsErrors[keyof GetBackupStatsErrors];
4921
+ export type GetBackupStatsResponses = {
4664
4922
  /**
4665
- * Response Kuzubackuphealth
4666
4923
  * Successful Response
4667
4924
  */
4668
- 200: {
4669
- [key: string]: unknown;
4670
- };
4671
- };
4672
- export type KuzuBackupHealthResponse = KuzuBackupHealthResponses[keyof KuzuBackupHealthResponses];
4673
- export type GetBackupDownloadUrlData = {
4674
- body?: never;
4675
- headers?: {
4676
- /**
4677
- * Authorization
4678
- */
4679
- authorization?: string | null;
4680
- };
4681
- path: {
4682
- /**
4683
- * Backup Id
4684
- * Backup identifier
4685
- */
4686
- backup_id: string;
4687
- /**
4688
- * Graph Id
4689
- * Graph database identifier
4690
- */
4691
- graph_id: string;
4692
- };
4693
- query?: {
4694
- /**
4695
- * Expires In
4696
- * URL expiration time in seconds
4697
- */
4698
- expires_in?: number;
4699
- };
4700
- url: '/v1/{graph_id}/backup/{backup_id}/download';
4701
- };
4702
- export type GetBackupDownloadUrlErrors = {
4703
- /**
4704
- * Access denied or backup is encrypted
4705
- */
4706
- 403: unknown;
4707
- /**
4708
- * Backup not found
4709
- */
4710
- 404: unknown;
4711
- /**
4712
- * Validation Error
4713
- */
4714
- 422: HttpValidationError;
4715
- /**
4716
- * Failed to generate download URL
4717
- */
4718
- 500: unknown;
4719
- };
4720
- export type GetBackupDownloadUrlError = GetBackupDownloadUrlErrors[keyof GetBackupDownloadUrlErrors];
4721
- export type GetBackupDownloadUrlResponses = {
4722
- /**
4723
- * Response Getbackupdownloadurl
4724
- * Download URL generated successfully
4725
- */
4726
- 200: {
4727
- [key: string]: unknown;
4728
- };
4925
+ 200: BackupStatsResponse;
4729
4926
  };
4730
- export type GetBackupDownloadUrlResponse = GetBackupDownloadUrlResponses[keyof GetBackupDownloadUrlResponses];
4927
+ export type GetBackupStatsResponse = GetBackupStatsResponses[keyof GetBackupStatsResponses];
4731
4928
  export type GetGraphMetricsData = {
4732
4929
  body?: never;
4733
4930
  headers?: {
@@ -5108,7 +5305,7 @@ export type GetCurrentGraphBillResponses = {
5108
5305
  };
5109
5306
  };
5110
5307
  export type GetCurrentGraphBillResponse = GetCurrentGraphBillResponses[keyof GetCurrentGraphBillResponses];
5111
- export type GetGraphMonthlyBillData = {
5308
+ export type GetGraphUsageDetailsData = {
5112
5309
  body?: never;
5113
5310
  headers?: {
5114
5311
  /**
@@ -5118,25 +5315,26 @@ export type GetGraphMonthlyBillData = {
5118
5315
  };
5119
5316
  path: {
5120
5317
  /**
5121
- * Year
5122
- * Year (2024-2030)
5318
+ * Graph Id
5319
+ * Graph database identifier
5123
5320
  */
5124
- year: number;
5321
+ graph_id: string;
5322
+ };
5323
+ query?: {
5125
5324
  /**
5126
- * Month
5127
- * Month (1-12)
5325
+ * Year
5326
+ * Year (defaults to current)
5128
5327
  */
5129
- month: number;
5328
+ year?: number | null;
5130
5329
  /**
5131
- * Graph Id
5132
- * Graph database identifier
5330
+ * Month
5331
+ * Month (defaults to current)
5133
5332
  */
5134
- graph_id: string;
5333
+ month?: number | null;
5135
5334
  };
5136
- query?: never;
5137
- url: '/v1/{graph_id}/billing/history/{year}/{month}';
5335
+ url: '/v1/{graph_id}/billing/usage';
5138
5336
  };
5139
- export type GetGraphMonthlyBillErrors = {
5337
+ export type GetGraphUsageDetailsErrors = {
5140
5338
  /**
5141
5339
  * Invalid year or month
5142
5340
  */
@@ -5146,7 +5344,7 @@ export type GetGraphMonthlyBillErrors = {
5146
5344
  */
5147
5345
  403: ErrorResponse;
5148
5346
  /**
5149
- * Graph not found or no data for period
5347
+ * Graph not found
5150
5348
  */
5151
5349
  404: ErrorResponse;
5152
5350
  /**
@@ -5154,21 +5352,21 @@ export type GetGraphMonthlyBillErrors = {
5154
5352
  */
5155
5353
  422: HttpValidationError;
5156
5354
  /**
5157
- * Failed to calculate bill
5355
+ * Failed to retrieve usage
5158
5356
  */
5159
5357
  500: ErrorResponse;
5160
5358
  };
5161
- export type GetGraphMonthlyBillError = GetGraphMonthlyBillErrors[keyof GetGraphMonthlyBillErrors];
5162
- export type GetGraphMonthlyBillResponses = {
5359
+ export type GetGraphUsageDetailsError = GetGraphUsageDetailsErrors[keyof GetGraphUsageDetailsErrors];
5360
+ export type GetGraphUsageDetailsResponses = {
5163
5361
  /**
5164
- * Response Getgraphmonthlybill
5165
- * Monthly bill retrieved successfully
5362
+ * Response Getgraphusagedetails
5363
+ * Usage details retrieved successfully
5166
5364
  */
5167
5365
  200: {
5168
5366
  [key: string]: unknown;
5169
5367
  };
5170
5368
  };
5171
- export type GetGraphMonthlyBillResponse = GetGraphMonthlyBillResponses[keyof GetGraphMonthlyBillResponses];
5369
+ export type GetGraphUsageDetailsResponse = GetGraphUsageDetailsResponses[keyof GetGraphUsageDetailsResponses];
5172
5370
  export type GetGraphBillingHistoryData = {
5173
5371
  body?: never;
5174
5372
  headers?: {
@@ -5222,7 +5420,7 @@ export type GetGraphBillingHistoryResponses = {
5222
5420
  };
5223
5421
  };
5224
5422
  export type GetGraphBillingHistoryResponse = GetGraphBillingHistoryResponses[keyof GetGraphBillingHistoryResponses];
5225
- export type GetGraphUsageDetailsData = {
5423
+ export type GetGraphMonthlyBillData = {
5226
5424
  body?: never;
5227
5425
  headers?: {
5228
5426
  /**
@@ -5231,27 +5429,26 @@ export type GetGraphUsageDetailsData = {
5231
5429
  authorization?: string | null;
5232
5430
  };
5233
5431
  path: {
5234
- /**
5235
- * Graph Id
5236
- * Graph database identifier
5237
- */
5238
- graph_id: string;
5239
- };
5240
- query?: {
5241
5432
  /**
5242
5433
  * Year
5243
- * Year (defaults to current)
5434
+ * Year (2024-2030)
5244
5435
  */
5245
- year?: number | null;
5436
+ year: number;
5246
5437
  /**
5247
5438
  * Month
5248
- * Month (defaults to current)
5439
+ * Month (1-12)
5249
5440
  */
5250
- month?: number | null;
5441
+ month: number;
5442
+ /**
5443
+ * Graph Id
5444
+ * Graph database identifier
5445
+ */
5446
+ graph_id: string;
5251
5447
  };
5252
- url: '/v1/{graph_id}/billing/usage';
5448
+ query?: never;
5449
+ url: '/v1/{graph_id}/billing/history/{year}/{month}';
5253
5450
  };
5254
- export type GetGraphUsageDetailsErrors = {
5451
+ export type GetGraphMonthlyBillErrors = {
5255
5452
  /**
5256
5453
  * Invalid year or month
5257
5454
  */
@@ -5261,7 +5458,7 @@ export type GetGraphUsageDetailsErrors = {
5261
5458
  */
5262
5459
  403: ErrorResponse;
5263
5460
  /**
5264
- * Graph not found
5461
+ * Graph not found or no data for period
5265
5462
  */
5266
5463
  404: ErrorResponse;
5267
5464
  /**
@@ -5269,176 +5466,21 @@ export type GetGraphUsageDetailsErrors = {
5269
5466
  */
5270
5467
  422: HttpValidationError;
5271
5468
  /**
5272
- * Failed to retrieve usage
5469
+ * Failed to calculate bill
5273
5470
  */
5274
5471
  500: ErrorResponse;
5275
5472
  };
5276
- export type GetGraphUsageDetailsError = GetGraphUsageDetailsErrors[keyof GetGraphUsageDetailsErrors];
5277
- export type GetGraphUsageDetailsResponses = {
5473
+ export type GetGraphMonthlyBillError = GetGraphMonthlyBillErrors[keyof GetGraphMonthlyBillErrors];
5474
+ export type GetGraphMonthlyBillResponses = {
5278
5475
  /**
5279
- * Response Getgraphusagedetails
5280
- * Usage details retrieved successfully
5476
+ * Response Getgraphmonthlybill
5477
+ * Monthly bill retrieved successfully
5281
5478
  */
5282
5479
  200: {
5283
5480
  [key: string]: unknown;
5284
5481
  };
5285
5482
  };
5286
- export type GetGraphUsageDetailsResponse = GetGraphUsageDetailsResponses[keyof GetGraphUsageDetailsResponses];
5287
- export type GetGraphPricingInfoV1GraphIdBillingPricingGetData = {
5288
- body?: never;
5289
- headers?: {
5290
- /**
5291
- * Authorization
5292
- */
5293
- authorization?: string | null;
5294
- };
5295
- path: {
5296
- /**
5297
- * Graph Id
5298
- * Graph database ID
5299
- */
5300
- graph_id: string;
5301
- };
5302
- query?: never;
5303
- url: '/v1/{graph_id}/billing/pricing';
5304
- };
5305
- export type GetGraphPricingInfoV1GraphIdBillingPricingGetErrors = {
5306
- /**
5307
- * Validation Error
5308
- */
5309
- 422: HttpValidationError;
5310
- };
5311
- export type GetGraphPricingInfoV1GraphIdBillingPricingGetError = GetGraphPricingInfoV1GraphIdBillingPricingGetErrors[keyof GetGraphPricingInfoV1GraphIdBillingPricingGetErrors];
5312
- export type GetGraphPricingInfoV1GraphIdBillingPricingGetResponses = {
5313
- /**
5314
- * Successful Response
5315
- */
5316
- 200: unknown;
5317
- };
5318
- export type UpgradeGraphSubscriptionV1GraphIdBillingSubscriptionUpgradePostData = {
5319
- body: UpgradeSubscriptionRequest;
5320
- headers?: {
5321
- /**
5322
- * Authorization
5323
- */
5324
- authorization?: string | null;
5325
- };
5326
- path: {
5327
- /**
5328
- * Graph Id
5329
- * Graph database ID
5330
- */
5331
- graph_id: string;
5332
- };
5333
- query?: never;
5334
- url: '/v1/{graph_id}/billing/subscription/upgrade';
5335
- };
5336
- export type UpgradeGraphSubscriptionV1GraphIdBillingSubscriptionUpgradePostErrors = {
5337
- /**
5338
- * Validation Error
5339
- */
5340
- 422: HttpValidationError;
5341
- };
5342
- export type UpgradeGraphSubscriptionV1GraphIdBillingSubscriptionUpgradePostError = UpgradeGraphSubscriptionV1GraphIdBillingSubscriptionUpgradePostErrors[keyof UpgradeGraphSubscriptionV1GraphIdBillingSubscriptionUpgradePostErrors];
5343
- export type UpgradeGraphSubscriptionV1GraphIdBillingSubscriptionUpgradePostResponses = {
5344
- /**
5345
- * Successful Response
5346
- */
5347
- 200: unknown;
5348
- };
5349
- export type GetGraphSubscriptionV1GraphIdBillingSubscriptionGetData = {
5350
- body?: never;
5351
- headers?: {
5352
- /**
5353
- * Authorization
5354
- */
5355
- authorization?: string | null;
5356
- };
5357
- path: {
5358
- /**
5359
- * Graph Id
5360
- * Graph database ID
5361
- */
5362
- graph_id: string;
5363
- };
5364
- query?: never;
5365
- url: '/v1/{graph_id}/billing/subscription';
5366
- };
5367
- export type GetGraphSubscriptionV1GraphIdBillingSubscriptionGetErrors = {
5368
- /**
5369
- * Validation Error
5370
- */
5371
- 422: HttpValidationError;
5372
- };
5373
- export type GetGraphSubscriptionV1GraphIdBillingSubscriptionGetError = GetGraphSubscriptionV1GraphIdBillingSubscriptionGetErrors[keyof GetGraphSubscriptionV1GraphIdBillingSubscriptionGetErrors];
5374
- export type GetGraphSubscriptionV1GraphIdBillingSubscriptionGetResponses = {
5375
- /**
5376
- * Successful Response
5377
- */
5378
- 200: unknown;
5379
- };
5380
- export type GetAvailableSubscriptionPlansV1GraphIdBillingAvailablePlansGetData = {
5381
- body?: never;
5382
- headers?: {
5383
- /**
5384
- * Authorization
5385
- */
5386
- authorization?: string | null;
5387
- };
5388
- path: {
5389
- /**
5390
- * Graph Id
5391
- * Graph database ID
5392
- */
5393
- graph_id: string;
5394
- };
5395
- query?: never;
5396
- url: '/v1/{graph_id}/billing/available-plans';
5397
- };
5398
- export type GetAvailableSubscriptionPlansV1GraphIdBillingAvailablePlansGetErrors = {
5399
- /**
5400
- * Validation Error
5401
- */
5402
- 422: HttpValidationError;
5403
- };
5404
- export type GetAvailableSubscriptionPlansV1GraphIdBillingAvailablePlansGetError = GetAvailableSubscriptionPlansV1GraphIdBillingAvailablePlansGetErrors[keyof GetAvailableSubscriptionPlansV1GraphIdBillingAvailablePlansGetErrors];
5405
- export type GetAvailableSubscriptionPlansV1GraphIdBillingAvailablePlansGetResponses = {
5406
- /**
5407
- * Successful Response
5408
- */
5409
- 200: unknown;
5410
- };
5411
- export type GetCreditBillingInfoV1GraphIdBillingCreditsGetData = {
5412
- body?: never;
5413
- headers?: {
5414
- /**
5415
- * Authorization
5416
- */
5417
- authorization?: string | null;
5418
- };
5419
- path: {
5420
- /**
5421
- * Graph Id
5422
- * Graph database ID
5423
- */
5424
- graph_id: string;
5425
- };
5426
- query?: never;
5427
- url: '/v1/{graph_id}/billing/credits';
5428
- };
5429
- export type GetCreditBillingInfoV1GraphIdBillingCreditsGetErrors = {
5430
- /**
5431
- * Validation Error
5432
- */
5433
- 422: HttpValidationError;
5434
- };
5435
- export type GetCreditBillingInfoV1GraphIdBillingCreditsGetError = GetCreditBillingInfoV1GraphIdBillingCreditsGetErrors[keyof GetCreditBillingInfoV1GraphIdBillingCreditsGetErrors];
5436
- export type GetCreditBillingInfoV1GraphIdBillingCreditsGetResponses = {
5437
- /**
5438
- * Successful Response
5439
- */
5440
- 200: unknown;
5441
- };
5483
+ export type GetGraphMonthlyBillResponse = GetGraphMonthlyBillResponses[keyof GetGraphMonthlyBillResponses];
5442
5484
  export type GetCreditSummaryData = {
5443
5485
  body?: never;
5444
5486
  headers?: {
@@ -5559,7 +5601,7 @@ export type ListCreditTransactionsResponses = {
5559
5601
  };
5560
5602
  export type ListCreditTransactionsResponse = ListCreditTransactionsResponses[keyof ListCreditTransactionsResponses];
5561
5603
  export type CheckCreditBalanceData = {
5562
- body: CreditCheckRequest;
5604
+ body?: never;
5563
5605
  headers?: {
5564
5606
  /**
5565
5607
  * Authorization
@@ -5573,8 +5615,19 @@ export type CheckCreditBalanceData = {
5573
5615
  */
5574
5616
  graph_id: string;
5575
5617
  };
5576
- query?: never;
5577
- url: '/v1/{graph_id}/credits/check';
5618
+ query: {
5619
+ /**
5620
+ * Operation Type
5621
+ * Type of operation to check
5622
+ */
5623
+ operation_type: string;
5624
+ /**
5625
+ * Base Cost
5626
+ * Custom base cost (uses default if not provided)
5627
+ */
5628
+ base_cost?: number | null;
5629
+ };
5630
+ url: '/v1/{graph_id}/credits/balance/check';
5578
5631
  };
5579
5632
  export type CheckCreditBalanceErrors = {
5580
5633
  /**
@@ -5714,7 +5767,7 @@ export type GetDatabaseHealthData = {
5714
5767
  graph_id: string;
5715
5768
  };
5716
5769
  query?: never;
5717
- url: '/v1/{graph_id}/status/health';
5770
+ url: '/v1/{graph_id}/health';
5718
5771
  };
5719
5772
  export type GetDatabaseHealthErrors = {
5720
5773
  /**
@@ -5758,7 +5811,7 @@ export type GetDatabaseInfoData = {
5758
5811
  graph_id: string;
5759
5812
  };
5760
5813
  query?: never;
5761
- url: '/v1/{graph_id}/status/info';
5814
+ url: '/v1/{graph_id}/info';
5762
5815
  };
5763
5816
  export type GetDatabaseInfoErrors = {
5764
5817
  /**
@@ -5786,7 +5839,7 @@ export type GetDatabaseInfoResponses = {
5786
5839
  200: DatabaseInfoResponse;
5787
5840
  };
5788
5841
  export type GetDatabaseInfoResponse = GetDatabaseInfoResponses[keyof GetDatabaseInfoResponses];
5789
- export type ListSubgraphsData = {
5842
+ export type GetGraphLimitsData = {
5790
5843
  body?: never;
5791
5844
  headers?: {
5792
5845
  /**
@@ -5797,24 +5850,20 @@ export type ListSubgraphsData = {
5797
5850
  path: {
5798
5851
  /**
5799
5852
  * Graph Id
5800
- * Parent graph identifier
5853
+ * Graph database identifier (user graph or shared repository)
5801
5854
  */
5802
5855
  graph_id: string;
5803
5856
  };
5804
5857
  query?: never;
5805
- url: '/v1/{graph_id}/subgraphs';
5858
+ url: '/v1/{graph_id}/limits';
5806
5859
  };
5807
- export type ListSubgraphsErrors = {
5808
- /**
5809
- * Not authenticated
5810
- */
5811
- 401: unknown;
5860
+ export type GetGraphLimitsErrors = {
5812
5861
  /**
5813
- * Access denied to parent graph
5862
+ * Access denied to graph
5814
5863
  */
5815
5864
  403: unknown;
5816
5865
  /**
5817
- * Parent graph not found
5866
+ * Graph not found
5818
5867
  */
5819
5868
  404: unknown;
5820
5869
  /**
@@ -5822,14 +5871,49 @@ export type ListSubgraphsErrors = {
5822
5871
  */
5823
5872
  422: HttpValidationError;
5824
5873
  /**
5825
- * Internal server error
5874
+ * Failed to retrieve limits
5826
5875
  */
5827
5876
  500: unknown;
5828
5877
  };
5878
+ export type GetGraphLimitsError = GetGraphLimitsErrors[keyof GetGraphLimitsErrors];
5879
+ export type GetGraphLimitsResponses = {
5880
+ /**
5881
+ * Response Getgraphlimits
5882
+ * Limits retrieved successfully
5883
+ */
5884
+ 200: {
5885
+ [key: string]: unknown;
5886
+ };
5887
+ };
5888
+ export type GetGraphLimitsResponse = GetGraphLimitsResponses[keyof GetGraphLimitsResponses];
5889
+ export type ListSubgraphsData = {
5890
+ body?: never;
5891
+ headers?: {
5892
+ /**
5893
+ * Authorization
5894
+ */
5895
+ authorization?: string | null;
5896
+ };
5897
+ path: {
5898
+ /**
5899
+ * Graph Id
5900
+ * Parent graph ID (e.g., 'kg1a2b3c4d5')
5901
+ */
5902
+ graph_id: string;
5903
+ };
5904
+ query?: never;
5905
+ url: '/v1/{graph_id}/subgraphs';
5906
+ };
5907
+ export type ListSubgraphsErrors = {
5908
+ /**
5909
+ * Validation Error
5910
+ */
5911
+ 422: HttpValidationError;
5912
+ };
5829
5913
  export type ListSubgraphsError = ListSubgraphsErrors[keyof ListSubgraphsErrors];
5830
5914
  export type ListSubgraphsResponses = {
5831
5915
  /**
5832
- * Subgraphs retrieved successfully
5916
+ * Successful Response
5833
5917
  */
5834
5918
  200: ListSubgraphsResponse;
5835
5919
  };
@@ -5845,7 +5929,7 @@ export type CreateSubgraphData = {
5845
5929
  path: {
5846
5930
  /**
5847
5931
  * Graph Id
5848
- * Parent graph identifier
5932
+ * Parent graph ID (e.g., 'kg1a2b3c4d5')
5849
5933
  */
5850
5934
  graph_id: string;
5851
5935
  };
@@ -5854,7 +5938,44 @@ export type CreateSubgraphData = {
5854
5938
  };
5855
5939
  export type CreateSubgraphErrors = {
5856
5940
  /**
5857
- * Invalid subgraph name or configuration
5941
+ * Validation Error
5942
+ */
5943
+ 422: HttpValidationError;
5944
+ };
5945
+ export type CreateSubgraphError = CreateSubgraphErrors[keyof CreateSubgraphErrors];
5946
+ export type CreateSubgraphResponses = {
5947
+ /**
5948
+ * Successful Response
5949
+ */
5950
+ 201: SubgraphResponse;
5951
+ };
5952
+ export type CreateSubgraphResponse = CreateSubgraphResponses[keyof CreateSubgraphResponses];
5953
+ export type DeleteSubgraphData = {
5954
+ body?: DeleteSubgraphRequest;
5955
+ headers?: {
5956
+ /**
5957
+ * Authorization
5958
+ */
5959
+ authorization?: string | null;
5960
+ };
5961
+ path: {
5962
+ /**
5963
+ * Graph Id
5964
+ * Parent graph identifier
5965
+ */
5966
+ graph_id: string;
5967
+ /**
5968
+ * Subgraph Id
5969
+ * Subgraph identifier to delete
5970
+ */
5971
+ subgraph_id: string;
5972
+ };
5973
+ query?: never;
5974
+ url: '/v1/{graph_id}/subgraphs/{subgraph_id}';
5975
+ };
5976
+ export type DeleteSubgraphErrors = {
5977
+ /**
5978
+ * Invalid subgraph identifier
5858
5979
  */
5859
5980
  400: unknown;
5860
5981
  /**
@@ -5862,15 +5983,15 @@ export type CreateSubgraphErrors = {
5862
5983
  */
5863
5984
  401: unknown;
5864
5985
  /**
5865
- * Insufficient permissions or tier
5986
+ * Insufficient permissions
5866
5987
  */
5867
5988
  403: unknown;
5868
5989
  /**
5869
- * Parent graph not found
5990
+ * Subgraph not found
5870
5991
  */
5871
5992
  404: unknown;
5872
5993
  /**
5873
- * Subgraph name already exists
5994
+ * Subgraph contains data (use force=true)
5874
5995
  */
5875
5996
  409: unknown;
5876
5997
  /**
@@ -5882,16 +6003,16 @@ export type CreateSubgraphErrors = {
5882
6003
  */
5883
6004
  500: unknown;
5884
6005
  };
5885
- export type CreateSubgraphError = CreateSubgraphErrors[keyof CreateSubgraphErrors];
5886
- export type CreateSubgraphResponses = {
6006
+ export type DeleteSubgraphError = DeleteSubgraphErrors[keyof DeleteSubgraphErrors];
6007
+ export type DeleteSubgraphResponses = {
5887
6008
  /**
5888
- * Subgraph created successfully
6009
+ * Subgraph deleted successfully
5889
6010
  */
5890
- 200: SubgraphResponse;
6011
+ 200: DeleteSubgraphResponse;
5891
6012
  };
5892
- export type CreateSubgraphResponse = CreateSubgraphResponses[keyof CreateSubgraphResponses];
5893
- export type DeleteSubgraphData = {
5894
- body?: DeleteSubgraphRequest;
6013
+ export type DeleteSubgraphResponse2 = DeleteSubgraphResponses[keyof DeleteSubgraphResponses];
6014
+ export type GetSubgraphInfoData = {
6015
+ body?: never;
5895
6016
  headers?: {
5896
6017
  /**
5897
6018
  * Authorization
@@ -5905,17 +6026,17 @@ export type DeleteSubgraphData = {
5905
6026
  */
5906
6027
  graph_id: string;
5907
6028
  /**
5908
- * Subgraph Name
5909
- * Subgraph name to delete
6029
+ * Subgraph Id
6030
+ * Subgraph identifier
5910
6031
  */
5911
- subgraph_name: string;
6032
+ subgraph_id: string;
5912
6033
  };
5913
6034
  query?: never;
5914
- url: '/v1/{graph_id}/subgraphs/{subgraph_name}';
6035
+ url: '/v1/{graph_id}/subgraphs/{subgraph_id}/info';
5915
6036
  };
5916
- export type DeleteSubgraphErrors = {
6037
+ export type GetSubgraphInfoErrors = {
5917
6038
  /**
5918
- * Invalid subgraph identifier
6039
+ * Not a valid subgraph
5919
6040
  */
5920
6041
  400: unknown;
5921
6042
  /**
@@ -5923,17 +6044,13 @@ export type DeleteSubgraphErrors = {
5923
6044
  */
5924
6045
  401: unknown;
5925
6046
  /**
5926
- * Insufficient permissions
6047
+ * Access denied
5927
6048
  */
5928
6049
  403: unknown;
5929
6050
  /**
5930
6051
  * Subgraph not found
5931
6052
  */
5932
6053
  404: unknown;
5933
- /**
5934
- * Subgraph contains data (use force=true)
5935
- */
5936
- 409: unknown;
5937
6054
  /**
5938
6055
  * Validation Error
5939
6056
  */
@@ -5943,14 +6060,14 @@ export type DeleteSubgraphErrors = {
5943
6060
  */
5944
6061
  500: unknown;
5945
6062
  };
5946
- export type DeleteSubgraphError = DeleteSubgraphErrors[keyof DeleteSubgraphErrors];
5947
- export type DeleteSubgraphResponses = {
6063
+ export type GetSubgraphInfoError = GetSubgraphInfoErrors[keyof GetSubgraphInfoErrors];
6064
+ export type GetSubgraphInfoResponses = {
5948
6065
  /**
5949
- * Subgraph deleted successfully
6066
+ * Subgraph information retrieved
5950
6067
  */
5951
- 200: DeleteSubgraphResponse;
6068
+ 200: SubgraphResponse;
5952
6069
  };
5953
- export type DeleteSubgraphResponse2 = DeleteSubgraphResponses[keyof DeleteSubgraphResponses];
6070
+ export type GetSubgraphInfoResponse = GetSubgraphInfoResponses[keyof GetSubgraphInfoResponses];
5954
6071
  export type GetSubgraphQuotaData = {
5955
6072
  body?: never;
5956
6073
  headers?: {
@@ -5999,8 +6116,11 @@ export type GetSubgraphQuotaResponses = {
5999
6116
  200: SubgraphQuotaResponse;
6000
6117
  };
6001
6118
  export type GetSubgraphQuotaResponse = GetSubgraphQuotaResponses[keyof GetSubgraphQuotaResponses];
6002
- export type GetSubgraphInfoData = {
6003
- body?: never;
6119
+ export type CopyDataToGraphData = {
6120
+ /**
6121
+ * Request
6122
+ */
6123
+ body: S3CopyRequest | UrlCopyRequest | DataFrameCopyRequest;
6004
6124
  headers?: {
6005
6125
  /**
6006
6126
  * Authorization
@@ -6010,52 +6130,55 @@ export type GetSubgraphInfoData = {
6010
6130
  path: {
6011
6131
  /**
6012
6132
  * Graph Id
6013
- * Parent graph identifier
6133
+ * Target graph identifier (user graphs only - shared repositories not allowed)
6014
6134
  */
6015
6135
  graph_id: string;
6016
- /**
6017
- * Subgraph Name
6018
- * Subgraph name
6019
- */
6020
- subgraph_name: string;
6021
6136
  };
6022
6137
  query?: never;
6023
- url: '/v1/{graph_id}/subgraphs/{subgraph_name}/info';
6138
+ url: '/v1/{graph_id}/copy';
6024
6139
  };
6025
- export type GetSubgraphInfoErrors = {
6140
+ export type CopyDataToGraphErrors = {
6026
6141
  /**
6027
- * Not a valid subgraph
6142
+ * Invalid request parameters
6028
6143
  */
6029
6144
  400: unknown;
6030
6145
  /**
6031
- * Not authenticated
6032
- */
6033
- 401: unknown;
6034
- /**
6035
- * Access denied
6146
+ * Access denied or shared repository
6036
6147
  */
6037
6148
  403: unknown;
6038
6149
  /**
6039
- * Subgraph not found
6150
+ * Operation timeout
6040
6151
  */
6041
- 404: unknown;
6152
+ 408: unknown;
6042
6153
  /**
6043
6154
  * Validation Error
6044
6155
  */
6045
6156
  422: HttpValidationError;
6046
6157
  /**
6047
- * Internal server error
6158
+ * Rate limit exceeded
6159
+ */
6160
+ 429: unknown;
6161
+ /**
6162
+ * Internal error
6048
6163
  */
6049
6164
  500: unknown;
6165
+ /**
6166
+ * Service unavailable
6167
+ */
6168
+ 503: unknown;
6050
6169
  };
6051
- export type GetSubgraphInfoError = GetSubgraphInfoErrors[keyof GetSubgraphInfoErrors];
6052
- export type GetSubgraphInfoResponses = {
6170
+ export type CopyDataToGraphError = CopyDataToGraphErrors[keyof CopyDataToGraphErrors];
6171
+ export type CopyDataToGraphResponses = {
6053
6172
  /**
6054
- * Subgraph information retrieved
6173
+ * Copy operation accepted and started
6055
6174
  */
6056
- 200: SubgraphResponse;
6175
+ 200: CopyResponse;
6176
+ /**
6177
+ * Copy operation queued for execution
6178
+ */
6179
+ 202: unknown;
6057
6180
  };
6058
- export type GetSubgraphInfoResponse = GetSubgraphInfoResponses[keyof GetSubgraphInfoResponses];
6181
+ export type CopyDataToGraphResponse = CopyDataToGraphResponses[keyof CopyDataToGraphResponses];
6059
6182
  export type CreateGraphData = {
6060
6183
  body: CreateGraphRequest;
6061
6184
  headers?: {