---
title: "Get Workflow"
method: GET
path: "/v1/public/workflows/{workflow_ref}"
tags: ["Workflows"]
---

# Get Workflow

`GET /v1/public/workflows/{workflow_ref}`

## Path parameters

- `workflow_ref` string, required

## Response `200`

OK

- PublicWorkflowDetailResponse
  - `workflow_id` string, required
  - `external_id` string, required
  - `title` string, nullable
  - `description` string, nullable
  - `status` string, nullable
  - `trigger_type` string, nullable
  - `trigger_every` integer, nullable
  - `is_trigger_active` boolean, required
  - `valid_to_run` boolean, required
  - `nodes` PublicWorkflowNodeResponse[]
    - `id` string, required
    - `action_uid` string, nullable
    - `action_slug` string, nullable
    - `action_id` string, nullable
    - `is_base` boolean, required
    - `input_data` object, nullable
    - `predefined_input` object, nullable
    - `previous_output_data` object, nullable
    - `user_display_name` string, nullable
    - `integration_slug` string, nullable
    - `integration_id` string, nullable
    - `cost_minutes` integer, nullable
    - `valid_to_run` boolean, required
    - `condition_groups` PublicWorkflowConditionGroupResponse[]
      - `id` string, required
      - `operator` string, required
      - `parent_group_id` string, nullable
      - `conditions` PublicWorkflowConditionResponse[]
        - `id` string, required
        - `object_type` string, nullable
        - `record_source` string, nullable
        - `record_ids` string, nullable
        - `field_name` string, nullable
        - `operator` string, nullable
        - `value_type` string, nullable
        - `value_text` string, nullable
        - `value_number` number, nullable
        - `value_date` string, nullable
        - `value_datetime` string, nullable
        - `extra_condition` object, nullable
  - `ctx_id` string, nullable

## Other responses

- `400` — Bad Request
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.net/sankahq/apis/ninjaapi.md) · [All operations](https://skmtc.net/sankahq/apis/ninjaapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sankahq/ninjaapi/versions/c273ff62266a/schema)
