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

# Get Manifest

> Read the manifest that describes the components or widgets a definition category can use.

Read the manifest of a definition category. The `workflow` category returns the workflow manifest, the `playground`
category the playground manifest. The `listener` and `widget` categories have none and return `null`.

## **POST** `/revisions/:id/data/query` (Command: `get_manifest`)

### Request Body

| Parameter | Type | Required | Description |
| :- | :- | :- | :- |
| `command` | string | Yes | Must be `get_manifest`. |
| `category` | string | Yes | `workflow`, `playground`, `listener` or `widget`. |

### Response

| Parameter | Type | Description |
| :- | :- | :- |
| `manifest` | object or null | The manifest of the category; `null` for `listener` and `widget`. |

The workflow manifest holds these top-level keys:

| Key | Description |
| :- | :- |
| `type` | `workflow_manifest`. |
| `version` | The manifest version. |
| `component_groups` | The [components](https://docs.blobhub.io/blob-types/workflow/workflows/components.md), grouped, each with its ports. |
| `credential_types` | The credential types a provider can name. |
| `models` | The [language model catalog](https://docs.blobhub.io/blob-types/workflow/workflows/component-genai-model-language.md). |
| `vendors` | The [vendors and gateways](https://docs.blobhub.io/blob-types/workflow/workflows/vendors-and-gateways.md) the models are served by. |

The playground manifest holds `type` (`playground_manifest`), `version`, `component_groups`, whose entries are the
[playground widgets](https://docs.blobhub.io/blob-types/workflow/playgrounds/widgets.md), and `models`.

### Example

```json Request theme={null}
{
  "command": "get_manifest",
  "category": "workflow"
}
```

```json Response theme={null}
{
  "status": "success",
  "manifest": {
    "type": "workflow_manifest",
    "version": "1.0.1",
    "component_groups": [
      {
        "label": "Flow",
        "component_manifests": [
          {
            "category": "flow",
            "type": "flow.start",
            "label": "Flow Start",
            "description": "Starting point of each workflow.",
            "ports": [{"category": "flow_output", "route": "success"}]
          }
        ]
      }
    ],
    "credential_types": [],
    "models": [],
    "vendors": []
  }
}
```

The arrays are shortened: the response holds every component group, credential type, model and vendor. A `listener` or
`widget` request returns `"manifest": null`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.