The assets themselves — images, video, audio, and documents, with their revisions, variants, attachments, and previews.

Retrieve Asset details by Id.

Returns

Asset

Arguments

id:ID!Required
Asset Id.

Response fields

1 selected

Toggle fields to tailor the query and response.

  • String
  • String
  • DateTime!
  • String
  • DateTime
  • ID
  • ID!
  • DateTime
  • AssetStatusType!
  • String!
  • … on Audio

    • Url!
    • Url
    • String
    • Url
  • … on Document

    • Url!
    • Url
    • String
    • Url
  • … on EmbeddedContent

    • Url!
    • Url
    • Boolean!
  • … on File

    • Url!
    • Url
    • String
    • Url
  • … on Image

    • Url!
    • Url
    • String
    • Url
  • … on Video

    • Url!
    • Url
    • String
    • Int!

Retrieve Assets details by Ids.

Returns

[Asset]

Arguments

ids:[ID!]!Required
Asset Ids.

Response fields

1 selected

Toggle fields to tailor the query and response.

  • String
  • String
  • DateTime!
  • String
  • DateTime
  • ID
  • ID!
  • DateTime
  • AssetStatusType!
  • String!
  • … on Audio

    • Url!
    • Url
    • String
    • Url
  • … on Document

    • Url!
    • Url
    • String
    • Url
  • … on EmbeddedContent

    • Url!
    • Url
    • Boolean!
  • … on File

    • Url!
    • Url
    • String
    • Url
  • … on Image

    • Url!
    • Url
    • String
    • Url
  • … on Video

    • Url!
    • Url
    • String
    • Int!
MutationDeprecated

addAssetMetadataFieldValue

Add a new relation between an existing Asset and an existing MetadataField with its value. The value will be automatically created and linked to its MetadataField. Requires basic:write scope to be accessible and Asset permission level EDIT.

Returns

AddAssetMetadataFieldValue

Arguments

input:AddAssetMetadataFieldValueInput!Required
AddAssetMetadataFieldValue input argument.
RequiredassetId: ID!, metadataFieldId: ID!, value: String!

Response fields

1 selected

Toggle fields to tailor the query and response.

  • DateTime!
  • ID!
  • MetadataField!
  • DateTime
  • String!
Mutation

addAssetPreviewImage

Add new Asset preview image. Requires basic:write scope to be accessible and Asset permission level EDIT.

Returns

AddAssetPreviewImage

Arguments

input:AddAssetPreviewImageInput!Required
AddAssetPreviewImage input argument.
RequiredassetId: ID!, fileId: ID!

Response fields

0 selected

Toggle fields to tailor the query and response.

Mutation

addAssetRelations

Relate existing Assets. The relatedAssetIds input field list is limited to 100 ids per request and cannot contain the same assetId input field value. Requires basic:write scope to be accessible and Asset permission level EDIT.

Returns

AddAssetRelations

Arguments

input:AddAssetRelationsInput!Required
AddAssetRelations input argument.
RequiredassetId: ID!, relatedAssetIds: [ID!]!

Response fields

0 selected

Toggle fields to tailor the query and response.

Mutation

addAssetTags

Add new Asset tags. Requires basic:write scope to be accessible and Asset permission level EDIT.

Returns

AddAssetTags

Arguments

input:AddAssetTagsInput!Required
AddAssetTags input argument.
Requiredid: ID!
Optionaltags: [TagInput]

Response fields

0 selected

Toggle fields to tailor the query and response.

Mutation

createAsset

Create a new Asset. Requires basic:write scope to be accessible and Project permission level EDIT.

Returns

CreateAsset

Arguments

input:CreateAssetInput!Required
CreateAsset input argument.
RequiredfileId: ID!, title: String!
OptionalalternativeText: String, isDecorative: Boolean, description: String, externalId: ID, copyright: CreateCopyrightInput, tags: [TagInput], skipFileMetadata: Boolean, directory: [String], parentId: ID, availability: DateTimeRangeInput, expiresAt: DateTime, author: String, previewBackgroundColor: RgbaColorInput

Response fields

0 selected

Toggle fields to tailor the query and response.

Mutation

createAssetVariant

Create a new AssetVariant. Only supported for assets in icon and logo libraries. Requires basic:write scope to be accessible and Asset permission level EDIT.

Returns

CreateAssetVariant

Arguments

input:CreateAssetVariantInput!Required
CreateAssetVariant input argument.
RequiredfileId: ID!, assetId: ID!, key: String!

Response fields

0 selected

Toggle fields to tailor the query and response.

Mutation

createAssetWorkflowTask

Create a new WorkflowTask for an Asset in a given WorkflowStatus. Requires basic:write scope to be accessible and Project permission level EDIT.

Beta

Returns

CreateAssetWorkflowTask

Arguments

input:CreateAssetWorkflowTaskInput!RequiredBeta
CreateAssetWorkflowTask input argument.
RequiredassetId: ID!, workflowStatusId: ID!
OptionalassigneeUserIds: [ID!], statusEnterMessage: String

Response fields

0 selected

Toggle fields to tailor the query and response.

Mutation

createAttachment

Create a new Attachment. Attachments require a valid parent ID string. This mutation currently only supports attachments for parents of Asset type. Requires basic:write scope to be accessible and Asset permission level EDIT.

Returns

CreateAttachment

Arguments

input:CreateAttachmentInput!Required
CreateAttachment input argument.
RequiredparentId: ID!, fileId: ID!, name: String!
OptionalexternalId: ID

Response fields

0 selected

Toggle fields to tailor the query and response.

Mutation

createExternalAsset

Create a new External Asset from a url. Requires basic:write scope to be accessible and Project permission level EDIT.

Returns

CreateExternalAsset

Arguments

input:CreateExternalAssetInput!Required
CreateExternalAsset input argument.
RequiredprojectId: ID!, url: Url!, title: String!
Optionaldescription: String, width: Int, height: Int, allowInteractions: Boolean, externalId: ID, copyright: CreateCopyrightInput, directory: [String], expiresAt: DateTime, author: String

Response fields

0 selected

Toggle fields to tailor the query and response.

Mutation

deleteAsset

Delete an existing Asset. Requires basic:write scope to be accessible and Asset permission level EDIT.

Returns

DeleteAsset

Arguments

input:DeleteAssetInput!Required
DeleteAsset input argument.
Requiredid: ID!

Response fields

1 selected

Toggle fields to tailor the query and response.

  • ID!
Mutation

deleteAssetVariant

Delete an existing AssetVariant. Only supported for assets in icon and logo libraries. Requires basic:write scope to be accessible and Asset permission level EDIT.

Returns

DeleteAssetVariant

Arguments

input:DeleteAssetVariantInput!Required
DeleteAssetVariant input argument.
RequiredassetId: ID!, key: String!

Response fields

1 selected

Toggle fields to tailor the query and response.

  • ID!
Mutation

deleteAttachment

Delete an existing Attachment. Requires basic:write scope to be accessible and Asset permission level EDIT.

Returns

DeleteAttachment

Arguments

input:DeleteAttachmentInput!Required
DeleteAttachment input argument.
Requiredid: ID!

Response fields

1 selected

Toggle fields to tailor the query and response.

  • ID!
Mutation

moveAssets

Move existing Asset item(s) to the given Library, Workspace or Folder destination. Only moves within the same Library/Workspace are supported by this operation. Requires basic:write scope to be accessible and Asset permission level EDIT.

Returns

MoveAssets

Arguments

input:MoveAssetsInput!Required
MoveAssets input argument.
RequiredassetIds: [ID!]!, destinationId: ID!

Response fields

0 selected

Toggle fields to tailor the query and response.

Mutation

removeAssetPreviewImage

Remove existing Asset preview image. Requires basic:write scope to be accessible and Asset permission level EDIT.

Returns

RemoveAssetPreviewImage

Arguments

input:RemoveAssetPreviewImageInput!Required
RemoveAssetPreviewImage input argument.
Requiredid: ID!

Response fields

0 selected

Toggle fields to tailor the query and response.

Mutation

removeAssetRelations

Remove existing relations between Asset items. The relatedAssetIds input field list is limited to 100 ids per request and cannot contain the same assetId input field value. Requires basic:write scope to be accessible and Asset permission level EDIT.

Beta

Returns

RemoveAssetRelations

Arguments

input:RemoveAssetRelationsInput!RequiredBeta
RemoveAssetRelations input argument.
RequiredassetId: ID!, relatedAssetIds: [ID!]!

Response fields

0 selected

Toggle fields to tailor the query and response.

Mutation

removeAssetTags

Remove existing Asset tags. Requires basic:write scope to be accessible and Asset permission level EDIT.

Returns

RemoveAssetTags

Arguments

input:RemoveAssetTagsInput!Required
RemoveAssetTags input argument.
Requiredid: ID!
Optionaltags: [TagInput]

Response fields

0 selected

Toggle fields to tailor the query and response.

Mutation

replaceAsset

Replace an existing Asset. Requires basic:write scope to be accessible and Asset permission level EDIT.

Returns

ReplaceAsset

Arguments

input:ReplaceAssetInput!Required
ReplaceAsset input argument.
RequiredassetId: ID!, fileId: ID!
OptionalskipFileMetadata: Boolean

Response fields

0 selected

Toggle fields to tailor the query and response.

Mutation

replaceAssetVariant

Replace an existing AssetVariant. Only supported for assets in icon and logo libraries. Requires basic:write scope to be accessible and Asset permission level EDIT.

Returns

ReplaceAssetVariant

Arguments

input:ReplaceAssetVariantInput!Required
ReplaceAssetVariant input argument.
RequiredfileId: ID!, assetId: ID!, key: String!

Response fields

0 selected

Toggle fields to tailor the query and response.

Mutation

syncAssetTags

Sync Asset tags. Requires basic:write scope to be accessible and Asset permission level EDIT.

Returns

SyncAssetTags

Arguments

input:SyncAssetTagsInput!Required
SyncAssetTags input argument.
Requiredid: ID!
Optionaltags: [TagInput]

Response fields

0 selected

Toggle fields to tailor the query and response.

Mutation

updateAsset

Update an existing Asset. Requires basic:write scope to be accessible and Asset permission level EDIT.

Returns

UpdateAsset

Arguments

input:UpdateAssetInput!Required
UpdateAsset input argument.
Requiredid: ID!, data: UpdateAssetDataInput!

Response fields

0 selected

Toggle fields to tailor the query and response.

Mutation

updateAssets

Update many Assets in one call, where each asset carries its own values. Changes apply independently: assets and fields that cannot be updated fail individually without rolling back the rest.

Beta

Returns

UpdateAssets

Arguments

input:UpdateAssetsInput!RequiredBeta
RequiredprojectId: ID!, assets: [AssetUpdateEntryInput!]!

Response fields

0 selected

Toggle fields to tailor the query and response.

  • UpdateAssetsStatus!
Mutation

uploadFile

Upload a new file. Requires basic:write scope to be accessible Creates a temporary unique file Id and returns presigned URLs for uploading a binary file in multiple parts. After the upload is completed, this Id can be used (once only) to permanently link the file to a specific type (e.g., Asset, Attachment, Revision) via another mutation. When chunkSize is provided as null (to be the future default), the number of upload parts and thus their corresponding part size will be computed dynamically based on the specified file size, following these rules: - Maxmum of 1000 parts. - For files of 5TB (maximum): 1000 parts of 5GB each. - For files less than 15MB: 1 single part of 15MB. - Otherwise: an inclusive range of [1, 1000] parts of [15MB, 5GB] each.

Returns

UploadFile

Arguments

input:UploadFileInput!Required
UploadFile input argument.
Requiredfilename: String!, size: BigInt!

Response fields

1 selected

Toggle fields to tailor the query and response.

  • ID!
  • [Url]!