---
title: "Export blueprint resources"
method: GET
path: "/blueprint/{blueprintId}/resource/export"
tags: ["Blueprint Resources"]
---

# Export blueprint resources

`GET /blueprint/{blueprintId}/resource/export`

## Request

- Base URL: `https://api.chatbotkit.com/api/v1`
- URL: `https://api.chatbotkit.com/api/v1/blueprint/{blueprintId}/resource/export`
- Auth: HTTP bearer

Export a blueprint and all its resources. The default format is JSON.
Set the Accept header to `application/terraform+hcl` to export as
Terraform HCL code.

## Path parameters

- `blueprintId` string, required: The ID of the blueprint to export

## Headers

- `Accept` 'application/json' | 'application/terraform+hcl': The desired export format

## Response `200`

The blueprint was exported successfully

- object
  - `id` string, required: The ID of the blueprint
  - `resources` object, required: A map of the resources by category

## Other responses

- `default`: An error response

---

[API](https://skmtc.dev/chatbotkit/apis/cbk-api.md) · [All operations](https://skmtc.dev/chatbotkit/apis/cbk-api/llms.txt) · [OpenAPI document](https://skmtc.dev/chatbotkit/apis/cbk-api/revisions/13d250576136?raw)
