@daytonaio/api-client 0.140.0 → 0.141.0

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.
Files changed (56) hide show
  1. package/package.json +1 -1
  2. package/src/api/admin-api.d.ts +6 -6
  3. package/src/api/api-keys-api.d.ts +6 -6
  4. package/src/api/audit-api.d.ts +2 -2
  5. package/src/api/config-api.d.ts +1 -1
  6. package/src/api/docker-registry-api.d.ts +7 -7
  7. package/src/api/health-api.d.ts +1 -1
  8. package/src/api/jobs-api.d.ts +4 -4
  9. package/src/api/object-storage-api.d.ts +1 -1
  10. package/src/api/organizations-api.d.ts +116 -37
  11. package/src/api/organizations-api.js +146 -0
  12. package/src/api/organizations-api.js.map +1 -1
  13. package/src/api/preview-api.d.ts +4 -4
  14. package/src/api/regions-api.d.ts +1 -1
  15. package/src/api/runners-api.d.ts +10 -10
  16. package/src/api/sandbox-api.d.ts +236 -28
  17. package/src/api/sandbox-api.js +419 -0
  18. package/src/api/sandbox-api.js.map +1 -1
  19. package/src/api/snapshots-api.d.ts +10 -10
  20. package/src/api/toolbox-api.d.ts +68 -68
  21. package/src/api/users-api.d.ts +9 -9
  22. package/src/api/volumes-api.d.ts +5 -5
  23. package/src/api/webhooks-api.d.ts +6 -6
  24. package/src/api/workspace-api.d.ts +14 -14
  25. package/src/models/index.d.ts +9 -0
  26. package/src/models/index.js +9 -0
  27. package/src/models/index.js.map +1 -1
  28. package/src/models/log-entry.d.ts +76 -0
  29. package/src/models/log-entry.js +4 -0
  30. package/src/models/log-entry.js.map +1 -0
  31. package/src/models/metric-data-point.d.ts +30 -0
  32. package/src/models/metric-data-point.js +4 -0
  33. package/src/models/metric-data-point.js.map +1 -0
  34. package/src/models/metric-series.d.ts +31 -0
  35. package/src/models/metric-series.js +16 -0
  36. package/src/models/metric-series.js.map +1 -0
  37. package/src/models/metrics-response.d.ts +25 -0
  38. package/src/models/metrics-response.js +16 -0
  39. package/src/models/metrics-response.js.map +1 -0
  40. package/src/models/organization.d.ts +24 -0
  41. package/src/models/otel-config.d.ts +32 -0
  42. package/src/models/otel-config.js +4 -0
  43. package/src/models/otel-config.js.map +1 -0
  44. package/src/models/paginated-logs.d.ts +43 -0
  45. package/src/models/paginated-logs.js +16 -0
  46. package/src/models/paginated-logs.js.map +1 -0
  47. package/src/models/paginated-traces.d.ts +43 -0
  48. package/src/models/paginated-traces.js +16 -0
  49. package/src/models/paginated-traces.js.map +1 -0
  50. package/src/models/trace-span.d.ts +74 -0
  51. package/src/models/trace-span.js +4 -0
  52. package/src/models/trace-span.js.map +1 -0
  53. package/src/models/trace-summary.d.ts +60 -0
  54. package/src/models/trace-summary.js +4 -0
  55. package/src/models/trace-summary.js.map +1 -0
  56. package/src/models/update-organization-quota.d.ts +18 -0
@@ -13,7 +13,10 @@ import type { Configuration } from '../configuration';
13
13
  import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
14
  import { type RequestArgs, BaseAPI } from '../base';
15
15
  import type { CreateSandbox } from '../models';
16
+ import type { MetricsResponse } from '../models';
17
+ import type { PaginatedLogs } from '../models';
16
18
  import type { PaginatedSandboxes } from '../models';
19
+ import type { PaginatedTraces } from '../models';
17
20
  import type { PortPreviewUrl } from '../models';
18
21
  import type { ResizeSandbox } from '../models';
19
22
  import type { Sandbox } from '../models';
@@ -22,6 +25,7 @@ import type { SignedPortPreviewUrl } from '../models';
22
25
  import type { SshAccessDto } from '../models';
23
26
  import type { SshAccessValidationDto } from '../models';
24
27
  import type { ToolboxProxyUrl } from '../models';
28
+ import type { TraceSpan } from '../models';
25
29
  import type { UpdateSandboxStateDto } from '../models';
26
30
  import type { Url } from '../models';
27
31
  /**
@@ -126,6 +130,56 @@ export declare const SandboxApiAxiosParamCreator: (configuration?: Configuration
126
130
  * @throws {RequiredError}
127
131
  */
128
132
  getSandbox: (sandboxIdOrName: string, xDaytonaOrganizationID?: string, verbose?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
133
+ /**
134
+ * Retrieve OTEL logs for a sandbox within a time range
135
+ * @summary Get sandbox logs
136
+ * @param {string} sandboxId ID of the sandbox
137
+ * @param {Date} from Start of time range (ISO 8601)
138
+ * @param {Date} to End of time range (ISO 8601)
139
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
140
+ * @param {number} [page] Page number (1-indexed)
141
+ * @param {number} [limit] Number of items per page
142
+ * @param {Array<string>} [severities] Filter by severity levels (DEBUG, INFO, WARN, ERROR)
143
+ * @param {string} [search] Search in log body
144
+ * @param {*} [options] Override http request option.
145
+ * @throws {RequiredError}
146
+ */
147
+ getSandboxLogs: (sandboxId: string, from: Date, to: Date, xDaytonaOrganizationID?: string, page?: number, limit?: number, severities?: Array<string>, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
148
+ /**
149
+ * Retrieve OTEL metrics for a sandbox within a time range
150
+ * @summary Get sandbox metrics
151
+ * @param {string} sandboxId ID of the sandbox
152
+ * @param {Date} from Start of time range (ISO 8601)
153
+ * @param {Date} to End of time range (ISO 8601)
154
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
155
+ * @param {Array<string>} [metricNames] Filter by metric names
156
+ * @param {*} [options] Override http request option.
157
+ * @throws {RequiredError}
158
+ */
159
+ getSandboxMetrics: (sandboxId: string, from: Date, to: Date, xDaytonaOrganizationID?: string, metricNames?: Array<string>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
160
+ /**
161
+ * Retrieve all spans for a specific trace
162
+ * @summary Get trace spans
163
+ * @param {string} sandboxId ID of the sandbox
164
+ * @param {string} traceId ID of the trace
165
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
166
+ * @param {*} [options] Override http request option.
167
+ * @throws {RequiredError}
168
+ */
169
+ getSandboxTraceSpans: (sandboxId: string, traceId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
170
+ /**
171
+ * Retrieve OTEL traces for a sandbox within a time range
172
+ * @summary Get sandbox traces
173
+ * @param {string} sandboxId ID of the sandbox
174
+ * @param {Date} from Start of time range (ISO 8601)
175
+ * @param {Date} to End of time range (ISO 8601)
176
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
177
+ * @param {number} [page] Page number (1-indexed)
178
+ * @param {number} [limit] Number of items per page
179
+ * @param {*} [options] Override http request option.
180
+ * @throws {RequiredError}
181
+ */
182
+ getSandboxTraces: (sandboxId: string, from: Date, to: Date, xDaytonaOrganizationID?: string, page?: number, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
129
183
  /**
130
184
  *
131
185
  * @summary Get sandboxes for the authenticated runner
@@ -422,6 +476,56 @@ export declare const SandboxApiFp: (configuration?: Configuration) => {
422
476
  * @throws {RequiredError}
423
477
  */
424
478
  getSandbox(sandboxIdOrName: string, xDaytonaOrganizationID?: string, verbose?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Sandbox>>;
479
+ /**
480
+ * Retrieve OTEL logs for a sandbox within a time range
481
+ * @summary Get sandbox logs
482
+ * @param {string} sandboxId ID of the sandbox
483
+ * @param {Date} from Start of time range (ISO 8601)
484
+ * @param {Date} to End of time range (ISO 8601)
485
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
486
+ * @param {number} [page] Page number (1-indexed)
487
+ * @param {number} [limit] Number of items per page
488
+ * @param {Array<string>} [severities] Filter by severity levels (DEBUG, INFO, WARN, ERROR)
489
+ * @param {string} [search] Search in log body
490
+ * @param {*} [options] Override http request option.
491
+ * @throws {RequiredError}
492
+ */
493
+ getSandboxLogs(sandboxId: string, from: Date, to: Date, xDaytonaOrganizationID?: string, page?: number, limit?: number, severities?: Array<string>, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedLogs>>;
494
+ /**
495
+ * Retrieve OTEL metrics for a sandbox within a time range
496
+ * @summary Get sandbox metrics
497
+ * @param {string} sandboxId ID of the sandbox
498
+ * @param {Date} from Start of time range (ISO 8601)
499
+ * @param {Date} to End of time range (ISO 8601)
500
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
501
+ * @param {Array<string>} [metricNames] Filter by metric names
502
+ * @param {*} [options] Override http request option.
503
+ * @throws {RequiredError}
504
+ */
505
+ getSandboxMetrics(sandboxId: string, from: Date, to: Date, xDaytonaOrganizationID?: string, metricNames?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MetricsResponse>>;
506
+ /**
507
+ * Retrieve all spans for a specific trace
508
+ * @summary Get trace spans
509
+ * @param {string} sandboxId ID of the sandbox
510
+ * @param {string} traceId ID of the trace
511
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
512
+ * @param {*} [options] Override http request option.
513
+ * @throws {RequiredError}
514
+ */
515
+ getSandboxTraceSpans(sandboxId: string, traceId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<TraceSpan>>>;
516
+ /**
517
+ * Retrieve OTEL traces for a sandbox within a time range
518
+ * @summary Get sandbox traces
519
+ * @param {string} sandboxId ID of the sandbox
520
+ * @param {Date} from Start of time range (ISO 8601)
521
+ * @param {Date} to End of time range (ISO 8601)
522
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
523
+ * @param {number} [page] Page number (1-indexed)
524
+ * @param {number} [limit] Number of items per page
525
+ * @param {*} [options] Override http request option.
526
+ * @throws {RequiredError}
527
+ */
528
+ getSandboxTraces(sandboxId: string, from: Date, to: Date, xDaytonaOrganizationID?: string, page?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedTraces>>;
425
529
  /**
426
530
  *
427
531
  * @summary Get sandboxes for the authenticated runner
@@ -718,6 +822,56 @@ export declare const SandboxApiFactory: (configuration?: Configuration, basePath
718
822
  * @throws {RequiredError}
719
823
  */
720
824
  getSandbox(sandboxIdOrName: string, xDaytonaOrganizationID?: string, verbose?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Sandbox>;
825
+ /**
826
+ * Retrieve OTEL logs for a sandbox within a time range
827
+ * @summary Get sandbox logs
828
+ * @param {string} sandboxId ID of the sandbox
829
+ * @param {Date} from Start of time range (ISO 8601)
830
+ * @param {Date} to End of time range (ISO 8601)
831
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
832
+ * @param {number} [page] Page number (1-indexed)
833
+ * @param {number} [limit] Number of items per page
834
+ * @param {Array<string>} [severities] Filter by severity levels (DEBUG, INFO, WARN, ERROR)
835
+ * @param {string} [search] Search in log body
836
+ * @param {*} [options] Override http request option.
837
+ * @throws {RequiredError}
838
+ */
839
+ getSandboxLogs(sandboxId: string, from: Date, to: Date, xDaytonaOrganizationID?: string, page?: number, limit?: number, severities?: Array<string>, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<PaginatedLogs>;
840
+ /**
841
+ * Retrieve OTEL metrics for a sandbox within a time range
842
+ * @summary Get sandbox metrics
843
+ * @param {string} sandboxId ID of the sandbox
844
+ * @param {Date} from Start of time range (ISO 8601)
845
+ * @param {Date} to End of time range (ISO 8601)
846
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
847
+ * @param {Array<string>} [metricNames] Filter by metric names
848
+ * @param {*} [options] Override http request option.
849
+ * @throws {RequiredError}
850
+ */
851
+ getSandboxMetrics(sandboxId: string, from: Date, to: Date, xDaytonaOrganizationID?: string, metricNames?: Array<string>, options?: RawAxiosRequestConfig): AxiosPromise<MetricsResponse>;
852
+ /**
853
+ * Retrieve all spans for a specific trace
854
+ * @summary Get trace spans
855
+ * @param {string} sandboxId ID of the sandbox
856
+ * @param {string} traceId ID of the trace
857
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
858
+ * @param {*} [options] Override http request option.
859
+ * @throws {RequiredError}
860
+ */
861
+ getSandboxTraceSpans(sandboxId: string, traceId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<TraceSpan>>;
862
+ /**
863
+ * Retrieve OTEL traces for a sandbox within a time range
864
+ * @summary Get sandbox traces
865
+ * @param {string} sandboxId ID of the sandbox
866
+ * @param {Date} from Start of time range (ISO 8601)
867
+ * @param {Date} to End of time range (ISO 8601)
868
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
869
+ * @param {number} [page] Page number (1-indexed)
870
+ * @param {number} [limit] Number of items per page
871
+ * @param {*} [options] Override http request option.
872
+ * @throws {RequiredError}
873
+ */
874
+ getSandboxTraces(sandboxId: string, from: Date, to: Date, xDaytonaOrganizationID?: string, page?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<PaginatedTraces>;
721
875
  /**
722
876
  *
723
877
  * @summary Get sandboxes for the authenticated runner
@@ -928,7 +1082,7 @@ export declare class SandboxApi extends BaseAPI {
928
1082
  * @throws {RequiredError}
929
1083
  * @memberof SandboxApi
930
1084
  */
931
- archiveSandbox(sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any>>;
1085
+ archiveSandbox(sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any, {}>>;
932
1086
  /**
933
1087
  *
934
1088
  * @summary Create sandbox backup
@@ -938,7 +1092,7 @@ export declare class SandboxApi extends BaseAPI {
938
1092
  * @throws {RequiredError}
939
1093
  * @memberof SandboxApi
940
1094
  */
941
- createBackup(sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any>>;
1095
+ createBackup(sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any, {}>>;
942
1096
  /**
943
1097
  *
944
1098
  * @summary Create a new sandbox
@@ -948,7 +1102,7 @@ export declare class SandboxApi extends BaseAPI {
948
1102
  * @throws {RequiredError}
949
1103
  * @memberof SandboxApi
950
1104
  */
951
- createSandbox(createSandbox: CreateSandbox, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any>>;
1105
+ createSandbox(createSandbox: CreateSandbox, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any, {}>>;
952
1106
  /**
953
1107
  *
954
1108
  * @summary Create SSH access for sandbox
@@ -959,7 +1113,7 @@ export declare class SandboxApi extends BaseAPI {
959
1113
  * @throws {RequiredError}
960
1114
  * @memberof SandboxApi
961
1115
  */
962
- createSshAccess(sandboxIdOrName: string, xDaytonaOrganizationID?: string, expiresInMinutes?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SshAccessDto, any>>;
1116
+ createSshAccess(sandboxIdOrName: string, xDaytonaOrganizationID?: string, expiresInMinutes?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SshAccessDto, any, {}>>;
963
1117
  /**
964
1118
  *
965
1119
  * @summary Delete sandbox
@@ -969,7 +1123,7 @@ export declare class SandboxApi extends BaseAPI {
969
1123
  * @throws {RequiredError}
970
1124
  * @memberof SandboxApi
971
1125
  */
972
- deleteSandbox(sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any>>;
1126
+ deleteSandbox(sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any, {}>>;
973
1127
  /**
974
1128
  *
975
1129
  * @summary Expire signed preview URL for a sandbox port
@@ -981,7 +1135,7 @@ export declare class SandboxApi extends BaseAPI {
981
1135
  * @throws {RequiredError}
982
1136
  * @memberof SandboxApi
983
1137
  */
984
- expireSignedPortPreviewUrl(sandboxIdOrName: string, port: number, token: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
1138
+ expireSignedPortPreviewUrl(sandboxIdOrName: string, port: number, token: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
985
1139
  /**
986
1140
  * This endpoint is deprecated. Use `getBuildLogsUrl` instead.
987
1141
  * @summary Get build logs
@@ -993,7 +1147,7 @@ export declare class SandboxApi extends BaseAPI {
993
1147
  * @throws {RequiredError}
994
1148
  * @memberof SandboxApi
995
1149
  */
996
- getBuildLogs(sandboxIdOrName: string, xDaytonaOrganizationID?: string, follow?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
1150
+ getBuildLogs(sandboxIdOrName: string, xDaytonaOrganizationID?: string, follow?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
997
1151
  /**
998
1152
  *
999
1153
  * @summary Get build logs URL
@@ -1003,7 +1157,7 @@ export declare class SandboxApi extends BaseAPI {
1003
1157
  * @throws {RequiredError}
1004
1158
  * @memberof SandboxApi
1005
1159
  */
1006
- getBuildLogsUrl(sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Url, any>>;
1160
+ getBuildLogsUrl(sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Url, any, {}>>;
1007
1161
  /**
1008
1162
  *
1009
1163
  * @summary Get preview URL for a sandbox port
@@ -1014,7 +1168,7 @@ export declare class SandboxApi extends BaseAPI {
1014
1168
  * @throws {RequiredError}
1015
1169
  * @memberof SandboxApi
1016
1170
  */
1017
- getPortPreviewUrl(sandboxIdOrName: string, port: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PortPreviewUrl, any>>;
1171
+ getPortPreviewUrl(sandboxIdOrName: string, port: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PortPreviewUrl, any, {}>>;
1018
1172
  /**
1019
1173
  *
1020
1174
  * @summary Get sandbox details
@@ -1025,7 +1179,61 @@ export declare class SandboxApi extends BaseAPI {
1025
1179
  * @throws {RequiredError}
1026
1180
  * @memberof SandboxApi
1027
1181
  */
1028
- getSandbox(sandboxIdOrName: string, xDaytonaOrganizationID?: string, verbose?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any>>;
1182
+ getSandbox(sandboxIdOrName: string, xDaytonaOrganizationID?: string, verbose?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any, {}>>;
1183
+ /**
1184
+ * Retrieve OTEL logs for a sandbox within a time range
1185
+ * @summary Get sandbox logs
1186
+ * @param {string} sandboxId ID of the sandbox
1187
+ * @param {Date} from Start of time range (ISO 8601)
1188
+ * @param {Date} to End of time range (ISO 8601)
1189
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1190
+ * @param {number} [page] Page number (1-indexed)
1191
+ * @param {number} [limit] Number of items per page
1192
+ * @param {Array<string>} [severities] Filter by severity levels (DEBUG, INFO, WARN, ERROR)
1193
+ * @param {string} [search] Search in log body
1194
+ * @param {*} [options] Override http request option.
1195
+ * @throws {RequiredError}
1196
+ * @memberof SandboxApi
1197
+ */
1198
+ getSandboxLogs(sandboxId: string, from: Date, to: Date, xDaytonaOrganizationID?: string, page?: number, limit?: number, severities?: Array<string>, search?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginatedLogs, any, {}>>;
1199
+ /**
1200
+ * Retrieve OTEL metrics for a sandbox within a time range
1201
+ * @summary Get sandbox metrics
1202
+ * @param {string} sandboxId ID of the sandbox
1203
+ * @param {Date} from Start of time range (ISO 8601)
1204
+ * @param {Date} to End of time range (ISO 8601)
1205
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1206
+ * @param {Array<string>} [metricNames] Filter by metric names
1207
+ * @param {*} [options] Override http request option.
1208
+ * @throws {RequiredError}
1209
+ * @memberof SandboxApi
1210
+ */
1211
+ getSandboxMetrics(sandboxId: string, from: Date, to: Date, xDaytonaOrganizationID?: string, metricNames?: Array<string>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MetricsResponse, any, {}>>;
1212
+ /**
1213
+ * Retrieve all spans for a specific trace
1214
+ * @summary Get trace spans
1215
+ * @param {string} sandboxId ID of the sandbox
1216
+ * @param {string} traceId ID of the trace
1217
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1218
+ * @param {*} [options] Override http request option.
1219
+ * @throws {RequiredError}
1220
+ * @memberof SandboxApi
1221
+ */
1222
+ getSandboxTraceSpans(sandboxId: string, traceId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TraceSpan[], any, {}>>;
1223
+ /**
1224
+ * Retrieve OTEL traces for a sandbox within a time range
1225
+ * @summary Get sandbox traces
1226
+ * @param {string} sandboxId ID of the sandbox
1227
+ * @param {Date} from Start of time range (ISO 8601)
1228
+ * @param {Date} to End of time range (ISO 8601)
1229
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1230
+ * @param {number} [page] Page number (1-indexed)
1231
+ * @param {number} [limit] Number of items per page
1232
+ * @param {*} [options] Override http request option.
1233
+ * @throws {RequiredError}
1234
+ * @memberof SandboxApi
1235
+ */
1236
+ getSandboxTraces(sandboxId: string, from: Date, to: Date, xDaytonaOrganizationID?: string, page?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginatedTraces, any, {}>>;
1029
1237
  /**
1030
1238
  *
1031
1239
  * @summary Get sandboxes for the authenticated runner
@@ -1036,7 +1244,7 @@ export declare class SandboxApi extends BaseAPI {
1036
1244
  * @throws {RequiredError}
1037
1245
  * @memberof SandboxApi
1038
1246
  */
1039
- getSandboxesForRunner(xDaytonaOrganizationID?: string, states?: string, skipReconcilingSandboxes?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox[], any>>;
1247
+ getSandboxesForRunner(xDaytonaOrganizationID?: string, states?: string, skipReconcilingSandboxes?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox[], any, {}>>;
1040
1248
  /**
1041
1249
  *
1042
1250
  * @summary Get signed preview URL for a sandbox port
@@ -1048,7 +1256,7 @@ export declare class SandboxApi extends BaseAPI {
1048
1256
  * @throws {RequiredError}
1049
1257
  * @memberof SandboxApi
1050
1258
  */
1051
- getSignedPortPreviewUrl(sandboxIdOrName: string, port: number, xDaytonaOrganizationID?: string, expiresInSeconds?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SignedPortPreviewUrl, any>>;
1259
+ getSignedPortPreviewUrl(sandboxIdOrName: string, port: number, xDaytonaOrganizationID?: string, expiresInSeconds?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SignedPortPreviewUrl, any, {}>>;
1052
1260
  /**
1053
1261
  *
1054
1262
  * @summary Get toolbox proxy URL for a sandbox
@@ -1058,7 +1266,7 @@ export declare class SandboxApi extends BaseAPI {
1058
1266
  * @throws {RequiredError}
1059
1267
  * @memberof SandboxApi
1060
1268
  */
1061
- getToolboxProxyUrl(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ToolboxProxyUrl, any>>;
1269
+ getToolboxProxyUrl(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ToolboxProxyUrl, any, {}>>;
1062
1270
  /**
1063
1271
  *
1064
1272
  * @summary List all sandboxes
@@ -1070,7 +1278,7 @@ export declare class SandboxApi extends BaseAPI {
1070
1278
  * @throws {RequiredError}
1071
1279
  * @memberof SandboxApi
1072
1280
  */
1073
- listSandboxes(xDaytonaOrganizationID?: string, verbose?: boolean, labels?: string, includeErroredDeleted?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox[], any>>;
1281
+ listSandboxes(xDaytonaOrganizationID?: string, verbose?: boolean, labels?: string, includeErroredDeleted?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox[], any, {}>>;
1074
1282
  /**
1075
1283
  *
1076
1284
  * @summary List all sandboxes paginated
@@ -1098,7 +1306,7 @@ export declare class SandboxApi extends BaseAPI {
1098
1306
  * @throws {RequiredError}
1099
1307
  * @memberof SandboxApi
1100
1308
  */
1101
- listSandboxesPaginated(xDaytonaOrganizationID?: string, page?: number, limit?: number, id?: string, name?: string, labels?: string, includeErroredDeleted?: boolean, states?: Array<ListSandboxesPaginatedStatesEnum>, snapshots?: Array<string>, regions?: Array<string>, minCpu?: number, maxCpu?: number, minMemoryGiB?: number, maxMemoryGiB?: number, minDiskGiB?: number, maxDiskGiB?: number, lastEventAfter?: Date, lastEventBefore?: Date, sort?: ListSandboxesPaginatedSortEnum, order?: ListSandboxesPaginatedOrderEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginatedSandboxes, any>>;
1309
+ listSandboxesPaginated(xDaytonaOrganizationID?: string, page?: number, limit?: number, id?: string, name?: string, labels?: string, includeErroredDeleted?: boolean, states?: Array<ListSandboxesPaginatedStatesEnum>, snapshots?: Array<string>, regions?: Array<string>, minCpu?: number, maxCpu?: number, minMemoryGiB?: number, maxMemoryGiB?: number, minDiskGiB?: number, maxDiskGiB?: number, lastEventAfter?: Date, lastEventBefore?: Date, sort?: ListSandboxesPaginatedSortEnum, order?: ListSandboxesPaginatedOrderEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginatedSandboxes, any, {}>>;
1102
1310
  /**
1103
1311
  *
1104
1312
  * @summary Recover sandbox from error state
@@ -1108,7 +1316,7 @@ export declare class SandboxApi extends BaseAPI {
1108
1316
  * @throws {RequiredError}
1109
1317
  * @memberof SandboxApi
1110
1318
  */
1111
- recoverSandbox(sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any>>;
1319
+ recoverSandbox(sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any, {}>>;
1112
1320
  /**
1113
1321
  *
1114
1322
  * @summary Replace sandbox labels
@@ -1119,7 +1327,7 @@ export declare class SandboxApi extends BaseAPI {
1119
1327
  * @throws {RequiredError}
1120
1328
  * @memberof SandboxApi
1121
1329
  */
1122
- replaceLabels(sandboxIdOrName: string, sandboxLabels: SandboxLabels, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SandboxLabels, any>>;
1330
+ replaceLabels(sandboxIdOrName: string, sandboxLabels: SandboxLabels, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SandboxLabels, any, {}>>;
1123
1331
  /**
1124
1332
  *
1125
1333
  * @summary Resize sandbox resources
@@ -1130,7 +1338,7 @@ export declare class SandboxApi extends BaseAPI {
1130
1338
  * @throws {RequiredError}
1131
1339
  * @memberof SandboxApi
1132
1340
  */
1133
- resizeSandbox(sandboxIdOrName: string, resizeSandbox: ResizeSandbox, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any>>;
1341
+ resizeSandbox(sandboxIdOrName: string, resizeSandbox: ResizeSandbox, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any, {}>>;
1134
1342
  /**
1135
1343
  *
1136
1344
  * @summary Revoke SSH access for sandbox
@@ -1141,7 +1349,7 @@ export declare class SandboxApi extends BaseAPI {
1141
1349
  * @throws {RequiredError}
1142
1350
  * @memberof SandboxApi
1143
1351
  */
1144
- revokeSshAccess(sandboxIdOrName: string, xDaytonaOrganizationID?: string, token?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any>>;
1352
+ revokeSshAccess(sandboxIdOrName: string, xDaytonaOrganizationID?: string, token?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any, {}>>;
1145
1353
  /**
1146
1354
  *
1147
1355
  * @summary Set sandbox auto-archive interval
@@ -1152,7 +1360,7 @@ export declare class SandboxApi extends BaseAPI {
1152
1360
  * @throws {RequiredError}
1153
1361
  * @memberof SandboxApi
1154
1362
  */
1155
- setAutoArchiveInterval(sandboxIdOrName: string, interval: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any>>;
1363
+ setAutoArchiveInterval(sandboxIdOrName: string, interval: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any, {}>>;
1156
1364
  /**
1157
1365
  *
1158
1366
  * @summary Set sandbox auto-delete interval
@@ -1163,7 +1371,7 @@ export declare class SandboxApi extends BaseAPI {
1163
1371
  * @throws {RequiredError}
1164
1372
  * @memberof SandboxApi
1165
1373
  */
1166
- setAutoDeleteInterval(sandboxIdOrName: string, interval: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any>>;
1374
+ setAutoDeleteInterval(sandboxIdOrName: string, interval: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any, {}>>;
1167
1375
  /**
1168
1376
  *
1169
1377
  * @summary Set sandbox auto-stop interval
@@ -1174,7 +1382,7 @@ export declare class SandboxApi extends BaseAPI {
1174
1382
  * @throws {RequiredError}
1175
1383
  * @memberof SandboxApi
1176
1384
  */
1177
- setAutostopInterval(sandboxIdOrName: string, interval: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any>>;
1385
+ setAutostopInterval(sandboxIdOrName: string, interval: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any, {}>>;
1178
1386
  /**
1179
1387
  *
1180
1388
  * @summary Start sandbox
@@ -1184,7 +1392,7 @@ export declare class SandboxApi extends BaseAPI {
1184
1392
  * @throws {RequiredError}
1185
1393
  * @memberof SandboxApi
1186
1394
  */
1187
- startSandbox(sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any>>;
1395
+ startSandbox(sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any, {}>>;
1188
1396
  /**
1189
1397
  *
1190
1398
  * @summary Stop sandbox
@@ -1194,7 +1402,7 @@ export declare class SandboxApi extends BaseAPI {
1194
1402
  * @throws {RequiredError}
1195
1403
  * @memberof SandboxApi
1196
1404
  */
1197
- stopSandbox(sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any>>;
1405
+ stopSandbox(sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any, {}>>;
1198
1406
  /**
1199
1407
  *
1200
1408
  * @summary Update sandbox last activity
@@ -1204,7 +1412,7 @@ export declare class SandboxApi extends BaseAPI {
1204
1412
  * @throws {RequiredError}
1205
1413
  * @memberof SandboxApi
1206
1414
  */
1207
- updateLastActivity(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
1415
+ updateLastActivity(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
1208
1416
  /**
1209
1417
  *
1210
1418
  * @summary Update public status
@@ -1215,7 +1423,7 @@ export declare class SandboxApi extends BaseAPI {
1215
1423
  * @throws {RequiredError}
1216
1424
  * @memberof SandboxApi
1217
1425
  */
1218
- updatePublicStatus(sandboxIdOrName: string, isPublic: boolean, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any>>;
1426
+ updatePublicStatus(sandboxIdOrName: string, isPublic: boolean, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any, {}>>;
1219
1427
  /**
1220
1428
  *
1221
1429
  * @summary Update sandbox state
@@ -1226,7 +1434,7 @@ export declare class SandboxApi extends BaseAPI {
1226
1434
  * @throws {RequiredError}
1227
1435
  * @memberof SandboxApi
1228
1436
  */
1229
- updateSandboxState(sandboxId: string, updateSandboxStateDto: UpdateSandboxStateDto, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
1437
+ updateSandboxState(sandboxId: string, updateSandboxStateDto: UpdateSandboxStateDto, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
1230
1438
  /**
1231
1439
  *
1232
1440
  * @summary Validate SSH access for sandbox
@@ -1236,7 +1444,7 @@ export declare class SandboxApi extends BaseAPI {
1236
1444
  * @throws {RequiredError}
1237
1445
  * @memberof SandboxApi
1238
1446
  */
1239
- validateSshAccess(token: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SshAccessValidationDto, any>>;
1447
+ validateSshAccess(token: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SshAccessValidationDto, any, {}>>;
1240
1448
  }
1241
1449
  /**
1242
1450
  * @export