---
title: "Get workflows"
method: GET
path: "/_fabric/{fabric}/_api/collection/{collection-name}/workflows"
tags: ["Collections"]
---

# Get workflows

`GET /_fabric/{fabric}/_api/collection/{collection-name}/workflows`

## Request

- The document declares no server URL.
- Auth: one of:
  - API key in header `Authorization`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/macrometa/apis/macrometa-api-reference/docs/_fabric/:fabric/_api/collection/:collection-name/workflows/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieve details of assigned workflows to a collection.

## Path parameters

- `fabric` string, required
- `collection-name` string, required

## Response `200`

Successfully fetched the workflows assigned to the collection.

- object
  - `error` boolean, required
  - `code` integer
  - `result` WorkflowEntity[]
    - `uuid` string: UUID of the workflow.
    - `name` string: Name of the workflow.
    - `connector` ConnectorBase: Lightweight connector definition.
      - `name` string: Name of the connector. This is used as the ID of the connector.
      - `displayName` string: Name that can be used by GUI clients to display the connector.
      - `description` string
      - `type` string: Specifies whether the connector serves as a source or a target.
      - `version` string: Version of the connector.
    - `isEditable` boolean: Indicates whether the connection used in this workflow is editable or not.
    - `isInternal` boolean: Specifies whether the connection used in this workflow is internal or not.
    - `status` string: Status of the workflow.

## Other responses

- `401`: Failed to authenticate the request.
- `404`: Failed to find specified collection.

---

[API](https://skmtc.dev/macrometa/apis/macrometa-api-reference.md) - [All operations](https://skmtc.dev/macrometa/apis/macrometa-api-reference/llms.txt) - [OpenAPI document](https://skmtc.dev/macrometa/apis/macrometa-api-reference/revisions/2006b6d7f31d?raw)
