---
title: "Read a workflow"
method: GET
path: "/workflows/definitions/{id}"
tags: ["Workflow definitions"]
---

# Read a workflow

`GET /workflows/definitions/{id}`

## Request

- Base URL: `https://api.nullplatform.com`
- URL: `https://api.nullplatform.com/workflows/definitions/{id}`
- Auth: HTTP bearer

Returns the workflow and one resolved revision: the latest by default, or the one selected with `revision` or `alias` (mutually exclusive).

## Path parameters

- `id` string, required

## Query parameters

- `revision` integer
- `alias` string

## Response `200`

The workflow and the resolved revision.

- object
  - `workflow` Workflow
    - `id` string, required
    - `key` string
    - `name` string, required
    - `description` string
    - `path` string
    - `organizationId` string
    - `nrn` string
    - `metadata` object
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required
  - `revision` Revision
    - `workflowId` string, required
    - `revision` integer, required: Revision number, starting at 1.
    - `definition` object, nullable: The full definition. `null` in list responses unless `includeDefinition=true`.
    - `createdAt` string, date-time, required
    - `createdBy` string
    - `releaseNotes` string
    - `semanticVersion` string
  - `resolvedVia` 'latest' | 'alias' | 'revision'
  - `aliasName` string: Present when resolved via `alias`.

## Other responses

- `4XX`: Client error. The body says what went wrong: an error `type`, a human-readable `detail`, and, on validation failures, one entry per offending field.
- `5XX`: Unexpected server error.

## Changes

- **2026-09-17** `43b3c1ecdfd8`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/nullplatform/apis/nullplatform-api/changes/workflows/definitions/:id/get.md)

---

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