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# }) {
535#
536# id
537#
538# ownerOrganizationId
539#
540# }
541# }
542# Response:
543# {
544#
545# "data": {
546#
547# "createEngine": {
548#
549# "id": "123",
550#
551# "ownerOrganizationId": "35521"
552#
553# }
554#
555# }
556# }
557#
558# Arguments
559# input: Fields needed to create a new engine
560createEngine(input: CreateEngine): Engine
561
562# Update an engine. Engines are subject to specific
563# workflow steps. An engine's state determines what
564# updates can be made to it. See VDA documentation for
565# details.
566# Example:
567# Request:
568# mutation {
569#
570# updateEngine(input: {
571#
572# id:"123",
573#
574# isPublic: false,
575#
576# name: "example",
577#
578# deploymentModel: FullyNetworkIsolated,
579#
580# price: 1}) {
581#
582# id
583#
584# ownerOrganizationId
585#
586# name
587#
588# price
589#
590# }
591# }
592# Response:
593# {
594#
595# "data": {
596#
597# "updateEngine": {
598#
599# "id": "123",
600#
601# "ownerOrganizationId": "35521",
602#
603# "name": "example",
604#
605# "price": 1
606#
607# }
608#
609# }
610# }
611#
612# Arguments
613# input: Fields needed to update an engine
614updateEngine(input: UpdateEngine): Engine
615
616# Delete an engine
617# Example:
618# Request:
619# mutation {
620#
621# deleteEngine(
622#
623# id: "123") {
624#
625# id
626#
627# message
628#
629# }
630# }
631# Response:
632# {
633#
634# "data": {
635#
636# "deleteEngine": {
637#
638# "id": "123",
639#
640# "message": "engine 123 deleted"
641#
642# }
643#
644# }
645# }
646#
647# Arguments
648# id: Provide the ID of the engine to delete
649deleteEngine(id: ID!): DeletePayload
650
651# Create an engine build.
652# Example:
653# Request:
654#
655# mutation {
656#
657# createEngineBuild(input: {
658#
659# engineId: "1",
660#
661# taskRuntime: [],
662#
663# dockerImage: "build",
664#
665# manifest: [] }) {
666#
667# id
668#
669# name
670#
671# engineId
672#
673# }
674#
675# realeaseNotes: "Includes feature x..."
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# Response:
729# {
730#
731# "data": {
732#
733# "updateEngineBuild": {
734#
735# "id": "6f766576-03a9-42c4-8a96-f4cd932e7c6c",
736#
737# "name": "example Version 3"
738#
739# "releaseNotes": "Includes feature x..."
740#
741# }
742#
743# }
744# }
745#
746# Arguments
747# input: Fields needed to update an engine build.
748updateEngineBuild(input: UpdateBuild!): Build
749
750# Delete an engine build
751# Example:
752# Request:
753# mutation {
754#
755# deleteEngineBuild(input: {
756#
757# id: "6f766576-03a9-42c4-8a96-f4cd932e7c6c",
758#
759# engineId: "1"}) {
760#
761# id
762#
763# message
764#
765# }
766# }
767# Response:
768# {
769#
770# "data": {
771#
772# "deleteEngineBuild": {
773#
774# "id": "6f766576-03a9-42c4-8a96-f4cd932e7c6c",
775#
776# "message": "Engine build 6f766576-03a9-42c4-8a96-f4cd932e7c6c deleted"
777#
778# }
779#
780# }
781# }
782#
783# Arguments
784# input: Fields needed to delete an engine build.
785deleteEngineBuild(input: DeleteBuild!): DeletePayload
786
787# Update a task
788#
789# Arguments
790# input: Fields required to update a task.
791updateTask(input: UpdateTask): Task
792
793# Arguments
794# reason: Short string describing the warning
795# message: Optional: the actual problem
796# referenceId: Optional: Reference ID for the warning, such as
797# assetId, or sourceId
798appendWarningToTask(
799taskId: ID,
800reason: String!,
801message: String,
802referenceId: ID
803): ID
804
805# Create a new application viewer, which are visual ways to consume engine output.
806# These can be pre-built by aiWARE or developed by third parties for custom views.
807# Example:
808# Request:
809# mutation {
810#
811# createApplicationViewer(input: {
812#
813# name: "example123",
814#
815# description: "Viewer used to display transcriptions.",
816#
817# icon: "https://s3.amazonaws.com/dev-api.veritone.com/7682/other/icon.png",
818#
819# mimetype: "application/json",
820#
821# viewerType: "external"
822#
823# }) {
824#
825# id
826#
827# name
828#
829# }
830# }
831# Response:
832# {
833#
834# "data": {
835#
836# "createApplicationViewer": {
837#
838# "id": "7e863365-94de-4ac9-8826-df1a398c9a21",
839#
840# "name": "example123"
841#
842# }
843#
844# }
845# }
846#
847# Arguments
848# input: Fields needed to create a new custom application.
849createApplicationViewer(
850input: CreateApplicationViewer!
851): ApplicationViewer
852
853# Create an Application Viewer build.
854# Example:
855# Request:
856#
857# mutation {
858#
859# createApplicationViewerBuild(input: {
860#
861# viewerId: "7e863365-94de-4ac9-8826-df1a398c9a21",
862#
863# sourceUrl: "https://viewers.aws-dev.veritone.com/json",
864#
865# accessUrl: "https://viewers.aws-dev.veritone.com/json"
866#
867# }) {
868#
869# viewerId
870#
871# viewerBuildId
872#
873# sourceUrl
874#
875# accessUrl
876#
877# version
878#
879# status
880#
881# }
882#
883# }
884# Response:
885# {
886#
887# "data": {
888#
889# "createApplicationViewerBuild": {
890#
891# "viewerId": "7e863365-94de-4ac9-8826-df1a398c9a21",
892#
893# "viewerBuildId": "2a1a1b58-6983-4002-b9ed-7b7f325f621a",
894#
895# "sourceUrl": "https://viewers.aws-dev.veritone.com/json",
896#
897# "accessUrl": "https://viewers.aws-dev.veritone.com/json",
898#
899# "version": "1",
900#
901# "status": "draft"
902#
903# }
904#
905# }
906# }
907#
908# Arguments
909# input: Fields needed to create an engine build.
910createApplicationViewerBuild(
911input: CreateApplicationViewerBuild!
912): ApplicationViewerBuild
913
914addTasksToJobs(input: AddTasksToJobs): AddTasksToJobsResponse
915
916# Create a job
917#
918# Arguments
919# input: Fields required to create a job.
920createJob(input: CreateJob): Job
921
922# Cancel a job. This action effectively deletes the job,
923# although a records of job and task execution remains in
924# Veritone's database.
925#
926# Arguments
927# id: Supply the ID of the job to delete.
928cancelJob(id: ID!): DeletePayload
929
930# Retry a job. This action applies only to jobs
931# that are in a failure state. The task sequence
932# for the job will be restarted in its original
933# configuration.
934#
935# Arguments
936# id: Supply the ID of the job to retry.
937# clusterId: Use this field to change the cluster id, by default
938# the job
939# will be retried on the same cluster as the original
940retryJob(id: ID!, clusterId: ID): Job
941
942# Create and launch a job executing a single engine,
943# using the default engine DAG definition modified with the
944# supplied field values
945launchSingleEngineJob(input: SingleEngineJobInput!): Job
946
947# Create and launch a job executing multiple engines,
948# using a DAG template definition modified with the
949# supplied field values.
950launchDAGTemplate(input: LaunchDAGTemplateInput!): Job
951
952updateJobs(input: UpdateJobs!): JobList
953
954# This creates a config definition for an application
955applicationConfigDefinitionCreate(
956input: [ApplicationConfigDefinitionCreate]
957): ApplicationConfigDefinitionList
958
959# This updates an existing config definition for an application
960applicationConfigDefinitionUpdate(
961input: [ApplicationConfigDefinitionUpdateInput]
962): ApplicationConfigDefinitionList
963
964# This removes an existing config definition from an application
965applicationConfigDefinitionDelete(
966input: ApplicationConfigDefinitionDelete
967): OperationResult
968
969# This sets configs for an app/org/user
970applicationConfigSet(
971input: ApplicationConfigSetConfigInput
972): ApplicationConfigList
973
974# This removes configs for an app/org/user
975applicationConfigDelete(input: ApplicationConfigDelete): OperationResult
976
977# This adds an application to an organization.
978#
979# Arguments
980# orgId: OrgID
981# appId: AppID
982# configs: Pass in configs
983applicationAddToOrg(
984orgId: ID!,
985appId: ID!,
986configs: [ApplicationConfigInput!]
987): Application!
988
989# This removes an application from an organization
990applicationRemoveFromOrg(
991orgId: ID!,
992appId: ID!,
993userId: ID,
994clearConfigs: Boolean
995): OperationResult
996
997# This creates headerbar information for an application/organization
998createApplicationHeaderbar(
999appId: ID!,
1000orgId: ID,
1001input: ApplicationHeaderbarInput
1002): ApplicationHeaderbar
1003
1004# This updates headerbar information for an application/organization
1005updateApplicationHeaderbar(
1006appId: ID!,
1007orgId: ID,
1008input: ApplicationHeaderbarUpdate
1009): ApplicationHeaderbar
1010
1011# Create a new application. An application must
1012# go through a sequence of workflow steps before
1013# it is available in production. See the VDA documentation
1014# for details.
1015# Example:
1016# Request:
1017# mutation {
1018#
1019# createApplication(input: {
1020#
1021# name: "example123",
1022#
1023# key: "example123",
1024#
1025# category: "example",
1026#
1027# url: "www.veritone.com",
1028#
1029# checkPermissions: true}) {
1030#
1031# id
1032#
1033# name
1034#
1035# }
1036# }
1037# Response:
1038# {
1039#
1040# "data": {
1041#
1042# "createApplication": {
1043#
1044# "id": "7e863365-94de-4ac9-8826-df1a398c9a21",
1045#
1046# "name": "example123"
1047#
1048# }
1049#
1050# }
1051# }
1052#
1053# Arguments
1054# input: Fields needed to create a new custom application.
1055createApplication(input: CreateApplication): Application
1056
1057# Delete an application
1058# Example:
1059# Request:
1060# mutation {
1061#
1062# deleteApplication(
1063#
1064# id: "7e863365-94de-4ac9-8826-df1a398c9a21") {
1065#
1066# id
1067#
1068# message
1069#
1070# }
1071# }
1072# Response:
1073# {
1074#
1075# "data": {
1076#
1077# "deleteApplication": {
1078#
1079# "id": "7e863365-94de-4ac9-8826-df1a398c9a21",
1080#
1081# "message": null
1082#
1083# }
1084#
1085# }
1086# }
1087#
1088# Arguments
1089# id: Supply the ID of the application to delete.
1090deleteApplication(id: ID!): DeletePayload
1091
1092# Update a custom application. Applications are subject to
1093# specific workflows. The current application state determines
1094# what updates can be made to it. See VDA documentation for details.
1095# Example:
1096# Request:
1097# mutation {
1098#
1099# updateApplication(input: {
1100#
1101# name: "example123",
1102#
1103# id: "7e863365-94de-4ac9-8826-df1a398c9a21"
1104#
1105# category: "example",
1106#
1107# url: "www.veritone.com",
1108#
1109# checkPermissions: true,
1110#
1111# oauth2RedirectUrls: [],
1112#
1113# permissionsRequired: []}) {
1114#
1115# id
1116#
1117# name
1118#
1119# url
1120#
1121# }
1122# }
1123# Response:
1124# {
1125#
1126# "data": {
1127#
1128# "updateApplication": {
1129#
1130# "id": "7e863365-94de-4ac9-8826-df1a398c9a21",
1131#
1132# "name": "example123",
1133#
1134# "url": "www.veritone.com"
1135#
1136# }
1137#
1138# }
1139# }
1140#
1141# Arguments
1142# input: Fields required to update a custom application.
1143updateApplication(input: UpdateApplication): Application
1144
1145# Deprecated: Application Components are no longer supported.
1146# Instead, use packageUpdate or packageUpdateResources to associate
1147# resources with the application's package.
1148updateApplicationComponent(
1149input: UpdateApplicationComponent!
1150): ApplicationComponent!
1151
1152# Update an application's billing plan id for an organization.
1153# Example:
1154# Request:
1155# mutation {
1156#
1157# updateApplicationBillingPlanId(
1158#
1159# applicationId:"32babe30-fb42-11e4-89bc-27b69865858a",
1160#
1161# organizationId: "35521",
1162#
1163# billingPlanId: "123") {
1164#
1165# applicationId
1166#
1167# billingDirty
1168#
1169# }
1170# }
1171# Response:
1172# {
1173#
1174# "data": {
1175#
1176# "updateApplicationBillingPlanId": {
1177#
1178# "applicationId": "32babe30-fb42-11e4-89bc-27b69865858a",
1179#
1180# "billingDirty": true
1181#
1182# }
1183#
1184# }
1185# }
1186updateApplicationBillingPlanId(
1187applicationId: ID!,
1188organizationId: ID!,
1189billingPlanId: String!
1190): ApplicationBillingPlanId!
1191
1192# Update an application's billing dirty for an organization.
1193# Example:
1194# Request:
1195# mutation {
1196#
1197# updateApplicationBillingDirty(
1198#
1199# applicationId: "32babe30-fb42-11e4-89bc-27b69865858a",
1200#
1201# organizationId: "35521",
1202#
1203# billingDirty: false) {
1204#
1205# applicationId
1206#
1207# billingDirty
1208#
1209# }
1210# }
1211# Response:
1212# {
1213#
1214# "data": {
1215#
1216# "updateApplicationBillingDirty": {
1217#
1218# "applicationId": "32babe30-fb42-11e4-89bc-27b69865858a",
1219#
1220# "billingDirty": false
1221#
1222# }
1223#
1224# }
1225# }
1226updateApplicationBillingDirty(
1227applicationId: ID!,
1228organizationId: ID!,
1229billingDirty: Boolean!
1230): ApplicationBillingDirty!
1231
1232# Bulk delete context menu extensions.
1233# Example:
1234# Request:
1235# mutation {
1236#
1237# bulkDeleteContextMenuExtensions(input: {
1238#
1239# ids: []}) {
1240#
1241# mentions{
1242#
1243# id
1244#
1245# }
1246#
1247# }
1248# }
1249# Response:
1250# {
1251#
1252# "data": {
1253#
1254# "bulkDeleteContextMenuExtensions": {
1255#
1256# "mentions": []
1257#
1258# }
1259#
1260# }
1261# }
1262fileApplication(input: FileApplication!): Application
1263
1264unfileApplication(input: UnfileApplication!): Application
1265
1266bulkDeleteContextMenuExtensions(
1267input: BulkDeleteContextMenuExtensions
1268): ContextMenuExtensionList
1269
1270# Update an organization
1271# Example:
1272# Request:
1273# mutation {
1274#
1275# updateOrganization(input: {
1276#
1277# id: "35521",
1278#
1279# indexTDOsByDefault: true}) {
1280#
1281# id
1282#
1283# status
1284#
1285# }
1286# }
1287# Response:
1288# {
1289#
1290# "data": {
1291#
1292# "updateOrganization": {
1293#
1294# "id": "35521",
1295#
1296# "status": "active"
1297#
1298# }
1299#
1300# }
1301# }
1302#
1303# Arguments
1304# input: Fields required to update an organization.
1305updateOrganization(input: UpdateOrganization!): Organization
1306
1307# Update organization billing policy. Requires superadmin
1308#
1309# Arguments
1310# planId: External billing plan id.
1311# targetOrganizationId: Optional organization id, to use when the
1312# caller is a superadmin from a different org
1313updateOrganizationBilling(
1314planId: String!,
1315targetOrganizationId: ID
1316): OrganizationBilling
1317
1318addToEngineWhitelist(toAdd: SetEngineWhitelist!): EngineWhitelist
1319
1320addToEngineBlacklist(toAdd: SetEngineBlacklist!): EngineBlacklist
1321
1322deleteFromEngineBlacklist(
1323toDelete: SetEngineBlacklist!
1324): EngineBlacklist
1325
1326deleteFromEngineWhitelist(
1327toDelete: SetEngineBlacklist!
1328): EngineWhitelist
1329
1330# Create an entity identifier type, such as "face" or "image".
1331# Entity identifier types are typically created or modified
1332# only by Veritone engineering. Most libraries and
1333# entities will use existing entity identifier types.
1334# Example:
1335# Request:
1336# mutation {
1337#
1338# createEntityIdentifierType(input: {
1339#
1340# label: "example"
1341#
1342# labelPlural: "example"
1343#
1344# iconClass: null
1345#
1346# description: "example"
1347#
1348# dataType: text
1349#
1350# id: "123"}) {
1351#
1352# id
1353#
1354# description
1355#
1356# }
1357# }
1358# Response:
1359# {
1360#
1361# "data": {
1362#
1363# "createEntityIdentifierType": {
1364#
1365# "id": "123",
1366#
1367# "description": null
1368#
1369# }
1370#
1371# }
1372# }
1373#
1374# Arguments
1375# input: Fields required to create an entity identifier type.
1376createEntityIdentifierType(
1377input: CreateEntityIdentifierType!
1378): EntityIdentifierType
1379
1380# Update an entity identifier type.
1381# Example:
1382# Request:
1383# mutation {
1384#
1385# updateEntityIdentifierType(input: {
1386#
1387# id: "123",
1388#
1389# label: "example",
1390#
1391# labelPlural: "example"
1392#
1393# description: "new description",
1394#
1395# dataType: image}) {
1396#
1397# id
1398#
1399# description
1400#
1401# }
1402# }
1403# Response:
1404# {
1405#
1406# "data": {
1407#
1408# "updateEntityIdentifierType": null
1409#
1410# }
1411# }
1412#
1413# Arguments
1414# input: Fields required to update an entity identifier type.
1415updateEntityIdentifierType(
1416input: UpdateEntityIdentifierType!
1417): EntityIdentifierType
1418
1419# Create a library type, such as "ad" or "people".
1420# Entity identifier types are typically created or modified
1421# only by Veritone engineering. Most libraries
1422# will use existing entity identifier types.
1423# Example:
1424# Request:
1425# mutation {
1426#
1427# createLibraryType(input: {
1428#
1429# id: "123",
1430#
1431# label: "example",
1432#
1433# entityIdentifierTypeIds: ["123"],
1434#
1435# entityType: {
1436#
1437# name: "example",
1438#
1439# namePlural: "example",
1440#
1441# schema: {
1442#
1443# example: "example" }}}) {
1444#
1445# id
1446#
1447# label
1448#
1449# }
1450# }
1451# Response:
1452# {
1453#
1454# "data": {
1455#
1456# "createLibraryType": {
1457#
1458# "id": "123",
1459#
1460# "label": "example"
1461#
1462# }
1463#
1464# }
1465# }
1466#
1467# Arguments
1468# input: Fields needed to create a new library type.
1469createLibraryType(input: CreateLibraryType!): LibraryType
1470
1471# Update a library type.
1472# Example:
1473# Request:
1474# mutation {
1475#
1476# updateLibraryType(input: {
1477#
1478# id: "123",
1479#
1480# label: "example",
1481#
1482# entityIdentifierTypeIds: ["123"],
1483#
1484# entityType: {
1485#
1486# name: "example",
1487#
1488# namePlural: "example",
1489#
1490# schema: {
1491#
1492# example: "new example" }}}) {
1493#
1494# id
1495#
1496# label
1497#
1498# }
1499# }
1500# Response:
1501# {
1502#
1503# "data": {
1504#
1505# "updateLibraryType": null
1506#
1507# }
1508# }
1509#
1510# Arguments
1511# input: Fields needed to update a library type.
1512updateLibraryType(input: UpdateLibraryType!): LibraryType
1513
1514# Create a new library.
1515# Once the library is created, the client can add
1516# entities and entity identifiers. Note that the
1517# library type determines what types of entity identifiers
1518# can be used within the library.
1519# Example:
1520# Request:
1521# mutation {
1522#
1523# createLibrary(input: {
1524#
1525# name: "example"
1526#
1527# applicationId: "32babe30-fb42-11e4-89bc-27b69865858a"
1528#
1529# organizationId: "35521"
1530#
1531# libraryTypeId: "123"
1532#
1533# coverImageUrl:
1534# "https://edit.co.uk/uploads/2016/12/Image-1-Alternatives-to-stock-photography-Thinkstock.jpg"
1535#
1536# description: "example"}) {
1537#
1538# id
1539#
1540# name
1541#
1542# }
1543# }
1544# Response:
1545# {
1546#
1547# "data": {
1548#
1549# "createLibrary": {
1550#
1551# "id": "e0a6e5ad-dec8-49a1-ad33-3f1194c2e599",
1552#
1553# "name": "example"
1554#
1555# }
1556#
1557# }
1558# }
1559#
1560# Arguments
1561# input: Fields needed to create a new library.
1562createLibrary(input: CreateLibrary!): Library
1563
1564# Update an existing library.
1565# Example:
1566# Request:
1567# mutation {
1568#
1569# updateLibrary(input: {
1570#
1571# id: "e0a6e5ad-dec8-49a1-ad33-3f1194c2e599",
1572#
1573# name: "example"
1574#
1575# coverImageUrl:
1576# "https://edit.co.uk/uploads/2016/12/Image-1-Alternatives-to-stock-photography-Thinkstock.jpg"
1577#
1578# description: "new description"
1579#
1580# libraryTypeId: "123"
1581#
1582# version: 2}) {
1583#
1584# id
1585#
1586# name
1587#
1588# description
1589#
1590# }
1591# }
1592# Response:
1593# {
1594#
1595# "data": {
1596#
1597# "updateLibrary": {
1598#
1599# "id": "e0a6e5ad-dec8-49a1-ad33-3f1194c2e599",
1600#
1601# "name": "example",
1602#
1603# "description": "new description"
1604#
1605# }
1606#
1607# }
1608# }
1609#
1610# Arguments
1611# input: Fields needed to update a library
1612updateLibrary(input: UpdateLibrary!): Library
1613
1614# Delete a library. This mutation will also delete all entities,
1615# entity identifiers, library engine models, and associated objects.
1616# Example:
1617# Request:
1618# mutation {
1619#
1620# deleteLibrary(id:"d232c90f-ae47-4125-b884-0d35fbed7e5f") {
1621#
1622# message
1623#
1624# }
1625# }
1626# Response:
1627# {
1628#
1629# "data": {
1630#
1631# "deleteLibrary": {
1632#
1633# "message": "d232c90f-ae47-4125-b884-0d35fbed7e5f deleted"
1634#
1635# }
1636#
1637# }
1638# }
1639#
1640# Arguments
1641# id: Provide the ID of the library to delete.
1642deleteLibrary(id: ID!): DeletePayload
1643
1644# Publish a new version of a library.
1645# Increments library version by one and trains compatible engines.
1646# Example:
1647# Request:
1648# mutation {
1649#
1650# publishLibrary(
1651#
1652# id: "e0a6e5ad-dec8-49a1-ad33-3f1194c2e599") {
1653#
1654# name
1655#
1656# description
1657#
1658# version
1659#
1660# }
1661# }
1662# Response:
1663# {
1664#
1665# "data": {
1666#
1667# "publishLibrary": {
1668#
1669# "name": "example",
1670#
1671# "description": "new description",
1672#
1673# "version": 2
1674#
1675# }
1676#
1677# }
1678# }
1679#
1680# Arguments
1681# id: ID of the library to publish
1682publishLibrary(id: ID!): Library
1683
1684# Create a new entity.
1685# Example:
1686# Request:
1687# mutation {
1688#
1689# createEntity(input: {
1690#
1691# name: "example",
1692#
1693# description: "example",
1694#
1695# libraryId: "e0a6e5ad-dec8-49a1-ad33-3f1194c2e599",
1696#
1697# jsondata: {
1698#
1699# example: "new example" }}) {
1700#
1701# id
1702#
1703# name
1704#
1705# }
1706# }
1707# Response:
1708# {
1709#
1710# "data": {
1711#
1712# "createEntity": {
1713#
1714# "id": "85b700fa-f327-4fea-b94b-ed83054170db",
1715#
1716# "name": "example"
1717#
1718# }
1719#
1720# }
1721# }
1722#
1723# Arguments
1724# input: Fields required to create a new entity.
1725createEntity(input: CreateEntity!): Entity
1726
1727# Update an entity.
1728# Example:
1729# Request:
1730# mutation {
1731#
1732# updateEntity(input: {
1733#
1734# id: "85b700fa-f327-4fea-b94b-ed83054170db",
1735#
1736# name: "example",
1737#
1738# description: "example",
1739#
1740# jsondata: {
1741#
1742# example: "updated example" }}) {
1743#
1744# id
1745#
1746# name
1747#
1748# jsondata
1749#
1750# }
1751# }
1752# Response:
1753# {
1754#
1755# "data": {
1756#
1757# "updateEntity": {
1758#
1759# "id": "85b700fa-f327-4fea-b94b-ed83054170db",
1760#
1761# "name": "example",
1762#
1763# "jsondata": {
1764#
1765# "example": "updated example"
1766#
1767# }
1768#
1769# }
1770#
1771# }
1772# }
1773#
1774# Arguments
1775# input: Fields required to update an entity.
1776updateEntity(input: UpdateEntity!): Entity
1777
1778# Delete an entity. This mutation will also delete all associated
1779# entity identifiers and associated objects.
1780# Example:
1781# Request:
1782# mutation {
1783#
1784# deleteEntity(id: "522bc6cf-5b7c-47bd-bd30-10cd77016a49") {
1785#
1786# message
1787#
1788# }
1789# }
1790# Response:
1791# {
1792#
1793# "data": {
1794#
1795# "deleteEntity": {
1796#
1797# "message": "Entity 522bc6cf-5b7c-47bd-bd30-10cd77016a49 deleted."
1798#
1799# }
1800#
1801# }
1802# }
1803#
1804# Arguments
1805# id: Supply the ID of the entity to delete.
1806deleteEntity(id: ID!): DeletePayload
1807
1808# Create an entity identifier.
1809# This mutation accepts file uploads. To use this mutation and upload a file,
1810# send a multipart form POST containing two parameters: `query`, with the
1811# GraphQL query, and `file` containing the file itself.
1812# For more information see the documentation at
1813# https://veritone-developer.atlassian.net/wiki/spaces/DOC/pages/13893791/GraphQL.
1814# Example:
1815# Request:
1816# mutation {
1817#
1818# createEntityIdentifier(input: {
1819#
1820# entityId: "85b700fa-f327-4fea-b94b-ed83054170db",
1821#
1822# identifierTypeId: "123",
1823#
1824# title: "example",
1825#
1826# isPriority: false,
1827#
1828# contentType: "example",
1829#
1830# url:
1831# "https://edit.co.uk/uploads/2016/12/Image-1-Alternatives-to-stock-photography-Thinkstock.jpg"})
1832# {
1833#
1834# id
1835#
1836# isPriority
1837#
1838# }
1839# }
1840# Result:
1841# {
1842#
1843# "data": {
1844#
1845# "createEntityIdentifier": {
1846#
1847# "id": "bf67e595-3666-4a0c-9f4b-0ad99a1770fe",
1848#
1849# "isPriority": false,
1850#
1851# }
1852#
1853# }
1854# }
1855#
1856# Arguments
1857# input: Fields needed to create an entity identifier.
1858createEntityIdentifier(input: CreateEntityIdentifier!): EntityIdentifier
1859
1860# Updates an entity identifier.
1861# Example:
1862# Request:
1863# mutation {
1864#
1865# updateEntityIdentifier(input: {
1866#
1867# id: "bf67e595-3666-4a0c-9f4b-0ad99a1770fe",
1868#
1869# title: "example",
1870#
1871# isPriority: true,
1872#
1873# url:
1874# "https://edit.co.uk/uploads/2016/12/Image-1-Alternatives-to-stock-photography-Thinkstock.jpg"})
1875# {
1876#
1877# id
1878#
1879# isPriority
1880#
1881# }
1882# }
1883# Response:
1884# {
1885#
1886# "data": {
1887#
1888# "updateEntityIdentifier": {
1889#
1890# "id": "bf67e595-3666-4a0c-9f4b-0ad99a1770fe",
1891#
1892# "isPriority": true
1893#
1894# }
1895#
1896# }
1897# }
1898#
1899# Arguments
1900# input: Fields required to update an entity identifier.
1901updateEntityIdentifier(input: UpdateEntityIdentifier!): EntityIdentifier
1902
1903# Delete an entity identifier
1904# Example:
1905# Request:
1906# mutation {
1907#
1908# deleteEntityIdentifier(id: "0bda9fa6-9fad-4025-8f03-07cc73321050") {
1909#
1910# message
1911#
1912# }
1913# }
1914# Response:
1915# {
1916#
1917# "data": {
1918#
1919# "deleteEntityIdentifier": {
1920#
1921# "message": "Entity identifier0bda9fa6-9fad-4025-8f03-07cc73321050 deleted."
1922#
1923# }
1924#
1925# }
1926# }
1927#
1928# Arguments
1929# id: Supply the ID of the entity identifier to delete.
1930deleteEntityIdentifier(id: ID!): DeletePayload
1931
1932# Create a library engine model.
1933# Example:
1934# Request:
1935# mutation {
1936#
1937# createLibraryEngineModel(input: {
1938#
1939# engineId: "1",
1940#
1941# libraryId: "e0a6e5ad-dec8-49a1-ad33-3f1194c2e599",
1942#
1943# trainJobId: "123",
1944#
1945# dataUrl:
1946# "https://edit.co.uk/uploads/2016/12/Image-1-Alternatives-to-stock-photography-Thinkstock.jpg"})
1947# {
1948#
1949# id
1950#
1951# engineId
1952#
1953# }
1954# }
1955# Response:
1956# {
1957#
1958# "data": {
1959#
1960# "createLibraryEngineModel": {
1961#
1962# "id": "0e9c25f7-d994-4363-af41-c00b37de9a1b",
1963#
1964# "engineId": "1"
1965#
1966# }
1967#
1968# }
1969# }
1970#
1971# Arguments
1972# input: Fields required to create a library engine model.
1973createLibraryEngineModel(
1974input: CreateLibraryEngineModel!
1975): LibraryEngineModel
1976
1977# Update a library engine model
1978# Example:
1979# Request:
1980# mutation {
1981#
1982# updateLibraryEngineModel(input: {
1983#
1984# id: "0e9c25f7-d994-4363-af41-c00b37de9a1b",
1985#
1986# trainJobId: "1234"}) {
1987#
1988# trainJobId
1989#
1990# }
1991# }
1992# Response:
1993# {
1994#
1995# "data": {
1996#
1997# "updateLibraryEngineModel": {
1998#
1999# "trainJobId": "1234"
2000#
2001# }
2002#
2003# }
2004# }
2005#
2006# Arguments
2007# input: Fields required to update a library engine model
2008updateLibraryEngineModel(
2009input: UpdateLibraryEngineModel!
2010): LibraryEngineModel
2011
2012# Delete a library engine model
2013# Example:
2014# Request:
2015# mutation {
2016#
2017# deleteLibraryEngineModel(
2018#
2019# id: "0e9c25f7-d994-4363-af41-c00b37de9a1b") {
2020#
2021# id
2022#
2023# message
2024#
2025# }
2026# }
2027# Response:
2028# {
2029#
2030# "data": {
2031#
2032# "deleteLibraryEngineModel": {
2033#
2034# "id": "0e9c25f7-d994-4363-af41-c00b37de9a1b",
2035#
2036# "message": "library engine model 0e9c25f7-d994-4363-af41-c00b37de9a1b deleted."
2037#
2038# }
2039#
2040# }
2041# }
2042#
2043# Arguments
2044# id: Supply the ID of the library engine model to delete.
2045deleteLibraryEngineModel(id: ID!): DeletePayload
2046
2047# Create a library collaborator.
2048# Example:
2049# Request:
2050# mutation {
2051#
2052# createLibraryCollaborator(input: {
2053#
2054# libraryId: "e0a6e5ad-dec8-49a1-ad33-3f1194c2e599",
2055#
2056# organizationId: 35521,
2057#
2058# permissions: ["job.create"]}) {
2059#
2060# organizationId
2061#
2062# status
2063#
2064# }
2065# }
2066# Response:
2067# {
2068#
2069# "data": {
2070#
2071# "createLibraryCollaborator": {
2072#
2073# "organizationId": "35521",
2074#
2075# "status": "active"
2076#
2077# }
2078#
2079# }
2080# }
2081#
2082# Arguments
2083# input: Fields required to create a library collaborator.
2084createLibraryCollaborator(
2085input: CreateLibraryCollaborator!
2086): LibraryCollaborator
2087
2088# Update a library collaborator
2089# Example:
2090# Request:
2091# mutation {
2092#
2093# updateLibraryCollaborator(input: {
2094#
2095# libraryId: "e0a6e5ad-dec8-49a1-ad33-3f1194c2e599",
2096#
2097# organizationId: 35521,
2098#
2099# permissions: ["job.create", "job.read"]}) {
2100#
2101# status
2102#
2103# permissions
2104#
2105# }
2106# }
2107# Response:
2108# {
2109#
2110# "data": {
2111#
2112# "updateLibraryCollaborator": {
2113#
2114# "status": "active",
2115#
2116# "permissions": [
2117#
2118# "job.create"
2119#
2120# ]
2121#
2122# }
2123#
2124# }
2125# }
2126#
2127# Arguments
2128# input: Fields required to update a library collaborator
2129updateLibraryCollaborator(
2130input: UpdateLibraryCollaborator!
2131): LibraryCollaborator
2132
2133# Delete a library collaborator
2134# Example:
2135# Request:
2136# mutation {
2137#
2138# deleteLibraryCollaborator(
2139#
2140# libraryId: "e0a6e5ad-dec8-49a1-ad33-3f1194c2e599",
2141#
2142# organizationId: "35521") {
2143#
2144# id
2145#
2146# message
2147#
2148# }
2149# }
2150# Response:
2151# {
2152#
2153# "data": {
2154#
2155# "deleteLibraryCollaborator": {
2156#
2157# "id": "e0a6e5ad-dec8-49a1-ad33-3f1194c2e599 - 35521",
2158#
2159# "message": "library collaborator model libraryId:
2160# e0a6e5ad-dec8-49a1-ad33-3f1194c2e599, organizationId: 35521 deleted."
2161#
2162# }
2163#
2164# }
2165# }
2166#
2167# Arguments
2168# libraryId: Supply the ID of the library collaborator to delete.
2169# organizationId: Supply the ID of the library collaborator to
2170# delete.
2171deleteLibraryCollaborator(
2172libraryId: ID!,
2173organizationId: ID!
2174): DeletePayload
2175
2176# Create Dataset Library Configuration
2177# Example
2178# Request:
2179# mutation {
2180#
2181# createLibraryConfiguration(input: {
2182#
2183# libraryId: "e0a6e5ad-dec8-49a1-ad33-3f1194c2e599",
2184#
2185# engineCategoryId: "c1e5f177-ca10-433a-a155-bb5e4872cf9a",
2186#
2187# targetEngineIds: ["1"],
2188#
2189# confidence: {}}) {
2190#
2191# id
2192#
2193# }
2194# }
2195# Response:
2196# {
2197#
2198# "data": {
2199#
2200# "createLibraryConfiguration": {
2201#
2202# "id": "7396e71b-db5a-4c4c-bf6f-4fc66a5a07f7"
2203#
2204# }
2205#
2206# }
2207# }
2208#
2209# Arguments
2210# input: Fields required to create library configuration
2211createLibraryConfiguration(
2212input: CreateLibraryConfiguration!
2213): LibraryConfiguration
2214
2215# Update Dataset Library Configuration
2216#
2217# Arguments
2218# input: Fields required to create library configuration
2219updateLibraryConfiguration(
2220input: UpdateLibraryConfiguration!
2221): LibraryConfiguration
2222
2223# Delete Dataset Library Configuration
2224#
2225# Arguments
2226# id: Supply configuration ID to delete.
2227deleteLibraryConfiguration(id: ID!): DeletePayload
2228
2229# Add recordings to a dataset library
2230# Example:
2231# Request:
2232# mutation {
2233#
2234# addLibraryDataset(input: {
2235#
2236# libraryId: "e0a6e5ad-dec8-49a1-ad33-3f1194c2e599",
2237#
2238# tdoIds: ["1570899328"]}) {
2239#
2240# tdoIds
2241#
2242# }
2243# }
2244# Response:
2245# {
2246#
2247# "data": {
2248#
2249# "addLibraryDataset": {
2250#
2251# "tdoIds": [
2252#
2253# "1570899328"
2254#
2255# ]
2256#
2257# }
2258#
2259# }
2260# }
2261addLibraryDataset(input: AddLibraryDataset!): LibraryDataset
2262
2263# Remove recordings from a dataset library
2264# Example:
2265# Request:
2266# mutation {
2267#
2268# deleteLibraryDataset(input: {
2269#
2270# libraryId: "e0a6e5ad-dec8-49a1-ad33-3f1194c2e599",
2271#
2272# tdoIds: ["1570899328"]}) {
2273#
2274# tdoIds
2275#
2276# message
2277#
2278# }
2279# }
2280# Response:
2281# {
2282#
2283# "data": {
2284#
2285# "deleteLibraryDataset": {
2286#
2287# "tdoIds": [
2288#
2289# "1570899328"
2290#
2291# ],
2292#
2293# "message": "[1570899328] are removed from e0a6e5ad-dec8-49a1-ad33-3f1194c2e599"
2294#
2295# }
2296#
2297# }
2298# }
2299deleteLibraryDataset(input: DeleteLibraryDataset!): DeleteLibraryDatasetPayload
2300
2301# Apply an application workflow step, such as "submit" or "approve"
2302# Example:
2303# Request:
2304# mutation {
2305#
2306# applicationWorkflow(input: {
2307#
2308# id: "dcc6a08e-1114-43e9-b74a-2b469a32f437",
2309#
2310# action: submit}) {
2311#
2312# id
2313#
2314# name
2315#
2316# }
2317# }
2318# Response:
2319# {
2320#
2321# "data": {
2322#
2323# "applicationWorkflow": {
2324#
2325# "id": "dcc6a08e-1114-43e9-b74a-2b469a32f437",
2326#
2327# "name": "appexamplebill2"
2328#
2329# }
2330#
2331# }
2332# }
2333#
2334# Arguments
2335# input: Fields required to apply a application workflow step
2336applicationWorkflow(input: ApplicationWorkflow): Application
2337
2338# Apply an engine workflow step, such as "submit" or "approve"
2339#
2340# Arguments
2341# input: Fields required to apply a engine workflow step
2342engineWorkflow(input: EngineWorkflow): Engine
2343
2344# Creates a widget associated with a collection
2345# Example:
2346# Request:
2347# mutation {
2348#
2349# createWidget(input:{
2350#
2351# collectionId: "242361",
2352#
2353# name: "example",
2354#
2355# nextButtonColor: "000000"}) {
2356#
2357# id
2358#
2359# name
2360#
2361# }
2362# }
2363# Response:
2364# {
2365#
2366# "data": {
2367#
2368# "createWidget": {
2369#
2370# "id": "fwSwWdRWTm2fdFMoPQDKkg",
2371#
2372# "name": ""
2373#
2374# }
2375#
2376# }
2377# }
2378#
2379# Arguments
2380# input: Fields needed to create a new widget
2381createWidget(input: CreateWidget): Widget
2382
2383# Updates a widget
2384# Example:
2385# Request:
2386# mutation {
2387#
2388# updateWidget(input: {
2389#
2390# id: "fwSwWdRWTm2fdFMoPQDKkg",
2391#
2392# name: "new example name"}) {
2393#
2394# id
2395#
2396# name
2397#
2398# }
2399# }
2400# Response:
2401# {
2402#
2403# "data": {
2404#
2405# "updateWidget": {
2406#
2407# "id": "fwSwWdRWTm2fdFMoPQDKkg",
2408#
2409# "name": "new example name"
2410#
2411# }
2412#
2413# }
2414# }
2415#
2416# Arguments
2417# input: Fields needed to update a widget
2418updateWidget(input: UpdateWidget): Widget
2419
2420# Create a new user within an organization.
2421# Example:
2422# Request:
2423# mutation {
2424#
2425# createUser(input: {
2426#
2427# name: "example",
2428#
2429# password: "example",
2430#
2431# organizationId: "35521"}) {
2432#
2433# id
2434#
2435# }
2436# }
2437# Response:
2438# {
2439#
2440# "data": {
2441#
2442# "createUser": {
2443#
2444# "id": "267de7e1-efb2-444a-a524-210328b78503"
2445#
2446# }
2447#
2448# }
2449# }
2450#
2451# Arguments
2452# input: Fields needed to create a user.
2453createUser(input: CreateUser): User
2454
2455# Create a new organization.
2456#
2457# Arguments
2458# input: Fields needed to create an organization. Requires
2459# superadmin
2460createOrganization(input: CreateOrganization!): Organization
2461
2462# Update an existing user'
2463# Example:
2464# Request:
2465# mutation {
2466#
2467# updateUser(input: {
2468#
2469# id: "267de7e1-efb2-444a-a524-210328b78503",
2470#
2471# firstName: "example",
2472#
2473# lastName: "example"}) {
2474#
2475# firstName
2476#
2477# lastName
2478#
2479# }
2480# }
2481# Response:
2482# {
2483#
2484# "data": {
2485#
2486# "updateUser": {
2487#
2488# "firstName": "example",
2489#
2490# "lastName": "example"
2491#
2492# }
2493#
2494# }
2495# }
2496#
2497# Arguments
2498# input: Fields needed to update a user
2499updateUser(input: UpdateUser): User
2500
2501# Add an existing user to an organization.
2502# One of the user identifiers (userId or userName) has to be specified.
2503#
2504# Arguments
2505# userId: UUID of user
2506# userName: User name to uniquely identify a user
2507# organizationGuid: UUID of organization
2508# roleIds: Role Ids.
2509# priority: Priority of the organization. If not provided, max
2510# priority plus one will be used.
2511addUserToOrganization(
2512userId: ID,
2513userName: String,
2514organizationGuid: ID!,
2515roleIds: [ID],
2516priority: Int
2517): User
2518
2519# Remove an existing user for organization.
2520# One of the user identifiers (userId or userName) has to be specified.
2521# The operation fails if the organization is the last one to which user belongs.
2522#
2523# Arguments
2524# userId: UUID of user
2525# userName: User name to uniquely identify a user
2526# organizationGuid: UUID of organization
2527removeUserFromOrganization(
2528userId: ID,
2529userName: String,
2530organizationGuid: ID!
2531): User
2532
2533# #Switch user to organization
2534#
2535# Arguments
2536# token: User token that should be logout
2537# userName: The user login name -- typically, email address.
2538# organizationGuid: GUID of organization.
2539switchUserToOrganization(
2540token: String!,
2541userName: String!,
2542organizationGuid: ID!
2543): LoginInfo
2544
2545# Force a user to update password on next login.
2546# This mutation is used by administrators.
2547# Example:
2548# Request:
2549# mutation {
2550#
2551# createPasswordUpdateRequest(input: {
2552#
2553# id: "267de7e1-efb2-444a-a524-210328b78503",
2554#
2555# skipPasswordResetEmail: true}) {
2556#
2557# id
2558#
2559# name
2560#
2561# }
2562# }
2563# Response:
2564# {
2565#
2566# "data": {
2567#
2568# "createPasswordUpdateRequest": {
2569#
2570# "id": "267de7e1-efb2-444a-a524-210328b78503",
2571#
2572# "name": "example"
2573#
2574# }
2575#
2576# }
2577# }
2578#
2579# Arguments
2580# input: Fields needed to create a password update request
2581createPasswordUpdateRequest(
2582input: CreatePasswordUpdateRequest
2583): User
2584
2585# Create a password reset request. This mutation is used on behalf
2586# of a user who needs to reset their password. It operates only on
2587# the currently authenicated user (based on the authentication token provided).
2588# Example:
2589# Request:
2590# mutation {
2591#
2592# createPasswordResetRequest(input: {
2593#
2594# userName: "example",
2595#
2596# skipPasswordResetEmail:true}) {
2597#
2598# message
2599#
2600# }
2601# }
2602# Response:
2603# {
2604#
2605# "data": {
2606#
2607# "createPasswordResetRequest": {
2608#
2609# "message": "Reset request issued for example. Email will not be sent."
2610#
2611# }
2612#
2613# }
2614# }
2615createPasswordResetRequest(
2616input: CreatePasswordResetRequest
2617): CreatePasswordResetRequestPayload
2618
2619# Update the current authenticated user
2620# Example:
2621# Request:
2622# mutation {
2623#
2624# updateCurrentUser(input: {
2625#
2626# title: "undefined"}) {
2627#
2628# id
2629#
2630# }
2631# }
2632# Response:
2633# {
2634#
2635# "data": {
2636#
2637# "updateCurrentUser": {
2638#
2639# "id": "59cb4e74-7c31-4267-b91e-d4600bc08008"
2640#
2641# }
2642#
2643# }
2644# }
2645updateCurrentUser(input: UpdateCurrentUser!): User!
2646
2647# Get password token info for current user
2648# Example:
2649# Request:
2650# mutation {
2651#
2652# getCurrentUserPasswordToken(input: {
2653#
2654# password: "Example password"}) {
2655#
2656# passwordToken
2657#
2658# }
2659# }
2660# Response:
2661# {
2662#
2663# "data": {
2664#
2665# "getCurrentUserPasswordToken": {
2666#
2667# "passwordToken": "e4cb86c7-34a4-4a52-b458-3ebbb2cca9c3"
2668#
2669# }
2670#
2671# }
2672# }
2673getCurrentUserPasswordToken(
2674input: GetCurrentUserPasswordToken!
2675): PasswordTokenInfo!
2676
2677# Change the current authenticated user's password
2678#
2679# Arguments
2680# input: Fields needed to change password
2681changePassword(input: ChangePassword!): User
2682
2683# Delete a user
2684# Example:
2685# Request:
2686# mutation {
2687#
2688# deleteUser(
2689#
2690# id: "267de7e1-efb2-444a-a524-210328b78503") {
2691#
2692# message
2693#
2694# }
2695# }
2696# Response:
2697# {
2698#
2699# "data": {
2700#
2701# "deleteUser": {
2702#
2703# "message": null
2704#
2705# }
2706#
2707# }
2708# }
2709#
2710# Arguments
2711# id: Supply the ID of the user to delete.
2712deleteUser(id: ID!): DeletePayload
2713
2714# Create a structured data registry schema metadata.
2715# Example:
2716# Request:
2717# mutation {
2718#
2719# createDataRegistry(input: {
2720#
2721# name: "example",
2722#
2723# description: "example"
2724#
2725# source: "example"}) {
2726#
2727# id
2728#
2729# organizationId
2730#
2731# }
2732# }
2733# Response:
2734# {
2735#
2736# "data": {
2737#
2738# "createDataRegistry": {
2739#
2740# "id": "230f95e4-95c9-47c4-a845-61ca67ad6ba6",
2741#
2742# "organizationId": "35521"
2743#
2744# }
2745#
2746# }
2747# }
2748createDataRegistry(input: CreateDataRegistry!): DataRegistry
2749
2750# Update a structured data registry schema metadata.
2751# Example:
2752# Request:
2753# mutation {
2754#
2755# updateDataRegistry(input: {
2756#
2757# id: "230f95e4-95c9-47c4-a845-61ca67ad6ba6"
2758#
2759# name: "example"
2760#
2761# description: "example"
2762#
2763# source: "new source"}) {
2764#
2765# id
2766#
2767# source
2768#
2769# }
2770# }
2771# Response:
2772# {
2773#
2774# "data": {
2775#
2776# "updateDataRegistry": {
2777#
2778# "id": "230f95e4-95c9-47c4-a845-61ca67ad6ba6",
2779#
2780# "source": "new source"
2781#
2782# }
2783#
2784# }
2785# }
2786updateDataRegistry(input: UpdateDataRegistry!): DataRegistry
2787
2788# Create a schema record.
2789# Example:
2790# Request:
2791# mutation {
2792#
2793# createSchema(input: {
2794#
2795# id: "450f95e4-95c9-47c4-a845-62ca67ad6ea6",
2796#
2797# dataRegistryId: "230f95e4-95c9-47c4-a845-61ca67ad6ba6",
2798#
2799# status: published,
2800#
2801# definition: {
2802#
2803# example: "example"
2804#
2805# },
2806#
2807# majorVersion: 1,
2808#
2809# minorVersion: 2
2810#
2811# }) {
2812#
2813# id
2814#
2815# }
2816# }
2817# Response:
2818# {
2819#
2820# "data": {
2821#
2822# "createSchema": {
2823#
2824# "id": "230f95e4-95c9-47c4-a845-61ca67ad6ba6",
2825#
2826# }
2827#
2828# }
2829# }
2830createSchema(input: CreateSchema!): Schema
2831
2832# Update a structured data registry schema.
2833# Example:
2834# Request:
2835# mutation {
2836#
2837# upsertSchemaDraft(input: {
2838#
2839# dataRegistryId: "230f95e4-95c9-47c4-a845-61ca67ad6ba6",
2840#
2841# schema: {
2842#
2843# example: "example"
2844#
2845# }}) {
2846#
2847# id
2848#
2849# }
2850# }
2851# Response:
2852# {
2853#
2854# "data": {
2855#
2856# "upsertSchemaDraft": {
2857#
2858# "id": "0bd05e43-ddac-4b1a-9238-f3b177439b91"
2859#
2860# }
2861#
2862# }
2863# }
2864upsertSchemaDraft(input: UpsertSchemaDraft!): Schema
2865
2866# Update the state of a schema
2867# Example:
2868# Request:
2869# mutation {
2870#
2871# updateSchemaState(input: {
2872#
2873# id: "0bd05e43-ddac-4b1a-9238-f3b177439b91",
2874#
2875# status: deleted}) {
2876#
2877# id
2878#
2879# }
2880# }
2881# Response:
2882# {
2883#
2884# "data": {
2885#
2886# "updateSchemaState": {
2887#
2888# "id": "0bd05e43-ddac-4b1a-9238-f3b177439b91"
2889#
2890# }
2891#
2892# }
2893# }
2894updateSchemaState(input: UpdateSchemaState!): Schema
2895
2896# Create (ingest) a structured data object
2897# Example:
2898# Request:
2899# mutation {
2900#
2901# createStructuredData(input: {
2902#
2903# schemaId: "b79b7ff3-0b80-4d7c-ac51-d5f3459d13fa",
2904#
2905# data: {
2906#
2907# example: "example"
2908#
2909# }}) {
2910#
2911# id
2912#
2913# }
2914# }
2915# Response:
2916# {
2917#
2918# "data": {
2919#
2920# "createStructuredData": {
2921#
2922# "id": "e180f94f-866e-4454-92f9-7ee20d6448fa"
2923#
2924# }
2925#
2926# }
2927# }
2928createStructuredData(input: CreateStructuredData!): StructuredData
2929
2930# Update an existing structured data object
2931# Example:
2932# Request:
2933# mutation {
2934#
2935# updateStructuredData(input: {
2936#
2937# id: "e180f94f-866e-4454-92f9-7ee20d6448fa",
2938#
2939# schemaId: "b79b7ff3-0b80-4d7c-ac51-d5f3459d13fa",
2940#
2941# data: {
2942#
2943# name: "Updated Name",
2944#
2945# value: 42
2946#
2947# }
2948#
2949# }) {
2950#
2951# id
2952#
2953# schemaId
2954#
2955# data
2956#
2957# createdDateTime
2958#
2959# modifiedDateTime
2960#
2961# }
2962# }
2963# Response:
2964# {
2965#
2966# "data": {
2967#
2968# "updateStructuredData": {
2969#
2970# "id": "e180f94f-866e-4454-92f9-7ee20d6448fa",
2971#
2972# "schemaId": "b79b7ff3-0b80-4d7c-ac51-d5f3459d13fa",
2973#
2974# "data": {
2975#
2976# "name": "Updated Name",
2977#
2978# "value": 42
2979#
2980# },
2981#
2982# "createdDateTime": "2024-01-15T10:30:00.000Z",
2983#
2984# "modifiedDateTime": "2024-01-15T14:25:00.000Z"
2985#
2986# }
2987#
2988# }
2989# }
2990updateStructuredData(input: UpdateStructuredData!): StructuredData
2991
2992# Delete a structured data object
2993# Example:
2994# Request:
2995# mutation {
2996#
2997# deleteStructuredData(input:{
2998#
2999# id: "e180f94f-866e-4454-92f9-7ee20d6448fa",
3000#
3001# schemaId: "b79b7ff3-0b80-4d7c-ac51-d5f3459d13fa"}) {
3002#
3003# message
3004#
3005# }
3006# }
3007# Response:
3008# {
3009#
3010# "data": {
3011#
3012# "deleteStructuredData": {
3013#
3014# "message": null
3015#
3016# }
3017#
3018# }
3019# }
3020deleteStructuredData(input: DeleteStructuredData!): DeletePayload
3021
3022# Create (ingest) a structured data object
3023# Example:
3024# Request:
3025# mutation {
3026#
3027# createCollection(input: {
3028#
3029# name: "example",
3030#
3031# folderDescription: "example",
3032#
3033# image:"",
3034#
3035# parentFolderId: "d551fbd6-7354-4b0e-abfb-654ab8583be2"}) {
3036#
3037# id
3038#
3039# }
3040# }
3041# Response:
3042# {
3043#
3044# "data": {
3045#
3046# "createCollection": {
3047#
3048# "id": "242361"
3049#
3050# }
3051#
3052# }
3053# }
3054#
3055# Arguments
3056# input: Fields required to create new collection
3057createCollection(input: CreateCollection): Collection
3058
3059# Update a collection
3060# Example:
3061# Request:
3062# mutation {
3063#
3064# updateCollection(input: {
3065#
3066# folderId: "242361"
3067#
3068# name: "new name"
3069#
3070# folderDescription: "new description"}) {
3071#
3072# id
3073#
3074# name
3075#
3076# }
3077# }
3078# Response:
3079# {
3080#
3081# "data": {
3082#
3083# "updateCollection": {
3084#
3085# "id": "242361",
3086#
3087# "name": "new name"
3088#
3089# }
3090#
3091# }
3092# }
3093#
3094# Arguments
3095# input: Fields needed to update a collection
3096updateCollection(input: UpdateCollection): Collection
3097
3098# Delete Collection
3099# Example:
3100# Request:
3101# mutation {
3102#
3103# deleteCollection(
3104#
3105# id: "242361") {
3106#
3107# message
3108#
3109# }
3110# }
3111# Response:
3112# {
3113#
3114# "data": {
3115#
3116# "deleteCollection": {
3117#
3118# "message": "Deleted Successfully"
3119#
3120# }
3121#
3122# }
3123# }
3124#
3125# Arguments
3126# id: Supply the ID of the folder or collection to delete
3127deleteCollection(folderId: ID, id: ID): DeletePayload
3128
3129# Share a collection, allowing other organizations to view the data
3130# it contains.
3131# Example:
3132# Request:
3133# mutation {
3134#
3135# shareCollection(input: {
3136#
3137# folderId: "242599",
3138#
3139# shareMessage: "example",
3140#
3141# recipients: [] }) {
3142#
3143# id
3144#
3145# }
3146# }
3147# Response:
3148# {
3149#
3150# "data": {
3151#
3152# "shareCollection": {
3153#
3154# "id": "FhQrlAwfRMaTy0blR_eHRw"
3155#
3156# }
3157#
3158# }
3159# }
3160#
3161# Arguments
3162# input: Fields needed to share a collection
3163shareCollection(input: ShareCollection): Share
3164
3165# Arguments
3166# shareId: ID of the shared collection to update
3167# mentionIds: List of mentionIds to add or remove
3168# type: Indicates whether or not the mentions are to be added or
3169# deleted
3170updateSharedCollectionMentions(
3171shareId: String!,
3172mentionIds: [ID!],
3173type: SharedCollectionUpdateType!
3174): Share
3175
3176updateSharedCollectionHistory(
3177input: UpdateSharedCollectionHistory
3178): SharedCollectionHistory
3179
3180# Share a mention from a collection
3181#
3182# Arguments
3183# input: Fields needed to share a mention
3184shareMentionFromCollection(
3185input: ShareMentionFromCollection
3186): Share
3187
3188# Share mention
3189shareMention(input: ShareMention): Share
3190
3191# Share mentions in bulk
3192shareMentionInBulk(input: ShareMentionInBulk): [Share]
3193
3194# Add a mention to a collection
3195#
3196# Arguments
3197# input: Fields needed to add a mention to a collection
3198createCollectionMention(input: CollectionMentionInput): CollectionMention
3199
3200# Arguments
3201# input: Fields needed to add mentions to a collection
3202createCollectionMentions(
3203input: CreateCollectionMentions
3204): [CollectionMention!]!
3205
3206# Update a mention in a collection
3207#
3208# Arguments
3209# input: Fields needed to add mentions to a collection
3210updateCollectionMention(
3211input: UpdateCollectionMention!
3212): CollectionMention!
3213
3214# Remove a mention from a collection
3215#
3216# Arguments
3217# input: Fields needed to delete a mention from a collection
3218deleteCollectionMention(input: CollectionMentionInput): CollectionMention
3219
3220# Create a new folder
3221# Example:
3222# Request:
3223# mutation {
3224#
3225# createFolder(input: {
3226#
3227# name: "example",
3228#
3229# description: "example",
3230#
3231# parentId: "2ac28573-917a-4c4b-be91-a0ac64cbc982",
3232#
3233# rootFolderType:watchlist}) {
3234#
3235# id
3236#
3237# name
3238#
3239# }
3240# }
3241# Response:
3242# {
3243#
3244# "data": {
3245#
3246# "createFolder": {
3247#
3248# "id": "d551fbd6-7354-4b0e-abfb-654ab8583be2",
3249#
3250# "name": "example"
3251#
3252# }
3253#
3254# }
3255# }
3256#
3257# Arguments
3258# input: Fields needed to create a new folder.
3259createFolder(input: CreateFolder): Folder
3260
3261# Create a new PlatformVersion
3262# Example:
3263# Request:
3264# mutation {
3265#
3266# addPlatformVersion(input: {
3267#
3268# version: "1.2.0"
3269#
3270# manifestUrl: "https://s3.example.com/aiware/versions/1.2.0/manifest.yaml"
3271#
3272# changeLogUrl: "https://s3.example.com/aiware/versions/1.2.0/changelog.txt"
3273#
3274# highlightsUrl: "https://s3.example.com/aiware/versions/1.2.0/highlights.txt"
3275#
3276# }) {
3277#
3278# id
3279#
3280# version
3281#
3282# manifestUrl
3283#
3284# changeLogUrl
3285#
3286# highlightsUrl
3287#
3288# createdAt,
3289#
3290# createdBy
3291#
3292# }
3293# }
3294# Response:
3295# {
3296#
3297# "data": {
3298#
3299# "addPlatformVersion": {
3300#
3301# "id": "6c6e0f59-5fb5-4179-9f5b-c5f5933d6f9a",
3302#
3303# "manifestUrl": "https://s3.example.com/aiware/versions/1.2.0/manifest.yaml"
3304#
3305# "changeLogUrl": "https://s3.example.com/aiware/versions/1.2.0/changelog.txt"
3306#
3307# "highlightsUrl": "https://s3.example.com/aiware/versions/1.2.0/highlights.txt"
3308#
3309# "createAt": "2023-05-10",
3310#
3311# "createdBy": "1c2e7692-8206-4118-bd38-bb61aa3fb248"
3312#
3313# }
3314#
3315# }
3316# }
3317#
3318# Arguments
3319# input: Fields needed to create a new aiWARE platform version.
3320addPlatformVersion(input: PlatformVersionInput): PlatformVersion
3321
3322# Set the current PlatformVersion
3323# Example:
3324# Request:
3325# mutation {
3326#
3327# setCurrentPlatformVersion(input: {
3328#
3329# version: "1.2.0"
3330#
3331# }) {
3332#
3333# id
3334#
3335# version
3336#
3337# manifestUrl
3338#
3339# changeLogUrl
3340#
3341# highlightsUrl
3342#
3343# createdAt,
3344#
3345# createdBy,
3346#
3347# installedAt,
3348#
3349# installedBy
3350#
3351# }
3352# }
3353# Response:
3354# {
3355#
3356# "data": {
3357#
3358# "setCurrentPlatformVersion": {
3359#
3360# "id": "6c6e0f59-5fb5-4179-9f5b-c5f5933d6f9a",
3361#
3362# "version": "1.2.0",
3363#
3364# "manifestUrl": "https://s3.example.com/aiware/versions/1.2.0/manifest.yaml"
3365#
3366# "changeLogUrl": "https://s3.example.com/aiware/versions/1.2.0/changelog.txt"
3367#
3368# "highlightsUrl": "https://s3.example.com/aiware/versions/1.2.0/highlights.txt"
3369#
3370# "createAt": "2023-05-10",
3371#
3372# "createdBy": "1c2e7692-8206-4118-bd38-bb61aa3fb248",
3373#
3374# "installedAt": "2023-05-15",
3375#
3376# "installedBy": "1c2e7692-8206-4118-bd38-bb61aa3fb248"
3377#
3378# }
3379#
3380# }
3381# }
3382#
3383# Arguments
3384# version: The version field is required to set the current
3385# aiWARE platform version
3386setCurrentPlatformVersion(version: String!): PlatformVersion
3387
3388# Set the platform properties.
3389# Example:
3390# Request:
3391# mutation {
3392#
3393# setPlatformProperties(
3394#
3395# properties: {
3396#
3397# Environment: "US West",
3398#
3399# ClusterSize: "small" }
3400#
3401# )
3402# }
3403# Response:
3404# {
3405#
3406# "data": {
3407#
3408# "setPlatformProperties": {
3409#
3410# "properties": {
3411#
3412# "Environment": "US West",
3413#
3414# "ClusterSize": "small"
3415#
3416# }
3417#
3418# }
3419#
3420# }
3421# }
3422#
3423# Arguments
3424# properties: Properties is JSON object that contains the
3425# properties of the platform that need to be added/ updated.
3426# So all the other properties in the JSON will be kept
3427setPlatformProperties(properties: JSONData!): JSONData
3428
3429# Update an existing folder
3430# Example:
3431# Request:
3432# mutation {
3433#
3434# updateFolder(input: {
3435#
3436# id: "d551fbd6-7354-4b0e-abfb-654ab8583be2",
3437#
3438# name: "new name"}) {
3439#
3440# name
3441#
3442# }
3443# }
3444# Response:
3445# {
3446#
3447# "data": {
3448#
3449# "updateFolder": {
3450#
3451# "name": "new name"
3452#
3453# }
3454#
3455# }
3456# }
3457#
3458# Arguments
3459# input: Fields needed to update a folder.
3460updateFolder(input: UpdateFolder): Folder
3461
3462# Move a folder from one parent folder to another.
3463# Example:
3464# Request:
3465# mutation {
3466#
3467# moveFolder(input: {
3468#
3469# folderId: "68a5833a-f573-41fe-840a-adb5f6888e2d",
3470#
3471# fromFolderId: "3104f61f-4bd1-4175-9fe6-27436d591c54",
3472#
3473# toFolderId: "ad7839a7-d088-4202-9db1-5ed4992f915d"
3474#
3475# }) {
3476#
3477# parentFolderId
3478#
3479# }
3480# }
3481# Response:
3482# {
3483#
3484# "data": {
3485#
3486# "moveFolder": {
3487#
3488# "parentFolderId": "ad7839a7-d088-4202-9db1-5ed4992f915d",
3489#
3490# }
3491#
3492# }
3493# }
3494#
3495# Arguments
3496# input: Fields needed to move a folder
3497moveFolder(input: MoveFolder): Folder
3498
3499# Move bulk folders to another.
3500# Example:
3501# Request:
3502# mutation {
3503#
3504# moveFolders(input: {
3505#
3506# folderIds: ["0c4c2765-1817-40a7-bd6d-bf6362a384ba",
3507# "183f64e7-d519-4948-99d9-977657cce0c8"]
3508#
3509# newParentFolderId: "22d2c53a-d33e-47d8-a77e-f64f5c3db7c8"
3510#
3511# rootFolderType: cms
3512#
3513# }) {
3514#
3515# id
3516#
3517# name
3518#
3519# }
3520# }
3521# Response:
3522# {
3523#
3524# "data": {
3525#
3526# "moveFolders": {
3527#
3528# "organizationId": "7682",
3529#
3530# "newParentFolderId: "22d2c53a-d33e-47d8-a77e-f64f5c3db7c8",
3531#
3532# "validFolderIds": [
3533#
3534# "0c4c2765-1817-40a7-bd6d-bf6362a384ba",
3535#
3536# "183f64e7-d519-4948-99d9-977657cce0c8"
3537#
3538# ]
3539#
3540# "invalidFolderIds": [],
3541#
3542# "message": "Successfully move all input folders to the parent folder."
3543#
3544# }
3545#
3546# }
3547# }
3548#
3549# Arguments
3550# input: Fields needed to move a folder
3551moveFolders(input: MoveFolders): MoveFoldersPayload
3552
3553# Delete a folder
3554# Example:
3555# Request:
3556# mutation {
3557#
3558# deleteFolder(input: {
3559#
3560# id:"d551fbd6-7354-4b0e-abfb-654ab8583be2",
3561#
3562# orderIndex: 1}) {
3563#
3564# message
3565#
3566# }
3567# }
3568# Response:
3569# {
3570#
3571# "data": {
3572#
3573# "deleteFolder": {
3574#
3575# "message": null
3576#
3577# }
3578#
3579# }
3580# }
3581#
3582# Arguments
3583# input: Fields needed to delete a folder
3584deleteFolder(input: DeleteFolder): DeletePayload
3585
3586# Create a mention comment
3587#
3588# Arguments
3589# input: Fields needed to create a mention comment
3590createMentionComment(input: CreateMentionComment): MentionComment
3591
3592# Update a mention comment
3593#
3594# Arguments
3595# input: Fields needed to update a mention comment
3596updateMentionComment(input: UpdateMentionComment): MentionComment
3597
3598# Delete a mention comment
3599#
3600# Arguments
3601# input: Fields needed to delete a mention comment
3602deleteMentionComment(input: DeleteMentionComment): DeletePayload
3603
3604# Create a mention rating
3605#
3606# Arguments
3607# input: Fields needed to create a mention rating
3608createMentionRating(input: CreateMentionRating): MentionRating
3609
3610# Update a mention rating
3611#
3612# Arguments
3613# input: Fields needed to update a mention rating
3614updateMentionRating(input: UpdateMentionRating): MentionRating
3615
3616# Delete a mention rating
3617#
3618# Arguments
3619# input: Fields needed to delete a mention rating.
3620deleteMentionRating(input: DeleteMentionRating): DeletePayload
3621
3622# Login as a user. This mutation does not require an existing authentication
3623# context (via `Authorization` header with bearer token, cookie, etc.).
3624# Instead, the client supplies credentials to this mutation, which then
3625# authenticates the user and sets up the authentication context.
3626# The returned tokens can be used to authenticate future requests.
3627# Example:
3628# Request:
3629# mutation {
3630#
3631# userLogin(input: {
3632#
3633# userName: "example1",
3634#
3635# password: "example1"}) {
3636#
3637# apiToken
3638#
3639# lastLoggedIn
3640#
3641# }
3642# }
3643# Response:
3644# {
3645#
3646# "data": {
3647#
3648# "userLogin": {
3649#
3650# "apiToken": null,
3651#
3652# "lastLoggedIn": "2021-06-15T02:04:52.000Z",
3653#
3654# "token": "a0bbdb23-058c-4b44-901f-aa3efc056a3a"
3655#
3656# }
3657#
3658# }
3659# }
3660#
3661# Arguments
3662# input: Fields needed to log in
3663userLogin(input: UserLogin): LoginInfo
3664
3665# Logout user and invalidate user token
3666# Example:
3667# Request:
3668# mutation {
3669#
3670# userLogout(
3671#
3672# token: "a5610058-260d-46ac-aa3e-ee529c4feaab")
3673# }
3674# Response:
3675# {
3676#
3677# "data": {
3678#
3679# "userLogout": null
3680#
3681# }
3682# }
3683#
3684# Arguments
3685# token: User token that should be invalidated
3686# sessionExpired: Internal system flag
3687userLogout(token: String!, sessionExpired: Boolean): Boolean
3688
3689# Refreshes the session user from database to reflect the latest changes. It does
3690# not extend session timeout.\
3691# Example:
3692# Request:
3693# mutation {
3694#
3695# refreshToken(
3696#
3697# token: "32abe146-4e07-4f5e-8e1e-f7f2e0142cf7") {
3698#
3699# hasPassword
3700#
3701# user{id}
3702#
3703# }
3704# }
3705# Response:
3706# {
3707#
3708# "data": {
3709#
3710# "refreshToken": {
3711#
3712# "hasPassword": true,
3713#
3714# "user": {
3715#
3716# "id": "d8304ba1-0d4c-4268-a82c-8c62fd455066"
3717#
3718# }
3719#
3720# }
3721#
3722# }
3723# }
3724refreshToken(token: String!): LoginInfo
3725
3726# Refresh a user token, returning a fresh token so that the client
3727# can continue to authenticate to the API.\
3728# Example:
3729# Request:
3730# mutation {
3731#
3732# extendToken(
3733#
3734# token: "32abe146-4e07-4f5e-8e1e-f7f2e0142cf7") {
3735#
3736# hasPassword
3737#
3738# user{id}
3739#
3740# }
3741# }
3742# Response:
3743# {
3744#
3745# "data": {
3746#
3747# "extendToken": {
3748#
3749# "hasPassword": true,
3750#
3751# "user": {
3752#
3753# "id": "d8304ba1-0d4c-4268-a82c-8c62fd455066"
3754#
3755# }
3756#
3757# }
3758#
3759# }
3760# }
3761extendToken(token: String!): LoginInfo
3762
3763# Validate a user token. This mutation is used by services to determine
3764# if the token provided by a given client is valid.
3765# Example:
3766# Request:
3767# mutation {
3768#
3769# validateToken(
3770#
3771# token: "32abe146-4e07-4f5e-8e1e-f7f2e0142cf7") {
3772#
3773# hasPassword
3774#
3775# user{id}
3776#
3777# }
3778# }
3779# Response:
3780# {
3781#
3782# "data": {
3783#
3784# "validateToken": {
3785#
3786# "hasPassword": true,
3787#
3788# "user": {
3789#
3790# "id": "d8304ba1-0d4c-4268-a82c-8c62fd455066"
3791#
3792# }
3793#
3794# }
3795#
3796# }
3797# }
3798validateToken(token: String!): LoginInfo
3799
3800# Create a mention object
3801createMention(input: CreateMention!): Mention
3802
3803# Update a mention object
3804updateMention(input: UpdateMention!): Mention
3805
3806# Update a set of mentions
3807updateMentions(input: UpdateMentions!): [Mention]
3808
3809# Create root folder for an organization
3810# Example:
3811# Request:
3812# mutation {
3813#
3814# createRootFolders {
3815#
3816# id
3817#
3818# rootFolderTypeId
3819#
3820# }
3821# }
3822# Response:
3823# {
3824#
3825# "data": {
3826#
3827# "createRootFolders": [
3828#
3829# {
3830#
3831# "id": "2ac28573-917a-4c4b-be91-a0ac64cbc982",
3832#
3833# "rootFolderTypeId": 1
3834#
3835# },
3836#
3837# {
3838#
3839# "id": "d3e27eb3-7d4a-47ab-af64-bf1529390f4e",
3840#
3841# "rootFolderTypeId": 1
3842#
3843# }
3844#
3845# ]
3846#
3847# }
3848# }
3849#
3850# Arguments
3851# rootFolderType: The type of root folder to create
3852createRootFolders(rootFolderType: RootFolderType): [Folder]
3853
3854# Apply bulk updates to watchlists.
3855# This mutation is currently available only to Veritone operations.
3856#
3857# Arguments
3858# filter: A filter indicating which watchlists should be updated.
3859# At least one filter condition must be provided.
3860# Only watchlists for the user's organization will be updated.
3861# input: Fields used to update a watchlist.
3862bulkUpdateWatchlist(
3863filter: BulkUpdateWatchlistFilter!,
3864input: BulkUpdateWatchlist
3865): WatchlistList
3866
3867# File a TemporalDataObject in a folder. A given TemporalDataObject can
3868# be filed in any number of folders, or none. Filing causes the TemporalDataObject
3869# and its assets to be visible within the folder.
3870# Example:
3871# Request:
3872# mutation {
3873#
3874# fileTemporalDataObject(input:{
3875#
3876# tdoId: "1580388995",
3877#
3878# folderId: "9d639f1b-a0d4-47b0-8149-3568f048f320"}) {
3879#
3880# id
3881#
3882# folders{
3883#
3884# id
3885#
3886# }
3887#
3888# }
3889# }
3890# Response:
3891# {
3892#
3893# "data": {
3894#
3895# "fileTemporalDataObject": {
3896#
3897# "id": "1580388995",
3898#
3899# "folders": [
3900#
3901# {
3902#
3903# "id": "9d639f1b-a0d4-47b0-8149-3568f048f320"
3904#
3905# }
3906#
3907# ]
3908#
3909# }
3910#
3911# }
3912# }
3913#
3914# Arguments
3915# input: The fields needed to file a TemporalDataObject in a
3916# folder
3917fileTemporalDataObject(input: FileTemporalDataObject!): TemporalDataObject
3918
3919# Unfile a TemporalDataObject from a folder. This causes the TemporalDataObject
3920# and its assets to disappear from the folder, but does not otherwise affect
3921# either the TDO or the folder and does not change access controls.
3922# Example:
3923# Request:
3924# mutation {
3925#
3926# unfileTemporalDataObject(input: {
3927#
3928# tdoId: "1580388995",
3929#
3930# folderId: "9d639f1b-a0d4-47b0-8149-3568f048f320"}) {
3931#
3932# id
3933#
3934# description
3935#
3936# }
3937# }
3938# Response:
3939# {
3940#
3941# "data": {
3942#
3943# "unfileTemporalDataObject": {
3944#
3945# "id": "1580388995",
3946#
3947# "description": null
3948#
3949# }
3950#
3951# }
3952# }
3953#
3954# Arguments
3955# input: The fields needed to file a TemporalDataObject in a
3956# folder
3957unfileTemporalDataObject(
3958input: UnfileTemporalDataObject!
3959): TemporalDataObject
3960
3961# Moves a TemporalDataObject from one parent folder to another.
3962# Any other folders the TemporalDataObject is filed in are unaffected.
3963# Example:
3964# Request:
3965# mutation {
3966#
3967# moveTemporalDataObject(input: {
3968#
3969# tdoId: "1580388995",
3970#
3971# oldFolderId: "9d639f1b-a0d4-47b0-8149-3568f048f320",
3972#
3973# newFolderId: "2ac28573-917a-4c4b-be91-a0ac64cbc982"}) {
3974#
3975# id
3976#
3977# folders{
3978#
3979# folderPath{id}
3980#
3981# }
3982#
3983# }
3984# }
3985# Response:
3986# {
3987#
3988# "data": {
3989#
3990# "moveTemporalDataObject": {
3991#
3992# "id": "1580388995",
3993#
3994# "folders": [
3995#
3996# {
3997#
3998# "folderPath": [
3999#
4000# {
4001#
4002# "id": "2ac28573-917a-4c4b-be91-a0ac64cbc982"
4003#
4004# }
4005#
4006# ]
4007#
4008# }
4009#
4010# ]
4011#
4012# }
4013#
4014# }
4015# }
4016#
4017# Arguments
4018# input: Fields need to move a TemporalDataObject
4019moveTemporalDataObject(input: MoveTemporalDataObject!): TemporalDataObject
4020
4021# Upload and store an engine result. The result will be stored as an
4022# asset associated with the target TemporalDataObject and the
4023# task will be updated accordingly.
4024# Use a multipart form POST to all this mutation.
4025#
4026# Arguments
4027# input: Fields needed to upload and store an engine result
4028uploadEngineResult(input: UploadEngineResult!): Asset
4029
4030# Create a watchlist
4031# Example:
4032# Request:
4033# mutation {
4034#
4035# createWatchlist(input: {
4036#
4037# stopDateTime: 1623851655,
4038#
4039# name: "example",
4040#
4041# searchIndex: mine,
4042#
4043# parentFolderId: "9d639f1b-a0d4-47b0-8149-3568f048f320",
4044#
4045# cognitiveSearches: [],
4046#
4047# subscriptions: [],
4048#
4049# details: {
4050#
4051# example: "example"}}) {
4052#
4053# id
4054#
4055# }
4056# }
4057# Response:
4058# {
4059#
4060# "data": {
4061#
4062# "createWatchlist": {
4063#
4064# "id": "325783"
4065#
4066# }
4067#
4068# }
4069# }
4070createWatchlist(input: CreateWatchlist!): Watchlist
4071
4072bulkCreateWatchlist(input: BulkCreateWatchlist!): WatchlistList
4073
4074# Update a watchlist
4075# Example:
4076# Request:
4077# mutation {
4078#
4079# updateWatchlist(input: {
4080#
4081# id: "325783"
4082#
4083# name: "new name"
4084#
4085# details: {
4086#
4087# example: "new details"}}) {
4088#
4089# id
4090#
4091# name
4092#
4093# }
4094# }
4095# Response:
4096#
4097# {
4098#
4099# "data": {
4100#
4101# "updateWatchlist": {
4102#
4103# "id": "325783",
4104#
4105# "name": "new name"
4106#
4107# }
4108#
4109# }
4110# }
4111updateWatchlist(input: UpdateWatchlist!): Watchlist
4112
4113# Delete a watchlist
4114# Example:
4115# Request:
4116# mutation {
4117#
4118# deleteWatchlist(
4119#
4120# id:"325783") {
4121#
4122# message
4123#
4124# }
4125# }
4126# Response:
4127# {
4128#
4129# "data": {
4130#
4131# "deleteWatchlist": {
4132#
4133# "message": "Watchlist deleted along with 0 subscriptions, 0 cognitive search
4134# profiles, 0 mention comments, and 0 mention ratings."
4135#
4136# }
4137#
4138# }
4139# }
4140deleteWatchlist(id: ID!): DeletePayload
4141
4142updateCognitiveSearch(input: UpdateCognitiveSearch): CognitiveSearch
4143
4144createCognitiveSearch(input: CreateCognitiveSearch): CognitiveSearch
4145
4146deleteCognitiveSearch(id: ID!): DeletePayload
4147
4148fileWatchlist(input: FileWatchlist!): Watchlist
4149
4150# Unfile a watchlist from a folder
4151# Example:
4152# Request:
4153# mutation {
4154#
4155# unfileWatchlist(input: {
4156#
4157# watchlistId:"325786",
4158#
4159# folderId: "9d639f1b-a0d4-47b0-8149-3568f048f320"}) {
4160#
4161# id
4162#
4163# folders{
4164#
4165# folderPath{
4166#
4167# id
4168#
4169# }
4170#
4171# }
4172#
4173# }
4174# }
4175# Response:
4176# {
4177#
4178# "data": {
4179#
4180# "unfileWatchlist": {
4181#
4182# "id": "325786",
4183#
4184# "folders": []
4185#
4186# }
4187#
4188# }
4189# }
4190unfileWatchlist(input: UnfileWatchlist!): Watchlist
4191
4192# Share a folder with other organizations
4193# Requires superadmin
4194shareFolder(input: ShareFolderInput): Folder
4195
4196# Create a TDO and an asset with a single call
4197# Example:
4198# Request:
4199# mutation {
4200#
4201# createTDOWithAsset(input: {
4202#
4203# startDateTime: 1623841655,
4204#
4205# stopDateTime: 1623851655,
4206#
4207# contentType: "video/mp4",
4208#
4209# assetType: "media",
4210#
4211# addToIndex: false,
4212#
4213# uri: "https://s3.amazonaws.com/hold4fisher/s3Test.mp4"}) {
4214#
4215# id
4216#
4217# status
4218#
4219# assets {
4220#
4221# records {
4222#
4223# id
4224#
4225# assetType
4226#
4227# contentType
4228#
4229# signedUri
4230#
4231# }
4232#
4233# }
4234#
4235# }
4236# }
4237# Response:
4238# {
4239#
4240# "data": {
4241#
4242# "createTDOWithAsset": {
4243#
4244# "id": "1580507556",
4245#
4246# "status": "recorded",
4247#
4248# "assets": {
4249#
4250# "records": [
4251#
4252# {
4253#
4254# "id": "1580507556_DQ2nU8cTDh",
4255#
4256# "assetType": "media",
4257#
4258# "contentType": "video/mp4",
4259#
4260# "signedUri": "https://s3.amazonaws.com/hold4fisher/s3Test.mp4"
4261#
4262# }
4263#
4264# ]
4265#
4266# }
4267#
4268# }
4269#
4270# }
4271# }
4272#
4273# Arguments
4274# input: Input fields necessary to create the TDO and asset
4275createTDOWithAsset(input: CreateTDOWithAsset): TemporalDataObject
4276
4277# Create a subscription
4278# Example:
4279# Request:
4280# mutation {
4281#
4282# createSubscription(input: {
4283#
4284# targetId: "325791",
4285#
4286# contact: {
4287#
4288# emailAddress: "example email"},
4289#
4290# scheduledDay: Friday}) {
4291#
4292# id
4293#
4294# }
4295# }
4296# Response:
4297# {
4298#
4299# "data": {
4300#
4301# "createSubscription": {
4302#
4303# "id": "274939"
4304#
4305# }
4306#
4307# }
4308# }
4309createSubscription(input: CreateSubscription!): Subscription
4310
4311# Update a subscription
4312# Example:
4313# Request:
4314# mutation {
4315#
4316# updateSubscription(input: {
4317#
4318# id: "274939"}) {
4319#
4320# id
4321#
4322# }
4323# }
4324# Response:
4325# mutation {
4326#
4327# updateSubscription(input: {
4328#
4329# id: "274939"}) {
4330#
4331# id
4332#
4333# }
4334# }
4335updateSubscription(input: UpdateSubscription!): Subscription
4336
4337# Delete a subscription
4338# Example:
4339# Request:
4340# mutation {
4341#
4342# deleteSubscription(
4343#
4344# id: "274939") {
4345#
4346# message
4347#
4348# }
4349# }
4350# Response:
4351# mutation {
4352#
4353# deleteSubscription(
4354#
4355# id: "274939") {
4356#
4357# message
4358#
4359# }
4360# }
4361deleteSubscription(id: ID!): DeletePayload
4362
4363# Create trigger for events or types.
4364# Example:
4365# Request:
4366# mutation {
4367#
4368# createTriggers(input: {
4369#
4370# events: "*",
4371#
4372# targets: {
4373#
4374# name: Email,
4375#
4376# params: {
4377#
4378# address: "example@veritone.com"}}}) {
4379#
4380# id
4381#
4382# }
4383# }
4384# Response:
4385# {
4386#
4387# "data": {
4388#
4389# "createTriggers": [
4390#
4391# {
4392#
4393# "id": "2936"
4394#
4395# }
4396#
4397# ]
4398#
4399# }
4400# }
4401createTriggers(input: CreateTriggers!): [Trigger]
4402
4403# Delete a registed trigger by ID.
4404# Example:
4405# Request:
4406# mutation {
4407#
4408# deleteTrigger(
4409#
4410# id: "2936") {
4411#
4412# message
4413#
4414# }
4415# }
4416# Response:
4417# {
4418#
4419# "data": {
4420#
4421# "deleteTrigger": {
4422#
4423# "message": "Trigger 2936 has been removed from organization 35521"
4424#
4425# }
4426#
4427# }
4428# }
4429deleteTrigger(id: ID!): DeletePayload
4430
4431# Validates if an engine output conforms to the engine output guidelines
4432# Example:
4433# Request:
4434# mutation {
4435#
4436# validateEngineOutput(input:
4437#
4438# {
4439#
4440# schemaId: "https://docs.veritone.com/schemas/vtn-standard/master.json",
4441#
4442# validationContracts: [
4443#
4444# "structured-data"
4445#
4446# ],
4447#
4448# series: [
4449#
4450# {
4451#
4452# startTimeMs: 0,
4453#
4454# stopTimeMs: 10000,
4455#
4456# structuredData: {
4457#
4458# exampleschemaid: {
4459#
4460# key: "value",
4461#
4462# any: "data you'd like",
4463#
4464# as_long: "as it conforms to the schema"
4465#
4466# }
4467#
4468# }
4469#
4470# }
4471#
4472# ]
4473#
4474# }
4475#
4476# )
4477# }
4478# Response:
4479# {
4480#
4481# "data": {
4482#
4483# "validateEngineOutput": true
4484#
4485# }
4486# }
4487validateEngineOutput(input: JSONData!): Boolean!
4488
4489# JWT tokens with a more limited scoped token to specific
4490# resources to the recording, task, and job
4491# and also has no organization association.
4492# Example:
4493# Request:
4494# mutation {
4495#
4496# getEngineJWT(input: {
4497#
4498# engineId: "1",
4499#
4500# resource:{
4501#
4502# tdoId: "1580701928"
4503#
4504# }}) {
4505#
4506# token
4507#
4508# }
4509# }
4510#
4511# Response:
4512# {
4513#
4514# "data": {
4515#
4516# "getEngineJWT": {
4517#
4518# "token": "eyJh...Tw_z3BKRA"
4519#
4520# }
4521#
4522# }
4523# }
4524getEngineJWT(input: getEngineJWT!): JWTTokenInfo!
4525
4526# Retrieve a JWT token scoped to a source. This token
4527# will provide enough rights to read/write ingest slugs
4528# that are owned by the source.
4529# Example:
4530# Request:
4531# mutation {
4532#
4533# getSourceJWT(sourceId: "123") {
4534#
4535# token
4536#
4537# }
4538# }
4539#
4540# Response:
4541# {
4542#
4543# "data": {
4544#
4545# "getSourceJWT": {
4546#
4547# "token": "eyJh...Tw_z3BKRA"
4548#
4549# }
4550#
4551# }
4552# }
4553getSourceJWT(sourceId: ID!, access: JWTAccess): SourceJWTTokenInfo!
4554
4555# Verify JWT token
4556# Example:
4557# Request:
4558# mutation {
4559#
4560# verifyJWT(jwtToken:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjb250ZW
4561#
4562# 50QXBwbGljYXRpb25JZCI6IjQ5YTRjYmJjLTVlODMtNGM0Mi1iOWEzLWJlNmVjMDczMmY
4563#
4564# wOSIsImNvbnRlbnRPcmdhbml6YXRpb25JZCI6MzU1MjEsImVuZ2luZUlkIjoiMSIsInVzZ
4565#
4566# XJJZCI6IjU5Y2I0ZTc0LTdjMzEtNDI2Ny1iOTFlLWQ0NjAwYmMwODAwOCIsInNjb3BlIjpb
4567#
4568# eyJhY3Rpb25zIjpbImFzc2V0OnVyaSIsImFzc2V0OmFsbCIsInJlY29yZGluZzpyZWFkIiw
4569#
4570# icmVjb3JkaW5nOnVwZGF0ZSJdLCJyZXNvdXJjZXMiOnsicmVjb3JkaW5nSWRzIjpbIjE1OD
4571#
4572# A3MDE5MjgiXX19LHsiYWN0aW9ucyI6WyJ0YXNrOnVwZGF0ZSJdLCJyZXNvdXJjZXMiOnsia
4573#
4574# m9iSWRzIjpbXSwidGFza0lkcyI6W10sInNvdXJjZUlkcyI6W119fV0sImlhdCI6MTYyNDAz
4575#
4576# NjEyMiwiZXhwIjoxNjI0NjQwOTIyLCJzdWIiOiJlbmdpbmUtcnVuIiwianRpIjoiMTViYjI
4577#
4578# 3YzAtNGI1Yy00NjNhLWFkMTgtOWFkNDI0ODFiMTMzIn0.R7qYdPkA1wjJUiTdb1ryvTnZASPN9FEuGATw_z3BKRA")
4579# {
4580#
4581# payload
4582#
4583# }
4584# }
4585# Response:
4586# {
4587#
4588# "data": {
4589#
4590# "verifyJWT": {
4591#
4592# "payload": {
4593#
4594# "contentApplicationId": "49a4cbbc-5e83-4c42-b9a3-be6ec0732f09",
4595#
4596# "contentOrganizationId": 35521,
4597#
4598# "engineId": "1",
4599#
4600# "userId": "59cb4e74-7c31-4267-b91e-d4600bc08008",
4601#
4602# "scope": [
4603#
4604# {
4605#
4606# "actions": [
4607#
4608# "asset:uri",
4609#
4610# "asset:all",
4611#
4612# "recording:read",
4613#
4614# "recording:update"
4615#
4616# ],
4617#
4618# "resources": {
4619#
4620# "recordingIds": [
4621#
4622# "1580701928"
4623#
4624# ]
4625#
4626# }
4627#
4628# },
4629#
4630# {
4631#
4632# "actions": [
4633#
4634# "task:update"
4635#
4636# ],
4637#
4638# "resources": {
4639#
4640# "jobIds": [],
4641#
4642# "taskIds": [],
4643#
4644# "sourceIds": []
4645#
4646# }
4647#
4648# }
4649#
4650# ],
4651#
4652# "iat": 1624036122,
4653#
4654# "exp": 1624640922,
4655#
4656# "sub": "engine-run",
4657#
4658# "jti": "15bb27c0-4b5c-463a-ad18-9ad42481b133"
4659#
4660# }
4661#
4662# }
4663#
4664# }
4665# }
4666verifyJWT(jwtToken: String!): VerifyJWTPayload
4667
4668# Create a new Saved Search
4669# Example:
4670# Request:
4671# mutation {
4672#
4673# createSavedSearch(input: {
4674#
4675# name: "example",
4676#
4677# csp: {
4678#
4679# example: "example"}}) {
4680#
4681# id
4682#
4683# }
4684# }
4685# Response:
4686# {
4687#
4688# "data": {
4689#
4690# "createSavedSearch": {
4691#
4692# "id": "a29f2255-e509-4454-89ec-e425390ca4ca"
4693#
4694# }
4695#
4696# }
4697# }
4698createSavedSearch(input: CreateSavedSearch!): SavedSearch!
4699
4700# Delete a saved search
4701# Example:
4702# Request:
4703# mutation {
4704#
4705# deleteSavedSearch(
4706#
4707# id:"a29f2255-e509-4454-89ec-e425390ca4ca") {
4708#
4709# message
4710#
4711# }
4712# }
4713# Response:
4714# {
4715#
4716# "data": {
4717#
4718# "deleteSavedSearch": {
4719#
4720# "message": null
4721#
4722# }
4723#
4724# }
4725# }
4726deleteSavedSearch(id: ID!): DeletePayload!
4727
4728# Mark existing saved search profile as deleted
4729# Create new saved search profile
4730# Example:
4731# Request:
4732# mutation {
4733#
4734# replaceSavedSearch(input: {
4735#
4736# id: "3d4f04c5-7855-4b9c-ba65-9bd6c2932a7e",
4737#
4738# name: "example",
4739#
4740# csp: {
4741#
4742# example: "new csp"}}) {
4743#
4744# id
4745#
4746# }
4747# }
4748# Response:
4749# mutation {
4750#
4751# replaceSavedSearch(input: {
4752#
4753# id: "3d4f04c5-7855-4b9c-ba65-9bd6c2932a7e",
4754#
4755# name: "example",
4756#
4757# csp: {
4758#
4759# example: "new csp"}}) {
4760#
4761# id
4762#
4763# }
4764# }
4765replaceSavedSearch(input: ReplaceSavedSearch!): SavedSearch!
4766
4767# Send a basic email. Mutation returns true for a success message.
4768# The email from field will be automatically set the default platform email
4769# address
4770# Example:
4771# Request:
4772# mutation {
4773#
4774# sendEmail(input: {
4775#
4776# to: "example@veritone.com"
4777#
4778# subject: "example"
4779#
4780# message: "email body"
4781#
4782# replyTo: "example@veritone.com"
4783#
4784# })
4785# }
4786# Response:
4787# {
4788#
4789# "data": {
4790#
4791# "sendEmail": true
4792#
4793# }
4794# }
4795sendEmail(input: SendEmail!): Boolean!
4796
4797# Create new content template into a folder
4798createFolderContentTemplate(
4799input: CreateFolderContentTemplate!
4800): FolderContentTemplate!
4801
4802# Update existing content template by folderContentTemplateId
4803updateFolderContentTemplate(
4804input: UpdateFolderContentTemplate!
4805): FolderContentTemplate!
4806
4807# Delete existing folder content template by folderContentTemplateId
4808#
4809# Arguments
4810# id: Folder Content Template Id
4811deleteFolderContentTemplate(id: ID!): DeletePayload!
4812
4813createFolderContentTempate(
4814input: CreateFolderContentTempate!
4815): FolderContentTemplate! @deprecated( reason: "Misspelling" )
4816
4817updateFolderContentTempate(
4818input: UpdateFolderContentTempate!
4819): FolderContentTemplate! @deprecated( reason: "Misspelling" )
4820
4821# Arguments
4822# id: Folder Content Template Id
4823deleteFolderContentTempate(
4824id: ID!
4825): DeletePayload! @deprecated( reason: "Misspelling" )
4826
4827# Create an export request. The requested TDO data, possibly including
4828# TDO media and engine results, will be exported offline.
4829# Example:
4830# Request:
4831# mutation {
4832#
4833# createExportRequest(input: {
4834#
4835# tdoData: {
4836#
4837# tdoId: "1580388995",
4838#
4839# }}) {
4840#
4841# id
4842#
4843# }
4844# }
4845# Response:
4846# {
4847#
4848# "data": {
4849#
4850# "createExportRequest": {
4851#
4852# "id": "938b2d64-6df1-486b-b6ea-29d33dee49ad"
4853#
4854# }
4855#
4856# }
4857# }
4858#
4859# Arguments
4860# input: Input data required to create the export request
4861createExportRequest(input: CreateExportRequest!): ExportRequest!
4862
4863# Update an export request
4864# Example:
4865# Request:
4866# mutation {
4867#
4868# updateExportRequest(input: {
4869#
4870# id: "938b2d64-6df1-486b-b6ea-29d33dee49ad",
4871#
4872# status: complete}) {
4873#
4874# id
4875#
4876# status
4877#
4878# }
4879# }
4880# Response:
4881# {
4882#
4883# "data": {
4884#
4885# "updateExportRequest": {
4886#
4887# "id": "938b2d64-6df1-486b-b6ea-29d33dee49ad",
4888#
4889# "status": "complete"
4890#
4891# }
4892#
4893# }
4894# }
4895#
4896# Arguments
4897# input: Input data required to update an export request
4898updateExportRequest(input: UpdateExportRequest!): ExportRequest!
4899
4900# Create Mention in bulk. The input should be an array of createMentions
4901createMentions(input: CreateMentions!): MentionList
4902
4903# Create Media Share. Returning the url of the share
4904createMediaShare(input: CreateMediaShare!): CreatedMediaShare!
4905
4906# Create a new event
4907#
4908# Example:
4909#
4910# Request:
4911#
4912# mutation {
4913#
4914# createEvent(input: {
4915#
4916# eventName: "example",
4917#
4918# eventType: "example",
4919#
4920# application: ""
4921#
4922# description: "example"}) {
4923#
4924# id
4925#
4926# }
4927# }
4928# Response:
4929# {
4930#
4931# "data": {
4932#
4933# "createEvent": {
4934#
4935# "id": "55fc7c51-1521-4043-902f-f0f3a357da6d"
4936#
4937# }
4938#
4939# }
4940# }
4941createEvent(input: CreateEvent!): Event!
4942
4943# Update an event
4944# Example:
4945# Request:
4946# mutation {
4947#
4948# updateEvent(input: {
4949#
4950# id: "55fc7c51-1521-4043-902f-f0f3a357da6d",
4951#
4952# description: "new example description"}) {
4953#
4954# id
4955#
4956# description
4957#
4958# }
4959# }
4960# Response:
4961# {
4962#
4963# "data": {
4964#
4965# "updateEvent": {
4966#
4967# "id": "55fc7c51-1521-4043-902f-f0f3a357da6d",
4968#
4969# "description": "new example description"
4970#
4971# }
4972#
4973# }
4974# }
4975updateEvent(input: UpdateEvent!): Event!
4976
4977# Subscribe to an event
4978# Example:
4979# Request:
4980# mutation {
4981#
4982# subscribeEvent(input: {
4983#
4984# eventName: "example",
4985#
4986# eventType: "example",
4987#
4988# application: "",
4989#
4990# delivery: {
4991#
4992# name: CreateJob,
4993#
4994# params: {
4995#
4996# targetId: "1580701928"
4997#
4998# engineId: "1"
4999#
5000# }
5001#
5002# }
5003#
5004# })
5005# }
5006# Response:
5007# {
5008#
5009# "data": {
5010#
5011# "subscribeEvent": "a0d04eeb-c32d-4852-9273-bb0acda970b9"
5012#
5013# }
5014# }
5015subscribeEvent(input: SubscribeEvent!): ID!
5016
5017# Unsubscribe to an event
5018# Example:
5019# Request:
5020# mutation {
5021#
5022# unsubscribeEvent(
5023#
5024# id: "a0d04eeb-c32d-4852-9273-bb0acda970b9") {
5025#
5026# id
5027#
5028# message
5029#
5030# }
5031# }
5032# Response:
5033# {
5034#
5035# "data": {
5036#
5037# "unsubscribeEvent": {
5038#
5039# "id": "a0d04eeb-c32d-4852-9273-bb0acda970b9",
5040#
5041# "message": "Unsubscribed from event"
5042#
5043# }
5044#
5045# }
5046# }
5047unsubscribeEvent(id: ID!): UnsubscribeEvent!
5048
5049# Emit an event
5050# Example:
5051# Request:
5052# mutation {
5053#
5054# emitEvent(input: {
5055#
5056# eventName: "example",
5057#
5058# eventType: "example",
5059#
5060# application: "",
5061#
5062# payload: ""}) {
5063#
5064# id
5065#
5066# }
5067# }
5068# Response:
5069# {
5070#
5071# "data": {
5072#
5073# "emitEvent": {
5074#
5075# "id": "0952fe68-5652-4804-857d-26e21ef3d7e8"
5076#
5077# }
5078#
5079# }
5080# }
5081emitEvent(input: EmitEvent!): EmitEventResponse!
5082
5083# Create a new event trigger template
5084# Example:
5085# Request:
5086# mutation {
5087#
5088# createEventActionTemplate(input: {
5089#
5090# name: "example"
5091#
5092# inputType: event
5093#
5094# inputValidation: {
5095#
5096# example: "example"
5097#
5098# }
5099#
5100# inputAttributes: {
5101#
5102# example: "example"
5103#
5104# }
5105#
5106# actionType: job
5107#
5108# actionValidation: {
5109#
5110# example: "example"
5111#
5112# }
5113#
5114# actionDestination: "1"
5115#
5116# actionAttributes: {
5117#
5118# example: "example"
5119#
5120# }}) {
5121#
5122# id
5123#
5124# }
5125# }
5126# Response:
5127# {
5128#
5129# "data": {
5130#
5131# "createEventActionTemplate": {
5132#
5133# "id": "d02522d7-ef5f-448f-981a-d2cfc7603d92"
5134#
5135# }
5136#
5137# }
5138# }
5139createEventActionTemplate(
5140input: CreateEventActionTemplate!
5141): EventActionTemplate!
5142
5143# Update an event trigger template
5144# Example:
5145# Request:
5146# mutation {
5147#
5148# updateEventActionTemplate(input: {
5149#
5150# id: "d02522d7-ef5f-448f-981a-d2cfc7603d92",
5151#
5152# name: "example",
5153#
5154# actionValidation: {
5155#
5156# example: "new validation"}}) {
5157#
5158# id
5159#
5160# actionValidation
5161#
5162# }
5163# }
5164# Response:
5165# {
5166#
5167# "data": {
5168#
5169# "updateEventActionTemplate": {
5170#
5171# "id": "d02522d7-ef5f-448f-981a-d2cfc7603d92",
5172#
5173# "actionValidation": {
5174#
5175# "example": "new validation"
5176#
5177# }
5178#
5179# }
5180#
5181# }
5182# }
5183updateEventActionTemplate(
5184input: UpdateEventActionTemplate!
5185): EventActionTemplate!
5186
5187# Create a new event custom rule
5188# Example:
5189# Request:
5190# mutation {
5191#
5192# createEventCustomRule(input: {
5193#
5194# name: "example"
5195#
5196# eventType: "example"
5197#
5198# eventName: "example"
5199#
5200# description: "example description"
5201#
5202# actions:[]
5203#
5204# params: {
5205#
5206# example: "example"
5207#
5208# }}) {
5209#
5210# id
5211#
5212# }
5213# }
5214# Response:
5215# {
5216#
5217# "data": {
5218#
5219# "createEventCustomRule": {
5220#
5221# "id": "0a0d3ec8-b4fb-48fc-bd39-c47a22b2173b"
5222#
5223# }
5224#
5225# }
5226# }
5227createEventCustomRule(input: CreateEventCustomRule!): EventCustomRule!
5228
5229# Update an event custom rule
5230# Example:
5231# Request:
5232#
5233# mutation {
5234#
5235# updateEventCustomRule(input: {
5236#
5237# id: "0a0d3ec8-b4fb-48fc-bd39-c47a22b2173b",
5238#
5239# name: "example",
5240#
5241# status: inactive,
5242#
5243# description: "new description"}) {
5244#
5245# id
5246#
5247# description
5248#
5249# }
5250# }
5251# Response:
5252# {
5253#
5254# "data": {
5255#
5256# "updateEventCustomRule": {
5257#
5258# "id": "0a0d3ec8-b4fb-48fc-bd39-c47a22b2173b",
5259#
5260# "description": "new description"
5261#
5262# }
5263#
5264# }
5265# }
5266updateEventCustomRule(input: UpdateEventCustomRule!): EventCustomRule!
5267
5268# Delete an event custom rule
5269# Example:
5270# Request:
5271# mutation {
5272#
5273# deleteEventCustomRule(
5274#
5275# id: "0a0d3ec8-b4fb-48fc-bd39-c47a22b2173b") {
5276#
5277# message
5278#
5279# }
5280# }
5281# Response:
5282# {
5283#
5284# "data": {
5285#
5286# "deleteEventCustomRule": {
5287#
5288# "message": "Deleted event custom rule"
5289#
5290# }
5291#
5292# }
5293# }
5294deleteEventCustomRule(id: ID!): DeletePayload!
5295
5296# Create a processTemplate in CMS
5297# Example:
5298# Request:
5299# mutation {
5300#
5301# createProcessTemplate(input: {
5302#
5303# name: "example",
5304#
5305# taskList: {
5306#
5307# example: "task"
5308#
5309# }}) {
5310#
5311# id
5312#
5313# }
5314# }
5315# Response:
5316# {
5317#
5318# "data": {
5319#
5320# "createProcessTemplate": {
5321#
5322# "id": "746"
5323#
5324# }
5325#
5326# }
5327# }
5328createProcessTemplate(input: CreateProcessTemplate!): ProcessTemplate!
5329
5330# Update a processTemplate by ID in CMS
5331# Example:
5332# Request:
5333# mutation {
5334#
5335# updateProcessTemplate(input: {
5336#
5337# id: "746",
5338#
5339# taskList: {
5340#
5341# example: "task",
5342#
5343# new: "new task"
5344#
5345# }}) {
5346#
5347# id
5348#
5349# }
5350# }
5351# Response:
5352# {
5353#
5354# "data": {
5355#
5356# "updateProcessTemplate": {
5357#
5358# "id": "746"
5359#
5360# }
5361#
5362# }
5363# }
5364updateProcessTemplate(input: UpdateProcessTemplate!): ProcessTemplate!
5365
5366# Delete a processTemplate by ID in CMS
5367# Example:
5368# Request:
5369# mutation {
5370#
5371# deleteProcessTemplate(
5372#
5373# id: "746") {
5374#
5375# message
5376#
5377# }
5378# }
5379# Response:
5380# {
5381#
5382# "data": {
5383#
5384# "deleteProcessTemplate": {
5385#
5386# "message": null
5387#
5388# }
5389#
5390# }
5391# }
5392deleteProcessTemplate(id: ID!): DeletePayload!
5393
5394# Create a mention export request. The requested mentionFilters including
5395# The mention export file csv will be exported offline.
5396# Example:
5397# Request:
5398# mutation {
5399#
5400# createMentionExportRequest(input: {
5401#
5402# mentionFilters: {
5403#
5404# watchlistIds: ["123"]}}) {
5405#
5406# id
5407#
5408# }
5409# }
5410# Response:
5411# {
5412#
5413# "data": {
5414#
5415# "createMentionExportRequest": {
5416#
5417# "id": "400c98c2-faa8-44e4-b5d8-daf2fb43445e"
5418#
5419# }
5420#
5421# }
5422# }
5423#
5424# Arguments
5425# input: Input data required to create the export request
5426createMentionExportRequest(
5427input: CreateMentionExportRequest!
5428): ExportRequest!
5429
5430# Update status or assetURI of a mentionExportRequest
5431# Often use when the file export was completed or downloaded
5432# Example:
5433# Request:
5434# mutation {
5435#
5436# updateMentionExportRequest(input: {
5437#
5438# id: "400c98c2-faa8-44e4-b5d8-daf2fb43445e"
5439#
5440# status: incomplete,
5441#
5442# assetUri: "www.veritone.com",
5443#
5444# sqlQueries:""}) {
5445#
5446# id
5447#
5448# }
5449# }
5450# Response:
5451# {
5452#
5453# "data": {
5454#
5455# "updateMentionExportRequest": {
5456#
5457# "id": "400c98c2-faa8-44e4-b5d8-daf2fb43445e"
5458#
5459# }
5460#
5461# }
5462# }
5463updateMentionExportRequest(
5464input: UpdateMentionExportRequest!
5465): ExportRequest!
5466
5467# Create a creative
5468# Example:
5469# Request:
5470# mutation {
5471#
5472# createCreative(input: {
5473#
5474# name: "example"
5475#
5476# keywords: "example keywords"
5477#
5478# brandId: null
5479#
5480# advertiserId: null}) {
5481#
5482# id
5483#
5484# }
5485# }
5486# Response:
5487# {
5488#
5489# "data": {
5490#
5491# "createCreative": {
5492#
5493# "id": "25208"
5494#
5495# }
5496#
5497# }
5498# }
5499createCreative(input: CreateCreative!): Creative!
5500
5501# Update a creative
5502# Example:
5503# Request:
5504# mutation {
5505#
5506# updateCreative(input: {
5507#
5508# id: "25208",
5509#
5510# name: "example",
5511#
5512# keywords: "new keywords",
5513#
5514# brandId: null,
5515#
5516# advertiserId: null}) {
5517#
5518# id
5519#
5520# }
5521# }
5522# Response:
5523# {
5524#
5525# "data": {
5526#
5527# "updateCreative": {
5528#
5529# "id": "25208"
5530#
5531# }
5532#
5533# }
5534# }
5535updateCreative(input: UpdateCreative!): Creative!
5536
5537# Delete a creative
5538# Example:
5539# Request:
5540# mutation {
5541#
5542# deleteCreative(
5543#
5544# id: "25208") {
5545#
5546# message
5547#
5548# }
5549# }
5550# Response:
5551# {
5552#
5553# "data": {
5554#
5555# "deleteCreative": {
5556#
5557# "message": null
5558#
5559# }
5560#
5561# }
5562# }
5563deleteCreative(id: ID!): DeletePayload!
5564
5565# Emit a system-level emit. This mutation is used only by
5566# Veritone platform components.
5567#
5568# Arguments
5569# input: Data required to create the event
5570emitSystemEvent(input: EmitSystemEvent!): SystemEventInfo!
5571
5572# Creates an immutable audit log event with the given payload
5573# Example:
5574# Request:
5575# mutation {
5576#
5577# emitAuditEvent(input: {
5578#
5579# application: ""
5580#
5581# payload: {
5582#
5583# example: "example"
5584#
5585# }}) {
5586#
5587# id
5588#
5589# }
5590# }
5591# Response:
5592# {
5593#
5594# "data": {
5595#
5596# "emitAuditEvent": {
5597#
5598# "id": "fdc7b3a3-ab23-4866-a330-c0ad910cd64f"
5599#
5600# }
5601#
5602# }
5603# }
5604emitAuditEvent(input: EmitAuditEvent!): AuditEvent!
5605
5606# Create a context menu extension
5607# Example:
5608# Request:
5609#
5610# mutation {
5611#
5612# createContextMenuExtension(input: {
5613#
5614# id: "80354999-d633-4595-9578-d82f59a5134f"
5615#
5616# label: "example"
5617#
5618# url: "www.veritone.com"
5619#
5620# type: tdo}) {
5621#
5622# id
5623#
5624# }
5625# }
5626# Response:
5627# {
5628#
5629# "data": {
5630#
5631# "createContextMenuExtension": {
5632#
5633# "id": "cdf19d46-4d89-4b5b-a6bf-ae12c17f2746"
5634#
5635# }
5636#
5637# }
5638# }
5639createContextMenuExtension(
5640input: CreateContextMenuExtension!
5641): ContextMenuExtension!
5642
5643# Update a context menu extension
5644# Example:
5645# Request:
5646#
5647# mutation {
5648#
5649# updateContextMenuExtension(input: {
5650#
5651# id: "cdf19d46-4d89-4b5b-a6bf-ae12c17f2746",
5652#
5653# label: "new label",
5654#
5655# url: "www.veritone.com"}) {
5656#
5657# label
5658#
5659# }
5660# }
5661# Response:
5662# {
5663#
5664# "data": {
5665#
5666# "updateContextMenuExtension": {
5667#
5668# "label": "new label"
5669#
5670# }
5671#
5672# }
5673# }
5674updateContextMenuExtension(
5675input: UpdateContextMenuExtension!
5676): ContextMenuExtension!
5677
5678# Delete a context menu extension
5679#
5680# Example:
5681#
5682# Request:
5683#
5684# mutation {
5685#
5686# deleteContextMenuExtension(input: {
5687#
5688# id: "cdf19d46-4d89-4b5b-a6bf-ae12c17f2746"}) {
5689#
5690# message
5691#
5692# }
5693# }
5694# Response:
5695# {
5696#
5697# "data": {
5698#
5699# "deleteContextMenuExtension": {
5700#
5701# "message": null
5702#
5703# }
5704#
5705# }
5706# }
5707deleteContextMenuExtension(
5708input: DeleteContextMenuExtension!
5709): DeletePayload!
5710
5711# Add or update an organization integration config by
5712# organization id and integration id. Requires superadmin.
5713setOrganizationIntegrationConfig(
5714input: SetOrganizationIntegrationConfig!
5715): IntegrationConfig!
5716
5717# Delete an integration config. Requires superadmin.
5718deleteOrganizationIntegrationConfig(
5719input: DeleteOrganizationIntegrationConfig!
5720): DeleteIntegrationConfigPayload!
5721
5722# Create customized Login Configuration for the Instance
5723createInstanceLoginConfiguration(
5724input: CreateInstanceLoginConfiguration!
5725): LoginConfiguration!
5726
5727# Update customized Login Configuration for the Instance by Slug.
5728#
5729# ___Requires superadmin.___
5730#
5731# Arguments
5732# querySlug: The slug corresponding to the login configuration to
5733# be updated.
5734updateInstanceLoginConfiguration(
5735querySlug: String!,
5736input: SetLoginConfiguration!
5737): LoginConfiguration!
5738
5739# Delete the login configuration for the organization.
5740#
5741# Arguments
5742# organizationId: Optional field for the Organization ID for
5743# which the login configuration is to be deleted.
5744# Deleting login configuration for an organization that is different from the
5745# caller's organization
5746# is only allowed for superadmin.
5747#
5748# Defaults to caller's Organization ID.
5749deleteLoginConfiguration(organizationId: ID): DeletePayload!
5750
5751# Delete an instance-level login configuration by slug.
5752#
5753# Arguments
5754# slug: The slug corresponding to the instance-level login
5755# configuration to be deleted.
5756deleteInstanceLoginConfiguration(
5757slug: String!
5758): DeletePayload!
5759
5760# Mutation to create a new registration configuration.
5761createRegistrationConfiguration(
5762input: CreateRegistrationConfigurationInput!
5763): RegistrationConfiguration!
5764
5765# Mutation to update an existing registration configuration for an organization.
5766updateRegistrationConfiguration(
5767id: ID!,
5768input: UpdateRegistrationConfiguration!
5769): RegistrationConfiguration!
5770
5771# Mutation to delete an existing registration configuration for an organization.
5772deleteRegistrationConfiguration(id: ID!): DeletePayload!
5773
5774# Update the status of a user
5775# Example:
5776# Request:
5777# mutation {
5778#
5779# updateUserStatus(input: {
5780#
5781# id: "9728eeef-4ccc-423c-8c98-ffa37313a98d",
5782#
5783# status: deleted}) {
5784#
5785# status
5786#
5787# }
5788# }
5789# Response:
5790# {
5791#
5792# "data": {
5793#
5794# "updateUserStatus": {
5795#
5796# "status": "deleted"
5797#
5798# }
5799#
5800# }
5801# }
5802#
5803# Arguments
5804# input: Data required to update the status of a user
5805updateUserStatus(input: UpdateUserStatus!): User!
5806
5807# Create a custom dashboard
5808# Example:
5809# Request:
5810# mutation {
5811#
5812# createCustomDashboard(input: {
5813#
5814# hostAppId: "80354999-d633-4595-9578-d82f59a5134f",
5815#
5816# name: "example",
5817#
5818# description: "example",
5819#
5820# data: {
5821#
5822# example: "example jsondata"}}) {
5823#
5824# id
5825#
5826# }
5827# }
5828# Response:
5829# {
5830#
5831# "data": {
5832#
5833# "createCustomDashboard": {
5834#
5835# "id": "60141fc5-8d31-487d-9847-c47f990e4537"
5836#
5837# }
5838#
5839# }
5840# }
5841createCustomDashboard(input: CreateCustomDashboard): CustomDashboard
5842
5843# Update a custom dashboard
5844# Example:
5845# Request:
5846# mutation {
5847#
5848# updateCustomDashboard(input: {
5849#
5850# id: "60141fc5-8d31-487d-9847-c47f990e4537",
5851#
5852# name: "new name"}) {
5853#
5854# name
5855#
5856# }
5857# }
5858# Response:
5859# {
5860#
5861# "data": {
5862#
5863# "updateCustomDashboard": {
5864#
5865# "name": "new name"
5866#
5867# }
5868#
5869# }
5870# }
5871updateCustomDashboard(input: UpdateCustomDashboard): CustomDashboard
5872
5873# Delete a custom dashboard
5874# Example:
5875# Request:
5876# mutation {
5877#
5878# deleteCustomDashboard(
5879#
5880# id: "60141fc5-8d31-487d-9847-c47f990e4537") {
5881#
5882# message
5883#
5884# }
5885# }
5886# Response:
5887# {
5888#
5889# "data": {
5890#
5891# "deleteCustomDashboard": {
5892#
5893# "message": "Custom dashboard deleted"
5894#
5895# }
5896#
5897# }
5898# }
5899deleteCustomDashboard(id: ID!): DeletePayload
5900
5901# Create a Dataset
5902# Example:
5903# Request:
5904# mutation {
5905#
5906# createDataset(input: {
5907#
5908# name: "example",
5909#
5910# description: "example",
5911#
5912# schemaId: "acab8bd9-a4d4-44de-ad4b-cc949d696cf9",
5913#
5914# tags: {
5915#
5916# name: "example",
5917#
5918# value: "example value"}}) {
5919#
5920# datasetId
5921#
5922# }
5923# }
5924# Response:
5925# {
5926#
5927# "data": {
5928#
5929# "createDataset": {
5930#
5931# "datasetId": "47c831ea-f4f6-4eeb-9e39-8c1cd0a1eb95"
5932#
5933# }
5934#
5935# }
5936# }
5937createDataset(input: DatasetInput!): Dataset
5938
5939# Create a Dataset Schema
5940# Example:
5941# Request:
5942# mutation {
5943#
5944# createDatasetSchema(input: {
5945#
5946# name: "example"
5947#
5948# description: "example"
5949#
5950# schema: {
5951#
5952# example: "example value"
5953#
5954# }
5955#
5956# tags: {
5957#
5958# name: "example",
5959#
5960# value: "example value"}}) {
5961#
5962# schema{
5963#
5964# id
5965#
5966# }
5967#
5968# }
5969# }
5970# Response:
5971# {
5972#
5973# "data": {
5974#
5975# "createDatasetSchema": null
5976#
5977# }
5978# }
5979createDatasetSchema(input: CreateDatasetSchema!): Dataset
5980
5981# Update a Dataset
5982updateDataset(id: ID!, input: DatasetInput): Dataset
5983
5984# Delete a Dataset
5985deleteDataset(id: ID!): DeleteDatasetPayload!
5986
5987# Perform Dataset Operations
5988#
5989# Arguments
5990# id: Specify the Dataset ID for the operation to be performed
5991datasetDataOperation(
5992id: ID!,
5993actions: [DatasetActionInput!],
5994async: Boolean,
5995updateMetrics: Boolean
5996): DatasetStateInfo
5997
5998# Replace a source engine to replacement engine
5999# Example:
6000# Request:
6001# mutation {
6002#
6003# addTaskReplacementEngine(input: {
6004#
6005# sourceEngineId: "1"
6006#
6007# replacementEngineId: "2"
6008#
6009# organizationId: "35521"
6010#
6011# payloadFunc: null}) {
6012#
6013# replacementEngineId
6014#
6015# }
6016# }
6017# Response:
6018# {
6019#
6020# "data": {
6021#
6022# "addTaskReplacementEngine": {
6023#
6024# "replacementEngineId": "2"
6025#
6026# }
6027#
6028# }
6029# }
6030addTaskReplacementEngine(
6031input: AddTaskReplacementEngine
6032): TaskEngineReplacement
6033
6034# Remove an engine replacement
6035# Example:
6036# Request:
6037# mutation {
6038#
6039# removeTaskReplacementEngine(input: {
6040#
6041# sourceEngineId: "1",
6042#
6043# replacementEngineId: "2",
6044#
6045# organizationId: "35521"}) {
6046#
6047# message
6048#
6049# }
6050# }
6051# Response:
6052# {
6053#
6054# "data": {
6055#
6056# "removeTaskReplacementEngine": {
6057#
6058# "message": "Engine replacement has been removed"
6059#
6060# }
6061#
6062# }
6063# }
6064removeTaskReplacementEngine(
6065input: RemoveTaskReplacementEngine
6066): DeletePayload
6067
6068# Create a custom notification mailbox
6069# Example:
6070# Request:
6071# mutation {
6072#
6073# notificationMailboxCreate(input: {
6074#
6075# name: "example",
6076#
6077# eventFilter: {
6078#
6079# eventNames: "example",
6080#
6081# eventType: "example",,
6082#
6083# delivery: {
6084#
6085# params: {
6086#
6087# example: "example params"
6088#
6089# }
6090#
6091# }
6092#
6093# },
6094#
6095# notificationTemplate: "",
6096#
6097# limit: 10}) {
6098#
6099# id
6100#
6101# }
6102# }
6103# Response:
6104# {
6105#
6106# "data": {
6107#
6108# "notificationMailboxCreate": [
6109#
6110# {
6111#
6112# "id": "0415f525-813d-4fd4-9dea-9428382b05b9"
6113#
6114# }
6115# } }
6116notificationMailboxCreate(
6117input: NotificationMailboxInput
6118): NotificationMailbox
6119
6120# Pause a notification mailbox
6121# Example:
6122# Request:
6123# mutation {
6124#
6125# notificationMailboxPause(
6126#
6127# id: "0415f525-813d-4fd4-9dea-9428382b05b9") {
6128#
6129# id
6130#
6131# paused
6132#
6133# }
6134# }
6135# Response:
6136# {
6137#
6138# "data": {
6139#
6140# "notificationMailboxPause": {
6141#
6142# "id": "0415f525-813d-4fd4-9dea-9428382b05b9",
6143#
6144# "paused": true
6145#
6146# }
6147#
6148# }
6149# }
6150notificationMailboxPause(id: ID!): NotificationMailbox
6151
6152# Delete a notification mailbox
6153# Example:
6154# Request:
6155# mutation {
6156#
6157# notificationMailboxDelete(id:"0415f525-813d-4fd4-9dea-9428382b05b9") {
6158#
6159# message
6160#
6161# }
6162# }
6163# Response:
6164# {
6165#
6166# "data": {
6167#
6168# "notificationMailboxDelete": {
6169#
6170# "message": "Notification mailbox has been removed"
6171#
6172# }
6173#
6174# }
6175# }
6176notificationMailboxDelete(id: ID!): DeletePayload!
6177
6178# Post a notification to some mailboxes
6179# Example:
6180# Request:
6181# mutation {
6182#
6183# notificationPost(input: {
6184#
6185# mailboxIds: ["0415f525-813d-4fd4-9dea-9428382b05b9"],
6186#
6187# title: "example title",
6188#
6189# body: "example body",
6190#
6191# contentType: "type",
6192#
6193# flags: unread}) {
6194#
6195# id
6196#
6197# }
6198# }
6199# Response:
6200# {
6201#
6202# "data": {
6203#
6204# "notificationPost": {
6205#
6206# "id": "iDDfG3oB3LnZSYqhRv7-"
6207#
6208# }
6209#
6210# }
6211# }
6212notificationPost(input: NotificaionPostInput): Notification
6213
6214# Add a new notification template by eventName, eventType, application
6215# Example:
6216# Request:
6217# mutation {
6218#
6219# addNotificationTemplate(input: {
6220#
6221# eventName: "example"
6222#
6223# eventType: "example"
6224#
6225# title: "example"
6226#
6227# body: "example"
6228#
6229# application: "80354999-d633-4595-9578-d82f59a5134f"
6230#
6231# mailboxId: "0415f525-813d-4fd4-9dea-9428382b05b9"}) {
6232#
6233# id
6234#
6235# }
6236# }
6237# Response:
6238# {
6239#
6240# "data": {
6241#
6242# "addNotificationTemplate": {
6243#
6244# "id": "1dbf3d28-bc7a-434f-ba65-455da0169323"
6245#
6246# }
6247#
6248# }
6249# }
6250addNotificationTemplate(input: AddNotificationTemplate): NotificationTemplate
6251
6252# Remove a notification template by id
6253# Example:
6254# Request:
6255# mutation {
6256#
6257# removeNotificationTemplate(id: "1dbf3d28-bc7a-434f-ba65-455da0169323") {
6258#
6259# message
6260#
6261# }
6262# }
6263# Response:
6264# {
6265#
6266# "data": {
6267#
6268# "removeNotificationTemplate": {
6269#
6270# "message": "Notification Template has been removed"
6271#
6272# }
6273#
6274# }
6275# }
6276removeNotificationTemplate(id: ID!): DeletePayload!
6277
6278# Add a new notification action by eventName, eventType, application
6279# Example:
6280# Request:
6281# mutation {
6282#
6283# addNotificationAction(input: {
6284#
6285# eventName: "example",
6286#
6287# eventType: "example"
6288#
6289# actionName: "example"
6290#
6291# icon:
6292# "https://edit.co.uk/uploads/2016/12/Image-1-Alternatives-to-stock-photography-Thinkstock.jpg"
6293#
6294# urlTemplate: "www.veritone.com"
6295#
6296# application: "80354999-d633-4595-9578-d82f59a5134f"
6297#
6298# mailboxId: "0415f525-813d-4fd4-9dea-9428382b05b9"}) {
6299#
6300# id
6301#
6302# }
6303# }
6304# Response:
6305# {
6306#
6307# "data": {
6308#
6309# "addNotificationAction": {
6310#
6311# "id": "27dab45b-d825-4f20-b758-4b089d610903"
6312#
6313# }
6314#
6315# }
6316# }
6317addNotificationAction(input: AddNotificationAction): NotificationAction
6318
6319# Remove a notification action by id
6320# Example
6321# Request:
6322# mutation {
6323#
6324# removeNotificationAction(
6325#
6326# id:"27dab45b-d825-4f20-b758-4b089d610903") {
6327#
6328# message
6329#
6330# }
6331# }
6332# Response:
6333# {
6334#
6335# "data": {
6336#
6337# "removeNotificationAction": {
6338#
6339# "message": "Notification Action has been removed"
6340#
6341# }
6342#
6343# }
6344# }
6345removeNotificationAction(id: ID!): DeletePayload!
6346
6347# Set and unset the notification flags
6348# Example:
6349# Request:
6350# mutation {
6351#
6352# setNotificationFlag(input: {
6353#
6354# notificationId: "iDDfG3oB3LnZSYqhRv7-",
6355#
6356# setFlags: read}) {
6357#
6358# id
6359#
6360# flags
6361#
6362# }
6363# }
6364# Response:
6365# {
6366#
6367# "data": {
6368#
6369# "setNotificationFlag": {
6370#
6371# "id": "iDDfG3oB3LnZSYqhRv7-",
6372#
6373# "flags": [
6374#
6375# "unread",
6376#
6377# "read"
6378#
6379# ]
6380#
6381# }
6382#
6383# }
6384# }
6385setNotificationFlag(input: SetNotificationFlag): Notification
6386
6387# Unpause/resume a notification mailbox
6388# Example:
6389# Request:
6390# mutation {
6391#
6392# notificationMailboxUnpause(
6393#
6394# id: "0415f525-813d-4fd4-9dea-9428382b05b9") {
6395#
6396# id
6397#
6398# }
6399# }
6400# Response:
6401# {
6402#
6403# "data": {
6404#
6405# "notificationMailboxUnpause": {
6406#
6407# "id": "0415f525-813d-4fd4-9dea-9428382b05b9"
6408#
6409# }
6410#
6411# }
6412# }
6413notificationMailboxUnpause(id: ID!): NotificationMailbox
6414
6415# Mark all notification as read for mailboxIds
6416# Example:
6417# Request:
6418# mutation {
6419#
6420# markAllNotificationsRead(
6421#
6422# mailboxIds: ["0415f525-813d-4fd4-9dea-9428382b05b9"]) {
6423#
6424# id
6425#
6426# }
6427# }
6428# Response:
6429# "data": {
6430#
6431# "markAllNotificationsRead": {
6432#
6433# "id": "0415f525-813d-4fd4-9dea-9428382b05b9",
6434#
6435# "notifications": {
6436#
6437# "records": {
6438#
6439# "flags": [
6440#
6441# "unseen",
6442#
6443# "read"
6444#
6445# ]
6446#
6447# }
6448#
6449# }
6450#
6451# }
6452# }
6453markAllNotificationsRead(mailboxIds: [ID]!): [NotificationMailbox]
6454
6455# Mark all notification as read for mailboxIds
6456# Example:
6457# Request:
6458# mutation {
6459#
6460# markAllNotificationsSeen(
6461#
6462# mailboxIds: ["0415f525-813d-4fd4-9dea-9428382b05b9"]) {
6463#
6464# id
6465#
6466# notifications{
6467#
6468# records{
6469#
6470# flags
6471#
6472# }
6473#
6474# }
6475#
6476# }
6477# }
6478# Response:
6479# {
6480#
6481# "data": {
6482#
6483# "markAllNotificationsSeen":
6484#
6485# {
6486#
6487# "id": "0415f525-813d-4fd4-9dea-9428382b05b9",
6488#
6489# "notifications": {
6490#
6491# "records":
6492#
6493# {
6494#
6495# "flags": [
6496#
6497# "read",
6498#
6499# "seen"
6500#
6501# ]
6502#
6503# }
6504#
6505# }
6506#
6507# }
6508#
6509# }
6510#
6511# }
6512markAllNotificationsSeen(mailboxIds: [ID]!): [NotificationMailbox]
6513
6514# Create the default user setting definition for application by current
6515# organization
6516# Example:
6517# Request:
6518# mutation {
6519#
6520# createUserSettingDefinition(
6521#
6522# application: "80354999-d633-4595-9578-d82f59a5134f",
6523#
6524# key: "example",
6525#
6526# type: "example",
6527#
6528# defaultValue: "example") {
6529#
6530# applicationId
6531#
6532# organizationGuid
6533#
6534# }
6535# }
6536# Response:
6537# {
6538#
6539# "data": {
6540#
6541# "createUserSettingDefinition": {
6542#
6543# "applicationId": "80354999-d633-4595-9578-d82f59a5134f",
6544#
6545# "organizationGuid": "49a4cbbc-5e83-4c42-b9a3-be6ec0732f09"
6546#
6547# }
6548#
6549# }
6550# }
6551#
6552# Arguments
6553# organizationGuid: Should be required by orgless token,
6554# or can be set by superadmin
6555createUserSettingDefinition(
6556application: ID!,
6557key: String!,
6558type: String!,
6559description: String,
6560defaultValue: String!,
6561organizationGuid: ID
6562): ApplicationSetting
6563
6564# Delete the default user setting definition for application and org
6565# Example:
6566# Request:
6567# mutation {
6568#
6569# deleteUserSettingDefinition(
6570#
6571# application: "80354999-d633-4595-9578-d82f59a5134f",
6572#
6573# key:"example") {
6574#
6575# message
6576#
6577# }
6578# }
6579# Response:
6580# {
6581#
6582# "data": {
6583#
6584# "deleteUserSettingDefinition": {
6585#
6586# "message": "Application setting (application:
6587# 80354999-d633-4595-9578-d82f59a5134f, organizationGuid:
6588# 49a4cbbc-5e83-4c42-b9a3-be6ec0732f09, key: example) has been deleted"
6589#
6590# }
6591#
6592# }
6593# }
6594#
6595# Arguments
6596# organizationGuid: Should be required by orgless token,
6597# or can be set by superadmin
6598deleteUserSettingDefinition(
6599application: ID!,
6600organizationGuid: ID,
6601key: String!
6602): DeletePayload!
6603
6604# Update setting for user (add/update/remove settings)
6605# Example:
6606# Request:
6607# mutation {
6608#
6609# updateUserSetting(input: {
6610#
6611# application: "80354999-d633-4595-9578-d82f59a5134f",
6612#
6613# key: "example12",
6614#
6615# value: "example value"}) {
6616#
6617# userId
6618#
6619# }
6620# }
6621# Response:
6622# {
6623#
6624# "data": {
6625#
6626# "updateUserSetting": {
6627#
6628# "userId": "59cb4e74-7c31-4267-b91e-d4600bc08008"
6629#
6630# }
6631#
6632# }
6633# }
6634updateUserSetting(input: UpdateUserSetting): UserSetting
6635
6636# Create an OpenID Provider
6637createOpenIdProvider(input: CreateOpenIdProvider): OpenIdProvider
6638
6639# Update an OpenId Provider by ID
6640updateOpenIdProvider(input: UpdateOpenIdProvider): OpenIdProvider
6641
6642# Enable Global OpenID Provider for Organization
6643enableOpenIdProviderForOrg(
6644input: EnableOpenIdProviderForOrg
6645): UpdatePayload
6646
6647# Disable Global OpenID Provider for Organization
6648disableOpenIdProviderForOrg(
6649input: DisableOpenIdProviderForOrg
6650): UpdatePayload
6651
6652# Delete OpenID Provider
6653deleteOpenIdProvider(id: ID!): DeletePayload
6654
6655# Get Organization scoped application JWT token
6656getApplicationJWT(input: GetApplicationJWT): ApplicationJWTTokenInfo
6657
6658# Remove an application event endpoint
6659removeApplicationEventEndpoint(id: ID!): DeletePayload
6660
6661# Update event endpoint for an application
6662updateApplicationEventEndpoint(
6663input: UpdateApplicationEventEndpoint
6664): Application
6665
6666# Multi Organization Invitation
6667createOrganizationInvite(
6668input: CreateOrganizationInviteInput!
6669): OrganizationInvite!
6670
6671updateOrganizationInvite(
6672input: UpdateOrganizationInviteInput!
6673): OrganizationInvite!
6674
6675setUserDefaultOrganization(
6676defaultOrganizationId: ID!
6677): OrganizationInfo
6678
6679# delete organization invitation
6680# This deletion is hard-delete process. It will remove invitation completely from
6681# the database.
6682deleteOrganizationInvite(organizationInviteId: ID!): DeletePayload
6683
6684# Create a package
6685packageCreate(input: PackageCreateInput): Package
6686
6687# This updates the specified package.
6688#
6689# This will result in upgrading the package by duplicating the original package
6690# and
6691# bumping its version number up to the next major version. The new package will
6692# reflect
6693# the changes made to the original package. __Note: The original package will not
6694# be altered in any way.__
6695#
6696# The data returned will be the newly upgraded version of the package.
6697packageUpdate(input: PackageUpdateInput): Package
6698
6699# Delete a package
6700packageDelete(id: ID!): PackageDeleteResult
6701
6702# This updates the resources of the specified package.
6703#
6704# This will result in upgrading the package by duplicating the original package
6705# and
6706# bumping its version number up to the next major version. The new package will
6707# reflect
6708# the changes made to the original package's resources. __Note: The original
6709# package will not
6710# be altered in any way.__
6711#
6712# The data returned will be the newly upgraded version of the package.
6713packageUpdateResources(input: BulkPackageResourceInput): Package
6714
6715# Add or remove Grants to a package and organization
6716packageUpdateGrants(input: BulkPackageGrantInput!): Package
6717
6718apiTokenCreate(name: String!, rights: [AuthPermissionType]!): ApiToken
6719
6720apiTokenUpdate(hash: String!, input: ApiTokenUpdateInput!): ApiTokenInfo
6721
6722# Update an ApplicationViewer
6723# Example:
6724# Request:
6725# mutation {
6726# updateApplicationViewer(viewerId: "2a1a1b58-6983-4002-b9ed-7b7f325f621a", input:
6727# { name: "Test"}) {
6728# records{
6729# id
6730# name
6731# }
6732# }
6733# }
6734# Response:
6735# {
6736# "data": {
6737# "viewers": {
6738# "records": [
6739# {
6740# "viewerId": "2a1a1b58-6983-4002-b9ed-7b7f325f621a",
6741# "name": "Test"
6742# }
6743# ]
6744# }
6745# }
6746# }
6747#
6748# Arguments
6749# viewerId: Provide an id of the viewer to update.
6750# input: Input for the update viewer
6751updateApplicationViewer(
6752viewerId: ID!,
6753input: UpdateApplicationViewerInput!
6754): ApplicationViewer
6755
6756# Delete an ApplicationViewer
6757# Example:
6758# Request:
6759# mutation {
6760# deleteApplicationViewer(viewerId: "2a1a1b58-6983-4002-b9ed-7b7f325f621a") {
6761# records{
6762# id
6763# name
6764# }
6765# }
6766# }
6767# Response:
6768# {
6769# "data": {
6770# "viewers": {
6771# "records": [
6772# {
6773# "viewerId": "2a1a1b58-6983-4002-b9ed-7b7f325f621a",
6774# }
6775# ]
6776# }
6777# }
6778# }
6779#
6780# Arguments
6781# viewerId: Provide an id of the viewer to delete.
6782deleteApplicationViewer(viewerId: ID!): ApplicationViewer
6783
6784# Delete an ApplicationViewerBuild
6785# Example:
6786# Request:
6787# mutation {
6788# deleteApplicationViewerBuild(viewerBuildId:
6789# "2a1a1b58-6983-4002-b9ed-7b7f325f621a") {
6790# records{
6791# id
6792# name
6793# }
6794# }
6795# }
6796# Response:
6797# {
6798# "data": {
6799# "viewers": {
6800# "records": [
6801# {
6802# "viewerId": "2a1a1b58-6983-4002-b9ed-7b7f325f621a",
6803# }
6804# ]
6805# }
6806# }
6807# }
6808#
6809# Arguments
6810# viewerBuildId: Provide an id of the viewer build to delete.
6811deleteApplicationViewerBuild(viewerBuildId: ID!): ApplicationViewerBuild
6812
6813# This mutation creates the multipart upload session to an S3 bucket. If provided,
6814# it will create the session for a
6815# specified bucket. Otherwise, it will create a session for the API bucket that is
6816# configured for aiware by default.
6817# What this mutation does is establish a connection to the bucket, initiate the
6818# multipart upload session,
6819# and generate pre-signed URLs for each part that needs to be uploaded. The number
6820# of generated pre-signed URLs is
6821# determined by the `numberOfParts` input field.
6822# Example:
6823# Request:
6824# mutation {
6825#
6826# initiateMultipartUpload(input: {
6827#
6828# fileName: "exampleImage.jpg",
6829#
6830# contentType: "image/jpeg",
6831#
6832# fileSize: 22594,
6833#
6834# }) {
6835#
6836# preSignedUrls {
6837#
6838# partNumber
6839#
6840# signedUrl
6841#
6842# }
6843#
6844# chunkSize
6845#
6846# key
6847#
6848# uploadId
6849#
6850# }
6851# }
6852initiateMultipartUpload(
6853input: InitiateMultipartUploadInput!
6854): MultipartUploadSessionInfo
6855
6856# This mutation is called after all parts have been uploaded. This will finalize
6857# and close out the
6858# multipart upload session and return the final URL where the file was uploaded
6859# to.
6860# Example:
6861# Request:
6862# mutation {
6863#
6864# completeMultipartUpload(input: {
6865#
6866# key: "exampleImage.jpg",
6867#
6868# uploadId: "exampleUploadId",
6869#
6870# parts: [
6871#
6872# {
6873#
6874# partNumber: "1",
6875#
6876# etag: "exampleEtag"
6877#
6878# }
6879#
6880# ]
6881#
6882# }) {
6883#
6884# url
6885#
6886# }
6887# }
6888completeMultipartUpload(
6889input: CompleteMultipartUploadInput!
6890): CompleteMultipartUploadResult
6891
6892# This mutation can be called at any point during an open multipart upload
6893# session.
6894# This will cancel the session and free up any space taken up by any parts already
6895# uploaded.
6896# However, it is possible for there to be dangling parts that may have still been
6897# in-progress and
6898# uploaded after the cancel request was made. This mutation will make the cancel
6899# request up to 3 times
6900# to ensure that everything has been cleaned up properly. If it’s not fully clean
6901# after 3 calls,
6902# an error will be returned, directing to run this mutation again.
6903# Example:
6904# Request:
6905# mutation {
6906#
6907# cancelMultipartUpload(input: {
6908#
6909# key: "exampleImage.jpg",
6910#
6911# uploadId: "exampleUploadId"
6912#
6913# }) {
6914#
6915# id
6916#
6917# message
6918#
6919# }
6920# }
6921cancelMultipartUpload(input: CancelMultipartUploadInput!): DeletePayload
6922
6923addPlatformEmailProvider(
6924input: EmailProviderConfigInput!
6925): EmailProviderConfig!
6926
6927# Create an email template.
6928emailTemplateCreate(input: EmailTemplateInput!): EmailTemplate!
6929
6930# This updates the specified email template.
6931emailTemplateUpdate(input: EmailTemplateInput!): EmailTemplate!
6932
6933# Delete an email template.
6934emailTemplateDelete(id: String!, organizationGuid: String!): EmailTemplate!
6935
6936# Create one or more ingest slugs in bulk.
6937#
6938# This mutation creates ingest slug records for files, enabling tracking through
6939# the ingestion pipeline. It supports batch processing (up to 1000 files per
6940# batch),
6941# returns both successful creations and failures, and validates sourceId and
6942# optional
6943# engineId and appId parameters. The organizationId is retrieved from the user's
6944# authorization context.
6945#
6946# Requires scope: superadmin OR aiware.slug.create
6947#
6948# Example: Create multiple ingest slugs for a video source:
6949# mutation {
6950#
6951# ingestSlugsCreate(
6952#
6953# input: {
6954#
6955# sourceId: "100"
6956#
6957# files: [
6958#
6959# {
6960#
6961# fileUri: "s3://bucket/videos/file1.mp4"
6962#
6963# bundleKey: "bundle-001"
6964#
6965# mimeType: "video/mp4"
6966#
6967# fileSizeBytes: 2147483648
6968#
6969# fileCreatedAt: "2024-01-15T10:00:00Z"
6970#
6971# fileModifiedAt: "2024-01-15T10:30:00Z"
6972#
6973# status: "pending"
6974#
6975# },
6976#
6977# {
6978#
6979# fileUri: "s3://bucket/videos/file2.mov"
6980#
6981# bundleKey: "bundle-001"
6982#
6983# mimeType: "video/quicktime"
6984#
6985# fileSizeBytes: 1073741824
6986#
6987# fileCreatedAt: "2024-01-15T11:00:00Z"
6988#
6989# fileModifiedAt: "2024-01-15T11:30:00Z"
6990#
6991# status: "pending"
6992#
6993# }
6994#
6995# ]
6996#
6997# engineId: "c0e55cde-340b-44d7-bb42-2e0d65e98255"
6998#
6999# appId: "47bd3e25-f4ea-435f-b69b-13cb4f9dd60a"
7000#
7001# }
7002#
7003# ) {
7004#
7005# sourceId
7006#
7007# created {
7008#
7009# sourceId
7010#
7011# fileUri
7012#
7013# status
7014#
7015# bundleKey
7016#
7017# createdAt
7018#
7019# }
7020#
7021# failed {
7022#
7023# fileUri
7024#
7025# errorCode
7026#
7027# errorMessage
7028#
7029# }
7030#
7031# }
7032# }
7033#
7034# Response:
7035# {
7036#
7037# "data": {
7038#
7039# "ingestSlugsCreate": {
7040#
7041# "sourceId": "100",
7042#
7043# "created": [
7044#
7045# {
7046#
7047# "sourceId": "100",
7048#
7049# "fileUri": "s3://bucket/videos/file1.mp4",
7050#
7051# "status": "pending",
7052#
7053# "bundleKey": "bundle-001",
7054#
7055# "createdAt": "2024-01-15T09:00:00Z"
7056#
7057# },
7058#
7059# {
7060#
7061# "sourceId": "100",
7062#
7063# "fileUri": "s3://bucket/videos/file2.mov",
7064#
7065# "status": "pending",
7066#
7067# "bundleKey": "bundle-001",
7068#
7069# "createdAt": "2024-01-15T09:05:00Z"
7070#
7071# }
7072#
7073# ],
7074#
7075# "failed": []
7076#
7077# }
7078#
7079# }
7080# }
7081#
7082# Notes:
7083# - Status defaults to "pending" if not provided
7084# - Duplicate file URIs for the same source are ignored and returned as failures
7085# - engineId and appId are optional but must exist if provided
7086# - If tdoId is provided, the slug will be associated with that temporal data
7087# object
7088# - organizationId is automatically determined from the user's authorization
7089# context
7090ingestSlugsCreate(input: IngestSlugsCreateInput!): IngestSlugsCreateResult
7091
7092# Update an individual ingest slug's metadata with optional conditional filtering.
7093#
7094# Allows updating file metadata, processing status, and TDO/asset associations
7095# for a specific ingest slug identified by sourceId and fileUri. Only provided
7096# fields
7097# are updated (partial updates are supported). The updatedAt timestamp is
7098# automatically
7099# updated. The sourceId is scoped to the user's organization from their
7100# authorization context.
7101#
7102# Optional filtering can be applied to restrict updates to slugs in a specific
7103# status,
7104# useful for preventing concurrent updates or ensuring updates only occur on files
7105# in a particular state.
7106#
7107# Requires scope: superadmin OR aiware.slug.update
7108#
7109# Example 1: Update slug status and associate with a TDO:
7110# mutation {
7111#
7112# ingestSlugUpdate(
7113#
7114# sourceId: "100"
7115#
7116# fileUri: "s3://bucket/videos/sample.mp4"
7117#
7118# input: {
7119#
7120# status: "ingested"
7121#
7122# statusMessage: "Successfully ingested and transcoded"
7123#
7124# tdoId: "1570654874"
7125#
7126# assetId: "1570654874_4hJtNKSUXD"
7127#
7128# mimeType: "video/mp4"
7129#
7130# fileSizeBytes: 2147483648
7131#
7132# }
7133#
7134# ) {
7135#
7136# sourceId
7137#
7138# fileUri
7139#
7140# status
7141#
7142# statusMessage
7143#
7144# tdoId
7145#
7146# assetId
7147#
7148# mimeType
7149#
7150# fileSizeBytes
7151#
7152# updatedAt
7153#
7154# }
7155# }
7156#
7157# Example 2: Update file metadata timestamps:
7158# mutation {
7159#
7160# ingestSlugUpdate(
7161#
7162# sourceId: "100"
7163#
7164# fileUri: "s3://bucket/videos/sample.mp4"
7165#
7166# input: {
7167#
7168# fileModifiedAt: "2024-01-15T14:00:00Z"
7169#
7170# bundleKey: "bundle-updated"
7171#
7172# }
7173#
7174# ) {
7175#
7176# fileModifiedAt
7177#
7178# bundleKey
7179#
7180# updatedAt
7181#
7182# }
7183# }
7184#
7185# Example 3: Conditional update - only update if status is currently 'pending':
7186# mutation {
7187#
7188# ingestSlugUpdate(
7189#
7190# sourceId: "100"
7191#
7192# fileUri: "s3://bucket/videos/sample.mp4"
7193#
7194# input: {
7195#
7196# status: "ingested"
7197#
7198# filter: {
7199#
7200# status: "pending"
7201#
7202# }
7203#
7204# }
7205#
7206# ) {
7207#
7208# sourceId
7209#
7210# fileUri
7211#
7212# status
7213#
7214# updatedAt
7215#
7216# }
7217# }
7218#
7219# Response:
7220# {
7221#
7222# "data": {
7223#
7224# "ingestSlugUpdate": {
7225#
7226# "sourceId": "100",
7227#
7228# "fileUri": "s3://bucket/videos/sample.mp4",
7229#
7230# "status": "ingested",
7231#
7232# "statusMessage": "Successfully ingested and transcoded",
7233#
7234# "tdoId": "1570654874",
7235#
7236# "assetId": "1570654874_4hJtNKSUXD",
7237#
7238# "mimeType": "video/mp4",
7239#
7240# "fileSizeBytes": 2147483648,
7241#
7242# "updatedAt": "2024-01-15T14:00:00Z"
7243#
7244# }
7245#
7246# }
7247# }
7248#
7249# Notes:
7250# - Both sourceId and fileUri are required and used as composite key
7251# - Any combination of updatable fields can be provided
7252# - TDO/asset associations are upserted
7253# - The returned object contains all current slug fields after the update
7254# - sourceId is validated to belong to the user's organization from authorization
7255# context
7256# - filter.status can be used to make updates conditional on current status
7257# - If filter.status is provided and current status doesn't match, returns null
7258# (not found)
7259ingestSlugUpdate(
7260sourceId: ID!,
7261fileUri: String!,
7262input: IngestSlugUpdateInput!
7263): IngestSlug
7264
7265# Bulk update the status of multiple ingest slugs with optimized batch processing.
7266#
7267# The sourceId is scoped to the user's organization from their authorization
7268# context.
7269#
7270# Requires scope: superadmin OR aiware.slug.update
7271#
7272# Example 1: Mark multiple files as ingested:
7273# mutation {
7274#
7275# ingestSlugUpdateStatus(
7276#
7277# sourceId: "100"
7278#
7279# fileUris: [
7280#
7281# "s3://bucket/videos/file1.mp4"
7282#
7283# "s3://bucket/videos/file2.mp4"
7284#
7285# "s3://bucket/videos/file3.mp4"
7286#
7287# ]
7288#
7289# input: {
7290#
7291# status: "ingested"
7292#
7293# statusMessage: "Batch processing completed successfully"
7294#
7295# }
7296#
7297# ) {
7298#
7299# sourceId
7300#
7301# updated {
7302#
7303# sourceId
7304#
7305# fileUri
7306#
7307# status
7308#
7309# statusMessage
7310#
7311# updatedAt
7312#
7313# }
7314#
7315# failed {
7316#
7317# fileUri
7318#
7319# errorCode
7320#
7321# errorMessage
7322#
7323# }
7324#
7325# }
7326# }
7327#
7328# Example 2: Reset failed uploads back to pending:
7329# mutation {
7330#
7331# ingestSlugUpdateStatus(
7332#
7333# sourceId: "100"
7334#
7335# fileUris: [
7336#
7337# "s3://bucket/videos/failed1.mp4"
7338#
7339# "s3://bucket/videos/failed2.mp4"
7340#
7341# ]
7342#
7343# input: {
7344#
7345# status: "pending"
7346#
7347# statusMessage: "Retry after connection restored"
7348#
7349# }
7350#
7351# ) {
7352#
7353# sourceId
7354#
7355# updated {
7356#
7357# fileUri
7358#
7359# status
7360#
7361# updatedAt
7362#
7363# }
7364#
7365# failed {
7366#
7367# fileUri
7368#
7369# errorCode
7370#
7371# errorMessage
7372#
7373# }
7374#
7375# }
7376# }
7377#
7378# Response:
7379# {
7380#
7381# "data": {
7382#
7383# "ingestSlugUpdateStatus": {
7384#
7385# "sourceId": "100",
7386#
7387# "updated": [
7388#
7389# {
7390#
7391# "sourceId": "100",
7392#
7393# "fileUri": "s3://bucket/videos/file1.mp4",
7394#
7395# "status": "ingested",
7396#
7397# "statusMessage": "Batch processing completed successfully",
7398#
7399# "updatedAt": "2024-01-15T14:00:00Z"
7400#
7401# },
7402#
7403# {
7404#
7405# "sourceId": "100",
7406#
7407# "fileUri": "s3://bucket/videos/file2.mp4",
7408#
7409# "status": "ingested",
7410#
7411# "statusMessage": "Batch processing completed successfully",
7412#
7413# "updatedAt": "2024-01-15T14:00:00Z"
7414#
7415# },
7416#
7417# {
7418#
7419# "sourceId": "100",
7420#
7421# "fileUri": "s3://bucket/videos/file3.mp4",
7422#
7423# "status": "ingested",
7424#
7425# "statusMessage": "Batch processing completed successfully",
7426#
7427# "updatedAt": "2024-01-15T14:00:00Z"
7428#
7429# }
7430#
7431# ],
7432#
7433# "failed": []
7434#
7435# }
7436#
7437# }
7438# }
7439#
7440# Notes:
7441# - sourceId and at least one fileUri are required
7442# - Status is a required input, statusMessage is optional
7443# - All files are updated in a single efficient batch operation (single database
7444# round-trip)
7445# - Partial success is possible: some files may succeed while others fail
7446# - Possible error codes:
7447#
7448# * 'constraint_violation': File would violate unique constraint on
7449# (media_source_id, bundle_key) where status='ingesting'
7450#
7451# * 'batch_conflict': Multiple files in the batch would conflict with each other
7452# (same bundle_key)
7453#
7454# * 'not_found': The ingest slug does not exist for the given sourceId and fileUri
7455#
7456# * 'not_updated': Database error occurred during update
7457# - Returns full IngestSlug objects for successfully updated records
7458# - All updates are processed with organization security binding
7459# - Maximum batch limit is 1000 fileUris per request
7460ingestSlugUpdateStatus(
7461sourceId: ID!,
7462fileUris: [String!]!,
7463input: IngestSlugsStatusUpdateInput!
7464): IngestSlugUpdateStatusResult
7465
7466# Delete specific ingest slug records.
7467#
7468# Removes ingest slug records from the system for the specified sourceId and
7469# fileUris.
7470# Returns IngestSlugKey objects (sourceId and fileUri pairs) for successfully
7471# deleted records.
7472# The sourceId is scoped to the user's organization from their authorization
7473# context.
7474#
7475# Requires scope: superadmin OR aiware.slug.delete
7476#
7477# Example: Delete specific ingest slugs:
7478# mutation {
7479#
7480# ingestSlugsDelete(
7481#
7482# sourceId: "100"
7483#
7484# fileUris: [
7485#
7486# "s3://bucket/videos/old_file1.mp4"
7487#
7488# "s3://bucket/videos/old_file2.mp4"
7489#
7490# ]
7491#
7492# ) {
7493#
7494# sourceId
7495#
7496# deleted {
7497#
7498# sourceId
7499#
7500# fileUri
7501#
7502# }
7503#
7504# failed {
7505#
7506# fileUri
7507#
7508# errorCode
7509#
7510# errorMessage
7511#
7512# }
7513#
7514# }
7515# }
7516#
7517# Response:
7518# {
7519#
7520# "data": {
7521#
7522# "ingestSlugsDelete": {
7523#
7524# "sourceId": "100",
7525#
7526# "deleted": [
7527#
7528# {
7529#
7530# "sourceId": "100",
7531#
7532# "fileUri": "s3://bucket/videos/old_file1.mp4"
7533#
7534# },
7535#
7536# {
7537#
7538# "sourceId": "100",
7539#
7540# "fileUri": "s3://bucket/videos/old_file2.mp4"
7541#
7542# }
7543#
7544# ],
7545#
7546# "failed": []
7547#
7548# }
7549#
7550# }
7551# }
7552#
7553# Notes:
7554# - sourceId and at least one fileUri are required
7555# - Returns IngestSlugKey objects (composite key with sourceId and fileUri) for
7556# each successfully deleted slug
7557# - Failures occur if slug not found or on database error
7558# - sourceId is validated to belong to the user's organization from authorization
7559# context
7560ingestSlugsDelete(sourceId: ID!, fileUris: [String!]!): IngestSlugsDeleteResult
7561
7562# Delete all ingest slug records for a source.
7563#
7564# Removes all ingest slug records associated with a specific source. This
7565# operation
7566# is performed asynchronously and may take time for sources with many records.
7567# A IngestSlugsDeleteBySource event is emitted and the operation is queued for
7568# processing.
7569# The sourceId is scoped to the user's organization from their authorization
7570# context.
7571#
7572# Requires scope: superadmin OR aiware.slug.delete
7573#
7574# Example:
7575# mutation {
7576#
7577# ingestSlugsDeleteForSource(
7578#
7579# sourceId: "100"
7580#
7581# ) {
7582#
7583# message
7584#
7585# submitted
7586#
7587# }
7588# }
7589#
7590# Response:
7591# {
7592#
7593# "data": {
7594#
7595# "ingestSlugsDeleteForSource": {
7596#
7597# "message": "Deletion request submitted for source 100. Processing
7598# asynchronously.",
7599#
7600# "submitted": true
7601#
7602# }
7603#
7604# }
7605# }
7606#
7607# Notes:
7608# - This operation removes ALL ingest slugs for the source (use with caution)
7609# - The deletion is processed asynchronously in the background
7610# - sourceId is validated to belong to the user's organization from authorization
7611# context
7612ingestSlugsDeleteForSource(sourceId: ID!): IngestSlugsDeleteForSourceResult!
7613
7614# Create a new processing project.
7615processingProjectCreate(input: ProcessingProjectInput!): ProcessingProject!
7616
7617# Delete a processing project by ID.
7618processingProjectDelete(id: ID!): DeletePayload!
7619
7620# Create a new processing deliverable.
7621processingDeliverableCreate(
7622input: ProcessingDeliverableInput!
7623): ProcessingDeliverable!
7624
7625# Cancel a processing deliverable by ID.
7626processingDeliverableCancel(
7627id: ID!,
7628projectId: ID!,
7629message: String
7630): ProcessingDeliverable!
7631
7632}

link Required by

This element is not required by anyone