> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Export Workspace

Export resources from the selected workspace as a ZIP archive and save it as a file in the workflow.

Leave `resource_types`, `automation_pack_ids`, `workflow_ids`, `agent_pack_ids`, and `agent_ids` empty to export the whole workspace. Selecting any of them narrows the export to those resources - each selected resource's dependencies (e.g. a workflow's pack, agents, subflows) are pulled in automatically.

## Basic Parameters

<div className="integrations-table">
  | Parameter        | Description                                                                                                                                                                                                                                                                                                                              |
  | ---------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | File Identifier  | The identifier under which the exported ZIP archive will be saved as a file in the workflow.<br />See [Using with Files in Workflows](https://docs.blinkops.com/docs/workflows/building-workflows/files) for more details.<br /><br />Please ensure the file identifier ends with `.zip`.                                                |
  | Resource Types   | Select the whole resource types to include in the export (every instance of that type). Leave empty to not filter by type.<br /><br />**Note**: A type selected here is included in full - `automation_pack_ids`, `workflow_ids`, `agent_pack_ids`, and `agent_ids` have no additional narrowing effect on a type already selected here. |
  | Source Workspace | Select the workspace to export resources from.                                                                                                                                                                                                                                                                                           |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter              | Description                                                                                                                                                                                                                                                                                                                                                                 |
  | ---------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Agent Packs            | Select the specific Agent Packs to include in the export, along with their dependencies. Leave empty to not filter by agent pack.                                                                                                                                                                                                                                           |
  | Agents                 | Select the specific Agents to include in the export, along with their dependencies. Leave empty to not filter by agent.                                                                                                                                                                                                                                                     |
  | Exclude Resource Types | Select the whole resource types to exclude from the export.<br /><br />**Note**: A type listed here cannot also be selected via `resource_types`, `automation_pack_ids`, `workflow_ids`, `agent_pack_ids`, or `agent_ids` - and the export fails, rather than silently dropping the resource, if something selected transitively depends on a resource of an excluded type. |
  | Workflow Packs         | Select the specific Workflow Packs to include in the export, along with their dependencies. Leave empty to not filter by pack.                                                                                                                                                                                                                                              |
  | Workflows              | Select the specific workflows to include in the export, along with their dependencies. Leave empty to not filter by workflow.                                                                                                                                                                                                                                               |
</div>

## Example Output

```json theme={"dark"}
{
	"file_identifier": "export.zip",
	"file_name": "acme-dev.zip",
	"size": 20480
}
```
