-
Notifications
You must be signed in to change notification settings - Fork 175
Expand file tree
/
Copy pathsupergraph.graphql
More file actions
7039 lines (5916 loc) · 184 KB
/
supergraph.graphql
File metadata and controls
7039 lines (5916 loc) · 184 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
schema
@link(url: "https://specs.apollo.dev/link/v1.0")
@link(url: "https://specs.apollo.dev/join/v0.4", for: EXECUTION)
{
query: Query
mutation: Mutation
subscription: Subscription
}
directive @join__directive(graphs: [join__Graph!], name: String!, args: join__DirectiveArguments) repeatable on SCHEMA | OBJECT | INTERFACE | FIELD_DEFINITION
directive @join__enumValue(graph: join__Graph!) repeatable on ENUM_VALUE
directive @join__field(graph: join__Graph, requires: join__FieldSet, provides: join__FieldSet, type: String, external: Boolean, override: String, usedOverridden: Boolean, overrideLabel: String) repeatable on FIELD_DEFINITION | INPUT_FIELD_DEFINITION
directive @join__graph(name: String!, url: String!) on ENUM_VALUE
directive @join__implements(graph: join__Graph!, interface: String!) repeatable on OBJECT | INTERFACE
directive @join__type(graph: join__Graph!, key: join__FieldSet, extension: Boolean! = false, resolvable: Boolean! = true, isInterfaceObject: Boolean! = false) repeatable on OBJECT | INTERFACE | UNION | ENUM | INPUT_OBJECT | SCALAR
directive @join__unionMember(graph: join__Graph!, member: String!) repeatable on UNION
directive @link(url: String, as: String, for: link__Purpose, import: [link__Import]) repeatable on SCHEMA
type AccessToken implements Node
@join__implements(graph: STRAWBERRY, interface: "Node")
@join__type(graph: STRAWBERRY)
{
"""The Globally Unique ID of this object"""
id: ID!
"""Added in 25.16.0: The access token."""
token: String!
"""Added in 25.16.0: The creation timestamp of the access token."""
createdAt: DateTime!
"""Added in 25.16.0: The expiration timestamp of the access token."""
validUntil: DateTime!
}
"""Added in 25.16.0"""
type AccessTokenConnection
@join__type(graph: STRAWBERRY)
{
"""Pagination data for this connection"""
pageInfo: PageInfo!
"""Contains the nodes in this connection"""
edges: [AccessTokenEdge!]!
count: Int!
}
"""An edge in a connection."""
type AccessTokenEdge
@join__type(graph: STRAWBERRY)
{
"""A cursor for use in pagination"""
cursor: String!
"""The item at the end of the edge"""
node: AccessToken!
}
"""Added in 25.16.0"""
input AccessTokenOrderBy
@join__type(graph: STRAWBERRY)
{
field: AccessTokenOrderField!
direction: OrderDirection! = DESC
}
enum AccessTokenOrderField
@join__type(graph: STRAWBERRY)
{
CREATED_AT @join__enumValue(graph: STRAWBERRY)
}
"""
Added in 25.16.0. This enum represents the activeness status of a replica, indicating whether the deployment is currently active and able to serve requests.
"""
enum ActivenessStatus
@join__type(graph: STRAWBERRY)
{
ACTIVE @join__enumValue(graph: STRAWBERRY)
INACTIVE @join__enumValue(graph: STRAWBERRY)
}
"""Added in 25.16.0"""
input ActivenessStatusFilter
@join__type(graph: STRAWBERRY)
{
in: [ActivenessStatus!] = null
equals: ActivenessStatus = null
}
"""Added in 25.16.0"""
input AddModelRevisionInput
@join__type(graph: STRAWBERRY)
{
name: String = null
deploymentId: ID!
clusterConfig: ClusterConfigInput!
resourceConfig: ResourceConfigInput!
image: ImageInput!
modelRuntimeConfig: ModelRuntimeConfigInput!
modelMountConfig: ModelMountConfigInput!
extraMounts: [ExtraVFolderMountInput!]
}
"""Added in 25.16.0"""
type AddModelRevisionPayload
@join__type(graph: STRAWBERRY)
{
revision: ModelRevision!
}
type Agent implements Item
@join__implements(graph: GRAPHENE, interface: "Item")
@join__type(graph: GRAPHENE)
{
id: ID
status: String
status_changed: DateTime
region: String
scaling_group: String
schedulable: Boolean
available_slots: JSONString
occupied_slots: JSONString
addr: String
architecture: String
first_contact: DateTime
lost_at: DateTime
live_stat: JSONString
version: String
compute_plugins: JSONString
hardware_metadata: JSONString
auto_terminate_abusing_kernel: Boolean
local_config: JSONString
container_count: Int
"""Added in 25.4.0."""
gpu_alloc_map: UUIDFloatMap
mem_slots: Int
cpu_slots: Float
gpu_slots: Float
tpu_slots: Float
used_mem_slots: Int
used_cpu_slots: Float
used_gpu_slots: Float
used_tpu_slots: Float
cpu_cur_pct: Float
mem_cur_bytes: Float
compute_containers(status: String): [ComputeContainer]
}
"""Added in 24.12.0."""
type AgentConnection
@join__type(graph: GRAPHENE)
{
"""Pagination data for this connection."""
pageInfo: PageInfo!
"""Contains the nodes in this connection."""
edges: [AgentEdge]!
"""Total count of the GQL nodes of the query."""
count: Int
}
"""Added in 24.12.0. A Relay edge containing a `Agent` and its cursor."""
type AgentEdge
@join__type(graph: GRAPHENE)
{
"""The item at the end of the edge"""
node: AgentNode
"""A cursor for use in pagination"""
cursor: String!
}
type AgentList implements PaginatedList
@join__implements(graph: GRAPHENE, interface: "PaginatedList")
@join__type(graph: GRAPHENE)
{
items: [Agent]!
total_count: Int!
}
"""Added in 24.12.0."""
type AgentNode implements Node
@join__implements(graph: GRAPHENE, interface: "Node")
@join__type(graph: GRAPHENE)
{
"""The ID of the object"""
id: ID!
row_id: String
status: String
status_changed: DateTime
region: String
scaling_group: String
schedulable: Boolean
available_slots: JSONString
occupied_slots: JSONString
"""Agent's address with port. (bind/advertised host:port)"""
addr: String
architecture: String
first_contact: DateTime
lost_at: DateTime
live_stat: JSONString
version: String
compute_plugins: JSONString
hardware_metadata: JSONString
auto_terminate_abusing_kernel: Boolean
local_config: JSONString
container_count: Int
"""Added in 25.4.0."""
gpu_alloc_map: UUIDFloatMap
kernel_nodes(filter: String, order: String, offset: Int, before: String, after: String, first: Int, last: Int): KernelConnection
"""
Added in 24.12.0. One of ['read_attribute', 'update_attribute', 'create_compute_session', 'create_service'].
"""
permissions: [AgentPermissionField]
}
"""
Added in 24.12.0. One of ['read_attribute', 'update_attribute', 'create_compute_session', 'create_service'].
"""
scalar AgentPermissionField
@join__type(graph: GRAPHENE)
"""Added in 25.15.0"""
type AgentResource
@join__type(graph: STRAWBERRY)
{
free: JSON!
used: JSON!
capacity: JSON!
}
"""Added in 25.15.0"""
type AgentStats
@join__type(graph: STRAWBERRY)
{
"""Added in 25.15.0"""
totalResource: AgentResource!
}
"""A schema for normal users."""
type AgentSummary implements Item
@join__implements(graph: GRAPHENE, interface: "Item")
@join__type(graph: GRAPHENE)
{
id: ID
status: String
scaling_group: String
schedulable: Boolean
available_slots: JSONString
occupied_slots: JSONString
architecture: String
}
type AgentSummaryList implements PaginatedList
@join__implements(graph: GRAPHENE, interface: "PaginatedList")
@join__type(graph: GRAPHENE)
{
items: [AgentSummary]!
total_count: Int!
}
type AliasImage
@join__type(graph: GRAPHENE)
{
ok: Boolean
msg: String
}
"""Added in 25.3.0."""
input AllowedGroups
@join__type(graph: GRAPHENE)
{
"""List of group_ids to add associations. Added in 25.3.0."""
add: [String] = []
"""List of group_ids to remove associations. Added in 25.3.0."""
remove: [String] = []
}
"""Added in 25.16.0. App configuration data"""
type AppConfig
@join__type(graph: STRAWBERRY)
{
extraConfig: JSON!
}
"""
Added in 25.14.0.
Input for approving an artifact revision.
Admin-only operation to approve artifact revisions for general use.
"""
input ApproveArtifactInput
@join__type(graph: STRAWBERRY)
{
artifactRevisionId: ID!
}
"""
Added in 25.14.0.
Response payload for artifact revision approval operations.
Contains the approved artifact revision. Admin-only operation.
"""
type ApproveArtifactPayload
@join__type(graph: STRAWBERRY)
{
artifactRevision: ArtifactRevision!
}
"""
Added in 25.14.0.
An artifact represents AI models, packages, images, or other resources that can be
stored, managed, and used within Backend.AI.
Artifacts are discovered through scanning external registries and,
can have multiple revisions.
Each artifact contains metadata and references to its source registry.
Key concepts:
- Type: MODEL, PACKAGE, or IMAGE
- Availability: ALIVE (available), DELETED (soft-deleted)
- Source: Original external registry where it was discovered
"""
type Artifact implements Node
@join__implements(graph: STRAWBERRY, interface: "Node")
@join__type(graph: STRAWBERRY)
{
"""The Globally Unique ID of this object"""
id: ID!
name: String!
type: ArtifactType!
description: String
registry: SourceInfo!
source: SourceInfo!
readonly: Boolean!
scannedAt: DateTime!
updatedAt: DateTime!
availability: ArtifactAvailability!
revisions(filter: ArtifactRevisionFilter = null, orderBy: [ArtifactRevisionOrderBy!] = null, before: String = null, after: String = null, first: Int = null, last: Int = null, limit: Int = null, offset: Int = null): ArtifactRevisionConnection!
}
enum ArtifactAvailability
@join__type(graph: STRAWBERRY)
{
ALIVE @join__enumValue(graph: STRAWBERRY)
DELETED @join__enumValue(graph: STRAWBERRY)
}
"""
Added in 25.14.0.
Paginated connection for artifacts with total count information.
Used for relay-style pagination with cursor-based navigation.
"""
type ArtifactConnection
@join__type(graph: STRAWBERRY)
{
"""Pagination data for this connection"""
pageInfo: PageInfo!
"""Contains the nodes in this connection"""
edges: [ArtifactEdge!]!
count: Int!
}
"""An edge in a connection."""
type ArtifactEdge
@join__type(graph: STRAWBERRY)
{
"""A cursor for use in pagination"""
cursor: String!
"""The item at the end of the edge"""
node: Artifact!
}
"""
Added in 25.14.0.
Filter options for artifacts based on various criteria such as type, name, registry,
source, and availability status.
Supports logical operations (AND, OR, NOT) for complex filtering scenarios.
"""
input ArtifactFilter
@join__type(graph: STRAWBERRY)
{
type: [ArtifactType!] = null
name: StringFilter = null
registry: StringFilter = null
source: StringFilter = null
availability: [ArtifactAvailability!] = null
AND: [ArtifactFilter!] = null
OR: [ArtifactFilter!] = null
NOT: [ArtifactFilter!] = null
}
"""
Added in 25.14.0.
Payload for artifact import progress subscription events.
Provides real-time updates during the artifact import process,
including progress percentage and current status.
"""
type ArtifactImportProgressUpdatedPayload
@join__type(graph: STRAWBERRY)
{
artifactId: ID!
progress: Float!
status: ArtifactStatus!
}
"""
Added in 25.14.0.
Specifies the field and direction for ordering artifacts in queries.
"""
input ArtifactOrderBy
@join__type(graph: STRAWBERRY)
{
field: ArtifactOrderField!
direction: OrderDirection! = ASC
}
enum ArtifactOrderField
@join__type(graph: STRAWBERRY)
{
NAME @join__enumValue(graph: STRAWBERRY)
TYPE @join__enumValue(graph: STRAWBERRY)
SIZE @join__enumValue(graph: STRAWBERRY)
SCANNED_AT @join__enumValue(graph: STRAWBERRY)
UPDATED_AT @join__enumValue(graph: STRAWBERRY)
}
"""Added in 25.14.0"""
type ArtifactRegistry
@join__type(graph: STRAWBERRY)
{
"""Name of the default artifact registry."""
name: String!
"""Type of the default artifact registry."""
type: ArtifactRegistryType!
}
"""
Added in 25.15.0.
Represents common metadata for an artifact registry.
All artifact registry nodes expose that information regardless of type.
"""
type ArtifactRegistryMeta implements Node
@join__implements(graph: STRAWBERRY, interface: "Node")
@join__type(graph: STRAWBERRY)
{
"""The Globally Unique ID of this object"""
id: ID!
name: String!
registryId: ID!
type: ArtifactRegistryType!
url: String!
}
"""Added in 25.15.0"""
type ArtifactRegistryMetaConnection
@join__type(graph: STRAWBERRY)
{
"""Pagination data for this connection"""
pageInfo: PageInfo!
"""Contains the nodes in this connection"""
edges: [ArtifactRegistryMetaEdge!]!
count: Int!
}
"""An edge in a connection."""
type ArtifactRegistryMetaEdge
@join__type(graph: STRAWBERRY)
{
"""A cursor for use in pagination"""
cursor: String!
"""The item at the end of the edge"""
node: ArtifactRegistryMeta!
}
enum ArtifactRegistryType
@join__type(graph: STRAWBERRY)
{
HUGGINGFACE @join__enumValue(graph: STRAWBERRY)
RESERVOIR @join__enumValue(graph: STRAWBERRY)
}
enum ArtifactRemoteStatus
@join__type(graph: STRAWBERRY)
{
SCANNED @join__enumValue(graph: STRAWBERRY)
AVAILABLE @join__enumValue(graph: STRAWBERRY)
FAILED @join__enumValue(graph: STRAWBERRY)
}
"""
Added in 25.14.0.
A specific version/revision of an artifact containing the actual file data.
Artifact revisions progress through different statuses:
- SCANNED: Discovered in external registry, metadata only
- PULLING: Currently downloading from external source
- PULLED: Downloaded to temporary storage
- AVAILABLE: Ready for use by users
Contains version information, file size, README content, and timestamps.
Most HuggingFace models only have a 'main' revision.
"""
type ArtifactRevision implements Node
@join__implements(graph: STRAWBERRY, interface: "Node")
@join__type(graph: STRAWBERRY)
{
"""The Globally Unique ID of this object"""
id: ID!
status: ArtifactStatus!
"""Added in 25.15.0"""
remoteStatus: ArtifactRemoteStatus
version: String!
readme: String
size: ByteSize
createdAt: DateTime
updatedAt: DateTime
artifact: Artifact!
}
"""
Added in 25.14.0.
Paginated connection for artifact revisions with total count information.
Used for relay-style pagination with cursor-based navigation.
"""
type ArtifactRevisionConnection
@join__type(graph: STRAWBERRY)
{
"""Pagination data for this connection"""
pageInfo: PageInfo!
"""Contains the nodes in this connection"""
edges: [ArtifactRevisionEdge!]!
count: Int!
}
"""An edge in a connection."""
type ArtifactRevisionEdge
@join__type(graph: STRAWBERRY)
{
"""A cursor for use in pagination"""
cursor: String!
"""The item at the end of the edge"""
node: ArtifactRevision!
}
"""
Added in 25.14.0.
Filter options for artifact revisions based on status, version, artifact ID, and file size.
Supports logical operations (AND, OR, NOT) for complex filtering scenarios.
"""
input ArtifactRevisionFilter
@join__type(graph: STRAWBERRY)
{
status: ArtifactRevisionStatusFilter = null
"""Added in 25.16.0"""
remoteStatus: ArtifactRevisionRemoteStatusFilter = null
version: StringFilter = null
artifactId: ID = null
size: IntFilter = null
AND: [ArtifactRevisionFilter!] = null
OR: [ArtifactRevisionFilter!] = null
NOT: [ArtifactRevisionFilter!] = null
}
"""
Added in 25.14.0.
Represents a background task for importing an artifact revision.
Contains the task ID for monitoring progress and the associated artifact revision
being imported from external registries.
"""
type ArtifactRevisionImportTask
@join__type(graph: STRAWBERRY)
{
taskId: ID!
artifactRevision: ArtifactRevision!
}
"""
Added in 25.14.0.
Specifies the field and direction for ordering artifact revisions in queries.
"""
input ArtifactRevisionOrderBy
@join__type(graph: STRAWBERRY)
{
field: ArtifactRevisionOrderField!
direction: OrderDirection! = ASC
}
enum ArtifactRevisionOrderField
@join__type(graph: STRAWBERRY)
{
VERSION @join__enumValue(graph: STRAWBERRY)
SIZE @join__enumValue(graph: STRAWBERRY)
CREATED_AT @join__enumValue(graph: STRAWBERRY)
UPDATED_AT @join__enumValue(graph: STRAWBERRY)
STATUS @join__enumValue(graph: STRAWBERRY)
}
"""Added in 25.16.0"""
input ArtifactRevisionRemoteStatusFilter
@join__type(graph: STRAWBERRY)
{
in: [ArtifactRemoteStatus!] = null
equals: ArtifactRemoteStatus = null
}
"""
Added in 25.14.0.
Filter for artifact revision status. Supports exact match or inclusion in a list of statuses.
"""
input ArtifactRevisionStatusFilter
@join__type(graph: STRAWBERRY)
{
in: [ArtifactStatus!] = null
equals: ArtifactStatus = null
}
enum ArtifactStatus
@join__type(graph: STRAWBERRY)
{
SCANNED @join__enumValue(graph: STRAWBERRY)
PULLING @join__enumValue(graph: STRAWBERRY)
PULLED @join__enumValue(graph: STRAWBERRY)
VERIFYING @join__enumValue(graph: STRAWBERRY)
NEEDS_APPROVAL @join__enumValue(graph: STRAWBERRY)
AVAILABLE @join__enumValue(graph: STRAWBERRY)
FAILED @join__enumValue(graph: STRAWBERRY)
REJECTED @join__enumValue(graph: STRAWBERRY)
}
"""
Added in 25.14.0.
Input for subscribing to artifact status change notifications.
Used with artifact_status_changed subscription to receive real-time updates
when artifact revision statuses change.
"""
input ArtifactStatusChangedInput
@join__type(graph: STRAWBERRY)
{
artifactRevisionIds: [ID!]!
}
"""
Added in 25.14.0.
Payload for artifact status change subscription events.
Provides real-time notifications when artifact revision statuses change
during import, cleanup, or other operations.
"""
type ArtifactStatusChangedPayload
@join__type(graph: STRAWBERRY)
{
artifactRevision: ArtifactRevision!
}
enum ArtifactType
@join__type(graph: STRAWBERRY)
{
MODEL @join__enumValue(graph: STRAWBERRY)
PACKAGE @join__enumValue(graph: STRAWBERRY)
IMAGE @join__enumValue(graph: STRAWBERRY)
}
"""Added in 24.03.9."""
type AssociateScalingGroupsWithDomain
@join__type(graph: GRAPHENE)
{
ok: Boolean
msg: String
}
"""Added in 24.03.9."""
type AssociateScalingGroupsWithKeyPair
@join__type(graph: GRAPHENE)
{
ok: Boolean
msg: String
}
"""Added in 24.03.9."""
type AssociateScalingGroupsWithUserGroup
@join__type(graph: GRAPHENE)
{
ok: Boolean
msg: String
}
type AssociateScalingGroupWithDomain
@join__type(graph: GRAPHENE)
{
ok: Boolean
msg: String
}
type AssociateScalingGroupWithKeyPair
@join__type(graph: GRAPHENE)
{
ok: Boolean
msg: String
}
type AssociateScalingGroupWithUserGroup
@join__type(graph: GRAPHENE)
{
ok: Boolean
msg: String
}
"""Added in 25.6.0."""
type AuditLogConnection
@join__type(graph: GRAPHENE)
{
"""Pagination data for this connection."""
pageInfo: PageInfo!
"""Contains the nodes in this connection."""
edges: [AuditLogEdge]!
"""Total count of the GQL nodes of the query."""
count: Int
}
"""Added in 25.6.0. A Relay edge containing a `AuditLog` and its cursor."""
type AuditLogEdge
@join__type(graph: GRAPHENE)
{
"""The item at the end of the edge"""
node: AuditLogNode
"""A cursor for use in pagination"""
cursor: String!
}
"""Added in 25.6.0."""
type AuditLogNode implements Node
@join__implements(graph: GRAPHENE, interface: "Node")
@join__type(graph: GRAPHENE)
{
"""The ID of the object"""
id: ID!
"""UUID of the AuditLog row"""
row_id: UUID!
"""Added in 25.6.0. UUID of the action"""
action_id: UUID!
"""Entity type of the AuditLog"""
entity_type: String!
"""Operation type of the AuditLog"""
operation: String!
"""Entity ID of the AuditLog"""
entity_id: String
"""The time the AuditLog was reported"""
created_at: DateTime!
"""Request ID of the AuditLog"""
request_id: String
"""Added in 25.12.0, User ID that triggered the action"""
triggered_by: String
"""Description of the AuditLog"""
description: String!
"""Duration taken to perform the operation"""
duration: String
"""Status of the AuditLog"""
status: String!
}
"""
A schema that contains metadata related to the AuditLogNode.
It provides a list of values, such as entity_type and status, that can be used in the AuditLog, allowing clients to retrieve them.
Added in 25.6.0.
"""
type AuditLogSchema
@join__type(graph: GRAPHENE)
{
"""
Possible values of "AuditLogNode.entity_type"
"""
entity_type_variants: [String]
"""
Possible values of "AuditLogNode.status"
"""
status_variants: [String]
}
"""
The comparator used to compare the metric value with the threshold. Added in 25.1.0.
"""
enum AutoScalingMetricComparator
@join__type(graph: GRAPHENE)
{
LESS_THAN @join__enumValue(graph: GRAPHENE)
LESS_THAN_OR_EQUAL @join__enumValue(graph: GRAPHENE)
GREATER_THAN @join__enumValue(graph: GRAPHENE)
GREATER_THAN_OR_EQUAL @join__enumValue(graph: GRAPHENE)
}
"""The source type to fetch metrics. Added in 25.1.0."""
enum AutoScalingMetricSource
@join__type(graph: GRAPHENE)
@join__type(graph: STRAWBERRY)
{
KERNEL @join__enumValue(graph: GRAPHENE) @join__enumValue(graph: STRAWBERRY)
INFERENCE_FRAMEWORK @join__enumValue(graph: GRAPHENE) @join__enumValue(graph: STRAWBERRY)
}
type AutoScalingRule implements Node
@join__implements(graph: STRAWBERRY, interface: "Node")
@join__type(graph: STRAWBERRY)
{
"""The Globally Unique ID of this object"""
id: ID!
"""Added in 25.16.0 (e.g. KERNEL, INFERENCE_FRAMEWORK)"""
metricSource: AutoScalingMetricSource!
metricName: String!
"""Added in 25.16.0: The minimum threshold for scaling (e.g. 0.5)"""
minThreshold: Decimal
"""Added in 25.16.0: The maximum threshold for scaling (e.g. 21.0)"""
maxThreshold: Decimal
"""Added in 25.16.0: The step size for scaling (e.g. 1)."""
stepSize: Int!
"""Added in 25.16.0: The time window (seconds) for scaling (e.g. 60)."""
timeWindow: Int!
"""Added in 25.16.0: The minimum number of replicas (e.g. 1)."""
minReplicas: Int
"""Added in 25.16.0: The maximum number of replicas (e.g. 10)."""
maxReplicas: Int
createdAt: DateTime!
lastTriggeredAt: DateTime!
}
"""Added in 25.8.0."""
type AvailableServiceConnection
@join__type(graph: GRAPHENE)
{
"""Pagination data for this connection."""
pageInfo: PageInfo!
"""Contains the nodes in this connection."""
edges: [AvailableServiceEdge]!
"""Total count of the GQL nodes of the query."""
count: Int
}
"""
Added in 25.8.0. A Relay edge containing a `AvailableService` and its cursor.
"""
type AvailableServiceEdge
@join__type(graph: GRAPHENE)
{
"""The item at the end of the edge"""
node: AvailableServiceNode
"""A cursor for use in pagination"""
cursor: String!
}
"""Available services for configuration. Added in 25.8.0."""
type AvailableServiceNode implements Node
@join__implements(graph: GRAPHENE, interface: "Node")
@join__type(graph: GRAPHENE)
{
"""The ID of the object"""
id: ID!
"""Possible values of "Config.service". Added in 25.8.0."""
service_variants: [String]!
}
"""Background task event payload"""
type BackgroundTaskEventPayload
@join__type(graph: STRAWBERRY)
{
taskId: ID!
eventType: BgtaskEventType!
message: String!
currentProgress: Float
totalProgress: Float
}
"""Type of background task event"""
enum BgtaskEventType
@join__type(graph: STRAWBERRY)
{
UPDATED @join__enumValue(graph: STRAWBERRY)
DONE @join__enumValue(graph: STRAWBERRY)
CANCELLED @join__enumValue(graph: STRAWBERRY)
FAILED @join__enumValue(graph: STRAWBERRY)
}
"""
BigInt is an extension of the regular graphene.Int scalar type
to support integers outside the range of a signed 32-bit integer.
"""
scalar BigInt
@join__type(graph: GRAPHENE)
"""Added in 24.09.1."""
scalar Bytes
@join__type(graph: GRAPHENE)
scalar ByteSize
@join__type(graph: STRAWBERRY)
"""
Added in 25.14.0.
Input for canceling an in-progress artifact import operation.
Stops the download process and reverts the artifact revision status back to SCANNED.
"""
input CancelArtifactInput
@join__type(graph: STRAWBERRY)
{
artifactRevisionId: ID!
}
"""
Added in 25.14.0.
Response payload for canceling artifact import operations.
Contains the artifact revision whose import was canceled,
reverting its status back to SCANNED.
"""
type CancelImportArtifactPayload
@join__type(graph: STRAWBERRY)
{
artifactRevision: ArtifactRevision!
}
"""Added in 24.12.0"""
type CheckAndTransitStatus
@join__type(graph: GRAPHENE)
{