OBJECT

Mutation

Mutations are used to modify data. Each mutation takes an input that contains the data necessary to create or update the data in question.

link GraphQL Schema definition

1type Mutation {
2
3# Create a new temporal data object
4# Example:
5# Request:
6# mutation {
7#
8# createTDO(input: {
9#
10# startDateTime: 1623253937,
11#
12# stopDateTime: 1623259000,
13#
14# source: "123",
15#
16# name: "example",
17#
18# description: "example",
19#
20# isPublic: false,
21#
22# applicationId: "123"}) {
23#
24# id
25#
26# name
27#
28# }
29# }
30# Response:
31# {
32#
33# "data": {
34#
35# "createTDO": {
36#
37# "id": "1570654874",
38#
39# "name": "example"
40#
41# }
42#
43# }
44# }
45#
46# Arguments
47# input: Fields required to create a TDO
48createTDO(input: CreateTDO): TemporalDataObject
49
50# Update a temporal data object
51# Example:
52# Request:
53# mutation {
54#
55# updateTDO(input:{
56#
57# id: "1570654874",
58#
59# status: "example",
60#
61# name: "example"}) {
62#
63# id
64#
65# name
66#
67# description
68#
69# }
70# }
71# Result:
72# {
73#
74# "data": {
75#
76# "updateTDO": {
77#
78# "id": "1570654874",
79#
80# "name": "example",
81#
82# "description": null
83#
84# }
85#
86# }
87# }
88#
89# Arguments
90# input: Fields required to update a TDO
91updateTDO(input: UpdateTDO): TemporalDataObject
92
93# Delete a temporal data object. The TDO metadata, its assets and
94# all storage objects, and search index data are deleted.
95# Engine results stored in related task objects are not.
96# cleanupTDO can be used to selectively delete certain data on the TDO.
97# Example:
98# Request:
99# mutation {
100#
101# deleteTDO(
102#
103# id: "1570654874") {
104#
105# id
106#
107# message
108#
109# }
110# }
111# Response:
112#
113# {
114#
115# "data": {
116#
117# "deleteTDO": {
118#
119# "id": "1570654874",
120#
121# "message": "TemporalDataObject 1570654874 and all associated asset content was
122# deleted."
123#
124# }
125#
126# }
127# }
128#
129# Arguments
130# id: Supply the ID of the TDO to delete
131deleteTDO(id: ID!): DeletePayload
132
133# Delete partial information from a temporal data object.
134# Use the delete options to control exactly which data is deleted.
135# The default is to delete objects from storage and the search index,
136# while leaving TDO-level metadata and task engine results intact.
137# To permanently delete the TDO, use delete TDO.
138# Example:
139# Request:
140# mutation {
141#
142# cleanupTDO(
143#
144# id: "1570705980") {
145#
146# id
147#
148# message
149#
150# }
151# }
152# Response:
153# {
154#
155# "data": {
156#
157# "cleanupTDO": {
158#
159# "id": "1570705980",
160#
161# "message": null
162#
163# }
164#
165# }
166# }
167#
168# Arguments
169# id: Supply the ID of the TDO to clean up.
170# options: Supply a list of cleanup options. See TDOCleanupOption
171# for details. If not provided, the server will use default settings.
172cleanupTDO(id: ID!, options: [TDOCleanupOption!]): DeletePayload
173
174# Create a task log by using
175# multipart form POST.
176#
177# Arguments
178# input: Fields needed to create a task log.
179createTaskLog(input: CreateTaskLog!): TaskLog
180
181# Create a media asset. Optionally, upload content using
182# multipart form POST.
183# example:
184# Request:
185# mutation {
186#
187# createAsset(input: {
188#
189# containerId: "1570654874",
190#
191# contentType: "application/json",
192#
193# description: "example",
194#
195# file: null,
196#
197# assetType: "text",
198#
199# uri: "example"
200#
201# name: "example"}) {
202#
203# id
204#
205# name
206#
207# description
208#
209# }
210# }
211# Response:
212# {
213#
214# "data": {
215#
216# "createAsset": {
217#
218# "id": "1570654874_4hJtNKSUXD",
219#
220# "name": "example",
221#
222# "description": "example"
223#
224# }
225#
226# }
227# }
228#
229# Arguments
230# input: Fields needed to create an asset.
231createAsset(input: CreateAsset!): Asset
232
233# Delete an asset
234# Example:
235# Request:
236# mutation {
237#
238# deleteAsset(
239#
240# id: "1570705980_w4ZLCPU7Dk") {
241#
242# id
243#
244# message
245#
246# }
247# }
248# Response:
249# {
250#
251# "data": {
252#
253# "deleteAsset": {
254#
255# "id": "1570705980_w4ZLCPU7Dk",
256#
257# "message": "No storage objects deleted for example"
258#
259# }
260#
261# }
262# }
263#
264# Arguments
265# id: Provide the ID of the asset to delete.
266deleteAsset(id: ID!): DeletePayload
267
268# Update an asset
269# Example:
270# Request:
271# mutation {
272#
273# updateAsset(input: {
274#
275# id: "1570705980_w4ZLCPU7Dk",
276#
277# description: "example",
278#
279# name: "example",
280#
281# fileData: null,
282#
283# sourceData: null,
284#
285# details: null}) {
286#
287# id
288#
289# name
290#
291# contentType
292#
293# }
294# }
295# Result:
296# {
297#
298# "data": {
299#
300# "updateAsset": {
301#
302# "id": "1570705980_w4ZLCPU7Dk",
303#
304# "name": "example",
305#
306# "contentType": "application/json"
307#
308# }
309#
310# }
311# }
312#
313# Arguments
314# input: Fields needed to update an asset.
315updateAsset(input: UpdateAsset!): Asset
316
317# Add a single media segment to a TemporalDataObject.
318# This mutation will update the manifest asset (`media-mdp`)
319# for the TemporalDataObject.
320# Example:
321# Request:
322# mutation {
323#
324# addMediaSegment(input: {
325#
326# containerId: "1570705980",
327#
328# details: [],
329#
330# url:
331# "https://edit.co.uk/uploads/2016/12/Image-1-Alternatives-to-stock-photography-Thinkstock.jpg",
332#
333# segmentGroupId: "123"}) {
334#
335# id
336#
337# name
338#
339# createdBy
340#
341# }
342# }
343# Response:
344# {
345#
346# "data": {
347#
348# "addMediaSegment": {
349#
350# "id": "1570705980",
351#
352# "name": "example",
353#
354# "createdBy": null
355#
356# }
357#
358# }
359# }
360#
361# Arguments
362# input: Fields necesary to create the segment.
363addMediaSegment(input: AddMediaSegment!): TemporalDataObject!
364
365# Add a media segments to a TemporalDataObject.
366# This mutation will update the manifest asset (`media-mdp`)
367# for the TemporalDataObject.
368# Example:
369# Request:
370# mutation {
371#
372# addMediaSegments(
373#
374# containerId: "1570705980",
375#
376# segments: [
377#
378# {
379#
380# details: [],
381#
382# url:
383# "https://edit.co.uk/uploads/2016/12/Image-1-Alternatives-to-stock-photography-Thinkstock.jpg",
384#
385# },
386#
387# {
388#
389# details: [],
390#
391# url:
392# "https://edit.co.uk/uploads/2016/12/Image-1-Alternatives-to-stock-photography-Thinkstock.jpg"
393#
394# }
395#
396# ]
397#
398# segmentGroupId: "123") {
399#
400# id
401#
402# name
403#
404#
405# }
406# }
407# Response:
408# {
409#
410# "data": {
411#
412# "addMediaSegments": {
413#
414# "id": "1570705980",
415#
416# "name": "example"
417#
418# }
419#
420# }
421# }
422#
423# Arguments
424# containerId: ID of the TemporalDataObject container for the
425# segment
426# segments: Fields necesary to create the segment.
427# segmentGroupId: ID of the segment group (Optional)
428addMediaSegments(
429containerId: ID!,
430segments: [AddMediaSegments]!,
431segmentGroupId: ID
432): TemporalDataObject!
433
434# Start a clone job. A clone creates a new TDO
435# that links back to an existing TDO's assets
436# instead of creating new ones and is used
437# primarily to handle sample media.
438# Only for internal platform components.
439# Example:
440# Request:
441# mutation {
442#
443# requestClone(input: {
444#
445# sourceApplicationId: "47bd3e25-f4ea-435f-b69b-13cb4f9dd60a",
446#
447# destinationApplicationId:"5908703b-51b4-4291-9787-b54bada73b0a",
448#
449# cloneBlobs: true}) {
450#
451# id
452#
453# status
454#
455# }
456# }
457# Response:
458# {
459#
460# "data": {
461#
462# "requestClone": null
463#
464# }
465# }
466#
467# Arguments
468# input: Fields needed to request a new clone job.
469requestClone(input: RequestClone): CloneRequest
470
471# Create a new automate flow. An automate flow is an engine
472# with extra metadata to work in the automate environment.
473# This endpoint will return an engineId that can be used to open
474# the flow in automate.
475# Example:
476# Request:
477# mutation {
478#
479# createAutomateFlow(input: {
480#
481# name: "My New Flow",
482#
483# linkedApplicationId: "123",
484#
485# templateId: "36"
486#
487# }
488# }
489# Response:
490# {
491#
492# "data": {
493#
494# "createAutomateFlow": {
495#
496# "engineId": "567",
497#
498# "build": {
499#
500# "engineId": 567
501#
502# }
503#
504# }
505#
506# }
507# }
508#
509# Arguments
510# input: Fields needed to create a new automate flow
511createAutomateFlow(input: AutomateFlowInput!): AutomateRunConfig
512
513# Create a new engine. The engine will need to go
514# through a sequence of workflow steps before
515# use in production. See VDA documentation for details.
516# Example:
517# Request:
518# mutation {
519#
520# createEngine(input: {
521#
522# id: "123",
523#
524# name: "example",
525#
526# categoryId: "581dbb32-ea5b-4458-bd15-8094942345e3",
527#
528# deploymentModel: FullyNetworkIsolated
529#
530# useCases: [],
531#
532# industries: []}) {
533#
534# id
535#
536# ownerOrganizationId
537#
538# }
539# }
540# Response:
541# {
542#
543# "data": {
544#
545# "createEngine": {
546#
547# "id": "123",
548#
549# "ownerOrganizationId": "35521"
550#
551# }
552#
553# }
554# }
555#
556# Arguments
557# input: Fields needed to create a new engine
558createEngine(input: CreateEngine): Engine
559
560# Update an engine. Engines are subject to specific
561# workflow steps. An engine's state determines what
562# updates can be made to it. See VDA documentation for
563# details.
564# Example:
565# Request:
566# mutation {
567#
568# updateEngine(input: {
569#
570# id:"123",
571#
572# isPublic: false,
573#
574# name: "example",
575#
576# deploymentModel: FullyNetworkIsolated,
577#
578# price: 1}) {
579#
580# id
581#
582# ownerOrganizationId
583#
584# name
585#
586# price
587#
588# }
589# }
590# Response:
591# {
592#
593# "data": {
594#
595# "updateEngine": {
596#
597# "id": "123",
598#
599# "ownerOrganizationId": "35521",
600#
601# "name": "example",
602#
603# "price": 1
604#
605# }
606#
607# }
608# }
609#
610# Arguments
611# input: Fields needed to update an engine
612updateEngine(input: UpdateEngine): Engine
613
614# Delete an engine
615# Example:
616# Request:
617# mutation {
618#
619# deleteEngine(
620#
621# id: "123") {
622#
623# id
624#
625# message
626#
627# }
628# }
629# Response:
630# {
631#
632# "data": {
633#
634# "deleteEngine": {
635#
636# "id": "123",
637#
638# "message": "engine 123 deleted"
639#
640# }
641#
642# }
643# }
644#
645# Arguments
646# id: Provide the ID of the engine to delete
647deleteEngine(id: ID!): DeletePayload
648
649# Create an engine build.
650# Example:
651# Request:
652#
653# mutation {
654#
655# createEngineBuild(input: {
656#
657# engineId: "1",
658#
659# taskRuntime: [],
660#
661# dockerImage: "build",
662#
663# manifest: [] }) {
664#
665# id
666#
667# name
668#
669# engineId
670#
671# }
672#
673# realeaseNotes: "Includes feature x..."
674#
675# }
676#
677# }
678# Response:
679# {
680#
681# "data": {
682#
683# "createEngineBuild": {
684#
685# "id": "2a1a1b58-6983-4002-b9ed-7b7f325f621a",
686#
687# "name": "example Version 1",
688#
689# "engineId": "1",
690#
691# "releaseNotes": "Includes feature x..."
692#
693# }
694#
695# }
696# }
697#
698# Arguments
699# input: Fields needed to create an engine build.
700createEngineBuild(input: CreateBuild!): Build
701
702# Update an engine build. Engine builds are subject to
703# specific workflow steps. A build's state determines what
704# updates can be made to it. See VDA documentation for details.
705# Example:
706# Request:
707# mutation {
708#
709# updateEngineBuild(input: {
710#
711# id: "6f766576-03a9-42c4-8a96-f4cd932e7c6c",
712#
713# engineId: "1",
714#
715# action: update,
716#
717# taskRuntime: []}) {
718#
719# id
720#
721# name
722#
723# }
724#
725# releaseNotes: "Includes feature x..."
726#
727# }
728# }
729# Response:
730# {
731#
732# "data": {
733#
734# "updateEngineBuild": {
735#
736# "id": "6f766576-03a9-42c4-8a96-f4cd932e7c6c",
737#
738# "name": "example Version 3"
739#
740# "releaseNotes": "Includes feature x..."
741#
742# }
743#
744# }
745# }
746#
747# Arguments
748# input: Fields needed to update an engine build.
749updateEngineBuild(input: UpdateBuild!): Build
750
751# Delete an engine build
752# Example:
753# Request:
754# mutation {
755#
756# deleteEngineBuild(input: {
757#
758# id: "6f766576-03a9-42c4-8a96-f4cd932e7c6c",
759#
760# engineId: "1"}) {
761#
762# id
763#
764# message
765#
766# }
767# }
768# Response:
769# {
770#
771# "data": {
772#
773# "deleteEngineBuild": {
774#
775# "id": "6f766576-03a9-42c4-8a96-f4cd932e7c6c",
776#
777# "message": "Engine build 6f766576-03a9-42c4-8a96-f4cd932e7c6c deleted"
778#
779# }
780#
781# }
782# }
783#
784# Arguments
785# input: Fields needed to delete an engine build.
786deleteEngineBuild(input: DeleteBuild!): DeletePayload
787
788# Update a task
789#
790# Arguments
791# input: Fields required to update a task.
792updateTask(input: UpdateTask): Task
793
794# Arguments
795# reason: Short string describing the warning
796# message: Optional: the actual problem
797# referenceId: Optional: Reference ID for the warning, such as
798# assetId, or sourceId
799appendWarningToTask(
800taskId: ID,
801reason: String!,
802message: String,
803referenceId: ID
804): ID
805
806addTasksToJobs(input: AddTasksToJobs): AddTasksToJobsResponse
807
808# Create a job
809#
810# Arguments
811# input: Fields required to create a job.
812createJob(input: CreateJob): Job
813
814# Cancel a job. This action effectively deletes the job,
815# although a records of job and task execution remains in
816# Veritone's database.
817#
818# Arguments
819# id: Supply the ID of the job to delete.
820cancelJob(id: ID!): DeletePayload
821
822# Retry a job. This action applies only to jobs
823# that are in a failure state. The task sequence
824# for the job will be restarted in its original
825# configuration.
826#
827# Arguments
828# id: Supply the ID of the job to retry.
829# clusterId: Use this field to change the cluster id, by default
830# the job
831# will be retried on the same cluster as the original
832retryJob(id: ID!, clusterId: ID): Job
833
834# Create and launch a job executing a single engine,
835# using the default engine DAG definition modified with the
836# supplied field values
837launchSingleEngineJob(input: SingleEngineJobInput!): Job
838
839# Create and launch a job executing multiple engines,
840# using a DAG template definition modified with the
841# supplied field values.
842launchDAGTemplate(input: LaunchDAGTemplateInput!): Job
843
844updateJobs(input: UpdateJobs!): JobList
845
846# This creates a config definition for an application
847applicationConfigDefinitionCreate(
848input: [ApplicationConfigDefinitionCreate]
849): ApplicationConfigDefinitionList
850
851# This updates an existing config definition for an application
852applicationConfigDefinitionUpdate(
853input: [ApplicationConfigDefinitionUpdateInput]
854): ApplicationConfigDefinitionList
855
856# This removes an existing config definition from an application
857applicationConfigDefinitionDelete(
858input: ApplicationConfigDefinitionDelete
859): OperationResult
860
861# This sets configs for an app/org/user
862applicationConfigSet(
863input: ApplicationConfigSetConfigInput
864): ApplicationConfigList
865
866# This removes configs for an app/org/user
867applicationConfigDelete(input: ApplicationConfigDelete): OperationResult
868
869# This adds an application to an organization.
870#
871# Arguments
872# orgId: OrgID
873# appId: AppID
874# configs: Pass in configs
875applicationAddToOrg(
876orgId: ID!,
877appId: ID!,
878configs: [ApplicationConfigInput!]
879): Application!
880
881# This removes an application from an organization
882applicationRemoveFromOrg(
883orgId: ID!,
884appId: ID!,
885userId: ID,
886clearConfigs: Boolean
887): OperationResult
888
889# This creates headerbar information for an application/organization
890createApplicationHeaderbar(
891appId: ID!,
892orgId: ID,
893input: ApplicationHeaderbarInput
894): ApplicationHeaderbar
895
896# This updates headerbar information for an application/organization
897updateApplicationHeaderbar(
898appId: ID!,
899orgId: ID,
900input: ApplicationHeaderbarUpdate
901): ApplicationHeaderbar
902
903# Create a new application. An application must
904# go through a sequence of workflow steps before
905# it is available in production. See the VDA documentation
906# for details.
907# Example:
908# Request:
909# mutation {
910#
911# createApplication(input: {
912#
913# name: "example123",
914#
915# key: "example123",
916#
917# category: "example",
918#
919# url: "www.veritone.com",
920#
921# checkPermissions: true}) {
922#
923# id
924#
925# name
926#
927# }
928# }
929# Response:
930# {
931#
932# "data": {
933#
934# "createApplication": {
935#
936# "id": "7e863365-94de-4ac9-8826-df1a398c9a21",
937#
938# "name": "example123"
939#
940# }
941#
942# }
943# }
944#
945# Arguments
946# input: Fields needed to create a new custom application.
947createApplication(input: CreateApplication): Application
948
949# Delete an application
950# Example:
951# Request:
952# mutation {
953#
954# deleteApplication(
955#
956# id: "7e863365-94de-4ac9-8826-df1a398c9a21") {
957#
958# id
959#
960# message
961#
962# }
963# }
964# Response:
965# {
966#
967# "data": {
968#
969# "deleteApplication": {
970#
971# "id": "7e863365-94de-4ac9-8826-df1a398c9a21",
972#
973# "message": null
974#
975# }
976#
977# }
978# }
979#
980# Arguments
981# id: Supply the ID of the application to delete.
982deleteApplication(id: ID!): DeletePayload
983
984# Update a custom application. Applications are subject to
985# specific workflows. The current application state determines
986# what updates can be made to it. See VDA documentation for details.
987# Example:
988# Request:
989# mutation {
990#
991# updateApplication(input: {
992#
993# name: "example123",
994#
995# id: "7e863365-94de-4ac9-8826-df1a398c9a21"
996#
997# category: "example",
998#
999# url: "www.veritone.com",
1000#
1001# checkPermissions: true,
1002#
1003# oauth2RedirectUrls: [],
1004#
1005# permissionsRequired: []}) {
1006#
1007# id
1008#
1009# name
1010#
1011# url
1012#
1013# }
1014# }
1015# Response:
1016# {
1017#
1018# "data": {
1019#
1020# "updateApplication": {
1021#
1022# "id": "7e863365-94de-4ac9-8826-df1a398c9a21",
1023#
1024# "name": "example123",
1025#
1026# "url": "www.veritone.com"
1027#
1028# }
1029#
1030# }
1031# }
1032#
1033# Arguments
1034# input: Fields required to update a custom application.
1035updateApplication(input: UpdateApplication): Application
1036
1037# Deprecated: Application Components are no longer supported.
1038# Instead, use packageUpdate or packageUpdateResources to associate
1039# resources with the application's package.
1040updateApplicationComponent(
1041input: UpdateApplicationComponent!
1042): ApplicationComponent!
1043
1044# Update an application's billing plan id for an organization.
1045# Example:
1046# Request:
1047# mutation {
1048#
1049# updateApplicationBillingPlanId(
1050#
1051# applicationId:"32babe30-fb42-11e4-89bc-27b69865858a",
1052#
1053# organizationId: "35521",
1054#
1055# billingPlanId: "123") {
1056#
1057# applicationId
1058#
1059# billingDirty
1060#
1061# }
1062# }
1063# Response:
1064# {
1065#
1066# "data": {
1067#
1068# "updateApplicationBillingPlanId": {
1069#
1070# "applicationId": "32babe30-fb42-11e4-89bc-27b69865858a",
1071#
1072# "billingDirty": true
1073#
1074# }
1075#
1076# }
1077# }
1078updateApplicationBillingPlanId(
1079applicationId: ID!,
1080organizationId: ID!,
1081billingPlanId: String!
1082): ApplicationBillingPlanId!
1083
1084# Update an application's billing dirty for an organization.
1085# Example:
1086# Request:
1087# mutation {
1088#
1089# updateApplicationBillingDirty(
1090#
1091# applicationId: "32babe30-fb42-11e4-89bc-27b69865858a",
1092#
1093# organizationId: "35521",
1094#
1095# billingDirty: false) {
1096#
1097# applicationId
1098#
1099# billingDirty
1100#
1101# }
1102# }
1103# Response:
1104# {
1105#
1106# "data": {
1107#
1108# "updateApplicationBillingDirty": {
1109#
1110# "applicationId": "32babe30-fb42-11e4-89bc-27b69865858a",
1111#
1112# "billingDirty": false
1113#
1114# }
1115#
1116# }
1117# }
1118updateApplicationBillingDirty(
1119applicationId: ID!,
1120organizationId: ID!,
1121billingDirty: Boolean!
1122): ApplicationBillingDirty!
1123
1124# Bulk delete context menu extensions.
1125# Example:
1126# Request:
1127# mutation {
1128#
1129# bulkDeleteContextMenuExtensions(input: {
1130#
1131# ids: []}) {
1132#
1133# mentions{
1134#
1135# id
1136#
1137# }
1138#
1139# }
1140# }
1141# Response:
1142# {
1143#
1144# "data": {
1145#
1146# "bulkDeleteContextMenuExtensions": {
1147#
1148# "mentions": []
1149#
1150# }
1151#
1152# }
1153# }
1154fileApplication(input: FileApplication!): Application
1155
1156unfileApplication(input: UnfileApplication!): Application
1157
1158bulkDeleteContextMenuExtensions(
1159input: BulkDeleteContextMenuExtensions
1160): ContextMenuExtensionList
1161
1162# Update an organization
1163# Example:
1164# Request:
1165# mutation {
1166#
1167# updateOrganization(input: {
1168#
1169# id: "35521",
1170#
1171# indexTDOsByDefault: true}) {
1172#
1173# id
1174#
1175# status
1176#
1177# }
1178# }
1179# Response:
1180# {
1181#
1182# "data": {
1183#
1184# "updateOrganization": {
1185#
1186# "id": "35521",
1187#
1188# "status": "active"
1189#
1190# }
1191#
1192# }
1193# }
1194#
1195# Arguments
1196# input: Fields required to update an organization.
1197updateOrganization(input: UpdateOrganization!): Organization
1198
1199# Update organization billing policy. Requires superadmin
1200#
1201# Arguments
1202# planId: External billing plan id.
1203# targetOrganizationId: Optional organization id, to use when the
1204# caller is a superadmin from a different org
1205updateOrganizationBilling(
1206planId: String!,
1207targetOrganizationId: ID
1208): OrganizationBilling
1209
1210addToEngineWhitelist(toAdd: SetEngineWhitelist!): EngineWhitelist
1211
1212addToEngineBlacklist(toAdd: SetEngineBlacklist!): EngineBlacklist
1213
1214deleteFromEngineBlacklist(
1215toDelete: SetEngineBlacklist!
1216): EngineBlacklist
1217
1218deleteFromEngineWhitelist(
1219toDelete: SetEngineBlacklist!
1220): EngineWhitelist
1221
1222# Create an entity identifier type, such as "face" or "image".
1223# Entity identifier types are typically created or modified
1224# only by Veritone engineering. Most libraries and
1225# entities will use existing entity identifier types.
1226# Example:
1227# Request:
1228# mutation {
1229#
1230# createEntityIdentifierType(input: {
1231#
1232# label: "example"
1233#
1234# labelPlural: "example"
1235#
1236# iconClass: null
1237#
1238# description: "example"
1239#
1240# dataType: text
1241#
1242# id: "123"}) {
1243#
1244# id
1245#
1246# description
1247#
1248# }
1249# }
1250# Response:
1251# {
1252#
1253# "data": {
1254#
1255# "createEntityIdentifierType": {
1256#
1257# "id": "123",
1258#
1259# "description": null
1260#
1261# }
1262#
1263# }
1264# }
1265#
1266# Arguments
1267# input: Fields required to create an entity identifier type.
1268createEntityIdentifierType(
1269input: CreateEntityIdentifierType!
1270): EntityIdentifierType
1271
1272# Update an entity identifier type.
1273# Example:
1274# Request:
1275# mutation {
1276#
1277# updateEntityIdentifierType(input: {
1278#
1279# id: "123",
1280#
1281# label: "example",
1282#
1283# labelPlural: "example"
1284#
1285# description: "new description",
1286#
1287# dataType: image}) {
1288#
1289# id
1290#
1291# description
1292#
1293# }
1294# }
1295# Response:
1296# {
1297#
1298# "data": {
1299#
1300# "updateEntityIdentifierType": null
1301#
1302# }
1303# }
1304#
1305# Arguments
1306# input: Fields required to update an entity identifier type.
1307updateEntityIdentifierType(
1308input: UpdateEntityIdentifierType!
1309): EntityIdentifierType
1310
1311# Create a library type, such as "ad" or "people".
1312# Entity identifier types are typically created or modified
1313# only by Veritone engineering. Most libraries
1314# will use existing entity identifier types.
1315# Example:
1316# Request:
1317# mutation {
1318#
1319# createLibraryType(input: {
1320#
1321# id: "123",
1322#
1323# label: "example",
1324#
1325# entityIdentifierTypeIds: ["123"],
1326#
1327# entityType: {
1328#
1329# name: "example",
1330#
1331# namePlural: "example",
1332#
1333# schema: {
1334#
1335# example: "example" }}}) {
1336#
1337# id
1338#
1339# label
1340#
1341# }
1342# }
1343# Response:
1344# {
1345#
1346# "data": {
1347#
1348# "createLibraryType": {
1349#
1350# "id": "123",
1351#
1352# "label": "example"
1353#
1354# }
1355#
1356# }
1357# }
1358#
1359# Arguments
1360# input: Fields needed to create a new library type.
1361createLibraryType(input: CreateLibraryType!): LibraryType
1362
1363# Update a library type.
1364# Example:
1365# Request:
1366# mutation {
1367#
1368# updateLibraryType(input: {
1369#
1370# id: "123",
1371#
1372# label: "example",
1373#
1374# entityIdentifierTypeIds: ["123"],
1375#
1376# entityType: {
1377#
1378# name: "example",
1379#
1380# namePlural: "example",
1381#
1382# schema: {
1383#
1384# example: "new example" }}}) {
1385#
1386# id
1387#
1388# label
1389#
1390# }
1391# }
1392# Response:
1393# {
1394#
1395# "data": {
1396#
1397# "updateLibraryType": null
1398#
1399# }
1400# }
1401#
1402# Arguments
1403# input: Fields needed to update a library type.
1404updateLibraryType(input: UpdateLibraryType!): LibraryType
1405
1406# Create a new library.
1407# Once the library is created, the client can add
1408# entities and entity identifiers. Note that the
1409# library type determines what types of entity identifiers
1410# can be used within the library.
1411# Example:
1412# Request:
1413# mutation {
1414#
1415# createLibrary(input: {
1416#
1417# name: "example"
1418#
1419# applicationId: "32babe30-fb42-11e4-89bc-27b69865858a"
1420#
1421# organizationId: "35521"
1422#
1423# libraryTypeId: "123"
1424#
1425# coverImageUrl:
1426# "https://edit.co.uk/uploads/2016/12/Image-1-Alternatives-to-stock-photography-Thinkstock.jpg"
1427#
1428# description: "example"}) {
1429#
1430# id
1431#
1432# name
1433#
1434# }
1435# }
1436# Response:
1437# {
1438#
1439# "data": {
1440#
1441# "createLibrary": {
1442#
1443# "id": "e0a6e5ad-dec8-49a1-ad33-3f1194c2e599",
1444#
1445# "name": "example"
1446#
1447# }
1448#
1449# }
1450# }
1451#
1452# Arguments
1453# input: Fields needed to create a new library.
1454createLibrary(input: CreateLibrary!): Library
1455
1456# Update an existing library.
1457# Example:
1458# Request:
1459# mutation {
1460#
1461# updateLibrary(input: {
1462#
1463# id: "e0a6e5ad-dec8-49a1-ad33-3f1194c2e599",
1464#
1465# name: "example"
1466#
1467# coverImageUrl:
1468# "https://edit.co.uk/uploads/2016/12/Image-1-Alternatives-to-stock-photography-Thinkstock.jpg"
1469#
1470# description: "new description"
1471#
1472# libraryTypeId: "123"
1473#
1474# version: 2}) {
1475#
1476# id
1477#
1478# name
1479#
1480# description
1481#
1482# }
1483# }
1484# Response:
1485# {
1486#
1487# "data": {
1488#
1489# "updateLibrary": {
1490#
1491# "id": "e0a6e5ad-dec8-49a1-ad33-3f1194c2e599",
1492#
1493# "name": "example",
1494#
1495# "description": "new description"
1496#
1497# }
1498#
1499# }
1500# }
1501#
1502# Arguments
1503# input: Fields needed to update a library
1504updateLibrary(input: UpdateLibrary!): Library
1505
1506# Delete a library. This mutation will also delete all entities,
1507# entity identifiers, library engine models, and associated objects.
1508# Example:
1509# Request:
1510# mutation {
1511#
1512# deleteLibrary(id:"d232c90f-ae47-4125-b884-0d35fbed7e5f") {
1513#
1514# message
1515#
1516# }
1517# }
1518# Response:
1519# {
1520#
1521# "data": {
1522#
1523# "deleteLibrary": {
1524#
1525# "message": "d232c90f-ae47-4125-b884-0d35fbed7e5f deleted"
1526#
1527# }
1528#
1529# }
1530# }
1531#
1532# Arguments
1533# id: Provide the ID of the library to delete.
1534deleteLibrary(id: ID!): DeletePayload
1535
1536# Publish a new version of a library.
1537# Increments library version by one and trains compatible engines.
1538# Example:
1539# Request:
1540# mutation {
1541#
1542# publishLibrary(
1543#
1544# id: "e0a6e5ad-dec8-49a1-ad33-3f1194c2e599") {
1545#
1546# name
1547#
1548# description
1549#
1550# version
1551#
1552# }
1553# }
1554# Response:
1555# {
1556#
1557# "data": {
1558#
1559# "publishLibrary": {
1560#
1561# "name": "example",
1562#
1563# "description": "new description",
1564#
1565# "version": 2
1566#
1567# }
1568#
1569# }
1570# }
1571#
1572# Arguments
1573# id: ID of the library to publish
1574publishLibrary(id: ID!): Library
1575
1576# Create a new entity.
1577# Example:
1578# Request:
1579# mutation {
1580#
1581# createEntity(input: {
1582#
1583# name: "example",
1584#
1585# description: "example",
1586#
1587# libraryId: "e0a6e5ad-dec8-49a1-ad33-3f1194c2e599",
1588#
1589# jsondata: {
1590#
1591# example: "new example" }}) {
1592#
1593# id
1594#
1595# name
1596#
1597# }
1598# }
1599# Response:
1600# {
1601#
1602# "data": {
1603#
1604# "createEntity": {
1605#
1606# "id": "85b700fa-f327-4fea-b94b-ed83054170db",
1607#
1608# "name": "example"
1609#
1610# }
1611#
1612# }
1613# }
1614#
1615# Arguments
1616# input: Fields required to create a new entity.
1617createEntity(input: CreateEntity!): Entity
1618
1619# Update an entity.
1620# Example:
1621# Request:
1622# mutation {
1623#
1624# updateEntity(input: {
1625#
1626# id: "85b700fa-f327-4fea-b94b-ed83054170db",
1627#
1628# name: "example",
1629#
1630# description: "example",
1631#
1632# jsondata: {
1633#
1634# example: "updated example" }}) {
1635#
1636# id
1637#
1638# name
1639#
1640# jsondata
1641#
1642# }
1643# }
1644# Response:
1645# {
1646#
1647# "data": {
1648#
1649# "updateEntity": {
1650#
1651# "id": "85b700fa-f327-4fea-b94b-ed83054170db",
1652#
1653# "name": "example",
1654#
1655# "jsondata": {
1656#
1657# "example": "updated example"
1658#
1659# }
1660#
1661# }
1662#
1663# }
1664# }
1665#
1666# Arguments
1667# input: Fields required to update an entity.
1668updateEntity(input: UpdateEntity!): Entity
1669
1670# Delete an entity. This mutation will also delete all associated
1671# entity identifiers and associated objects.
1672# Example:
1673# Request:
1674# mutation {
1675#
1676# deleteEntity(id: "522bc6cf-5b7c-47bd-bd30-10cd77016a49") {
1677#
1678# message
1679#
1680# }
1681# }
1682# Response:
1683# {
1684#
1685# "data": {
1686#
1687# "deleteEntity": {
1688#
1689# "message": "Entity 522bc6cf-5b7c-47bd-bd30-10cd77016a49 deleted."
1690#
1691# }
1692#
1693# }
1694# }
1695#
1696# Arguments
1697# id: Supply the ID of the entity to delete.
1698deleteEntity(id: ID!): DeletePayload
1699
1700# Create an entity identifier.
1701# This mutation accepts file uploads. To use this mutation and upload a file,
1702# send a multipart form POST containing two parameters: `query`, with the
1703# GraphQL query, and `file` containing the file itself.
1704# For more information see the documentation at
1705# https://veritone-developer.atlassian.net/wiki/spaces/DOC/pages/13893791/GraphQL.
1706# Example:
1707# Request:
1708# mutation {
1709#
1710# createEntityIdentifier(input: {
1711#
1712# entityId: "85b700fa-f327-4fea-b94b-ed83054170db",
1713#
1714# identifierTypeId: "123",
1715#
1716# title: "example",
1717#
1718# isPriority: false,
1719#
1720# contentType: "example",
1721#
1722# url:
1723# "https://edit.co.uk/uploads/2016/12/Image-1-Alternatives-to-stock-photography-Thinkstock.jpg"})
1724# {
1725#
1726# id
1727#
1728# isPriority
1729#
1730# }
1731# }
1732# Result:
1733# {
1734#
1735# "data": {
1736#
1737# "createEntityIdentifier": {
1738#
1739# "id": "bf67e595-3666-4a0c-9f4b-0ad99a1770fe",
1740#
1741# "isPriority": false,
1742#
1743# }
1744#
1745# }
1746# }
1747#
1748# Arguments
1749# input: Fields needed to create an entity identifier.
1750createEntityIdentifier(input: CreateEntityIdentifier!): EntityIdentifier
1751
1752# Updates an entity identifier.
1753# Example:
1754# Request:
1755# mutation {
1756#
1757# updateEntityIdentifier(input: {
1758#
1759# id: "bf67e595-3666-4a0c-9f4b-0ad99a1770fe",
1760#
1761# title: "example",
1762#
1763# isPriority: true,
1764#
1765# url:
1766# "https://edit.co.uk/uploads/2016/12/Image-1-Alternatives-to-stock-photography-Thinkstock.jpg"})
1767# {
1768#
1769# id
1770#
1771# isPriority
1772#
1773# }
1774# }
1775# Response:
1776# {
1777#
1778# "data": {
1779#
1780# "updateEntityIdentifier": {
1781#
1782# "id": "bf67e595-3666-4a0c-9f4b-0ad99a1770fe",
1783#
1784# "isPriority": true
1785#
1786# }
1787#
1788# }
1789# }
1790#
1791# Arguments
1792# input: Fields required to update an entity identifier.
1793updateEntityIdentifier(input: UpdateEntityIdentifier!): EntityIdentifier
1794
1795# Delete an entity identifier
1796# Example:
1797# Request:
1798# mutation {
1799#
1800# deleteEntityIdentifier(id: "0bda9fa6-9fad-4025-8f03-07cc73321050") {
1801#
1802# message
1803#
1804# }
1805# }
1806# Response:
1807# {
1808#
1809# "data": {
1810#
1811# "deleteEntityIdentifier": {
1812#
1813# "message": "Entity identifier0bda9fa6-9fad-4025-8f03-07cc73321050 deleted."
1814#
1815# }
1816#
1817# }
1818# }
1819#
1820# Arguments
1821# id: Supply the ID of the entity identifier to delete.
1822deleteEntityIdentifier(id: ID!): DeletePayload
1823
1824# Create a library engine model.
1825# Example:
1826# Request:
1827# mutation {
1828#
1829# createLibraryEngineModel(input: {
1830#
1831# engineId: "1",
1832#
1833# libraryId: "e0a6e5ad-dec8-49a1-ad33-3f1194c2e599",
1834#
1835# trainJobId: "123",
1836#
1837# dataUrl:
1838# "https://edit.co.uk/uploads/2016/12/Image-1-Alternatives-to-stock-photography-Thinkstock.jpg"})
1839# {
1840#
1841# id
1842#
1843# engineId
1844#
1845# }
1846# }
1847# Response:
1848# {
1849#
1850# "data": {
1851#
1852# "createLibraryEngineModel": {
1853#
1854# "id": "0e9c25f7-d994-4363-af41-c00b37de9a1b",
1855#
1856# "engineId": "1"
1857#
1858# }
1859#
1860# }
1861# }
1862#
1863# Arguments
1864# input: Fields required to create a library engine model.
1865createLibraryEngineModel(
1866input: CreateLibraryEngineModel!
1867): LibraryEngineModel
1868
1869# Update a library engine model
1870# Example:
1871# Request:
1872# mutation {
1873#
1874# updateLibraryEngineModel(input: {
1875#
1876# id: "0e9c25f7-d994-4363-af41-c00b37de9a1b",
1877#
1878# trainJobId: "1234"}) {
1879#
1880# trainJobId
1881#
1882# }
1883# }
1884# Response:
1885# {
1886#
1887# "data": {
1888#
1889# "updateLibraryEngineModel": {
1890#
1891# "trainJobId": "1234"
1892#
1893# }
1894#
1895# }
1896# }
1897#
1898# Arguments
1899# input: Fields required to update a library engine model
1900updateLibraryEngineModel(
1901input: UpdateLibraryEngineModel!
1902): LibraryEngineModel
1903
1904# Delete a library engine model
1905# Example:
1906# Request:
1907# mutation {
1908#
1909# deleteLibraryEngineModel(
1910#
1911# id: "0e9c25f7-d994-4363-af41-c00b37de9a1b") {
1912#
1913# id
1914#
1915# message
1916#
1917# }
1918# }
1919# Response:
1920# {
1921#
1922# "data": {
1923#
1924# "deleteLibraryEngineModel": {
1925#
1926# "id": "0e9c25f7-d994-4363-af41-c00b37de9a1b",
1927#
1928# "message": "library engine model 0e9c25f7-d994-4363-af41-c00b37de9a1b deleted."
1929#
1930# }
1931#
1932# }
1933# }
1934#
1935# Arguments
1936# id: Supply the ID of the library engine model to delete.
1937deleteLibraryEngineModel(id: ID!): DeletePayload
1938
1939# Create a library collaborator.
1940# Example:
1941# Request:
1942# mutation {
1943#
1944# createLibraryCollaborator(input: {
1945#
1946# libraryId: "e0a6e5ad-dec8-49a1-ad33-3f1194c2e599",
1947#
1948# organizationId: 35521,
1949#
1950# permissions: ["job.create"]}) {
1951#
1952# organizationId
1953#
1954# status
1955#
1956# }
1957# }
1958# Response:
1959# {
1960#
1961# "data": {
1962#
1963# "createLibraryCollaborator": {
1964#
1965# "organizationId": "35521",
1966#
1967# "status": "active"
1968#
1969# }
1970#
1971# }
1972# }
1973#
1974# Arguments
1975# input: Fields required to create a library collaborator.
1976createLibraryCollaborator(
1977input: CreateLibraryCollaborator!
1978): LibraryCollaborator
1979
1980# Update a library collaborator
1981# Example:
1982# Request:
1983# mutation {
1984#
1985# updateLibraryCollaborator(input: {
1986#
1987# libraryId: "e0a6e5ad-dec8-49a1-ad33-3f1194c2e599",
1988#
1989# organizationId: 35521,
1990#
1991# permissions: ["job.create", "job.read"]}) {
1992#
1993# status
1994#
1995# permissions
1996#
1997# }
1998# }
1999# Response:
2000# {
2001#
2002# "data": {
2003#
2004# "updateLibraryCollaborator": {
2005#
2006# "status": "active",
2007#
2008# "permissions": [
2009#
2010# "job.create"
2011#
2012# ]
2013#
2014# }
2015#
2016# }
2017# }
2018#
2019# Arguments
2020# input: Fields required to update a library collaborator
2021updateLibraryCollaborator(
2022input: UpdateLibraryCollaborator!
2023): LibraryCollaborator
2024
2025# Delete a library collaborator
2026# Example:
2027# Request:
2028# mutation {
2029#
2030# deleteLibraryCollaborator(
2031#
2032# libraryId: "e0a6e5ad-dec8-49a1-ad33-3f1194c2e599",
2033#
2034# organizationId: "35521") {
2035#
2036# id
2037#
2038# message
2039#
2040# }
2041# }
2042# Response:
2043# {
2044#
2045# "data": {
2046#
2047# "deleteLibraryCollaborator": {
2048#
2049# "id": "e0a6e5ad-dec8-49a1-ad33-3f1194c2e599 - 35521",
2050#
2051# "message": "library collaborator model libraryId:
2052# e0a6e5ad-dec8-49a1-ad33-3f1194c2e599, organizationId: 35521 deleted."
2053#
2054# }
2055#
2056# }
2057# }
2058#
2059# Arguments
2060# libraryId: Supply the ID of the library collaborator to delete.
2061# organizationId: Supply the ID of the library collaborator to
2062# delete.
2063deleteLibraryCollaborator(
2064libraryId: ID!,
2065organizationId: ID!
2066): DeletePayload
2067
2068# Create Dataset Library Configuration
2069# Example
2070# Request:
2071# mutation {
2072#
2073# createLibraryConfiguration(input: {
2074#
2075# libraryId: "e0a6e5ad-dec8-49a1-ad33-3f1194c2e599",
2076#
2077# engineCategoryId: "c1e5f177-ca10-433a-a155-bb5e4872cf9a",
2078#
2079# targetEngineIds: ["1"],
2080#
2081# confidence: {}}) {
2082#
2083# id
2084#
2085# }
2086# }
2087# Response:
2088# {
2089#
2090# "data": {
2091#
2092# "createLibraryConfiguration": {
2093#
2094# "id": "7396e71b-db5a-4c4c-bf6f-4fc66a5a07f7"
2095#
2096# }
2097#
2098# }
2099# }
2100#
2101# Arguments
2102# input: Fields required to create library configuration
2103createLibraryConfiguration(
2104input: CreateLibraryConfiguration!
2105): LibraryConfiguration
2106
2107# Update Dataset Library Configuration
2108#
2109# Arguments
2110# input: Fields required to create library configuration
2111updateLibraryConfiguration(
2112input: UpdateLibraryConfiguration!
2113): LibraryConfiguration
2114
2115# Delete Dataset Library Configuration
2116#
2117# Arguments
2118# id: Supply configuration ID to delete.
2119deleteLibraryConfiguration(id: ID!): DeletePayload
2120
2121# Add recordings to a dataset library
2122# Example:
2123# Request:
2124# mutation {
2125#
2126# addLibraryDataset(input: {
2127#
2128# libraryId: "e0a6e5ad-dec8-49a1-ad33-3f1194c2e599",
2129#
2130# tdoIds: ["1570899328"]}) {
2131#
2132# tdoIds
2133#
2134# }
2135# }
2136# Response:
2137# {
2138#
2139# "data": {
2140#
2141# "addLibraryDataset": {
2142#
2143# "tdoIds": [
2144#
2145# "1570899328"
2146#
2147# ]
2148#
2149# }
2150#
2151# }
2152# }
2153addLibraryDataset(input: AddLibraryDataset!): LibraryDataset
2154
2155# Remove recordings from a dataset library
2156# Example:
2157# Request:
2158# mutation {
2159#
2160# deleteLibraryDataset(input: {
2161#
2162# libraryId: "e0a6e5ad-dec8-49a1-ad33-3f1194c2e599",
2163#
2164# tdoIds: ["1570899328"]}) {
2165#
2166# tdoIds
2167#
2168# message
2169#
2170# }
2171# }
2172# Response:
2173# {
2174#
2175# "data": {
2176#
2177# "deleteLibraryDataset": {
2178#
2179# "tdoIds": [
2180#
2181# "1570899328"
2182#
2183# ],
2184#
2185# "message": "[1570899328] are removed from e0a6e5ad-dec8-49a1-ad33-3f1194c2e599"
2186#
2187# }
2188#
2189# }
2190# }
2191deleteLibraryDataset(input: DeleteLibraryDataset!): DeleteLibraryDatasetPayload
2192
2193# Apply an application workflow step, such as "submit" or "approve"
2194# Example:
2195# Request:
2196# mutation {
2197#
2198# applicationWorkflow(input: {
2199#
2200# id: "dcc6a08e-1114-43e9-b74a-2b469a32f437",
2201#
2202# action: submit}) {
2203#
2204# id
2205#
2206# name
2207#
2208# }
2209# }
2210# Response:
2211# {
2212#
2213# "data": {
2214#
2215# "applicationWorkflow": {
2216#
2217# "id": "dcc6a08e-1114-43e9-b74a-2b469a32f437",
2218#
2219# "name": "appexamplebill2"
2220#
2221# }
2222#
2223# }
2224# }
2225#
2226# Arguments
2227# input: Fields required to apply a application workflow step
2228applicationWorkflow(input: ApplicationWorkflow): Application
2229
2230# Apply an engine workflow step, such as "submit" or "approve"
2231#
2232# Arguments
2233# input: Fields required to apply a engine workflow step
2234engineWorkflow(input: EngineWorkflow): Engine
2235
2236# Creates a widget associated with a collection
2237# Example:
2238# Request:
2239# mutation {
2240#
2241# createWidget(input:{
2242#
2243# collectionId: "242361",
2244#
2245# name: "example",
2246#
2247# nextButtonColor: "000000"}) {
2248#
2249# id
2250#
2251# name
2252#
2253# }
2254# }
2255# Response:
2256# {
2257#
2258# "data": {
2259#
2260# "createWidget": {
2261#
2262# "id": "fwSwWdRWTm2fdFMoPQDKkg",
2263#
2264# "name": ""
2265#
2266# }
2267#
2268# }
2269# }
2270#
2271# Arguments
2272# input: Fields needed to create a new widget
2273createWidget(input: CreateWidget): Widget
2274
2275# Updates a widget
2276# Example:
2277# Request:
2278# mutation {
2279#
2280# updateWidget(input: {
2281#
2282# id: "fwSwWdRWTm2fdFMoPQDKkg",
2283#
2284# name: "new example name"}) {
2285#
2286# id
2287#
2288# name
2289#
2290# }
2291# }
2292# Response:
2293# {
2294#
2295# "data": {
2296#
2297# "updateWidget": {
2298#
2299# "id": "fwSwWdRWTm2fdFMoPQDKkg",
2300#
2301# "name": "new example name"
2302#
2303# }
2304#
2305# }
2306# }
2307#
2308# Arguments
2309# input: Fields needed to update a widget
2310updateWidget(input: UpdateWidget): Widget
2311
2312# Create a new user within an organization.
2313# Example:
2314# Request:
2315# mutation {
2316#
2317# createUser(input: {
2318#
2319# name: "example",
2320#
2321# password: "example",
2322#
2323# organizationId: "35521"}) {
2324#
2325# id
2326#
2327# }
2328# }
2329# Response:
2330# {
2331#
2332# "data": {
2333#
2334# "createUser": {
2335#
2336# "id": "267de7e1-efb2-444a-a524-210328b78503"
2337#
2338# }
2339#
2340# }
2341# }
2342#
2343# Arguments
2344# input: Fields needed to create a user.
2345createUser(input: CreateUser): User
2346
2347# Create a new organization.
2348#
2349# Arguments
2350# input: Fields needed to create an organization. Requires
2351# superadmin
2352createOrganization(input: CreateOrganization!): Organization
2353
2354# Update an existing user'
2355# Example:
2356# Request:
2357# mutation {
2358#
2359# updateUser(input: {
2360#
2361# id: "267de7e1-efb2-444a-a524-210328b78503",
2362#
2363# firstName: "example",
2364#
2365# lastName: "example"}) {
2366#
2367# firstName
2368#
2369# lastName
2370#
2371# }
2372# }
2373# Response:
2374# {
2375#
2376# "data": {
2377#
2378# "updateUser": {
2379#
2380# "firstName": "example",
2381#
2382# "lastName": "example"
2383#
2384# }
2385#
2386# }
2387# }
2388#
2389# Arguments
2390# input: Fields needed to update a user
2391updateUser(input: UpdateUser): User
2392
2393# Add an existing user to an organization.
2394# One of the user identifiers (userId or userName) has to be specified.
2395#
2396# Arguments
2397# userId: UUID of user
2398# userName: User name to uniquely identify a user
2399# organizationGuid: UUID of organization
2400# roleIds: Role Ids.
2401# priority: Priority of the organization. If not provided, max
2402# priority plus one will be used.
2403addUserToOrganization(
2404userId: ID,
2405userName: String,
2406organizationGuid: ID!,
2407roleIds: [ID],
2408priority: Int
2409): User
2410
2411# Remove an existing user for organization.
2412# One of the user identifiers (userId or userName) has to be specified.
2413# The operation fails if the organization is the last one to which user belongs.
2414#
2415# Arguments
2416# userId: UUID of user
2417# userName: User name to uniquely identify a user
2418# organizationGuid: UUID of organization
2419removeUserFromOrganization(
2420userId: ID,
2421userName: String,
2422organizationGuid: ID!
2423): User
2424
2425# #Switch user to organization
2426#
2427# Arguments
2428# token: User token that should be logout
2429# userName: The user login name -- typically, email address.
2430# organizationGuid: GUID of organization.
2431switchUserToOrganization(
2432token: String!,
2433userName: String!,
2434organizationGuid: ID!
2435): LoginInfo
2436
2437# Force a user to update password on next login.
2438# This mutation is used by administrators.
2439# Example:
2440# Request:
2441# mutation {
2442#
2443# createPasswordUpdateRequest(input: {
2444#
2445# id: "267de7e1-efb2-444a-a524-210328b78503",
2446#
2447# skipPasswordResetEmail: true}) {
2448#
2449# id
2450#
2451# name
2452#
2453# }
2454# }
2455# Response:
2456# {
2457#
2458# "data": {
2459#
2460# "createPasswordUpdateRequest": {
2461#
2462# "id": "267de7e1-efb2-444a-a524-210328b78503",
2463#
2464# "name": "example"
2465#
2466# }
2467#
2468# }
2469# }
2470#
2471# Arguments
2472# input: Fields needed to create a password update request
2473createPasswordUpdateRequest(
2474input: CreatePasswordUpdateRequest
2475): User
2476
2477# Create a password reset request. This mutation is used on behalf
2478# of a user who needs to reset their password. It operates only on
2479# the currently authenicated user (based on the authentication token provided).
2480# Example:
2481# Request:
2482# mutation {
2483#
2484# createPasswordResetRequest(input: {
2485#
2486# userName: "example",
2487#
2488# skipPasswordResetEmail:true}) {
2489#
2490# message
2491#
2492# }
2493# }
2494# Response:
2495# {
2496#
2497# "data": {
2498#
2499# "createPasswordResetRequest": {
2500#
2501# "message": "Reset request issued for example. Email will not be sent."
2502#
2503# }
2504#
2505# }
2506# }
2507createPasswordResetRequest(
2508input: CreatePasswordResetRequest
2509): CreatePasswordResetRequestPayload
2510
2511# Update the current authenticated user
2512# Example:
2513# Request:
2514# mutation {
2515#
2516# updateCurrentUser(input: {
2517#
2518# title: "undefined"}) {
2519#
2520# id
2521#
2522# }
2523# }
2524# Response:
2525# {
2526#
2527# "data": {
2528#
2529# "updateCurrentUser": {
2530#
2531# "id": "59cb4e74-7c31-4267-b91e-d4600bc08008"
2532#
2533# }
2534#
2535# }
2536# }
2537updateCurrentUser(input: UpdateCurrentUser!): User!
2538
2539# Get password token info for current user
2540# Example:
2541# Request:
2542# mutation {
2543#
2544# getCurrentUserPasswordToken(input: {
2545#
2546# password: "Example password"}) {
2547#
2548# passwordToken
2549#
2550# }
2551# }
2552# Response:
2553# {
2554#
2555# "data": {
2556#
2557# "getCurrentUserPasswordToken": {
2558#
2559# "passwordToken": "e4cb86c7-34a4-4a52-b458-3ebbb2cca9c3"
2560#
2561# }
2562#
2563# }
2564# }
2565getCurrentUserPasswordToken(
2566input: GetCurrentUserPasswordToken!
2567): PasswordTokenInfo!
2568
2569# Change the current authenticated user's password
2570#
2571# Arguments
2572# input: Fields needed to change password
2573changePassword(input: ChangePassword!): User
2574
2575# Delete a user
2576# Example:
2577# Request:
2578# mutation {
2579#
2580# deleteUser(
2581#
2582# id: "267de7e1-efb2-444a-a524-210328b78503") {
2583#
2584# message
2585#
2586# }
2587# }
2588# Response:
2589# {
2590#
2591# "data": {
2592#
2593# "deleteUser": {
2594#
2595# "message": null
2596#
2597# }
2598#
2599# }
2600# }
2601#
2602# Arguments
2603# id: Supply the ID of the user to delete.
2604deleteUser(id: ID!): DeletePayload
2605
2606# Create a structured data registry schema metadata.
2607# Example:
2608# Request:
2609# mutation {
2610#
2611# createDataRegistry(input: {
2612#
2613# name: "example",
2614#
2615# description: "example"
2616#
2617# source: "example"}) {
2618#
2619# id
2620#
2621# organizationId
2622#
2623# }
2624# }
2625# Response:
2626# {
2627#
2628# "data": {
2629#
2630# "createDataRegistry": {
2631#
2632# "id": "230f95e4-95c9-47c4-a845-61ca67ad6ba6",
2633#
2634# "organizationId": "35521"
2635#
2636# }
2637#
2638# }
2639# }
2640createDataRegistry(input: CreateDataRegistry!): DataRegistry
2641
2642# Update a structured data registry schema metadata.
2643# Example:
2644# Request:
2645# mutation {
2646#
2647# updateDataRegistry(input: {
2648#
2649# id: "230f95e4-95c9-47c4-a845-61ca67ad6ba6"
2650#
2651# name: "example"
2652#
2653# description: "example"
2654#
2655# source: "new source"}) {
2656#
2657# id
2658#
2659# source
2660#
2661# }
2662# }
2663# Response:
2664# {
2665#
2666# "data": {
2667#
2668# "updateDataRegistry": {
2669#
2670# "id": "230f95e4-95c9-47c4-a845-61ca67ad6ba6",
2671#
2672# "source": "new source"
2673#
2674# }
2675#
2676# }
2677# }
2678updateDataRegistry(input: UpdateDataRegistry!): DataRegistry
2679
2680# Create a schema record.
2681# Example:
2682# Request:
2683# mutation {
2684#
2685# createSchema(input: {
2686#
2687# id: "450f95e4-95c9-47c4-a845-62ca67ad6ea6",
2688#
2689# dataRegistryId: "230f95e4-95c9-47c4-a845-61ca67ad6ba6",
2690#
2691# status: published,
2692#
2693# definition: {
2694#
2695# example: "example"
2696#
2697# },
2698#
2699# majorVersion: 1,
2700#
2701# minorVersion: 2
2702#
2703# }) {
2704#
2705# id
2706#
2707# }
2708# }
2709# Response:
2710# {
2711#
2712# "data": {
2713#
2714# "createSchema": {
2715#
2716# "id": "230f95e4-95c9-47c4-a845-61ca67ad6ba6",
2717#
2718# }
2719#
2720# }
2721# }
2722createSchema(input: CreateSchema!): Schema
2723
2724# Update a structured data registry schema.
2725# Example:
2726# Request:
2727# mutation {
2728#
2729# upsertSchemaDraft(input: {
2730#
2731# dataRegistryId: "230f95e4-95c9-47c4-a845-61ca67ad6ba6",
2732#
2733# schema: {
2734#
2735# example: "example"
2736#
2737# }}) {
2738#
2739# id
2740#
2741# }
2742# }
2743# Response:
2744# {
2745#
2746# "data": {
2747#
2748# "upsertSchemaDraft": {
2749#
2750# "id": "0bd05e43-ddac-4b1a-9238-f3b177439b91"
2751#
2752# }
2753#
2754# }
2755# }
2756upsertSchemaDraft(input: UpsertSchemaDraft!): Schema
2757
2758# Update the state of a schema
2759# Example:
2760# Request:
2761# mutation {
2762#
2763# updateSchemaState(input: {
2764#
2765# id: "0bd05e43-ddac-4b1a-9238-f3b177439b91",
2766#
2767# status: deleted}) {
2768#
2769# id
2770#
2771# }
2772# }
2773# Response:
2774# {
2775#
2776# "data": {
2777#
2778# "updateSchemaState": {
2779#
2780# "id": "0bd05e43-ddac-4b1a-9238-f3b177439b91"
2781#
2782# }
2783#
2784# }
2785# }
2786updateSchemaState(input: UpdateSchemaState!): Schema
2787
2788# Create (ingest) a structured data object
2789# Example:
2790# Request:
2791# mutation {
2792#
2793# createStructuredData(input: {
2794#
2795# schemaId: "b79b7ff3-0b80-4d7c-ac51-d5f3459d13fa",
2796#
2797# data: {
2798#
2799# example: "example"
2800#
2801# }}) {
2802#
2803# id
2804#
2805# }
2806# }
2807# Response:
2808# {
2809#
2810# "data": {
2811#
2812# "createStructuredData": {
2813#
2814# "id": "e180f94f-866e-4454-92f9-7ee20d6448fa"
2815#
2816# }
2817#
2818# }
2819# }
2820createStructuredData(input: CreateStructuredData!): StructuredData
2821
2822# Delete a structured data object
2823# Example:
2824# Request:
2825# mutation {
2826#
2827# deleteStructuredData(input:{
2828#
2829# id: "e180f94f-866e-4454-92f9-7ee20d6448fa",
2830#
2831# schemaId: "b79b7ff3-0b80-4d7c-ac51-d5f3459d13fa"}) {
2832#
2833# message
2834#
2835# }
2836# }
2837# Response:
2838# {
2839#
2840# "data": {
2841#
2842# "deleteStructuredData": {
2843#
2844# "message": null
2845#
2846# }
2847#
2848# }
2849# }
2850deleteStructuredData(input: DeleteStructuredData!): DeletePayload
2851
2852# Create (ingest) a structured data object
2853# Example:
2854# Request:
2855# mutation {
2856#
2857# createCollection(input: {
2858#
2859# name: "example",
2860#
2861# folderDescription: "example",
2862#
2863# image:"",
2864#
2865# parentFolderId: "d551fbd6-7354-4b0e-abfb-654ab8583be2"}) {
2866#
2867# id
2868#
2869# }
2870# }
2871# Response:
2872# {
2873#
2874# "data": {
2875#
2876# "createCollection": {
2877#
2878# "id": "242361"
2879#
2880# }
2881#
2882# }
2883# }
2884#
2885# Arguments
2886# input: Fields required to create new collection
2887createCollection(input: CreateCollection): Collection
2888
2889# Update a collection
2890# Example:
2891# Request:
2892# mutation {
2893#
2894# updateCollection(input: {
2895#
2896# folderId: "242361"
2897#
2898# name: "new name"
2899#
2900# folderDescription: "new description"}) {
2901#
2902# id
2903#
2904# name
2905#
2906# }
2907# }
2908# Response:
2909# {
2910#
2911# "data": {
2912#
2913# "updateCollection": {
2914#
2915# "id": "242361",
2916#
2917# "name": "new name"
2918#
2919# }
2920#
2921# }
2922# }
2923#
2924# Arguments
2925# input: Fields needed to update a collection
2926updateCollection(input: UpdateCollection): Collection
2927
2928# Delete Collection
2929# Example:
2930# Request:
2931# mutation {
2932#
2933# deleteCollection(
2934#
2935# id: "242361") {
2936#
2937# message
2938#
2939# }
2940# }
2941# Response:
2942# {
2943#
2944# "data": {
2945#
2946# "deleteCollection": {
2947#
2948# "message": "Deleted Successfully"
2949#
2950# }
2951#
2952# }
2953# }
2954#
2955# Arguments
2956# id: Supply the ID of the folder or collection to delete
2957deleteCollection(folderId: ID, id: ID): DeletePayload
2958
2959# Share a collection, allowing other organizations to view the data
2960# it contains.
2961# Example:
2962# Request:
2963# mutation {
2964#
2965# shareCollection(input: {
2966#
2967# folderId: "242599",
2968#
2969# shareMessage: "example",
2970#
2971# recipients: [] }) {
2972#
2973# id
2974#
2975# }
2976# }
2977# Response:
2978# {
2979#
2980# "data": {
2981#
2982# "shareCollection": {
2983#
2984# "id": "FhQrlAwfRMaTy0blR_eHRw"
2985#
2986# }
2987#
2988# }
2989# }
2990#
2991# Arguments
2992# input: Fields needed to share a collection
2993shareCollection(input: ShareCollection): Share
2994
2995# Arguments
2996# shareId: ID of the shared collection to update
2997# mentionIds: List of mentionIds to add or remove
2998# type: Indicates whether or not the mentions are to be added or
2999# deleted
3000updateSharedCollectionMentions(
3001shareId: String!,
3002mentionIds: [ID!],
3003type: SharedCollectionUpdateType!
3004): Share
3005
3006updateSharedCollectionHistory(
3007input: UpdateSharedCollectionHistory
3008): SharedCollectionHistory
3009
3010# Share a mention from a collection
3011#
3012# Arguments
3013# input: Fields needed to share a mention
3014shareMentionFromCollection(
3015input: ShareMentionFromCollection
3016): Share
3017
3018# Share mention
3019shareMention(input: ShareMention): Share
3020
3021# Share mentions in bulk
3022shareMentionInBulk(input: ShareMentionInBulk): [Share]
3023
3024# Add a mention to a collection
3025#
3026# Arguments
3027# input: Fields needed to add a mention to a collection
3028createCollectionMention(input: CollectionMentionInput): CollectionMention
3029
3030# Arguments
3031# input: Fields needed to add mentions to a collection
3032createCollectionMentions(
3033input: CreateCollectionMentions
3034): [CollectionMention!]!
3035
3036# Update a mention in a collection
3037#
3038# Arguments
3039# input: Fields needed to add mentions to a collection
3040updateCollectionMention(
3041input: UpdateCollectionMention!
3042): CollectionMention!
3043
3044# Remove a mention from a collection
3045#
3046# Arguments
3047# input: Fields needed to delete a mention from a collection
3048deleteCollectionMention(input: CollectionMentionInput): CollectionMention
3049
3050# Create a new folder
3051# Example:
3052# Request:
3053# mutation {
3054#
3055# createFolder(input: {
3056#
3057# name: "example",
3058#
3059# description: "example",
3060#
3061# parentId: "2ac28573-917a-4c4b-be91-a0ac64cbc982",
3062#
3063# rootFolderType:watchlist}) {
3064#
3065# id
3066#
3067# name
3068#
3069# }
3070# }
3071# Response:
3072# {
3073#
3074# "data": {
3075#
3076# "createFolder": {
3077#
3078# "id": "d551fbd6-7354-4b0e-abfb-654ab8583be2",
3079#
3080# "name": "example"
3081#
3082# }
3083#
3084# }
3085# }
3086#
3087# Arguments
3088# input: Fields needed to create a new folder.
3089createFolder(input: CreateFolder): Folder
3090
3091# Create a new PlatformVersion
3092# Example:
3093# Request:
3094# mutation {
3095#
3096# addPlatformVersion(input: {
3097#
3098# version: "1.2.0"
3099#
3100# manifestUrl: "https://s3.example.com/aiware/versions/1.2.0/manifest.yaml"
3101#
3102# changeLogUrl: "https://s3.example.com/aiware/versions/1.2.0/changelog.txt"
3103#
3104# highlightsUrl: "https://s3.example.com/aiware/versions/1.2.0/highlights.txt"
3105#
3106# }) {
3107#
3108# id
3109#
3110# version
3111#
3112# manifestUrl
3113#
3114# changeLogUrl
3115#
3116# highlightsUrl
3117#
3118# createdAt,
3119#
3120# createdBy
3121#
3122# }
3123# }
3124# Response:
3125# {
3126#
3127# "data": {
3128#
3129# "addPlatformVersion": {
3130#
3131# "id": "6c6e0f59-5fb5-4179-9f5b-c5f5933d6f9a",
3132#
3133# "manifestUrl": "https://s3.example.com/aiware/versions/1.2.0/manifest.yaml"
3134#
3135# "changeLogUrl": "https://s3.example.com/aiware/versions/1.2.0/changelog.txt"
3136#
3137# "highlightsUrl": "https://s3.example.com/aiware/versions/1.2.0/highlights.txt"
3138#
3139# "createAt": "2023-05-10",
3140#
3141# "createdBy": "1c2e7692-8206-4118-bd38-bb61aa3fb248"
3142#
3143# }
3144#
3145# }
3146# }
3147#
3148# Arguments
3149# input: Fields needed to create a new aiWARE platform version.
3150addPlatformVersion(input: PlatformVersionInput): PlatformVersion
3151
3152# Set the current PlatformVersion
3153# Example:
3154# Request:
3155# mutation {
3156#
3157# setCurrentPlatformVersion(input: {
3158#
3159# version: "1.2.0"
3160#
3161# }) {
3162#
3163# id
3164#
3165# version
3166#
3167# manifestUrl
3168#
3169# changeLogUrl
3170#
3171# highlightsUrl
3172#
3173# createdAt,
3174#
3175# createdBy,
3176#
3177# installedAt,
3178#
3179# installedBy
3180#
3181# }
3182# }
3183# Response:
3184# {
3185#
3186# "data": {
3187#
3188# "setCurrentPlatformVersion": {
3189#
3190# "id": "6c6e0f59-5fb5-4179-9f5b-c5f5933d6f9a",
3191#
3192# "version": "1.2.0",
3193#
3194# "manifestUrl": "https://s3.example.com/aiware/versions/1.2.0/manifest.yaml"
3195#
3196# "changeLogUrl": "https://s3.example.com/aiware/versions/1.2.0/changelog.txt"
3197#
3198# "highlightsUrl": "https://s3.example.com/aiware/versions/1.2.0/highlights.txt"
3199#
3200# "createAt": "2023-05-10",
3201#
3202# "createdBy": "1c2e7692-8206-4118-bd38-bb61aa3fb248",
3203#
3204# "installedAt": "2023-05-15",
3205#
3206# "installedBy": "1c2e7692-8206-4118-bd38-bb61aa3fb248"
3207#
3208# }
3209#
3210# }
3211# }
3212#
3213# Arguments
3214# version: The version field is required to set the current
3215# aiWARE platform version
3216setCurrentPlatformVersion(version: String!): PlatformVersion
3217
3218# Set the platform properties.
3219# Example:
3220# Request:
3221# mutation {
3222#
3223# setPlatformProperties(
3224#
3225# properties: {
3226#
3227# Environment: "US West",
3228#
3229# ClusterSize: "small" }
3230#
3231# )
3232# }
3233# Response:
3234# {
3235#
3236# "data": {
3237#
3238# "setPlatformProperties": {
3239#
3240# "properties": {
3241#
3242# "Environment": "US West",
3243#
3244# "ClusterSize": "small"
3245#
3246# }
3247#
3248# }
3249#
3250# }
3251# }
3252#
3253# Arguments
3254# properties: Properties is JSON object that contains the
3255# properties of the platform that need to be added/ updated.
3256# So all the other properties in the JSON will be kept
3257setPlatformProperties(properties: JSONData!): JSONData
3258
3259# Update an existing folder
3260# Example:
3261# Request:
3262# mutation {
3263#
3264# updateFolder(input: {
3265#
3266# id: "d551fbd6-7354-4b0e-abfb-654ab8583be2",
3267#
3268# name: "new name"}) {
3269#
3270# name
3271#
3272# }
3273# }
3274# Response:
3275# {
3276#
3277# "data": {
3278#
3279# "updateFolder": {
3280#
3281# "name": "new name"
3282#
3283# }
3284#
3285# }
3286# }
3287#
3288# Arguments
3289# input: Fields needed to update a folder.
3290updateFolder(input: UpdateFolder): Folder
3291
3292# Move a folder from one parent folder to another.
3293# Example:
3294# Request:
3295# mutation {
3296#
3297# moveFolder(input: {
3298#
3299# folderId: "68a5833a-f573-41fe-840a-adb5f6888e2d",
3300#
3301# fromFolderId: "3104f61f-4bd1-4175-9fe6-27436d591c54",
3302#
3303# toFolderId: "ad7839a7-d088-4202-9db1-5ed4992f915d"
3304#
3305# }) {
3306#
3307# parentFolderId
3308#
3309# }
3310# }
3311# Response:
3312# {
3313#
3314# "data": {
3315#
3316# "moveFolder": {
3317#
3318# "parentFolderId": "ad7839a7-d088-4202-9db1-5ed4992f915d",
3319#
3320# }
3321#
3322# }
3323# }
3324#
3325# Arguments
3326# input: Fields needed to move a folder
3327moveFolder(input: MoveFolder): Folder
3328
3329# Move bulk folders to another.
3330# Example:
3331# Request:
3332# mutation {
3333#
3334# moveFolders(input: {
3335#
3336# folderIds: ["0c4c2765-1817-40a7-bd6d-bf6362a384ba",
3337# "183f64e7-d519-4948-99d9-977657cce0c8"]
3338#
3339# newParentFolderId: "22d2c53a-d33e-47d8-a77e-f64f5c3db7c8"
3340#
3341# rootFolderType: cms
3342#
3343# }) {
3344#
3345# id
3346#
3347# name
3348#
3349# }
3350# }
3351# Response:
3352# {
3353#
3354# "data": {
3355#
3356# "moveFolders": {
3357#
3358# "organizationId": "7682",
3359#
3360# "newParentFolderId: "22d2c53a-d33e-47d8-a77e-f64f5c3db7c8",
3361#
3362# "validFolderIds": [
3363#
3364# "0c4c2765-1817-40a7-bd6d-bf6362a384ba",
3365#
3366# "183f64e7-d519-4948-99d9-977657cce0c8"
3367#
3368# ]
3369#
3370# "invalidFolderIds": [],
3371#
3372# "message": "Successfully move all input folders to the parent folder."
3373#
3374# }
3375#
3376# }
3377# }
3378#
3379# Arguments
3380# input: Fields needed to move a folder
3381moveFolders(input: MoveFolders): MoveFoldersPayload
3382
3383# Delete a folder
3384# Example:
3385# Request:
3386# mutation {
3387#
3388# deleteFolder(input: {
3389#
3390# id:"d551fbd6-7354-4b0e-abfb-654ab8583be2",
3391#
3392# orderIndex: 1}) {
3393#
3394# message
3395#
3396# }
3397# }
3398# Response:
3399# {
3400#
3401# "data": {
3402#
3403# "deleteFolder": {
3404#
3405# "message": null
3406#
3407# }
3408#
3409# }
3410# }
3411#
3412# Arguments
3413# input: Fields needed to delete a folder
3414deleteFolder(input: DeleteFolder): DeletePayload
3415
3416# Create a mention comment
3417#
3418# Arguments
3419# input: Fields needed to create a mention comment
3420createMentionComment(input: CreateMentionComment): MentionComment
3421
3422# Update a mention comment
3423#
3424# Arguments
3425# input: Fields needed to update a mention comment
3426updateMentionComment(input: UpdateMentionComment): MentionComment
3427
3428# Delete a mention comment
3429#
3430# Arguments
3431# input: Fields needed to delete a mention comment
3432deleteMentionComment(input: DeleteMentionComment): DeletePayload
3433
3434# Create a mention rating
3435#
3436# Arguments
3437# input: Fields needed to create a mention rating
3438createMentionRating(input: CreateMentionRating): MentionRating
3439
3440# Update a mention rating
3441#
3442# Arguments
3443# input: Fields needed to update a mention rating
3444updateMentionRating(input: UpdateMentionRating): MentionRating
3445
3446# Delete a mention rating
3447#
3448# Arguments
3449# input: Fields needed to delete a mention rating.
3450deleteMentionRating(input: DeleteMentionRating): DeletePayload
3451
3452# Login as a user. This mutation does not require an existing authentication
3453# context (via `Authorization` header with bearer token, cookie, etc.).
3454# Instead, the client supplies credentials to this mutation, which then
3455# authenticates the user and sets up the authentication context.
3456# The returned tokens can be used to authenticate future requests.
3457# Example:
3458# Request:
3459# mutation {
3460#
3461# userLogin(input: {
3462#
3463# userName: "example1",
3464#
3465# password: "example1"}) {
3466#
3467# apiToken
3468#
3469# lastLoggedIn
3470#
3471# }
3472# }
3473# Response:
3474# {
3475#
3476# "data": {
3477#
3478# "userLogin": {
3479#
3480# "apiToken": null,
3481#
3482# "lastLoggedIn": "2021-06-15T02:04:52.000Z",
3483#
3484# "token": "a0bbdb23-058c-4b44-901f-aa3efc056a3a"
3485#
3486# }
3487#
3488# }
3489# }
3490#
3491# Arguments
3492# input: Fields needed to log in
3493userLogin(input: UserLogin): LoginInfo
3494
3495# Logout user and invalidate user token
3496# Example:
3497# Request:
3498# mutation {
3499#
3500# userLogout(
3501#
3502# token: "a5610058-260d-46ac-aa3e-ee529c4feaab")
3503# }
3504# Response:
3505# {
3506#
3507# "data": {
3508#
3509# "userLogout": null
3510#
3511# }
3512# }
3513#
3514# Arguments
3515# token: User token that should be invalidated
3516userLogout(token: String!): Boolean
3517
3518# Refreshes the session user from database to reflect the latest changes. It does
3519# not extend session timeout.\
3520# Example:
3521# Request:
3522# mutation {
3523#
3524# refreshToken(
3525#
3526# token: "32abe146-4e07-4f5e-8e1e-f7f2e0142cf7") {
3527#
3528# hasPassword
3529#
3530# user{id}
3531#
3532# }
3533# }
3534# Response:
3535# {
3536#
3537# "data": {
3538#
3539# "refreshToken": {
3540#
3541# "hasPassword": true,
3542#
3543# "user": {
3544#
3545# "id": "d8304ba1-0d4c-4268-a82c-8c62fd455066"
3546#
3547# }
3548#
3549# }
3550#
3551# }
3552# }
3553refreshToken(token: String!): LoginInfo
3554
3555# Refresh a user token, returning a fresh token so that the client
3556# can continue to authenticate to the API.\
3557# Example:
3558# Request:
3559# mutation {
3560#
3561# extendToken(
3562#
3563# token: "32abe146-4e07-4f5e-8e1e-f7f2e0142cf7") {
3564#
3565# hasPassword
3566#
3567# user{id}
3568#
3569# }
3570# }
3571# Response:
3572# {
3573#
3574# "data": {
3575#
3576# "extendToken": {
3577#
3578# "hasPassword": true,
3579#
3580# "user": {
3581#
3582# "id": "d8304ba1-0d4c-4268-a82c-8c62fd455066"
3583#
3584# }
3585#
3586# }
3587#
3588# }
3589# }
3590extendToken(token: String!): LoginInfo
3591
3592# Validate a user token. This mutation is used by services to determine
3593# if the token provided by a given client is valid.
3594# Example:
3595# Request:
3596# mutation {
3597#
3598# validateToken(
3599#
3600# token: "32abe146-4e07-4f5e-8e1e-f7f2e0142cf7") {
3601#
3602# hasPassword
3603#
3604# user{id}
3605#
3606# }
3607# }
3608# Response:
3609# {
3610#
3611# "data": {
3612#
3613# "validateToken": {
3614#
3615# "hasPassword": true,
3616#
3617# "user": {
3618#
3619# "id": "d8304ba1-0d4c-4268-a82c-8c62fd455066"
3620#
3621# }
3622#
3623# }
3624#
3625# }
3626# }
3627validateToken(token: String!): LoginInfo
3628
3629# Create a mention object
3630createMention(input: CreateMention!): Mention
3631
3632# Update a mention object
3633updateMention(input: UpdateMention!): Mention
3634
3635# Update a set of mentions
3636updateMentions(input: UpdateMentions!): [Mention]
3637
3638# Create root folder for an organization
3639# Example:
3640# Request:
3641# mutation {
3642#
3643# createRootFolders {
3644#
3645# id
3646#
3647# rootFolderTypeId
3648#
3649# }
3650# }
3651# Response:
3652# {
3653#
3654# "data": {
3655#
3656# "createRootFolders": [
3657#
3658# {
3659#
3660# "id": "2ac28573-917a-4c4b-be91-a0ac64cbc982",
3661#
3662# "rootFolderTypeId": 1
3663#
3664# },
3665#
3666# {
3667#
3668# "id": "d3e27eb3-7d4a-47ab-af64-bf1529390f4e",
3669#
3670# "rootFolderTypeId": 1
3671#
3672# }
3673#
3674# ]
3675#
3676# }
3677# }
3678#
3679# Arguments
3680# rootFolderType: The type of root folder to create
3681createRootFolders(rootFolderType: RootFolderType): [Folder]
3682
3683# Apply bulk updates to watchlists.
3684# This mutation is currently available only to Veritone operations.
3685#
3686# Arguments
3687# filter: A filter indicating which watchlists should be updated.
3688# At least one filter condition must be provided.
3689# Only watchlists for the user's organization will be updated.
3690# input: Fields used to update a watchlist.
3691bulkUpdateWatchlist(
3692filter: BulkUpdateWatchlistFilter!,
3693input: BulkUpdateWatchlist
3694): WatchlistList
3695
3696# File a TemporalDataObject in a folder. A given TemporalDataObject can
3697# be filed in any number of folders, or none. Filing causes the TemporalDataObject
3698# and its assets to be visible within the folder.
3699# Example:
3700# Request:
3701# mutation {
3702#
3703# fileTemporalDataObject(input:{
3704#
3705# tdoId: "1580388995",
3706#
3707# folderId: "9d639f1b-a0d4-47b0-8149-3568f048f320"}) {
3708#
3709# id
3710#
3711# folders{
3712#
3713# id
3714#
3715# }
3716#
3717# }
3718# }
3719# Response:
3720# {
3721#
3722# "data": {
3723#
3724# "fileTemporalDataObject": {
3725#
3726# "id": "1580388995",
3727#
3728# "folders": [
3729#
3730# {
3731#
3732# "id": "9d639f1b-a0d4-47b0-8149-3568f048f320"
3733#
3734# }
3735#
3736# ]
3737#
3738# }
3739#
3740# }
3741# }
3742#
3743# Arguments
3744# input: The fields needed to file a TemporalDataObject in a
3745# folder
3746fileTemporalDataObject(input: FileTemporalDataObject!): TemporalDataObject
3747
3748# Unfile a TemporalDataObject from a folder. This causes the TemporalDataObject
3749# and its assets to disappear from the folder, but does not otherwise affect
3750# either the TDO or the folder and does not change access controls.
3751# Example:
3752# Request:
3753# mutation {
3754#
3755# unfileTemporalDataObject(input: {
3756#
3757# tdoId: "1580388995",
3758#
3759# folderId: "9d639f1b-a0d4-47b0-8149-3568f048f320"}) {
3760#
3761# id
3762#
3763# description
3764#
3765# }
3766# }
3767# Response:
3768# {
3769#
3770# "data": {
3771#
3772# "unfileTemporalDataObject": {
3773#
3774# "id": "1580388995",
3775#
3776# "description": null
3777#
3778# }
3779#
3780# }
3781# }
3782#
3783# Arguments
3784# input: The fields needed to file a TemporalDataObject in a
3785# folder
3786unfileTemporalDataObject(
3787input: UnfileTemporalDataObject!
3788): TemporalDataObject
3789
3790# Moves a TemporalDataObject from one parent folder to another.
3791# Any other folders the TemporalDataObject is filed in are unaffected.
3792# Example:
3793# Request:
3794# mutation {
3795#
3796# moveTemporalDataObject(input: {
3797#
3798# tdoId: "1580388995",
3799#
3800# oldFolderId: "9d639f1b-a0d4-47b0-8149-3568f048f320",
3801#
3802# newFolderId: "2ac28573-917a-4c4b-be91-a0ac64cbc982"}) {
3803#
3804# id
3805#
3806# folders{
3807#
3808# folderPath{id}
3809#
3810# }
3811#
3812# }
3813# }
3814# Response:
3815# {
3816#
3817# "data": {
3818#
3819# "moveTemporalDataObject": {
3820#
3821# "id": "1580388995",
3822#
3823# "folders": [
3824#
3825# {
3826#
3827# "folderPath": [
3828#
3829# {
3830#
3831# "id": "2ac28573-917a-4c4b-be91-a0ac64cbc982"
3832#
3833# }
3834#
3835# ]
3836#
3837# }
3838#
3839# ]
3840#
3841# }
3842#
3843# }
3844# }
3845#
3846# Arguments
3847# input: Fields need to move a TemporalDataObject
3848moveTemporalDataObject(input: MoveTemporalDataObject!): TemporalDataObject
3849
3850# Upload and store an engine result. The result will be stored as an
3851# asset associated with the target TemporalDataObject and the
3852# task will be updated accordingly.
3853# Use a multipart form POST to all this mutation.
3854#
3855# Arguments
3856# input: Fields needed to upload and store an engine result
3857uploadEngineResult(input: UploadEngineResult!): Asset
3858
3859# Create a watchlist
3860# Example:
3861# Request:
3862# mutation {
3863#
3864# createWatchlist(input: {
3865#
3866# stopDateTime: 1623851655,
3867#
3868# name: "example",
3869#
3870# searchIndex: mine,
3871#
3872# parentFolderId: "9d639f1b-a0d4-47b0-8149-3568f048f320",
3873#
3874# cognitiveSearches: [],
3875#
3876# subscriptions: [],
3877#
3878# details: {
3879#
3880# example: "example"}}) {
3881#
3882# id
3883#
3884# }
3885# }
3886# Response:
3887# {
3888#
3889# "data": {
3890#
3891# "createWatchlist": {
3892#
3893# "id": "325783"
3894#
3895# }
3896#
3897# }
3898# }
3899createWatchlist(input: CreateWatchlist!): Watchlist
3900
3901bulkCreateWatchlist(input: BulkCreateWatchlist!): WatchlistList
3902
3903# Update a watchlist
3904# Example:
3905# Request:
3906# mutation {
3907#
3908# updateWatchlist(input: {
3909#
3910# id: "325783"
3911#
3912# name: "new name"
3913#
3914# details: {
3915#
3916# example: "new details"}}) {
3917#
3918# id
3919#
3920# name
3921#
3922# }
3923# }
3924# Response:
3925#
3926# {
3927#
3928# "data": {
3929#
3930# "updateWatchlist": {
3931#
3932# "id": "325783",
3933#
3934# "name": "new name"
3935#
3936# }
3937#
3938# }
3939# }
3940updateWatchlist(input: UpdateWatchlist!): Watchlist
3941
3942# Delete a watchlist
3943# Example:
3944# Request:
3945# mutation {
3946#
3947# deleteWatchlist(
3948#
3949# id:"325783") {
3950#
3951# message
3952#
3953# }
3954# }
3955# Response:
3956# {
3957#
3958# "data": {
3959#
3960# "deleteWatchlist": {
3961#
3962# "message": "Watchlist deleted along with 0 subscriptions, 0 cognitive search
3963# profiles, 0 mention comments, and 0 mention ratings."
3964#
3965# }
3966#
3967# }
3968# }
3969deleteWatchlist(id: ID!): DeletePayload
3970
3971updateCognitiveSearch(input: UpdateCognitiveSearch): CognitiveSearch
3972
3973createCognitiveSearch(input: CreateCognitiveSearch): CognitiveSearch
3974
3975deleteCognitiveSearch(id: ID!): DeletePayload
3976
3977fileWatchlist(input: FileWatchlist!): Watchlist
3978
3979# Unfile a watchlist from a folder
3980# Example:
3981# Request:
3982# mutation {
3983#
3984# unfileWatchlist(input: {
3985#
3986# watchlistId:"325786",
3987#
3988# folderId: "9d639f1b-a0d4-47b0-8149-3568f048f320"}) {
3989#
3990# id
3991#
3992# folders{
3993#
3994# folderPath{
3995#
3996# id
3997#
3998# }
3999#
4000# }
4001#
4002# }
4003# }
4004# Response:
4005# {
4006#
4007# "data": {
4008#
4009# "unfileWatchlist": {
4010#
4011# "id": "325786",
4012#
4013# "folders": []
4014#
4015# }
4016#
4017# }
4018# }
4019unfileWatchlist(input: UnfileWatchlist!): Watchlist
4020
4021# Share a folder with other organizations
4022# Requires superadmin
4023shareFolder(input: ShareFolderInput): Folder
4024
4025# Create a TDO and an asset with a single call
4026# Example:
4027# Request:
4028# mutation {
4029#
4030# createTDOWithAsset(input: {
4031#
4032# startDateTime: 1623841655,
4033#
4034# stopDateTime: 1623851655,
4035#
4036# contentType: "video/mp4",
4037#
4038# assetType: "media",
4039#
4040# addToIndex: false,
4041#
4042# uri: "https://s3.amazonaws.com/hold4fisher/s3Test.mp4"}) {
4043#
4044# id
4045#
4046# status
4047#
4048# assets {
4049#
4050# records {
4051#
4052# id
4053#
4054# assetType
4055#
4056# contentType
4057#
4058# signedUri
4059#
4060# }
4061#
4062# }
4063#
4064# }
4065# }
4066# Response:
4067# {
4068#
4069# "data": {
4070#
4071# "createTDOWithAsset": {
4072#
4073# "id": "1580507556",
4074#
4075# "status": "recorded",
4076#
4077# "assets": {
4078#
4079# "records": [
4080#
4081# {
4082#
4083# "id": "1580507556_DQ2nU8cTDh",
4084#
4085# "assetType": "media",
4086#
4087# "contentType": "video/mp4",
4088#
4089# "signedUri": "https://s3.amazonaws.com/hold4fisher/s3Test.mp4"
4090#
4091# }
4092#
4093# ]
4094#
4095# }
4096#
4097# }
4098#
4099# }
4100# }
4101#
4102# Arguments
4103# input: Input fields necessary to create the TDO and asset
4104createTDOWithAsset(input: CreateTDOWithAsset): TemporalDataObject
4105
4106# Create a subscription
4107# Example:
4108# Request:
4109# mutation {
4110#
4111# createSubscription(input: {
4112#
4113# targetId: "325791",
4114#
4115# contact: {
4116#
4117# emailAddress: "example email"},
4118#
4119# scheduledDay: Friday}) {
4120#
4121# id
4122#
4123# }
4124# }
4125# Response:
4126# {
4127#
4128# "data": {
4129#
4130# "createSubscription": {
4131#
4132# "id": "274939"
4133#
4134# }
4135#
4136# }
4137# }
4138createSubscription(input: CreateSubscription!): Subscription
4139
4140# Update a subscription
4141# Example:
4142# Request:
4143# mutation {
4144#
4145# updateSubscription(input: {
4146#
4147# id: "274939"}) {
4148#
4149# id
4150#
4151# }
4152# }
4153# Response:
4154# mutation {
4155#
4156# updateSubscription(input: {
4157#
4158# id: "274939"}) {
4159#
4160# id
4161#
4162# }
4163# }
4164updateSubscription(input: UpdateSubscription!): Subscription
4165
4166# Delete a subscription
4167# Example:
4168# Request:
4169# mutation {
4170#
4171# deleteSubscription(
4172#
4173# id: "274939") {
4174#
4175# message
4176#
4177# }
4178# }
4179# Response:
4180# mutation {
4181#
4182# deleteSubscription(
4183#
4184# id: "274939") {
4185#
4186# message
4187#
4188# }
4189# }
4190deleteSubscription(id: ID!): DeletePayload
4191
4192# Create trigger for events or types.
4193# Example:
4194# Request:
4195# mutation {
4196#
4197# createTriggers(input: {
4198#
4199# events: "*",
4200#
4201# targets: {
4202#
4203# name: Email,
4204#
4205# params: {
4206#
4207# address: "example@veritone.com"}}}) {
4208#
4209# id
4210#
4211# }
4212# }
4213# Response:
4214# {
4215#
4216# "data": {
4217#
4218# "createTriggers": [
4219#
4220# {
4221#
4222# "id": "2936"
4223#
4224# }
4225#
4226# ]
4227#
4228# }
4229# }
4230createTriggers(input: CreateTriggers!): [Trigger]
4231
4232# Delete a registed trigger by ID.
4233# Example:
4234# Request:
4235# mutation {
4236#
4237# deleteTrigger(
4238#
4239# id: "2936") {
4240#
4241# message
4242#
4243# }
4244# }
4245# Response:
4246# {
4247#
4248# "data": {
4249#
4250# "deleteTrigger": {
4251#
4252# "message": "Trigger 2936 has been removed from organization 35521"
4253#
4254# }
4255#
4256# }
4257# }
4258deleteTrigger(id: ID!): DeletePayload
4259
4260# Validates if an engine output conforms to the engine output guidelines
4261# Example:
4262# Request:
4263# mutation {
4264#
4265# validateEngineOutput(input:
4266#
4267# {
4268#
4269# schemaId: "https://docs.veritone.com/schemas/vtn-standard/master.json",
4270#
4271# validationContracts: [
4272#
4273# "structured-data"
4274#
4275# ],
4276#
4277# series: [
4278#
4279# {
4280#
4281# startTimeMs: 0,
4282#
4283# stopTimeMs: 10000,
4284#
4285# structuredData: {
4286#
4287# exampleschemaid: {
4288#
4289# key: "value",
4290#
4291# any: "data you'd like",
4292#
4293# as_long: "as it conforms to the schema"
4294#
4295# }
4296#
4297# }
4298#
4299# }
4300#
4301# ]
4302#
4303# }
4304#
4305# )
4306# }
4307# Response:
4308# {
4309#
4310# "data": {
4311#
4312# "validateEngineOutput": true
4313#
4314# }
4315# }
4316validateEngineOutput(input: JSONData!): Boolean!
4317
4318# JWT tokens with a more limited scoped token to specific
4319# resources to the recording, task, and job
4320# and also has no organization association.
4321# Example:
4322# Request:
4323# mutation {
4324#
4325# getEngineJWT(input: {
4326#
4327# engineId: "1",
4328#
4329# resource:{
4330#
4331# tdoId: "1580701928"
4332#
4333# }}) {
4334#
4335# token
4336#
4337# }
4338# }
4339#
4340# Response:
4341# {
4342#
4343# "data": {
4344#
4345# "getEngineJWT": {
4346#
4347# "token": "eyJh...Tw_z3BKRA"
4348#
4349# }
4350#
4351# }
4352# }
4353getEngineJWT(input: getEngineJWT!): JWTTokenInfo!
4354
4355# Verify JWT token
4356# Example:
4357# Request:
4358# mutation {
4359#
4360# verifyJWT(jwtToken:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjb250ZW
4361#
4362# 50QXBwbGljYXRpb25JZCI6IjQ5YTRjYmJjLTVlODMtNGM0Mi1iOWEzLWJlNmVjMDczMmY
4363#
4364# wOSIsImNvbnRlbnRPcmdhbml6YXRpb25JZCI6MzU1MjEsImVuZ2luZUlkIjoiMSIsInVzZ
4365#
4366# XJJZCI6IjU5Y2I0ZTc0LTdjMzEtNDI2Ny1iOTFlLWQ0NjAwYmMwODAwOCIsInNjb3BlIjpb
4367#
4368# eyJhY3Rpb25zIjpbImFzc2V0OnVyaSIsImFzc2V0OmFsbCIsInJlY29yZGluZzpyZWFkIiw
4369#
4370# icmVjb3JkaW5nOnVwZGF0ZSJdLCJyZXNvdXJjZXMiOnsicmVjb3JkaW5nSWRzIjpbIjE1OD
4371#
4372# A3MDE5MjgiXX19LHsiYWN0aW9ucyI6WyJ0YXNrOnVwZGF0ZSJdLCJyZXNvdXJjZXMiOnsia
4373#
4374# m9iSWRzIjpbXSwidGFza0lkcyI6W10sInNvdXJjZUlkcyI6W119fV0sImlhdCI6MTYyNDAz
4375#
4376# NjEyMiwiZXhwIjoxNjI0NjQwOTIyLCJzdWIiOiJlbmdpbmUtcnVuIiwianRpIjoiMTViYjI
4377#
4378# 3YzAtNGI1Yy00NjNhLWFkMTgtOWFkNDI0ODFiMTMzIn0.R7qYdPkA1wjJUiTdb1ryvTnZASPN9FEuGATw_z3BKRA")
4379# {
4380#
4381# payload
4382#
4383# }
4384# }
4385# Response:
4386# {
4387#
4388# "data": {
4389#
4390# "verifyJWT": {
4391#
4392# "payload": {
4393#
4394# "contentApplicationId": "49a4cbbc-5e83-4c42-b9a3-be6ec0732f09",
4395#
4396# "contentOrganizationId": 35521,
4397#
4398# "engineId": "1",
4399#
4400# "userId": "59cb4e74-7c31-4267-b91e-d4600bc08008",
4401#
4402# "scope": [
4403#
4404# {
4405#
4406# "actions": [
4407#
4408# "asset:uri",
4409#
4410# "asset:all",
4411#
4412# "recording:read",
4413#
4414# "recording:update"
4415#
4416# ],
4417#
4418# "resources": {
4419#
4420# "recordingIds": [
4421#
4422# "1580701928"
4423#
4424# ]
4425#
4426# }
4427#
4428# },
4429#
4430# {
4431#
4432# "actions": [
4433#
4434# "task:update"
4435#
4436# ],
4437#
4438# "resources": {
4439#
4440# "jobIds": [],
4441#
4442# "taskIds": [],
4443#
4444# "sourceIds": []
4445#
4446# }
4447#
4448# }
4449#
4450# ],
4451#
4452# "iat": 1624036122,
4453#
4454# "exp": 1624640922,
4455#
4456# "sub": "engine-run",
4457#
4458# "jti": "15bb27c0-4b5c-463a-ad18-9ad42481b133"
4459#
4460# }
4461#
4462# }
4463#
4464# }
4465# }
4466verifyJWT(jwtToken: String!): VerifyJWTPayload
4467
4468# Create a new Saved Search
4469# Example:
4470# Request:
4471# mutation {
4472#
4473# createSavedSearch(input: {
4474#
4475# name: "example",
4476#
4477# csp: {
4478#
4479# example: "example"}}) {
4480#
4481# id
4482#
4483# }
4484# }
4485# Response:
4486# {
4487#
4488# "data": {
4489#
4490# "createSavedSearch": {
4491#
4492# "id": "a29f2255-e509-4454-89ec-e425390ca4ca"
4493#
4494# }
4495#
4496# }
4497# }
4498createSavedSearch(input: CreateSavedSearch!): SavedSearch!
4499
4500# Delete a saved search
4501# Example:
4502# Request:
4503# mutation {
4504#
4505# deleteSavedSearch(
4506#
4507# id:"a29f2255-e509-4454-89ec-e425390ca4ca") {
4508#
4509# message
4510#
4511# }
4512# }
4513# Response:
4514# {
4515#
4516# "data": {
4517#
4518# "deleteSavedSearch": {
4519#
4520# "message": null
4521#
4522# }
4523#
4524# }
4525# }
4526deleteSavedSearch(id: ID!): DeletePayload!
4527
4528# Mark existing saved search profile as deleted
4529# Create new saved search profile
4530# Example:
4531# Request:
4532# mutation {
4533#
4534# replaceSavedSearch(input: {
4535#
4536# id: "3d4f04c5-7855-4b9c-ba65-9bd6c2932a7e",
4537#
4538# name: "example",
4539#
4540# csp: {
4541#
4542# example: "new csp"}}) {
4543#
4544# id
4545#
4546# }
4547# }
4548# Response:
4549# mutation {
4550#
4551# replaceSavedSearch(input: {
4552#
4553# id: "3d4f04c5-7855-4b9c-ba65-9bd6c2932a7e",
4554#
4555# name: "example",
4556#
4557# csp: {
4558#
4559# example: "new csp"}}) {
4560#
4561# id
4562#
4563# }
4564# }
4565replaceSavedSearch(input: ReplaceSavedSearch!): SavedSearch!
4566
4567# Send a basic email. Mutation returns true for a success message.
4568# The email from field will be automatically set the default platform email
4569# address
4570# Example:
4571# Request:
4572# mutation {
4573#
4574# sendEmail(input: {
4575#
4576# to: "example@veritone.com"
4577#
4578# subject: "example"
4579#
4580# message: "email body"
4581#
4582# replyTo: "example@veritone.com"
4583#
4584# })
4585# }
4586# Response:
4587# {
4588#
4589# "data": {
4590#
4591# "sendEmail": true
4592#
4593# }
4594# }
4595sendEmail(input: SendEmail!): Boolean!
4596
4597# Create new content template into a folder
4598createFolderContentTemplate(
4599input: CreateFolderContentTemplate!
4600): FolderContentTemplate!
4601
4602# Update existing content template by folderContentTemplateId
4603updateFolderContentTemplate(
4604input: UpdateFolderContentTemplate!
4605): FolderContentTemplate!
4606
4607# Delete existing folder content template by folderContentTemplateId
4608#
4609# Arguments
4610# id: Folder Content Template Id
4611deleteFolderContentTemplate(id: ID!): DeletePayload!
4612
4613createFolderContentTempate(
4614input: CreateFolderContentTempate!
4615): FolderContentTemplate! @deprecated( reason: "Misspelling" )
4616
4617updateFolderContentTempate(
4618input: UpdateFolderContentTempate!
4619): FolderContentTemplate! @deprecated( reason: "Misspelling" )
4620
4621# Arguments
4622# id: Folder Content Template Id
4623deleteFolderContentTempate(
4624id: ID!
4625): DeletePayload! @deprecated( reason: "Misspelling" )
4626
4627# Create an export request. The requested TDO data, possibly including
4628# TDO media and engine results, will be exported offline.
4629# Example:
4630# Request:
4631# mutation {
4632#
4633# createExportRequest(input: {
4634#
4635# tdoData: {
4636#
4637# tdoId: "1580388995",
4638#
4639# }}) {
4640#
4641# id
4642#
4643# }
4644# }
4645# Response:
4646# {
4647#
4648# "data": {
4649#
4650# "createExportRequest": {
4651#
4652# "id": "938b2d64-6df1-486b-b6ea-29d33dee49ad"
4653#
4654# }
4655#
4656# }
4657# }
4658#
4659# Arguments
4660# input: Input data required to create the export request
4661createExportRequest(input: CreateExportRequest!): ExportRequest!
4662
4663# Update an export request
4664# Example:
4665# Request:
4666# mutation {
4667#
4668# updateExportRequest(input: {
4669#
4670# id: "938b2d64-6df1-486b-b6ea-29d33dee49ad",
4671#
4672# status: complete}) {
4673#
4674# id
4675#
4676# status
4677#
4678# }
4679# }
4680# Response:
4681# {
4682#
4683# "data": {
4684#
4685# "updateExportRequest": {
4686#
4687# "id": "938b2d64-6df1-486b-b6ea-29d33dee49ad",
4688#
4689# "status": "complete"
4690#
4691# }
4692#
4693# }
4694# }
4695#
4696# Arguments
4697# input: Input data required to update an export request
4698updateExportRequest(input: UpdateExportRequest!): ExportRequest!
4699
4700# Create Mention in bulk. The input should be an array of createMentions
4701createMentions(input: CreateMentions!): MentionList
4702
4703# Create Media Share. Returning the url of the share
4704createMediaShare(input: CreateMediaShare!): CreatedMediaShare!
4705
4706# Create a new event
4707#
4708# Example:
4709#
4710# Request:
4711#
4712# mutation {
4713#
4714# createEvent(input: {
4715#
4716# eventName: "example",
4717#
4718# eventType: "example",
4719#
4720# application: ""
4721#
4722# description: "example"}) {
4723#
4724# id
4725#
4726# }
4727# }
4728# Response:
4729# {
4730#
4731# "data": {
4732#
4733# "createEvent": {
4734#
4735# "id": "55fc7c51-1521-4043-902f-f0f3a357da6d"
4736#
4737# }
4738#
4739# }
4740# }
4741createEvent(input: CreateEvent!): Event!
4742
4743# Update an event
4744# Example:
4745# Request:
4746# mutation {
4747#
4748# updateEvent(input: {
4749#
4750# id: "55fc7c51-1521-4043-902f-f0f3a357da6d",
4751#
4752# description: "new example description"}) {
4753#
4754# id
4755#
4756# description
4757#
4758# }
4759# }
4760# Response:
4761# {
4762#
4763# "data": {
4764#
4765# "updateEvent": {
4766#
4767# "id": "55fc7c51-1521-4043-902f-f0f3a357da6d",
4768#
4769# "description": "new example description"
4770#
4771# }
4772#
4773# }
4774# }
4775updateEvent(input: UpdateEvent!): Event!
4776
4777# Subscribe to an event
4778# Example:
4779# Request:
4780# mutation {
4781#
4782# subscribeEvent(input: {
4783#
4784# eventName: "example",
4785#
4786# eventType: "example",
4787#
4788# application: "",
4789#
4790# delivery: {
4791#
4792# name: CreateJob,
4793#
4794# params: {
4795#
4796# targetId: "1580701928"
4797#
4798# engineId: "1"
4799#
4800# }
4801#
4802# }
4803#
4804# })
4805# }
4806# Response:
4807# {
4808#
4809# "data": {
4810#
4811# "subscribeEvent": "a0d04eeb-c32d-4852-9273-bb0acda970b9"
4812#
4813# }
4814# }
4815subscribeEvent(input: SubscribeEvent!): ID!
4816
4817# Unsubscribe to an event
4818# Example:
4819# Request:
4820# mutation {
4821#
4822# unsubscribeEvent(
4823#
4824# id: "a0d04eeb-c32d-4852-9273-bb0acda970b9") {
4825#
4826# id
4827#
4828# message
4829#
4830# }
4831# }
4832# Response:
4833# {
4834#
4835# "data": {
4836#
4837# "unsubscribeEvent": {
4838#
4839# "id": "a0d04eeb-c32d-4852-9273-bb0acda970b9",
4840#
4841# "message": "Unsubscribed from event"
4842#
4843# }
4844#
4845# }
4846# }
4847unsubscribeEvent(id: ID!): UnsubscribeEvent!
4848
4849# Emit an event
4850# Example:
4851# Request:
4852# mutation {
4853#
4854# emitEvent(input: {
4855#
4856# eventName: "example",
4857#
4858# eventType: "example",
4859#
4860# application: "",
4861#
4862# payload: ""}) {
4863#
4864# id
4865#
4866# }
4867# }
4868# Response:
4869# {
4870#
4871# "data": {
4872#
4873# "emitEvent": {
4874#
4875# "id": "0952fe68-5652-4804-857d-26e21ef3d7e8"
4876#
4877# }
4878#
4879# }
4880# }
4881emitEvent(input: EmitEvent!): EmitEventResponse!
4882
4883# Create a new event trigger template
4884# Example:
4885# Request:
4886# mutation {
4887#
4888# createEventActionTemplate(input: {
4889#
4890# name: "example"
4891#
4892# inputType: event
4893#
4894# inputValidation: {
4895#
4896# example: "example"
4897#
4898# }
4899#
4900# inputAttributes: {
4901#
4902# example: "example"
4903#
4904# }
4905#
4906# actionType: job
4907#
4908# actionValidation: {
4909#
4910# example: "example"
4911#
4912# }
4913#
4914# actionDestination: "1"
4915#
4916# actionAttributes: {
4917#
4918# example: "example"
4919#
4920# }}) {
4921#
4922# id
4923#
4924# }
4925# }
4926# Response:
4927# {
4928#
4929# "data": {
4930#
4931# "createEventActionTemplate": {
4932#
4933# "id": "d02522d7-ef5f-448f-981a-d2cfc7603d92"
4934#
4935# }
4936#
4937# }
4938# }
4939createEventActionTemplate(
4940input: CreateEventActionTemplate!
4941): EventActionTemplate!
4942
4943# Update an event trigger template
4944# Example:
4945# Request:
4946# mutation {
4947#
4948# updateEventActionTemplate(input: {
4949#
4950# id: "d02522d7-ef5f-448f-981a-d2cfc7603d92",
4951#
4952# name: "example",
4953#
4954# actionValidation: {
4955#
4956# example: "new validation"}}) {
4957#
4958# id
4959#
4960# actionValidation
4961#
4962# }
4963# }
4964# Response:
4965# {
4966#
4967# "data": {
4968#
4969# "updateEventActionTemplate": {
4970#
4971# "id": "d02522d7-ef5f-448f-981a-d2cfc7603d92",
4972#
4973# "actionValidation": {
4974#
4975# "example": "new validation"
4976#
4977# }
4978#
4979# }
4980#
4981# }
4982# }
4983updateEventActionTemplate(
4984input: UpdateEventActionTemplate!
4985): EventActionTemplate!
4986
4987# Create a new event custom rule
4988# Example:
4989# Request:
4990# mutation {
4991#
4992# createEventCustomRule(input: {
4993#
4994# name: "example"
4995#
4996# eventType: "example"
4997#
4998# eventName: "example"
4999#
5000# description: "example description"
5001#
5002# actions:[]
5003#
5004# params: {
5005#
5006# example: "example"
5007#
5008# }}) {
5009#
5010# id
5011#
5012# }
5013# }
5014# Response:
5015# {
5016#
5017# "data": {
5018#
5019# "createEventCustomRule": {
5020#
5021# "id": "0a0d3ec8-b4fb-48fc-bd39-c47a22b2173b"
5022#
5023# }
5024#
5025# }
5026# }
5027createEventCustomRule(input: CreateEventCustomRule!): EventCustomRule!
5028
5029# Update an event custom rule
5030# Example:
5031# Request:
5032#
5033# mutation {
5034#
5035# updateEventCustomRule(input: {
5036#
5037# id: "0a0d3ec8-b4fb-48fc-bd39-c47a22b2173b",
5038#
5039# name: "example",
5040#
5041# status: inactive,
5042#
5043# description: "new description"}) {
5044#
5045# id
5046#
5047# description
5048#
5049# }
5050# }
5051# Response:
5052# {
5053#
5054# "data": {
5055#
5056# "updateEventCustomRule": {
5057#
5058# "id": "0a0d3ec8-b4fb-48fc-bd39-c47a22b2173b",
5059#
5060# "description": "new description"
5061#
5062# }
5063#
5064# }
5065# }
5066updateEventCustomRule(input: UpdateEventCustomRule!): EventCustomRule!
5067
5068# Delete an event custom rule
5069# Example:
5070# Request:
5071# mutation {
5072#
5073# deleteEventCustomRule(
5074#
5075# id: "0a0d3ec8-b4fb-48fc-bd39-c47a22b2173b") {
5076#
5077# message
5078#
5079# }
5080# }
5081# Response:
5082# {
5083#
5084# "data": {
5085#
5086# "deleteEventCustomRule": {
5087#
5088# "message": "Deleted event custom rule"
5089#
5090# }
5091#
5092# }
5093# }
5094deleteEventCustomRule(id: ID!): DeletePayload!
5095
5096# Create a processTemplate in CMS
5097# Example:
5098# Request:
5099# mutation {
5100#
5101# createProcessTemplate(input: {
5102#
5103# name: "example",
5104#
5105# taskList: {
5106#
5107# example: "task"
5108#
5109# }}) {
5110#
5111# id
5112#
5113# }
5114# }
5115# Response:
5116# {
5117#
5118# "data": {
5119#
5120# "createProcessTemplate": {
5121#
5122# "id": "746"
5123#
5124# }
5125#
5126# }
5127# }
5128createProcessTemplate(input: CreateProcessTemplate!): ProcessTemplate!
5129
5130# Update a processTemplate by ID in CMS
5131# Example:
5132# Request:
5133# mutation {
5134#
5135# updateProcessTemplate(input: {
5136#
5137# id: "746",
5138#
5139# taskList: {
5140#
5141# example: "task",
5142#
5143# new: "new task"
5144#
5145# }}) {
5146#
5147# id
5148#
5149# }
5150# }
5151# Response:
5152# {
5153#
5154# "data": {
5155#
5156# "updateProcessTemplate": {
5157#
5158# "id": "746"
5159#
5160# }
5161#
5162# }
5163# }
5164updateProcessTemplate(input: UpdateProcessTemplate!): ProcessTemplate!
5165
5166# Delete a processTemplate by ID in CMS
5167# Example:
5168# Request:
5169# mutation {
5170#
5171# deleteProcessTemplate(
5172#
5173# id: "746") {
5174#
5175# message
5176#
5177# }
5178# }
5179# Response:
5180# {
5181#
5182# "data": {
5183#
5184# "deleteProcessTemplate": {
5185#
5186# "message": null
5187#
5188# }
5189#
5190# }
5191# }
5192deleteProcessTemplate(id: ID!): DeletePayload!
5193
5194# Create a mention export request. The requested mentionFilters including
5195# The mention export file csv will be exported offline.
5196# Example:
5197# Request:
5198# mutation {
5199#
5200# createMentionExportRequest(input: {
5201#
5202# mentionFilters: {
5203#
5204# watchlistIds: ["123"]}}) {
5205#
5206# id
5207#
5208# }
5209# }
5210# Response:
5211# {
5212#
5213# "data": {
5214#
5215# "createMentionExportRequest": {
5216#
5217# "id": "400c98c2-faa8-44e4-b5d8-daf2fb43445e"
5218#
5219# }
5220#
5221# }
5222# }
5223#
5224# Arguments
5225# input: Input data required to create the export request
5226createMentionExportRequest(
5227input: CreateMentionExportRequest!
5228): ExportRequest!
5229
5230# Update status or assetURI of a mentionExportRequest
5231# Often use when the file export was completed or downloaded
5232# Example:
5233# Request:
5234# mutation {
5235#
5236# updateMentionExportRequest(input: {
5237#
5238# id: "400c98c2-faa8-44e4-b5d8-daf2fb43445e"
5239#
5240# status: incomplete,
5241#
5242# assetUri: "www.veritone.com",
5243#
5244# sqlQueries:""}) {
5245#
5246# id
5247#
5248# }
5249# }
5250# Response:
5251# {
5252#
5253# "data": {
5254#
5255# "updateMentionExportRequest": {
5256#
5257# "id": "400c98c2-faa8-44e4-b5d8-daf2fb43445e"
5258#
5259# }
5260#
5261# }
5262# }
5263updateMentionExportRequest(
5264input: UpdateMentionExportRequest!
5265): ExportRequest!
5266
5267# Create a creative
5268# Example:
5269# Request:
5270# mutation {
5271#
5272# createCreative(input: {
5273#
5274# name: "example"
5275#
5276# keywords: "example keywords"
5277#
5278# brandId: null
5279#
5280# advertiserId: null}) {
5281#
5282# id
5283#
5284# }
5285# }
5286# Response:
5287# {
5288#
5289# "data": {
5290#
5291# "createCreative": {
5292#
5293# "id": "25208"
5294#
5295# }
5296#
5297# }
5298# }
5299createCreative(input: CreateCreative!): Creative!
5300
5301# Update a creative
5302# Example:
5303# Request:
5304# mutation {
5305#
5306# updateCreative(input: {
5307#
5308# id: "25208",
5309#
5310# name: "example",
5311#
5312# keywords: "new keywords",
5313#
5314# brandId: null,
5315#
5316# advertiserId: null}) {
5317#
5318# id
5319#
5320# }
5321# }
5322# Response:
5323# {
5324#
5325# "data": {
5326#
5327# "updateCreative": {
5328#
5329# "id": "25208"
5330#
5331# }
5332#
5333# }
5334# }
5335updateCreative(input: UpdateCreative!): Creative!
5336
5337# Delete a creative
5338# Example:
5339# Request:
5340# mutation {
5341#
5342# deleteCreative(
5343#
5344# id: "25208") {
5345#
5346# message
5347#
5348# }
5349# }
5350# Response:
5351# {
5352#
5353# "data": {
5354#
5355# "deleteCreative": {
5356#
5357# "message": null
5358#
5359# }
5360#
5361# }
5362# }
5363deleteCreative(id: ID!): DeletePayload!
5364
5365# Emit a system-level emit. This mutation is used only by
5366# Veritone platform components.
5367#
5368# Arguments
5369# input: Data required to create the event
5370emitSystemEvent(input: EmitSystemEvent!): SystemEventInfo!
5371
5372# Creates an immutable audit log event with the given payload
5373# Example:
5374# Request:
5375# mutation {
5376#
5377# emitAuditEvent(input: {
5378#
5379# application: ""
5380#
5381# payload: {
5382#
5383# example: "example"
5384#
5385# }}) {
5386#
5387# id
5388#
5389# }
5390# }
5391# Response:
5392# {
5393#
5394# "data": {
5395#
5396# "emitAuditEvent": {
5397#
5398# "id": "fdc7b3a3-ab23-4866-a330-c0ad910cd64f"
5399#
5400# }
5401#
5402# }
5403# }
5404emitAuditEvent(input: EmitAuditEvent!): AuditEvent!
5405
5406# Create a context menu extension
5407# Example:
5408# Request:
5409#
5410# mutation {
5411#
5412# createContextMenuExtension(input: {
5413#
5414# id: "80354999-d633-4595-9578-d82f59a5134f"
5415#
5416# label: "example"
5417#
5418# url: "www.veritone.com"
5419#
5420# type: tdo}) {
5421#
5422# id
5423#
5424# }
5425# }
5426# Response:
5427# {
5428#
5429# "data": {
5430#
5431# "createContextMenuExtension": {
5432#
5433# "id": "cdf19d46-4d89-4b5b-a6bf-ae12c17f2746"
5434#
5435# }
5436#
5437# }
5438# }
5439createContextMenuExtension(
5440input: CreateContextMenuExtension!
5441): ContextMenuExtension!
5442
5443# Update a context menu extension
5444# Example:
5445# Request:
5446#
5447# mutation {
5448#
5449# updateContextMenuExtension(input: {
5450#
5451# id: "cdf19d46-4d89-4b5b-a6bf-ae12c17f2746",
5452#
5453# label: "new label",
5454#
5455# url: "www.veritone.com"}) {
5456#
5457# label
5458#
5459# }
5460# }
5461# Response:
5462# {
5463#
5464# "data": {
5465#
5466# "updateContextMenuExtension": {
5467#
5468# "label": "new label"
5469#
5470# }
5471#
5472# }
5473# }
5474updateContextMenuExtension(
5475input: UpdateContextMenuExtension!
5476): ContextMenuExtension!
5477
5478# Delete a context menu extension
5479#
5480# Example:
5481#
5482# Request:
5483#
5484# mutation {
5485#
5486# deleteContextMenuExtension(input: {
5487#
5488# id: "cdf19d46-4d89-4b5b-a6bf-ae12c17f2746"}) {
5489#
5490# message
5491#
5492# }
5493# }
5494# Response:
5495# {
5496#
5497# "data": {
5498#
5499# "deleteContextMenuExtension": {
5500#
5501# "message": null
5502#
5503# }
5504#
5505# }
5506# }
5507deleteContextMenuExtension(
5508input: DeleteContextMenuExtension!
5509): DeletePayload!
5510
5511# Add or update an organization integration config by
5512# organization id and integration id. Requires superadmin.
5513setOrganizationIntegrationConfig(
5514input: SetOrganizationIntegrationConfig!
5515): IntegrationConfig!
5516
5517# Delete an integration config. Requires superadmin.
5518deleteOrganizationIntegrationConfig(
5519input: DeleteOrganizationIntegrationConfig!
5520): DeleteIntegrationConfigPayload!
5521
5522# Create customized Login Configuration for the Instance
5523createInstanceLoginConfiguration(
5524input: CreateInstanceLoginConfiguration!
5525): LoginConfiguration!
5526
5527# Update customized Login Configuration for the Instance by Slug.
5528#
5529# ___Requires superadmin.___
5530#
5531# Arguments
5532# querySlug: The slug corresponding to the login configuration to
5533# be updated.
5534updateInstanceLoginConfiguration(
5535querySlug: String!,
5536input: SetLoginConfiguration!
5537): LoginConfiguration!
5538
5539# Delete the login configuration for the organization.
5540#
5541# Arguments
5542# organizationId: Optional field for the Organization ID for
5543# which the login configuration is to be deleted.
5544# Deleting login configuration for an organization that is different from the
5545# caller's organization
5546# is only allowed for superadmin.
5547#
5548# Defaults to caller's Organization ID.
5549deleteLoginConfiguration(organizationId: ID): DeletePayload!
5550
5551# Delete an instance-level login configuration by slug.
5552#
5553# Arguments
5554# slug: The slug corresponding to the instance-level login
5555# configuration to be deleted.
5556deleteInstanceLoginConfiguration(
5557slug: String!
5558): DeletePayload!
5559
5560# Update the status of a user
5561# Example:
5562# Request:
5563# mutation {
5564#
5565# updateUserStatus(input: {
5566#
5567# id: "9728eeef-4ccc-423c-8c98-ffa37313a98d",
5568#
5569# status: deleted}) {
5570#
5571# status
5572#
5573# }
5574# }
5575# Response:
5576# {
5577#
5578# "data": {
5579#
5580# "updateUserStatus": {
5581#
5582# "status": "deleted"
5583#
5584# }
5585#
5586# }
5587# }
5588#
5589# Arguments
5590# input: Data required to update the status of a user
5591updateUserStatus(input: UpdateUserStatus!): User!
5592
5593# Create a custom dashboard
5594# Example:
5595# Request:
5596# mutation {
5597#
5598# createCustomDashboard(input: {
5599#
5600# hostAppId: "80354999-d633-4595-9578-d82f59a5134f",
5601#
5602# name: "example",
5603#
5604# description: "example",
5605#
5606# data: {
5607#
5608# example: "example jsondata"}}) {
5609#
5610# id
5611#
5612# }
5613# }
5614# Response:
5615# {
5616#
5617# "data": {
5618#
5619# "createCustomDashboard": {
5620#
5621# "id": "60141fc5-8d31-487d-9847-c47f990e4537"
5622#
5623# }
5624#
5625# }
5626# }
5627createCustomDashboard(input: CreateCustomDashboard): CustomDashboard
5628
5629# Update a custom dashboard
5630# Example:
5631# Request:
5632# mutation {
5633#
5634# updateCustomDashboard(input: {
5635#
5636# id: "60141fc5-8d31-487d-9847-c47f990e4537",
5637#
5638# name: "new name"}) {
5639#
5640# name
5641#
5642# }
5643# }
5644# Response:
5645# {
5646#
5647# "data": {
5648#
5649# "updateCustomDashboard": {
5650#
5651# "name": "new name"
5652#
5653# }
5654#
5655# }
5656# }
5657updateCustomDashboard(input: UpdateCustomDashboard): CustomDashboard
5658
5659# Delete a custom dashboard
5660# Example:
5661# Request:
5662# mutation {
5663#
5664# deleteCustomDashboard(
5665#
5666# id: "60141fc5-8d31-487d-9847-c47f990e4537") {
5667#
5668# message
5669#
5670# }
5671# }
5672# Response:
5673# {
5674#
5675# "data": {
5676#
5677# "deleteCustomDashboard": {
5678#
5679# "message": "Custom dashboard deleted"
5680#
5681# }
5682#
5683# }
5684# }
5685deleteCustomDashboard(id: ID!): DeletePayload
5686
5687# Create a Dataset
5688# Example:
5689# Request:
5690# mutation {
5691#
5692# createDataset(input: {
5693#
5694# name: "example",
5695#
5696# description: "example",
5697#
5698# schemaId: "acab8bd9-a4d4-44de-ad4b-cc949d696cf9",
5699#
5700# tags: {
5701#
5702# name: "example",
5703#
5704# value: "example value"}}) {
5705#
5706# datasetId
5707#
5708# }
5709# }
5710# Response:
5711# {
5712#
5713# "data": {
5714#
5715# "createDataset": {
5716#
5717# "datasetId": "47c831ea-f4f6-4eeb-9e39-8c1cd0a1eb95"
5718#
5719# }
5720#
5721# }
5722# }
5723createDataset(input: DatasetInput!): Dataset
5724
5725# Create a Dataset Schema
5726# Example:
5727# Request:
5728# mutation {
5729#
5730# createDatasetSchema(input: {
5731#
5732# name: "example"
5733#
5734# description: "example"
5735#
5736# schema: {
5737#
5738# example: "example value"
5739#
5740# }
5741#
5742# tags: {
5743#
5744# name: "example",
5745#
5746# value: "example value"}}) {
5747#
5748# schema{
5749#
5750# id
5751#
5752# }
5753#
5754# }
5755# }
5756# Response:
5757# {
5758#
5759# "data": {
5760#
5761# "createDatasetSchema": null
5762#
5763# }
5764# }
5765createDatasetSchema(input: CreateDatasetSchema!): Dataset
5766
5767# Update a Dataset
5768updateDataset(id: ID!, input: DatasetInput): Dataset
5769
5770# Delete a Dataset
5771deleteDataset(id: ID!): DeleteDatasetPayload!
5772
5773# Perform Dataset Operations
5774#
5775# Arguments
5776# id: Specify the Dataset ID for the operation to be performed
5777datasetDataOperation(
5778id: ID!,
5779actions: [DatasetActionInput!],
5780async: Boolean,
5781updateMetrics: Boolean
5782): DatasetStateInfo
5783
5784# Replace a source engine to replacement engine
5785# Example:
5786# Request:
5787# mutation {
5788#
5789# addTaskReplacementEngine(input: {
5790#
5791# sourceEngineId: "1"
5792#
5793# replacementEngineId: "2"
5794#
5795# organizationId: "35521"
5796#
5797# payloadFunc: null}) {
5798#
5799# replacementEngineId
5800#
5801# }
5802# }
5803# Response:
5804# {
5805#
5806# "data": {
5807#
5808# "addTaskReplacementEngine": {
5809#
5810# "replacementEngineId": "2"
5811#
5812# }
5813#
5814# }
5815# }
5816addTaskReplacementEngine(
5817input: AddTaskReplacementEngine
5818): TaskEngineReplacement
5819
5820# Remove an engine replacement
5821# Example:
5822# Request:
5823# mutation {
5824#
5825# removeTaskReplacementEngine(input: {
5826#
5827# sourceEngineId: "1",
5828#
5829# replacementEngineId: "2",
5830#
5831# organizationId: "35521"}) {
5832#
5833# message
5834#
5835# }
5836# }
5837# Response:
5838# {
5839#
5840# "data": {
5841#
5842# "removeTaskReplacementEngine": {
5843#
5844# "message": "Engine replacement has been removed"
5845#
5846# }
5847#
5848# }
5849# }
5850removeTaskReplacementEngine(
5851input: RemoveTaskReplacementEngine
5852): DeletePayload
5853
5854# Create a custom notification mailbox
5855# Example:
5856# Request:
5857# mutation {
5858#
5859# notificationMailboxCreate(input: {
5860#
5861# name: "example",
5862#
5863# eventFilter: {
5864#
5865# eventNames: "example",
5866#
5867# eventType: "example",,
5868#
5869# delivery: {
5870#
5871# params: {
5872#
5873# example: "example params"
5874#
5875# }
5876#
5877# }
5878#
5879# },
5880#
5881# notificationTemplate: "",
5882#
5883# limit: 10}) {
5884#
5885# id
5886#
5887# }
5888# }
5889# Response:
5890# {
5891#
5892# "data": {
5893#
5894# "notificationMailboxCreate": [
5895#
5896# {
5897#
5898# "id": "0415f525-813d-4fd4-9dea-9428382b05b9"
5899#
5900# }
5901# } }
5902notificationMailboxCreate(
5903input: NotificationMailboxInput
5904): NotificationMailbox
5905
5906# Pause a notification mailbox
5907# Example:
5908# Request:
5909# mutation {
5910#
5911# notificationMailboxPause(
5912#
5913# id: "0415f525-813d-4fd4-9dea-9428382b05b9") {
5914#
5915# id
5916#
5917# paused
5918#
5919# }
5920# }
5921# Response:
5922# {
5923#
5924# "data": {
5925#
5926# "notificationMailboxPause": {
5927#
5928# "id": "0415f525-813d-4fd4-9dea-9428382b05b9",
5929#
5930# "paused": true
5931#
5932# }
5933#
5934# }
5935# }
5936notificationMailboxPause(id: ID!): NotificationMailbox
5937
5938# Delete a notification mailbox
5939# Example:
5940# Request:
5941# mutation {
5942#
5943# notificationMailboxDelete(id:"0415f525-813d-4fd4-9dea-9428382b05b9") {
5944#
5945# message
5946#
5947# }
5948# }
5949# Response:
5950# {
5951#
5952# "data": {
5953#
5954# "notificationMailboxDelete": {
5955#
5956# "message": "Notification mailbox has been removed"
5957#
5958# }
5959#
5960# }
5961# }
5962notificationMailboxDelete(id: ID!): DeletePayload!
5963
5964# Post a notification to some mailboxes
5965# Example:
5966# Request:
5967# mutation {
5968#
5969# notificationPost(input: {
5970#
5971# mailboxIds: ["0415f525-813d-4fd4-9dea-9428382b05b9"],
5972#
5973# title: "example title",
5974#
5975# body: "example body",
5976#
5977# contentType: "type",
5978#
5979# flags: unread}) {
5980#
5981# id
5982#
5983# }
5984# }
5985# Response:
5986# {
5987#
5988# "data": {
5989#
5990# "notificationPost": {
5991#
5992# "id": "iDDfG3oB3LnZSYqhRv7-"
5993#
5994# }
5995#
5996# }
5997# }
5998notificationPost(input: NotificaionPostInput): Notification
5999
6000# Add a new notification template by eventName, eventType, application
6001# Example:
6002# Request:
6003# mutation {
6004#
6005# addNotificationTemplate(input: {
6006#
6007# eventName: "example"
6008#
6009# eventType: "example"
6010#
6011# title: "example"
6012#
6013# body: "example"
6014#
6015# application: "80354999-d633-4595-9578-d82f59a5134f"
6016#
6017# mailboxId: "0415f525-813d-4fd4-9dea-9428382b05b9"}) {
6018#
6019# id
6020#
6021# }
6022# }
6023# Response:
6024# {
6025#
6026# "data": {
6027#
6028# "addNotificationTemplate": {
6029#
6030# "id": "1dbf3d28-bc7a-434f-ba65-455da0169323"
6031#
6032# }
6033#
6034# }
6035# }
6036addNotificationTemplate(input: AddNotificationTemplate): NotificationTemplate
6037
6038# Remove a notification template by id
6039# Example:
6040# Request:
6041# mutation {
6042#
6043# removeNotificationTemplate(id: "1dbf3d28-bc7a-434f-ba65-455da0169323") {
6044#
6045# message
6046#
6047# }
6048# }
6049# Response:
6050# {
6051#
6052# "data": {
6053#
6054# "removeNotificationTemplate": {
6055#
6056# "message": "Notification Template has been removed"
6057#
6058# }
6059#
6060# }
6061# }
6062removeNotificationTemplate(id: ID!): DeletePayload!
6063
6064# Add a new notification action by eventName, eventType, application
6065# Example:
6066# Request:
6067# mutation {
6068#
6069# addNotificationAction(input: {
6070#
6071# eventName: "example",
6072#
6073# eventType: "example"
6074#
6075# actionName: "example"
6076#
6077# icon:
6078# "https://edit.co.uk/uploads/2016/12/Image-1-Alternatives-to-stock-photography-Thinkstock.jpg"
6079#
6080# urlTemplate: "www.veritone.com"
6081#
6082# application: "80354999-d633-4595-9578-d82f59a5134f"
6083#
6084# mailboxId: "0415f525-813d-4fd4-9dea-9428382b05b9"}) {
6085#
6086# id
6087#
6088# }
6089# }
6090# Response:
6091# {
6092#
6093# "data": {
6094#
6095# "addNotificationAction": {
6096#
6097# "id": "27dab45b-d825-4f20-b758-4b089d610903"
6098#
6099# }
6100#
6101# }
6102# }
6103addNotificationAction(input: AddNotificationAction): NotificationAction
6104
6105# Remove a notification action by id
6106# Example
6107# Request:
6108# mutation {
6109#
6110# removeNotificationAction(
6111#
6112# id:"27dab45b-d825-4f20-b758-4b089d610903") {
6113#
6114# message
6115#
6116# }
6117# }
6118# Response:
6119# {
6120#
6121# "data": {
6122#
6123# "removeNotificationAction": {
6124#
6125# "message": "Notification Action has been removed"
6126#
6127# }
6128#
6129# }
6130# }
6131removeNotificationAction(id: ID!): DeletePayload!
6132
6133# Set and unset the notification flags
6134# Example:
6135# Request:
6136# mutation {
6137#
6138# setNotificationFlag(input: {
6139#
6140# notificationId: "iDDfG3oB3LnZSYqhRv7-",
6141#
6142# setFlags: read}) {
6143#
6144# id
6145#
6146# flags
6147#
6148# }
6149# }
6150# Response:
6151# {
6152#
6153# "data": {
6154#
6155# "setNotificationFlag": {
6156#
6157# "id": "iDDfG3oB3LnZSYqhRv7-",
6158#
6159# "flags": [
6160#
6161# "unread",
6162#
6163# "read"
6164#
6165# ]
6166#
6167# }
6168#
6169# }
6170# }
6171setNotificationFlag(input: SetNotificationFlag): Notification
6172
6173# Unpause/resume a notification mailbox
6174# Example:
6175# Request:
6176# mutation {
6177#
6178# notificationMailboxUnpause(
6179#
6180# id: "0415f525-813d-4fd4-9dea-9428382b05b9") {
6181#
6182# id
6183#
6184# }
6185# }
6186# Response:
6187# {
6188#
6189# "data": {
6190#
6191# "notificationMailboxUnpause": {
6192#
6193# "id": "0415f525-813d-4fd4-9dea-9428382b05b9"
6194#
6195# }
6196#
6197# }
6198# }
6199notificationMailboxUnpause(id: ID!): NotificationMailbox
6200
6201# Mark all notification as read for mailboxIds
6202# Example:
6203# Request:
6204# mutation {
6205#
6206# markAllNotificationsRead(
6207#
6208# mailboxIds: ["0415f525-813d-4fd4-9dea-9428382b05b9"]) {
6209#
6210# id
6211#
6212# }
6213# }
6214# Response:
6215# "data": {
6216#
6217# "markAllNotificationsRead": {
6218#
6219# "id": "0415f525-813d-4fd4-9dea-9428382b05b9",
6220#
6221# "notifications": {
6222#
6223# "records": {
6224#
6225# "flags": [
6226#
6227# "unseen",
6228#
6229# "read"
6230#
6231# ]
6232#
6233# }
6234#
6235# }
6236#
6237# }
6238# }
6239markAllNotificationsRead(mailboxIds: [ID]!): [NotificationMailbox]
6240
6241# Mark all notification as read for mailboxIds
6242# Example:
6243# Request:
6244# mutation {
6245#
6246# markAllNotificationsSeen(
6247#
6248# mailboxIds: ["0415f525-813d-4fd4-9dea-9428382b05b9"]) {
6249#
6250# id
6251#
6252# notifications{
6253#
6254# records{
6255#
6256# flags
6257#
6258# }
6259#
6260# }
6261#
6262# }
6263# }
6264# Response:
6265# {
6266#
6267# "data": {
6268#
6269# "markAllNotificationsSeen":
6270#
6271# {
6272#
6273# "id": "0415f525-813d-4fd4-9dea-9428382b05b9",
6274#
6275# "notifications": {
6276#
6277# "records":
6278#
6279# {
6280#
6281# "flags": [
6282#
6283# "read",
6284#
6285# "seen"
6286#
6287# ]
6288#
6289# }
6290#
6291# }
6292#
6293# }
6294#
6295# }
6296#
6297# }
6298# }
6299markAllNotificationsSeen(mailboxIds: [ID]!): [NotificationMailbox]
6300
6301# Create the default user setting definition for application by current
6302# organization
6303# Example:
6304# Request:
6305# mutation {
6306#
6307# createUserSettingDefinition(
6308#
6309# application: "80354999-d633-4595-9578-d82f59a5134f",
6310#
6311# key: "example",
6312#
6313# type: "example",
6314#
6315# defaultValue: "example") {
6316#
6317# applicationId
6318#
6319# organizationGuid
6320#
6321# }
6322# }
6323# Response:
6324# {
6325#
6326# "data": {
6327#
6328# "createUserSettingDefinition": {
6329#
6330# "applicationId": "80354999-d633-4595-9578-d82f59a5134f",
6331#
6332# "organizationGuid": "49a4cbbc-5e83-4c42-b9a3-be6ec0732f09"
6333#
6334# }
6335#
6336# }
6337# }
6338#
6339# Arguments
6340# organizationGuid: Should be required by orgless token,
6341# or can be set by superadmin
6342createUserSettingDefinition(
6343application: ID!,
6344key: String!,
6345type: String!,
6346description: String,
6347defaultValue: String!,
6348organizationGuid: ID
6349): ApplicationSetting
6350
6351# Delete the default user setting definition for application and org
6352# Example:
6353# Request:
6354# mutation {
6355#
6356# deleteUserSettingDefinition(
6357#
6358# application: "80354999-d633-4595-9578-d82f59a5134f",
6359#
6360# key:"example") {
6361#
6362# message
6363#
6364# }
6365# }
6366# Response:
6367# {
6368#
6369# "data": {
6370#
6371# "deleteUserSettingDefinition": {
6372#
6373# "message": "Application setting (application:
6374# 80354999-d633-4595-9578-d82f59a5134f, organizationGuid:
6375# 49a4cbbc-5e83-4c42-b9a3-be6ec0732f09, key: example) has been deleted"
6376#
6377# }
6378#
6379# }
6380# }
6381#
6382# Arguments
6383# organizationGuid: Should be required by orgless token,
6384# or can be set by superadmin
6385deleteUserSettingDefinition(
6386application: ID!,
6387organizationGuid: ID,
6388key: String!
6389): DeletePayload!
6390
6391# Update setting for user (add/update/remove settings)
6392# Example:
6393# Request:
6394# mutation {
6395#
6396# updateUserSetting(input: {
6397#
6398# application: "80354999-d633-4595-9578-d82f59a5134f",
6399#
6400# key: "example12",
6401#
6402# value: "example value"}) {
6403#
6404# userId
6405#
6406# }
6407# }
6408# Response:
6409# {
6410#
6411# "data": {
6412#
6413# "updateUserSetting": {
6414#
6415# "userId": "59cb4e74-7c31-4267-b91e-d4600bc08008"
6416#
6417# }
6418#
6419# }
6420# }
6421updateUserSetting(input: UpdateUserSetting): UserSetting
6422
6423# Create an OpenID Provider
6424createOpenIdProvider(input: CreateOpenIdProvider): OpenIdProvider
6425
6426# Update an OpenId Provider by ID
6427updateOpenIdProvider(input: UpdateOpenIdProvider): OpenIdProvider
6428
6429# Enable Global OpenID Provider for Organization
6430enableOpenIdProviderForOrg(
6431input: EnableOpenIdProviderForOrg
6432): UpdatePayload
6433
6434# Disable Global OpenID Provider for Organization
6435disableOpenIdProviderForOrg(
6436input: DisableOpenIdProviderForOrg
6437): UpdatePayload
6438
6439# Delete OpenID Provider
6440deleteOpenIdProvider(id: ID!): DeletePayload
6441
6442# Get Organization scoped application JWT token
6443getApplicationJWT(input: GetApplicationJWT): ApplicationJWTTokenInfo
6444
6445# Remove an application event endpoint
6446removeApplicationEventEndpoint(id: ID!): DeletePayload
6447
6448# Update event endpoint for an application
6449updateApplicationEventEndpoint(
6450input: UpdateApplicationEventEndpoint
6451): Application
6452
6453# Multi Organization Invitation
6454createOrganizationInvite(
6455input: CreateOrganizationInviteInput!
6456): OrganizationInvite!
6457
6458updateOrganizationInvite(
6459input: UpdateOrganizationInviteInput!
6460): OrganizationInvite!
6461
6462setUserDefaultOrganization(
6463defaultOrganizationId: ID!
6464): OrganizationInfo
6465
6466# delete organization invitation
6467# This deletion is hard-delete process. It will remove invitation completely from
6468# the database.
6469deleteOrganizationInvite(organizationInviteId: ID!): DeletePayload
6470
6471# Create a package
6472packageCreate(input: PackageCreateInput): Package
6473
6474# This updates the specified package.
6475#
6476# This will result in upgrading the package by duplicating the original package
6477# and
6478# bumping its version number up to the next major version. The new package will
6479# reflect
6480# the changes made to the original package. __Note: The original package will not
6481# be altered in any way.__
6482#
6483# The data returned will be the newly upgraded version of the package.
6484packageUpdate(input: PackageUpdateInput): Package
6485
6486# Delete a package
6487packageDelete(id: ID!): PackageDeleteResult
6488
6489# This updates the resources of the specified package.
6490#
6491# This will result in upgrading the package by duplicating the original package
6492# and
6493# bumping its version number up to the next major version. The new package will
6494# reflect
6495# the changes made to the original package's resources. __Note: The original
6496# package will not
6497# be altered in any way.__
6498#
6499# The data returned will be the newly upgraded version of the package.
6500packageUpdateResources(input: BulkPackageResourceInput): Package
6501
6502# Add or remove Grants to a package and organization
6503packageUpdateGrants(input: BulkPackageGrantInput!): Package
6504
6505apiTokenCreate(name: String!, rights: [AuthPermissionType]!): ApiToken
6506
6507apiTokenUpdate(hash: String!, input: ApiTokenUpdateInput!): ApiTokenInfo
6508
6509}

link Required by

This element is not required by anyone