> ## Documentation Index > Fetch the complete documentation index at: https://www.canva.dev/docs/apps/llms.txt > Use this file to discover all available pages before exploring further. # getDesignMetadata API reference for the getDesignMetadata method. Retrieves information about the design. ## Usage: Get design metadata ```typescript import { getDesignMetadata } from "@canva/design"; const metadata = await getDesignMetadata(); const { title, defaultPageDimensions, pageMetadata, durationInSeconds } = metadata; ``` ## Returns Information about the design. This is a `Promise` that resolves with the following object: The information associated with each page of the design. The order of pages is not guaranteed. Information about a page within a design with fixed or unbounded dimensions. The type of page. The only valid value is `"absolute"`. Stable identifier for this page within the design. The dimensions of the page, in pixels. This may be `undefined` because some types of pages don't have dimensions, such as whiteboards. Properties of dimensions}> The width of the page, in pixels. The height of the page, in pixels. The name of the page. This is optional and will be empty if the user hasn't set a title. Pages that do not have fixed or unbounded dimensions currently do not return metadata. The type of page. The only valid value is `"unsupported"`. The duration of the whole design in seconds. This is the precise value, which differs from what is displayed in the UI as duration in Canva UI is formatted differently. The title of the user's design. This is optional and will be `undefined` if the user hasn't set a title. The default dimensions that a new page will have when it is added to a design. It is possible for a user to resize a page without resizing the entire design, e.g. by clicking "Expand to Whiteboard". However, there will always be a single set of default dimensions for a design that is applied whenever a new page is created. This is optional and will be `undefined` if the design is unbounded (e.g. Whiteboard or Doc). Properties of defaultPageDimensions}> The width of the page, in pixels. The height of the page, in pixels. The set of data fields that were tagged for Autofill. This field might be undefined or empty to represent a design that has no tagged fields. Properties of dataset}> **Available values**: * `"image"` * `"text"` * `"chart"` ## Permissions To use this method, the `canva:design:content:read` permission must be enabled for the app. To learn more, see [Permissions](https://www.canva.dev/docs/apps/configuring-intents-permissions/).