# Get Workflow

Fetch one workflow, including the full definition your team built and its summary.

`GET https://connect.mindcloud.co/v2/workflows/:workflowId`

Permissions: `workflow:view`.

## Parameters

### Path

- `workflowId` (string, required): The workflow's id, from List Workflows.

### Headers

- `X-Company-Id` (string): Optional. The id of the organization to act in. Leave it out to act in the API key's own organization. A key can also act in its child organizations, and, with "Use this key across all of your organizations" on, in every organization its creator can open in the app. List them with GET /v2/companies. Every response's X-Company-Id header names the organization it acted in. See [Organizations](https://mindcloud.co/docs/api/rest/introduction/organizations).

## Example request

```bash
curl --request GET \
  --url 'https://connect.mindcloud.co/v2/workflows/Wq3kZ8pLx2Nb' \
  --header 'Authorization: Bearer $MINDCLOUD_API_TOKEN'
```

## Response fields

- `id` (string): Unique id of the workflow.
- `name` (string): The name your team gave the workflow.
- `type` (string): The workflow's type.
- `isActive` (boolean): True while the workflow is enabled and able to run.
- `isTemplate` (boolean): True if this is a template rather than a live workflow.
- `size` (string): The workflow's runner size: xs, sm, md, lg, xl, or xxl. Empty when sized automatically.
- `tags` (array of string): Ids of the tags on the workflow. The tag catalog is managed in the app.
- `createdOn` (date): When the workflow was created.
- `createdBy` (string): Who created it.
- `updatedOn` (date): When it was last changed.
- `updatedBy` (string): Who last changed it.
- `workflow` (object): The full workflow definition your team built. Its shape depends on the workflow.
- `summary` (object): The workflow's generated summary. Its shape depends on the workflow.
