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

# Get Workflow

> One Workflow, with its trigger and current membership

```bash cURL theme={null}
curl "https://api.clustr-ai.com/api/public/workflows/7f1e2a33-..." \
  -H "Authorization: Bearer YOUR_API_KEY"
```

```json 200 theme={null}
{
  "success": true,
  "data": {
    "workflow": {
      "clustr_workflow_id": "wf_6zzpxenvr4b2ya4598bgvgk7dg",
      "clustrViewId": "view_2smktjqhs4zr4rxsstanj669ya",
      "id": "7f1e2a33-...",
      "name": "Hot accounts",
      "is_active": true,
      "viewId": "3e5f1a22-...",
      "entity": "accounts",
      "on": "enter",
      "memberCount": 42,
      "last_run_at": "2026-09-13T09:00:00Z"
    }
  }
}
```

```json 404 theme={null}
{
  "success": false,
  "error": { "message": "workflow not found", "code": "NOT_FOUND" }
}
```


## OpenAPI

````yaml GET /workflows/{id}
openapi: 3.1.0
info:
  title: Clustr Public API
  description: >
    Programmatic access to your Clustr network: import connectors, search warm
    intros (opportunities), and manage target accounts.


    ## Authentication

    All endpoints require a Bearer token (API key) in the `Authorization`
    header.


    ```

    Authorization: Bearer <your_api_key>

    ```


    API keys can be created and managed from the [API settings
    page](https://app.clustr-ai.com/api).
  version: '1.0'
  contact:
    name: Clustr Support
    url: https://clustr-ai.com
servers:
  - url: https://api.clustr-ai.com/api/public
    description: Production
security:
  - BearerAuth: []
paths:
  /workflows/{id}:
    parameters:
      - name: id
        description: >-
          The Workflow's Clustr ID (`wf_…`). The id from earlier responses also
          works.
        in: path
        required: true
        schema:
          type: string
        example: wf_kdyc1a5bp0s05kv9dyc1ratd95
    get:
      tags:
        - Workflows
      summary: Get Workflow
      operationId: getWorkflow
      responses:
        '200':
          description: The Workflow
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  data:
                    type: object
                    properties:
                      workflow:
                        $ref: '#/components/schemas/Workflow'
        '401':
          description: Invalid or missing API key
        '404':
          description: No such Workflow
components:
  schemas:
    Workflow:
      type: object
      description: >-
        A Workflow triggered by a saved view: it acts on records as they enter
        or leave the view, or on a schedule.
      required:
        - id
        - name
      properties:
        clustr_workflow_id:
          type: string
          description: >-
            The Workflow's Clustr ID, for example
            `wf_01afk2wz00yrbyda280rhtz7tc`. Use it to refer to this

            Workflow.
          example: wf_01afk2wz00yrbyda280rhtz7tc
        clustr_workspace_id:
          type: string
          description: >-
            The workspace's Clustr ID, for example
            `ten_7z5tpty5g2bh41zrdr9ccyp75k`.
          example: ten_7z5tpty5g2bh41zrdr9ccyp75k
        clustrViewId:
          type: string
          description: |-
            The Clustr ID of the saved view the Workflow watches, for example
            `view_57t0m43h0bwxfw1nc7p3800xrq`.
          example: view_57t0m43h0bwxfw1nc7p3800xrq
        id:
          type: string
          format: uuid
          description: >-
            Kept for integrations built before Clustr IDs. New integrations
            should use `clustr_workflow_id`.
        tenant_id:
          type: string
          format: uuid
          description: >-
            Kept for integrations built before Clustr IDs. New integrations
            should use `clustr_workspace_id`.
        name:
          type: string
        description:
          type: string
          nullable: true
        is_active:
          type: boolean
        viewId:
          type: string
          format: uuid
          description: >-
            Kept for integrations built before Clustr IDs. New integrations
            should use `clustrViewId`.
        entity:
          type: string
          enum:
            - accounts
            - people
        'on':
          type: string
          enum:
            - enter
            - leave
            - schedule
        schedule_cron:
          type: string
          nullable: true
          description: >-
            The schedule, as a 5-field cron expression. Set only when `on` is
            `schedule`.
        memberCount:
          type: integer
          description: How many records are currently in the view.
        last_run_at:
          type: string
          format: date-time
          nullable: true
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: The API key you created on the API settings page of the Clustr app.

````

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