Repository navigation
Expand file tree
/
Copy pathschema_03_15.graphql
More file actions
2410 lines (2199 loc) · 54.3 KB
/
Copy pathschema_03_15.graphql
File metadata and controls
2410 lines (2199 loc) · 54.3 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 {
query: Query
mutation: Mutation
subscription: Subscription
}
type A2AFileReference @aws_api_key @aws_cognito_user_pools {
bytes: String
mimeType: String
name: String
uri: String
}
# WAN A2A messaging
type A2AMessage @aws_cognito_user_pools @aws_lambda {
acceptedOutputModes: [String!]
channelId: String!
historyLength: Int
id: ID!
message: A2AMessageBody!
metadata: AWSJSON
recipientId: String
senderId: String!
sessionId: String!
timestamp: AWSDateTime
}
type A2AMessageBody @aws_cognito_user_pools @aws_lambda {
metadata: AWSJSON
parts: [A2AMessagePart!]!
role: String!
}
type A2AMessageConnection @aws_cognito_user_pools @aws_lambda {
items: [A2AMessage!]!
nextToken: String
}
type A2AMessagePart @aws_cognito_user_pools @aws_lambda {
data: AWSJSON
file: A2AFileReference
metadata: AWSJSON
text: String
type: String!
}
type AccountNotification @aws_api_key {
created_at: AWSDateTime
cta_url: String
id: ID!
message: String
ntype: String!
owner: String!
payload: AWSJSON
title: String
}
type ActionResult {
data: AWSJSON
message: String
success: Boolean!
}
type Address {
city: String
country: String
line1: String
line2: String
postal_code: String
state: String
}
# AppSync schema for agents, skills, tasks, vehicles, orgs, avatars
type Agent @aws_api_key @aws_cognito_user_pools {
avatar_resource_id: ID
birthday: String
capabilities: AWSJSON
created_at: AWSDateTime
description: String
extra_data: AWSJSON
gender: String
id: ID!
name: String!
org_id: ID
org_ids: [ID]
owner: String!
personalities: AWSJSON
rank: String
skills: [ID]
status: String
supervisor_id: ID
tasks: [ID]
title: AWSJSON
updated_at: AWSDateTime
url: String
vehicle_id: ID
version: String
}
type AgentKnowledge @aws_api_key @aws_cognito_user_pools {
access_methods: AWSJSON
categories: AWSJSON
config: AWSJSON
content: String
description: String
id: ID!
knowledge_type: String
level: Int
limitations: AWSJSON
name: String!
owner: String!
path: String
price: Float
price_model: String
public: Boolean
rentable: Boolean
settings: AWSJSON
status: String
tags: AWSJSON
version: String
}
type AgentMutationResult @aws_api_key @aws_cognito_user_pools {
error: String
id: ID
success: Boolean!
}
# Agent skills
type AgentSkill @aws_api_key @aws_cognito_user_pools {
apps: AWSJSON
askid: Int
config: AWSJSON
description: String
diagram: AWSJSON
examples: AWSJSON
id: ID!
inputModes: AWSJSON
level: String
limitations: AWSJSON
name: String!
outputModes: AWSJSON
owner: String!
path: String
price: Int
price_model: String
public: Boolean
rentable: Boolean
source: String
tags: AWSJSON
version: String
}
type AgentTool @aws_api_key @aws_cognito_user_pools {
capabilities: AWSJSON
config: AWSJSON
dependencies: AWSJSON
description: String
id: ID!
level: Int
limitations: AWSJSON
name: String!
owner: String!
path: String
price: Float
price_model: String
public: Boolean
rentable: Boolean
settings: AWSJSON
status: String
tool_type: String
version: String
}
type AvatarMutationResult @aws_api_key @aws_cognito_user_pools {
error: String
id: ID
image_upload_url: String
success: Boolean!
video_upload_url: String
}
# Avatars
type AvatarResource @aws_api_key @aws_cognito_user_pools {
avatar_metadata: AWSJSON
cloud_image_key: String
cloud_image_url: String
cloud_synced: Boolean
cloud_video_key: String
cloud_video_url: String
description: String
id: ID!
image_hash: String
image_path: String
is_public: Boolean
last_used_at: AWSDateTime
name: String
owner: String
resource_type: String!
usage_count: Int
video_hash: String
video_path: String
}
type BotInfo {
bid: ID!
birthday: AWSDate
delDate: AWSDateTime!
habbits: String
interests: String
level: String
levelStart: AWSDate
location: String!
owner: String
role: String
}
type CheckResult @aws_api_key @aws_cognito_user_pools {
exists: Boolean!
name: String!
}
type Clickable @aws_api_key @aws_cognito_user_pools {
area: [Int]
function: String
level: Int
location: [Int]
number: String!
section: String
text: String!
type: String
unit: String!
}
type Dimensions @aws_api_key @aws_cognito_user_pools {
height_cm: Float
length_cm: Float
width_cm: Float
}
type EditorCacheResponse @aws_api_key @aws_cognito_user_pools {
cacheData: AWSJSON
recentFiles: [RecentFileInfo!]!
}
type EditorCacheSaveResult @aws_api_key @aws_cognito_user_pools {
newFilePath: String
renamed: Boolean
}
type GetAllMineResponse @aws_api_key @aws_cognito_user_pools {
accountInfo: AWSJSON
agents: [Agent!]!
avatars: [AvatarResource!]!
knowledges: [AgentKnowledge!]!
orgs: [Org!]!
prompts: [Prompt!]!
settings: AWSJSON
skills: [AgentSkill!]!
tasks: [Task!]!
tools: [AgentTool!]!
vehicles: [Vehicle!]!
}
type KnowledgeMutationResult @aws_api_key @aws_cognito_user_pools {
error: String
id: ID
success: Boolean!
}
type LabelFormat @aws_api_key @aws_cognito_user_pools {
carrier: String
created_at: AWSDateTime
dpi: Int
id: ID!
name: String!
service: String
settings: AWSJSON
size: String
status: String
template_url: AWSURL
updated_at: AWSDateTime
}
type LongLLMTaskResult @aws_api_key @aws_cognito_user_pools {
acctSiteID: String
agentID: String
id: ID
results: AWSJSON
status: String
taskID: String
timestamp: AWSDateTime!
workType: String
}
type Mutation {
RemoveLabelFormats(ids: [ID!]!): [MutationResult!]!
RemoveWareHouses(ids: [ID!]!): [MutationResult!]!
UpdateLabelFormats(input: [LabelFormatUpdateInput!]!): [LabelFormat!]!
UpdateWarehouses(input: [WarehouseUpdateInput!]!): [Warehouse!]!
addAccts(input: [Account]!): AWSJSON!
addAgentKnowledges(input: [KnowledgeInput!]!): [KnowledgeMutationResult!]!
addAgentOrgRels(input: [AgentOrgRelInput!]!): AWSJSON! @aws_api_key @aws_cognito_user_pools @aws_lambda
addAgentSkillKnowledgeRels(input: [AgentSkillKnowledgeRelInput!]!): AWSJSON! @aws_api_key @aws_cognito_user_pools @aws_lambda
addAgentSkillRels(input: [AgentSkillRelInput!]!): AWSJSON! @aws_api_key @aws_cognito_user_pools @aws_lambda
addAgentSkillToolRels(input: [AgentSkillToolRelInput!]!): AWSJSON! @aws_api_key @aws_cognito_user_pools @aws_lambda
addAgentSkills(input: [SkillInput!]!): [SkillMutationResult!]!
addAgentTaskRels(input: [AgentTaskRelInput!]!): AWSJSON! @aws_api_key @aws_cognito_user_pools @aws_lambda
addAgentTaskSkillRels(input: [AgentTaskSkillRelInput!]!): AWSJSON! @aws_api_key @aws_cognito_user_pools @aws_lambda
addAgentTasks(input: [TaskInput!]!): [TaskMutationResult!]!
addAgentTools(input: [ToolInput!]!): [ToolMutationResult!]!
addAgents(input: [AgentInput!]!): [AgentMutationResult!]!
addAvatars(input: [AvatarInput!]!): [AvatarMutationResult!]!
addBots(input: [Bot]!): AWSJSON!
addLabelFormats(input: [LabelFormatInput!]!): [LabelFormat!]!
addMissions(input: [Mission]!, settings: AWSJSON!): AWSJSON!
addOrgs(input: [OrgInput!]!): [OrgMutationResult!]!
addProducts(input: [ProductInput!]!): [Product!]!
addPrompts(input: [PromptInput!]!): [PromptMutationResult!]!
addSkills(input: [Skill]!): AWSJSON!
addVehicles(input: [VehicleInput!]!): [VehicleMutationResult!]!
addWareHouses(input: [WarehouseInput!]!): [Warehouse!]!
cancelRunSkill(input: RunControlInput!): RunControlResult
cancelSkillEditorChatGeneration(sessionId: ID!): Boolean!
clearEditorCache(userId: ID!): Boolean!
clearSkillBreakpoints(node_name: String!, username: String!): ActionResult
copySkillTo(input: SkillCopyInput!): SkillCopyResult
createSkillEditorChatSession(input: SkillEditorChatSessionInput!): SkillEditorChatSession
deleteScene(id: ID!): Boolean!
deleteSkillEditorChatSession(sessionId: ID!): Boolean!
deleteSkillFiles(owner: String!, skillId: ID!): SkillFileDeleteResult @aws_cognito_user_pools @aws_iam
endLongLLMTask(input: [LongLLMTaskResultInput!]!): [LongLLMTaskResult!]! @aws_api_key @aws_cognito_user_pools
initReqScene(input: ReqSceneInput!): ReqSceneResponse! @aws_cognito_user_pools
injectSkillState(skill: AWSJSON!, username: String!): ActionResult
loadSkillSchemas(skill: AWSJSON!, username: String!): ActionResult
makeBusinessOrders(input: [Order]!): AWSJSON!
makeOrder(input: [Order]!): AWSJSON!
pauseRunSkill(input: RunControlInput!): RunControlResult
processSkillZipUpload(input: ProcessSkillZipInput!): ProcessSkillZipResult @aws_cognito_user_pools @aws_iam
publishAccountNotification(input: AccountNotificationInput!): AccountNotification! @aws_api_key @aws_cognito_user_pools @aws_iam
publishPassiveCommand(input: PassiveBrowserCommandEnvelopeInput!): PassiveBrowserCommandEnvelope @aws_api_key @aws_cognito_user_pools @aws_iam
publishPassiveHello(input: PassiveBrowserHelloEnvelopeInput!): PassiveBrowserHelloEnvelope @aws_api_key @aws_cognito_user_pools @aws_iam
publishPassiveStepResult(input: PassiveBrowserStepResultEnvelopeInput!): PassiveBrowserStepResultEnvelope @aws_api_key @aws_cognito_user_pools @aws_iam
publishSceneResult(input: SceneResultInput!): SceneResult @aws_api_key @aws_cognito_user_pools @aws_iam
# -------------------- Skill Editor Realtime Streaming --------------------
publishSkillEditorStreamEvent(input: SkillEditorStreamEventInput!): SkillEditorStreamEvent @aws_api_key @aws_cognito_user_pools @aws_iam
publishTaskStatus(input: TaskStatusInput!): TaskStatus @aws_api_key @aws_cognito_user_pools @aws_iam
readyReqScene(input: ReadyReqSceneInput!): ReqSceneResponse! @aws_cognito_user_pools
removeAccts(input: [RemoveOrder]!): AWSJSON!
removeAgentKnowledges(input: [ID!]!): [KnowledgeMutationResult!]! @aws_api_key @aws_cognito_user_pools
removeAgentOrgRels(input: [RelationIdInput!]!): AWSJSON! @aws_api_key @aws_cognito_user_pools @aws_lambda
removeAgentSkillKnowledgeRels(input: [RelationIdInput!]!): AWSJSON! @aws_api_key @aws_cognito_user_pools @aws_lambda
removeAgentSkillRels(input: [RelationIdInput!]!): AWSJSON! @aws_api_key @aws_cognito_user_pools @aws_lambda
removeAgentSkillToolRels(input: [RelationIdInput!]!): AWSJSON! @aws_api_key @aws_cognito_user_pools @aws_lambda
removeAgentSkills(input: [ID!]!): [SkillMutationResult!]! @aws_api_key @aws_cognito_user_pools
removeAgentTaskRels(input: [RelationIdInput!]!): AWSJSON! @aws_api_key @aws_cognito_user_pools @aws_lambda
removeAgentTaskSkillRels(input: [RelationIdInput!]!): AWSJSON! @aws_api_key @aws_cognito_user_pools @aws_lambda
removeAgentTasks(input: [ID!]!): [TaskMutationResult!]! @aws_api_key @aws_cognito_user_pools
removeAgentTools(input: [ID!]!): [ToolMutationResult!]! @aws_api_key @aws_cognito_user_pools
removeAgents(input: [ID!]!): [AgentMutationResult!]! @aws_api_key @aws_cognito_user_pools
removeApiKey(input: [String!]!): AWSJSON!
removeAvatars(input: [ID!]!): [AvatarMutationResult!]! @aws_api_key @aws_cognito_user_pools
removeBots(input: [RemoveOrder]!): AWSJSON!
removeBusinessOrders(input: [RemoveBusinessOrder]!): AWSJSON!
removeMissions(input: [RemoveOrder]!): AWSJSON!
removeOrgs(input: [ID!]!): [OrgMutationResult!]! @aws_api_key @aws_cognito_user_pools
removeProducts(ids: [ID!]!): [MutationResult!]!
removePrompts(input: [ID!]!): [PromptMutationResult!]! @aws_api_key @aws_cognito_user_pools
removeSkills(input: [RemoveOrder]!): AWSJSON! @aws_api_key @aws_cognito_user_pools
removeVehicles(input: [ID!]!): [VehicleMutationResult!]!
reportRunExtSkillStatus(input: [SkillRunStatus]): AWSJSON!
reportStatus(input: [MissionStatus]!): AWSJSON!
reqApiKey(input: CustomerInput): genKeyResponse! @aws_cognito_user_pools
reqLogAnalysis(input: LogAnalysisInput): logAnalysisResponse! @aws_cognito_user_pools
reqPromptAutoCompletion(input: PromptAutoCompletionInput!): PromptAutoCompletionResult! @aws_cognito_user_pools
reqPuzzleSolver(input: [PuzzleInput]!): Puzzle!
reqRAGStore(input: [RAGIN]!): AWSJSON! @aws_api_key @aws_cognito_user_pools
reqScene(input: ReqSceneInput!): ReqSceneResponse! @aws_api_key @aws_cognito_user_pools
reqTrain(input: [Skill]!): AWSJSON!
requestPuzzleSolve(input: [PuzzleInput]!): Puzzle!
requestRunExtSkill(input: [SkillRun]): AWSJSON!
requestSkillFileUploadUrl(input: SkillFileUploadInput!): SkillFileUploadResult @aws_cognito_user_pools @aws_iam
requestSkillState(skill: AWSJSON!, username: String!): ActionResult
resumeRunSkill(input: RunControlInput!): RunControlResult
revertSkillRevision(input: RevertSkillRevisionInput!): SkillRevisionRevertResult @aws_api_key @aws_cognito_user_pools
runCloudTasks(input: [CloudTaskInput]!): AWSJSON!
runSkill(input: RunSkillInput!): RunControlResult
runTest(input: [TestInput]!): AWSJSON! @aws_api_key @aws_cognito_user_pools @aws_iam
saveEditorCache(input: EditorCacheInput!): EditorCacheSaveResult
scaffoldSkill(input: SkillScaffoldInput!): SkillScaffoldResult
sendA2AMessage(input: A2AMessageInput!): A2AMessage! @aws_api_key @aws_cognito_user_pools @aws_iam @aws_lambda
sendCloudA2AMessage(input: A2AMessageInput!): A2AMessage! @aws_api_key @aws_cognito_user_pools @aws_iam @aws_lambda
sendPuzzleSolution(input: PuzzleSolutionInput): PuzzleSolution
sendSkillEditorChatMessage(input: SkillEditorChatMessageInput!): SkillEditorChatResponse
sendWanMessage(input: WanChatMessageInput): WanChatMessage
setSkillBreakpoints(node_name: String!, username: String!): ActionResult
setupSimStep(bundle: AWSJSON!): RunControlResult
simSseEvent: RunControlResult
simTimerEvent: RunControlResult
simWebhookEvent: RunControlResult
simWebsocketEvent: RunControlResult
startLongLLMTask(task_input: AWSJSON!): AWSJSON! @aws_cognito_user_pools
startSoap(input: StartSoapInput!): StartSoapResponse!
stepRunSkill(input: RunControlInput!): RunControlResult
stepSim: RunControlResult
stopSoap(soap_id: ID!): Boolean!
testLanggraph2Flowgram: RunControlResult
updateAccts(input: [Account]!): AWSJSON!
updateAgentKnowledges(input: [KnowledgeUpdateInput!]!): [KnowledgeMutationResult!]!
updateAgentOrgRels(input: [AgentOrgRelUpdateInput!]!): AWSJSON! @aws_api_key @aws_cognito_user_pools @aws_lambda
updateAgentSkillKnowledgeRels(input: [AgentSkillKnowledgeRelUpdateInput!]!): AWSJSON! @aws_api_key @aws_cognito_user_pools @aws_lambda
updateAgentSkillRels(input: [AgentSkillRelUpdateInput!]!): AWSJSON! @aws_api_key @aws_cognito_user_pools @aws_lambda
updateAgentSkillToolRels(input: [AgentSkillToolRelUpdateInput!]!): AWSJSON! @aws_api_key @aws_cognito_user_pools @aws_lambda
updateAgentSkills(input: [SkillUpdateInput!]!): [SkillMutationResult!]!
updateAgentTaskRels(input: [AgentTaskRelUpdateInput!]!): AWSJSON! @aws_api_key @aws_cognito_user_pools @aws_lambda
updateAgentTaskSkillRels(input: [AgentTaskSkillRelUpdateInput!]!): AWSJSON! @aws_api_key @aws_cognito_user_pools @aws_lambda
updateAgentTasks(input: [TaskUpdateInput!]!): [TaskMutationResult!]!
updateAgentTools(input: [ToolUpdateInput!]!): [ToolMutationResult!]!
updateAgents(input: [AgentUpdateInput!]!): [AgentMutationResult!]!
updateAvatars(input: [AvatarUpdateInput!]!): [AvatarMutationResult!]!
updateBots(input: [Bot]!): AWSJSON!
updateBusinessOrders(input: [Order]!): AWSJSON!
updateMissions(input: [Mission]!): AWSJSON!
updateMissionsExStatus(input: [MissionStatus]!): AWSJSON!
updateOrgs(input: [OrgUpdateInput!]!): [OrgMutationResult!]!
updateProducts(input: [ProductUpdateInput!]!): [Product!]!
updatePrompts(input: [PromptUpdateInput!]!): [PromptMutationResult!]!
updateScene(input: SceneInput!): Scene @aws_api_key @aws_cognito_user_pools
updateSettings(input: [AWSJSON]!): AWSJSON!
updateSkills(input: [Skill]!): AWSJSON!
updateStory(input: StoryUpdateInput!): Story!
updateVehicles(input: [VehicleUpdateInput!]!): [VehicleMutationResult!]!
# Skill editor (web mode) support
writeSkillFile(input: [SkillFileInput!]): [SkillFileInfo]
}
type MutationResult @aws_api_key @aws_cognito_user_pools {
id: ID!
message: String
success: Boolean!
}
type NodeStateSchema @aws_api_key @aws_cognito_user_pools {
schema: AWSJSON!
schemaVersion: String!
}
# Organizations
type Org @aws_api_key @aws_cognito_user_pools {
description: String
id: ID!
level: Int
name: String!
org_type: String
parent_id: ID
settings: AWSJSON
sort_order: Int
status: String
}
type OrgMutationResult @aws_api_key @aws_cognito_user_pools {
error: String
id: ID
success: Boolean!
}
type OrgTree @aws_api_key @aws_cognito_user_pools {
agents: [Agent!]!
children: [OrgTree!]
description: String
id: ID!
level: Int
name: String!
org_type: String
parent_id: ID
settings: AWSJSON
sort_order: Int
status: String
}
type PassiveBrowserCommandEnvelope @aws_api_key @aws_cognito_user_pools {
clientId: ID!
command: AWSJSON!
id: ID
runId: ID!
stepId: ID!
timestamp: AWSDateTime
}
type PassiveBrowserHelloEnvelope @aws_api_key @aws_cognito_user_pools {
clientId: ID!
createdAt: AWSDateTime
hello: AWSJSON!
runId: ID!
}
type PassiveBrowserStepResultEnvelope @aws_api_key @aws_cognito_user_pools {
clientId: ID!
dom_tree: AWSJSON
id: ID
result: AWSJSON!
runId: ID!
stepId: ID!
timestamp: AWSDateTime
}
type ProcessSkillZipResult @aws_cognito_user_pools @aws_iam {
error: String
extractedFiles: [String!]
success: Boolean!
}
type Product @aws_api_key @aws_cognito_user_pools {
attributes: AWSJSON
barcode: String
created_at: AWSDateTime
description: String
dimensions_cm: Dimensions
id: ID!
name: String!
sku: String!
status: String
updated_at: AWSDateTime
weight_grams: Int
}
type Prompt @aws_api_key @aws_cognito_user_pools {
created_at: AWSDateTime
id: ID!
owner: String!
prompt: AWSJSON!
updated_at: AWSDateTime
version: String
}
type PromptAutoCompletionResult @aws_api_key @aws_cognito_user_pools {
completion: String!
error: String
model: String
usage: AWSJSON
}
type PromptMutationResult @aws_api_key @aws_cognito_user_pools {
error: String
id: ID
success: Boolean!
}
type PromptVersionInfo @aws_api_key @aws_cognito_user_pools {
versionId: String!
lastModified: AWSDateTime
size: Int
isLatest: Boolean
}
type PromptVersionContent @aws_api_key @aws_cognito_user_pools {
promptId: ID!
owner: String!
versionId: String
lastModified: AWSDateTime
content: AWSJSON!
}
type Puzzle @aws_api_key @aws_cognito_user_pools {
id: ID!
module: String
options: AWSJSON
prize: Int
puzzle_class: String
puzzle_file: String
pzid: ID!
question: String
request_id: String
start_time: Int
time_limit: Int
timestamp: AWSDateTime!
url: String
url_key: String
}
type PuzzleSolution @aws_api_key @aws_cognito_user_pools {
id: ID!
request_id: String
solution: [AWSJSON]
solver_id: String
timestamp: AWSDateTime!
}
type Query {
checkSkillExists(name: String!): CheckResult!
genSchedules(settings: AWSJSON!): AWSJSON!
getA2AMessages(channelId: String!, limit: Int, nextToken: String): A2AMessageConnection! @aws_api_key @aws_cognito_user_pools
getAgentKnowledges: [AgentKnowledge!]!
getAgentSkills: [AgentSkill!]! @aws_api_key @aws_cognito_user_pools
getAgentTasks: [Task!]! @aws_api_key @aws_cognito_user_pools
getAgentTools: [AgentTool!]! @aws_api_key @aws_cognito_user_pools
getAgents: [Agent!]! @aws_api_key @aws_cognito_user_pools
getAllMine(owner: String, userId: String): GetAllMineResponse! @aws_api_key @aws_cognito_user_pools
getAvatars: [AvatarResource!]!
getBots(ids: [ID!]): AWSJSON!
getEditorCache(userId: ID!): EditorCacheResponse
getFB(fb_reqs: [FbReq]!): AWSJSON
getLabelFormats(input: LabelFormatQueryInput): [LabelFormat!]!
# Skill editor (web mode) support
getNodeStateSchema: NodeStateSchema
getOrgAgentTree(root_id: ID, username: String): OrgTree @aws_api_key @aws_cognito_user_pools
getOrgTree(root_id: ID): OrgTree @aws_api_key @aws_cognito_user_pools
getOrgs: [Org!]!
getProducts(input: ProductQueryInput): [Product!]!
getPrompts(owner: String): [Prompt!]!
getScene(id: ID!): Scene
getSceneRequestStatus(request_id: ID!): ReqSceneResponse
getSceneTemplates(emotion: String!, style: SceneStyle): [SceneTemplate!]!
getSettings(ids: [ID!], username: String): AWSJSON!
getSkillEditorChatHistory(limit: Int, offset: Int, sessionId: ID!): [SkillEditorChatMessage!]!
getSkillEditorChatSessions(userId: ID!): [SkillEditorChatSession!]!
getSkillEditorEvents(sessionId: String!, since: AWSDateTime): [SkillEditorEvent!]!
getSkillRunStatus(runId: ID!, since: AWSDateTime): [SkillRunEvent!]!
getStory(id: ID!): Story
getVehicles: [Vehicle!]!
getWanMessage(ids: [ID!]): [WanChatMessage]!
getWarehouses(input: WarehouseQueryInput): [Warehouse!]!
listSkillFiles(limit: Int, nextToken: String, prefix: String, userId: String): [SkillFileInfo!]!
listSkillRevisions(input: SkillRevisionInput!): [SkillRevision!]! @aws_api_key @aws_cognito_user_pools
listStories(acctSiteID: String!, limit: Int, nextToken: String): StoryConnection
loadSkillEditorContexts(input: SkillEditorContextRequestInput!): SkillEditorContextResponse
openSkillFile(filePath: String!, skillName: String, userId: String): SkillFileContent
queryAgentKnowledges(input: KnowledgeQueryInput): [AgentKnowledge!]! @aws_api_key @aws_cognito_user_pools
queryAgentOrgRels(input: AWSJSON): AWSJSON! @aws_api_key @aws_cognito_user_pools @aws_lambda
queryAgentSkillKnowledgeRels(input: AWSJSON): AWSJSON! @aws_api_key @aws_cognito_user_pools @aws_lambda
queryAgentSkillRels(input: AWSJSON): AWSJSON! @aws_api_key @aws_cognito_user_pools @aws_lambda
queryAgentSkillToolRels(input: AWSJSON): AWSJSON! @aws_api_key @aws_cognito_user_pools @aws_lambda
queryAgentSkills(input: SkillQueryInput): [AgentSkill!]! @aws_api_key @aws_cognito_user_pools
queryAgentTaskRels(input: AWSJSON): AWSJSON! @aws_api_key @aws_cognito_user_pools @aws_lambda
queryAgentTaskSkillRels(input: AWSJSON): AWSJSON! @aws_api_key @aws_cognito_user_pools @aws_lambda
queryAgentTasks(input: TaskQueryInput): [Task!]! @aws_api_key @aws_cognito_user_pools
queryAgentTools(input: ToolQueryInput): [AgentTool!]! @aws_api_key @aws_cognito_user_pools
queryAgents(input: AgentQueryInput): [Agent!]! @aws_api_key @aws_cognito_user_pools
queryApiKeys(input: QueryApiKeyInput): QueryApiKeysResponse! @aws_cognito_user_pools
queryAvatars(input: AvatarQueryInput): [AvatarResource!]! @aws_api_key @aws_cognito_user_pools
queryBots(qb: AWSJSON!): AWSJSON!
queryChats(msgs: [ChatReq]!): AWSJSON
queryCloudTaskRunId(input: TaskRunQueryInput): TaskStatus! @aws_api_key @aws_cognito_user_pools
queryExtBotSkillRun(qbsr: [SkillRunConfig!]): AWSJSON!
queryMissions(qm: [MissionIdentifiers!]): AWSJSON!
queryOrgs(input: OrgQueryInput): [Org!]! @aws_api_key @aws_cognito_user_pools
queryPrompts(input: PromptQueryInput): [Prompt!]! @aws_api_key @aws_cognito_user_pools
listPromptVersions(promptId: ID!, owner: String): [PromptVersionInfo!]! @aws_api_key @aws_cognito_user_pools
getPromptVersion(promptId: ID!, versionId: String, owner: String): PromptVersionContent @aws_api_key @aws_cognito_user_pools
queryRAGs(qs: AWSJSON!): AWSJSON! @aws_api_key @aws_cognito_user_pools
queryScenes(input: SceneQueryInput!): SceneConnection!
querySkills(qs: AWSJSON!): AWSJSON! @aws_api_key @aws_cognito_user_pools
queryVehicles(input: VehicleQueryInput): [Vehicle!]! @aws_api_key @aws_cognito_user_pools
readSkillFile(filePath: String!, userId: String): [SkillFileContent]
regSteps(inSteps: [Step]!): AWSJSON!
reqAccountInfo(ops: [AcctOp!]): AWSJSON!
reqFileOp(fo: [FileOp!]): AWSJSON!
reqMachineLanAddr(mid: String): AWSJSON!
reqOrderInfo(ops: [OrderOp!]): AWSJSON!
reqScreenIconRead(inScrn: [ScreenImg]!): [ScreenInfo]
reqScreenTxtRead(inScrn: [ScreenImg]!): AWSJSON!
requestSkillFileDownloadUrl(owner: String!, skillId: ID!): SkillFileDownloadResult @aws_cognito_user_pools
}
type QueryApiKeysResponse @aws_cognito_user_pools {
customer: String
status: String
user: String
}
type RecentFileInfo @aws_api_key @aws_cognito_user_pools {
fileName: String!
filePath: String!
lastOpened: AWSDateTime
skillName: String
}
type ReqSceneResponse @aws_api_key @aws_cognito_user_pools {
estimated_time_ms: Int
message: String
ref_ul_links: [String!]
request_id: String
status: String
}
type RunControlResult @aws_api_key @aws_cognito_user_pools {
data: AWSJSON
message: String
runId: ID
status: String
}
# Scene and story generation
type Scene @aws_api_key @aws_cognito_user_pools {
acctSiteID: String!
actions: AWSJSON
agent_ids: [String!]!
captions: [String]
clip: String!
description: String
dialogs: AWSJSON
duration_ms: Int
id: ID!
images: [String!]!
label: String!
n_repeat: Int
priority: Int
scene_id: ID!
status: SceneStatus!
thumbnails: [String!]!
timestamp: AWSDateTime!
trigger_events: [String]
video: [String!]!
}
type SceneConnection @aws_api_key @aws_cognito_user_pools {
items: [Scene!]!
nextToken: String
}
type SceneResult @aws_api_key @aws_cognito_user_pools {
acctSiteID: String!
actions: AWSJSON
agent_ids: [String!]!
description: String
dialogs: AWSJSON
duration_ms: Int
emotion: String
error: String
id: ID!
mind_state: String
request_id: ID!
scene_id: ID!
status: SceneStatus!
thumbnail: String
timestamp: AWSDateTime!
video: [String!]!
}
type SceneTemplate @aws_api_key @aws_cognito_user_pools {
description: String
emotion: String!
id: ID!
label: String!
preview_url: String
}
type Schedule @aws_api_key @aws_cognito_user_pools {
bid: String
sid: String
start: AWSDateTime!
tasks: [ScheduleTask!]!
}
type ScheduleTask @aws_api_key @aws_cognito_user_pools {
action: String
duration: Int
}
type ScreenInfo @aws_api_key @aws_cognito_user_pools {
clickables: [Clickable]!
id: ID!
}
type SkillCopyResult @aws_api_key @aws_cognito_user_pools {
diagramPath: String
name: String
skillRoot: String
}
type SkillEditorChatMessage @aws_api_key @aws_cognito_user_pools {
attachments: AWSJSON
content: String!
id: ID!
metadata: AWSJSON
role: String!
timestamp: AWSDateTime
}
type SkillEditorChatResponse @aws_api_key @aws_cognito_user_pools {
clarification: AWSJSON
flowgram: AWSJSON
intent: String
message: SkillEditorChatMessage!
plan: AWSJSON
sessionId: ID!
sessionName: String
state: String
validation: AWSJSON
}
type SkillEditorChatSession @aws_api_key @aws_cognito_user_pools {
createdAt: AWSDateTime
flowgramId: String
id: ID!
name: String
updatedAt: AWSDateTime
}
type SkillEditorContextItem @aws_api_key @aws_cognito_user_pools {
context: AWSJSON
skillId: ID
skillName: String
updatedAt: AWSDateTime
}
type SkillEditorContextResponse @aws_api_key @aws_cognito_user_pools {
items: [SkillEditorContextItem!]!
}
type SkillEditorEvent @aws_api_key @aws_cognito_user_pools {
eventId: ID
payload: AWSJSON
sessionId: String
timestamp: AWSDateTime
type: String!
}
type SkillEditorStreamEvent @aws_api_key @aws_cognito_user_pools {
eventId: ID!
eventType: String!
flowgramId: ID
owner: String
payload: AWSJSON
sessionId: ID!
timestamp: AWSDateTime!
}
type SkillFileContent @aws_api_key @aws_cognito_user_pools {
content: String!
fileName: String!
filePath: String!
fileSize: Int
skillName: String
}
type SkillFileDeleteResult {
error: String
success: Boolean!
}
type SkillFileDownloadResult {
downloadUrl: String!
expiresIn: Int
s3Key: String!
}
type SkillFileInfo @aws_api_key @aws_cognito_user_pools {
fileName: String!
filePath: String!
fileSize: Int
skillName: String
updatedAt: AWSDateTime
}
# New types
type SkillFileUploadResult {
expiresIn: Int
s3Key: String!
uploadUrl: String!
}
type SkillMutationResult @aws_api_key @aws_cognito_user_pools {
error: String
id: ID
success: Boolean!
upload_urls: AWSJSON
}
type SkillRevision @aws_api_key @aws_cognito_user_pools {
fileName: String!
key: String!
lastModified: AWSDateTime!
size: Int!
timestamp: String!
}
type SkillRevisionRevertResult @aws_api_key @aws_cognito_user_pools {
restoredFrom: String!
restoredTo: String!
size: Int
success: Boolean!
}
type SkillRunEvent @aws_api_key @aws_cognito_user_pools {
current_node: String
nodeState: AWSJSON
runId: ID
status: String
this_node: String
timestamp: AWSDateTime
}
type SkillScaffoldResult @aws_api_key @aws_cognito_user_pools {
diagramPath: String
name: String
skillRoot: String
}
type StartSoapResponse @aws_api_key @aws_cognito_user_pools {
message: String
soap_id: ID!
status: String!
}
type Status @aws_api_key @aws_cognito_user_pools {
result: String
}
type Story @aws_api_key @aws_cognito_user_pools {
acctSiteID: String!
agent_ids: [String!]!
created_at: AWSDateTime!
current_scene_index: Int
description: String
id: ID!
scenes: [Scene!]!
status: StoryStatus!
title: String!
updated_at: AWSDateTime!
}
type StoryConnection @aws_api_key @aws_cognito_user_pools {
items: [Story!]!
nextToken: String
}
type Subscription {
onA2AMessageReceived(channelId: String!): A2AMessage @aws_api_key @aws_cognito_user_pools @aws_iam @aws_lambda @aws_subscribe(mutations : ["sendA2AMessage"])
onAccountNotification(owner: String!): AccountNotification @aws_api_key @aws_cognito_user_pools @aws_iam @aws_subscribe(mutations : ["publishAccountNotification"])
onAgentSceneEvent(acctSiteID: String!): Scene @aws_api_key @aws_cognito_user_pools @aws_iam @aws_subscribe(mutations : ["updateScene"])
onLongLLMTaskComplete(acctSiteID: String!): LongLLMTaskResult @aws_api_key @aws_cognito_user_pools @aws_iam @aws_subscribe(mutations : ["endLongLLMTask"])
onMessageReceived(chatID: String!): WanChatMessage @aws_api_key @aws_cognito_user_pools @aws_iam @aws_subscribe(mutations : ["sendWanMessage"])
onPassiveCommand(clientId: ID!, runId: ID!): PassiveBrowserCommandEnvelope @aws_api_key @aws_cognito_user_pools @aws_iam @aws_subscribe(mutations : ["publishPassiveCommand"])
onPassiveHello(clientId: ID!, runId: ID!): PassiveBrowserHelloEnvelope @aws_api_key @aws_cognito_user_pools @aws_iam @aws_subscribe(mutations : ["publishPassiveHello"])
onPassiveStepResult(clientId: ID!, runId: ID!): PassiveBrowserStepResultEnvelope @aws_api_key @aws_cognito_user_pools @aws_iam @aws_subscribe(mutations : ["publishPassiveStepResult"])
onPuzzleReceived: Puzzle @aws_api_key @aws_cognito_user_pools @aws_iam @aws_subscribe(mutations : ["requestPuzzleSolve"])
onPuzzleResultReceived: PuzzleSolution @aws_api_key @aws_cognito_user_pools @aws_iam @aws_subscribe(mutations : ["sendPuzzleSolution"])
onSceneComplete(acctSiteID: String!): SceneResult @aws_api_key @aws_cognito_user_pools @aws_iam @aws_subscribe(mutations : ["publishSceneResult"])
onSkillEditorStreamEvent(owner: String!): SkillEditorStreamEvent @aws_api_key @aws_cognito_user_pools @aws_iam @aws_subscribe(mutations : ["publishSkillEditorStreamEvent"])
onStoryUpdate(acctSiteID: String!): Story @aws_api_key @aws_cognito_user_pools @aws_iam @aws_subscribe(mutations : ["updateStory"])
onTaskStatus(runner: String!): TaskStatus @aws_api_key @aws_cognito_user_pools @aws_iam @aws_subscribe(mutations : ["publishTaskStatus"])
}
# Tasks
type Task @aws_api_key @aws_cognito_user_pools {
action: String
description: String
duration: Int
error_message: String
id: ID!
metadata: AWSJSON
name: String!
objectives: AWSJSON
org_id: ID
owner: String!
priority: String
progress: Float
result: AWSJSON
schedule: AWSJSON
source: String
status: String
task_type: String
trigger_type: String
}
type TaskMutationResult @aws_api_key @aws_cognito_user_pools {
error: String
id: ID
success: Boolean!
}
type TaskStatus @aws_api_key @aws_cognito_user_pools {
error: String
id: ID
runID: ID
runner: String
status: AWSJSON
success: Boolean!
timestamp: AWSDateTime
}
type ToolMutationResult @aws_api_key @aws_cognito_user_pools {
error: String
id: ID
success: Boolean!
}
# Vehicles
type Vehicle @aws_api_key @aws_cognito_user_pools {
access_token: String
architecture: String
capabilities: AWSJSON
cpu_cores: Int
description: String
environment: String
extra_metadata: AWSJSON
gpu_info: AWSJSON
health_score: Float
hostname: String