Logo of FrontifyDeveloper portalArrow to the right
GraphQL reference
Object type

IconLibrary

No description
Implemented interfaces

An Interface is an abstract type that includes a certain set of fields that a type must include to implement the interface.

NodeInterface is the base for all types.

LibraryInterface for Library returnable types.

Type fields
id:ID!

Library/Workspace Id.

name:String!

Library/Workspace name.

color:RgbaColor

Library/Workspace color.

assetCount:Int
Deprecated

Amount of Assets contained in the Library/Workspace.

Removal: 1 Jul 2024 — use assets.total instead
metadataFields:[MetadataField]
Deprecated

Library/Workspace MetadataField items list.

Removal: 1 Jul 2026 — use customMetadataProperties instead
assets(
limit: Int = 25
page: Int = 1

Search or list Assets in the Library/Workspace.

collections(
limit: Int = 25
page: Int = 1

Library Collection items list.

Browse the Library SubFolderItems and AssetItems.

collaborators:LibraryCollaborators

Library collaborators.

currentUserPermissions:LibraryUserPermissions!

Library permissions of the current User.

workflow:Workflow!

The Workflow belonging to the given Library/Workspace.

customMetadataProperties:[CustomMetadataProperty!]!

Retrieve list of all CustomMetadataProperty items belonging to Library.

licenses:[License]

Library/Workspace License items list.

Search this Library's/Workspace's Assets with fully typed filters. Backed by our search index rather than the primary database — results are eventually consistent, so an asset just created, edited, or deleted can take a few minutes (up to around 10) to be reflected.

assetsByExternalId(
externalId: ID!
limit: Int = 25
cursor: String = null

Fetch Assets in this Library by their externalId. Requires edit access to the Library.

The named people tagged or suggested on this Library's assets, sorted by name. Requires face recognition on the Library.

peopleByIds(
Beta
ids: [ID!]!
): [Person!]!

The given named people of this Library, in the requested order, at most 100 ids. Ids that match no person, deleted and unnamed people, and people not tagged or suggested on the Library's assets are left out. Requires face recognition on the Library.