---
title: "Get public workflow definition by slug"
method: GET
path: "/api/v1/public/workflows/{slug}"
tags: ["Public Workflows"]
---

# Get public workflow definition by slug

`GET /api/v1/public/workflows/{slug}`

## Request

- Base URL: `https://api.korala.ai`
- URL: `https://api.korala.ai/api/v1/public/workflows/{slug}`
- Auth: none declared

## Path parameters

- `slug` string, required

## Response `200`

- WorkflowDefinitionDto
  - `sandbox` boolean, required: Persisted execution mode: true for test data
  - `id` string, required
  - `organizationId` string, nullable
  - `name` string, required
  - `slug` string, required
  - `description` string, nullable
  - `steps` WorkflowStepDto[], required
    - `type` 'capture' | 'ocr' | 'extract' | 'validate' | 'enrich' | 'check' | 'risk' | 'output' | 'review' | 'webhook', required
    - `config` object, required
  - `inputSchema` object, nullable
  - `outputSchema` object, nullable
  - `isPublic` boolean, required
  - `isActive` boolean, required
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, required: When what a run executes last changed: the steps, output sharing, the input or output schema, or the slug. A rename, a new description or switching the workflow on or off leaves it alone.

---

[API](https://skmtc.dev/korala/apis/korala-public-api.md) · [All operations](https://skmtc.dev/korala/apis/korala-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/korala/apis/korala-public-api/revisions/5c4d7810c507?raw)
