---
title: "GET /v1/designs/{designId}/dataset"
method: GET
path: "/v1/designs/{designId}/dataset"
tags: ["design"]
---

# GET /v1/designs/{designId}/dataset

`GET /v1/designs/{designId}/dataset`

Gets the dataset definition of a design. If the design contains autofill data fields, this API
returns an object with the data field names and the type of data they accept.

<Note>

To get the dataset definition of a brand template, use the
[Get brand template dataset API](https://www.canva.dev/docs/connect/api-reference/brand-templates/get-brand-template-dataset/).

</Note>

Available data field types include:

- Images (which you can autofill with an image or a video asset)
- Text
- Charts

Use the returned field names and types to build the `data` payload for the
[Create a design autofill job API](https://www.canva.dev/docs/connect/api-reference/autofills/create-design-autofill-job/)
with `type: create_from_design`.

## Path parameters

- `designId` string, required

## Response `200`

OK

- GetDesignDatasetResponse — Successful response from a `getDesignDataset` request.
  - `dataset` object — The dataset definition. It contains the data inputs available for use with the [Create design autofill job API](https://www.canva.dev/docs/connect/api-reference/autofills/create-design-autofill-job/).

## Other responses

- `403` — Forbidden
- `404` — Not Found
- `default` — Error Response

## Changes

- **2026-08-28** `f32aa6ee029d` — 3 warning
  - added the new `design_generation_rejected` enum value to the `code` response property for the response status `403`
  - added the new `design_generation_rejected` enum value to the `code` response property for the response status `404`
  - added the new `design_generation_rejected` enum value to the `code` response property for the response status `default`
- **2026-08-27** `e5ffb199a510` — 6 warning
  - added the new `domain_restricted` enum value to the `code` response property for the response status `403`
  - added the new `domain_restricted` enum value to the `code` response property for the response status `404`
  - added the new `domain_restricted` enum value to the `code` response property for the response status `default`
  - added the new `user_already_member` enum value to the `code` response property for the response status `403`
  - …2 more

[Change history](https://skmtc.dev/canva/apis/canva-connect-api/changes/v1/designs/:designId/dataset/get.md)

---

[API](https://skmtc.dev/canva/apis/canva-connect-api.md) · [All operations](https://skmtc.dev/canva/apis/canva-connect-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/canva/canva-connect-api/revisions/f32aa6ee029d/schema)
