---
schema_version: "1"
id: 4576b3d252084ecc76c1dd1b7975395a8341749253fd24f2d4be67a1670bafa4
title: Command Line API (Managed Package)
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/os_build_tool_commandline_api.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_build_tool_commandline_api.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: e87909a497eabc65eef6ecf80394cb43e807e1c712032d58091656fb95693800
description: For the managed package runtime, the command line API can also return JSON formatted output and accept some inputs as JSON.
products:
  - Omnistudio
release: "264"
---
# Command Line API (Managed Package)

For the managed package runtime, the command line API can also return JSON formatted output and accept some inputs as JSON.

![Managed Package app icon](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/resources-global/_corporate/images/managedpackageicon.png) This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see [Omnistudio Help](https://help.salesforce.com/s/articleView?id=xcloud.os_omnistudio_standard.htm&language=en_US).

The primary input JSON is the manifest which can be passed in as:

```
vlocity packExport -manifest '["OmniScript/MACD_Move_English"]'
```

The tool returns JSON is sent the argument --json or --json-pretty and returns a JSON in the format of

```
{
  "action": "Export",
  "message": "VlocityUITemplate --- SelectAssetToMove.html --- Not Found",
  "records": [
    {
        "VlocityDataPackDisplayLabel": "MACD Move English",
        "VlocityDataPackKey": "OmniScript/MACD_Move_English",
        "VlocityDataPackStatus": "Success",
        "VlocityDataPackType": "OmniScript"
    }
  ],
  "status": "error"
} 
```

Where each record contains the Vlocity data pack key that was exported or deployed, and the export or deploy process is limited to only Vlocity data pack keys passed in as part of the manifest if it is supplied.

A deployment always includes only the -manifest keys, however for an export it includes dependencies unless -maxDepth 0 is used as an argument.