---
title: "Create workflow"
method: POST
path: "/api/v2/teams/{team_slug}/workflows"
tags: ["Workflows"]
---

# Create workflow

`POST /api/v2/teams/{team_slug}/workflows`

Creates workflow by specified parameters.

## Path parameters

- `team_slug` string, required

## Request body

- WorkflowsV2WorkflowCreateRequest
  - `name` string, required
  - `stages` object[], required
    - `assignable_users` WorkflowsV2WorkflowStageAssignableUser[]
      - `stage_id` string, uuid, required
      - `user_id` integer, required
    - `config` union
      - object — Has to be used for annotations stage
        - `allowed_class_ids` AnnotationsAnnotationAnnotationClassId[], nullable — Specifies a list of allowed annotation class IDs that can be used to create annotations in the AnnotateStage; if this field is not present or is set to `null`, then the classes are not filtered and any class valid for the context can be used
        - `allowed_property_ids` AnnotationsPropertyPropertyId[], nullable — Specifies a list of allowed item level properties that can be used to create in the annotate stage. If this field is not present or is set to `null`, then all properties can be used. It cannot be an empty list.
        - `annotation_group_id` string, uuid, nullable
        - `assignable_to` 'anyone' | 'manual', nullable — In assignable stage (annotate or review), determines users who can be autoassigned to the stage.
        - `from_non_default_v1_template` boolean, nullable — Tracks information regarding v1 to v2 dataset migration internals.
        - `initial` boolean, nullable — Indicates if this is an initial stage of a workflow. Can be true only for a dataset stage.
        - `skippable` boolean, nullable — In annotate, review stage indicates if the item in the stage can be marked as skipped.
        - `x` integer, nullable, required — Position in the UI. Horizontal offset from top left canvas corner in pixels.
        - `y` integer, nullable, required — Position in the UI. Vertical offset from top left canvas corner in pixels.
      - object — Has to be used for review stage
        - `assignable_to` 'anyone' | 'manual', nullable — In assignable stage (annotate or review), determines users who can be autoassigned to the stage.
        - `from_non_default_v1_template` boolean, nullable — Tracks information regarding v1 to v2 dataset migration internals.
        - `initial` boolean, nullable — Indicates if this is an initial stage of a workflow. Can be true only for a dataset stage.
        - `readonly` boolean, nullable, required — In review stage indicates if the reviewer can perform CRUD on annotations, or only approve/reject.
        - `skippable` boolean, nullable — In annotate, review stage indicates if the item in the stage can be marked as skipped.
        - `x` integer, nullable, required — Position in the UI. Horizontal offset from top left canvas corner in pixels.
        - `y` integer, nullable, required — Position in the UI. Vertical offset from top left canvas corner in pixels.
      - object — Has to be used for model stage
        - `annotation_group_id` string, uuid, nullable
        - `auto_instantiate` boolean, nullable — Tells whether model should be auto-started when inference request is sent.
        - `class_mapping` object[], nullable — Determines how model classes are mapped to darwin annotation classes
          - `annotation_class_id` integer, required
          - `model_class_label` string, required
        - `from_non_default_v1_template` boolean, nullable — Tracks information regarding v1 to v2 dataset migration internals.
        - `initial` boolean, nullable — Indicates if this is an initial stage of a workflow. Can be true only for a dataset stage.
        - `model_confidence_threshold` number, nullable — The model confidence score threshold this stage is configured to use
        - `model_id` string, uuid, nullable, required
        - `model_type` 'gust' | 'external', nullable — The type of model this stage is configured to use
        - `x` integer, nullable, required — Position in the UI. Horizontal offset from top left canvas corner in pixels.
        - `y` integer, nullable, required — Position in the UI. Vertical offset from top left canvas corner in pixels.
      - object — Has to be used for dataset stage
        - `class_mapping` object[], nullable — Determines how model classes are mapped to darwin annotation classes
          - `annotation_class_id` integer, required
          - `model_class_label` string, required
        - `dataset_id` integer, nullable
        - `from_non_default_v1_template` boolean, nullable — Tracks information regarding v1 to v2 dataset migration internals.
        - `initial` boolean, nullable — Indicates if this is an initial stage of a workflow. Can be true only for a dataset stage.
        - `x` integer, nullable, required — Position in the UI. Horizontal offset from top left canvas corner in pixels.
        - `y` integer, nullable, required — Position in the UI. Vertical offset from top left canvas corner in pixels.
      - object — Has to be used for complete stage
        - `from_non_default_v1_template` boolean, nullable — Tracks information regarding v1 to v2 dataset migration internals.
        - `initial` boolean, nullable — Indicates if this is an initial stage of a workflow. Can be true only for a dataset stage.
        - `x` integer, nullable — Position in the UI. Horizontal offset from top left canvas corner in pixels.
        - `y` integer, nullable — Position in the UI. Vertical offset from top left canvas corner in pixels.
      - object — Has to be used for discard stage
        - `from_non_default_v1_template` boolean, nullable — Tracks information regarding v1 to v2 dataset migration internals.
        - `initial` boolean, nullable — Indicates if this is an initial stage of a workflow. Can be true only for a dataset stage.
        - `x` integer, nullable — Position in the UI. Horizontal offset from top left canvas corner in pixels.
        - `y` integer, nullable — Position in the UI. Vertical offset from top left canvas corner in pixels.
      - object — Has to be used for model stage
        - `authorization_header` string, nullable — In webhook stage allows to use custom authorization header value
        - `authorization_header_name` string, nullable — In webhook stage allows to use custom authorization header name
        - `from_non_default_v1_template` boolean, nullable — Tracks information regarding v1 to v2 dataset migration internals.
        - `include_annotations` boolean, nullable, required — In webhook stage tells whether annotations should be included into the webhook payload
        - `initial` boolean, nullable — Indicates if this is an initial stage of a workflow. Can be true only for a dataset stage.
        - `readonly` boolean, nullable — In review stage indicates if the reviewer can perform CRUD on annotations, or only approve/reject.
        - `retry_if_fails` boolean, nullable — In webhook stage tells if we need to perform retry to retry a webhook call
        - `url` string, nullable, required — In webhook stage indicates the Webhook URL
        - `x` integer, nullable, required — Position in the UI. Horizontal offset from top left canvas corner in pixels.
        - `y` integer, nullable, required — Position in the UI. Vertical offset from top left canvas corner in pixels.
      - object — Has to be used for logic stage
        - `from_non_default_v1_template` boolean, nullable — Tracks information regarding v1 to v2 dataset migration internals.
        - `initial` boolean, nullable — Indicates if this is an initial stage of a workflow. Can be true only for a dataset stage.
        - `rules` WorkflowsV2WorkflowLogicRule[], required
          - `conditions` WorkflowsV2WorkflowRuleCondition[], required
            - `operand` 'eq' | 'neq' | 'gt' | 'lt' | 'match' | 'nomatch' | 'in' | 'not_in' | 'any_between' | 'all_between' | 'exists' | 'not_exists', required
            - `seq` integer
            - `subject` 'Annotation' | 'ItemProperty' | 'AIReviewCallout' | 'ClassProperty', required
            - `value` WorkflowsV2WorkflowConditionValue, required
              - …
          - `name` string, required
          - `seq` integer, required
        - `x` integer, nullable, required — Position in the UI. Horizontal offset from top left canvas corner in pixels.
        - `y` integer, nullable, required — Position in the UI. Vertical offset from top left canvas corner in pixels.
      - object — Has to be used for consensus entrypoint stage
        - `from_non_default_v1_template` boolean, nullable — Tracks information regarding v1 to v2 dataset migration internals.
        - `initial` boolean, nullable — Indicates if this is an initial stage of a workflow. Can be true only for a dataset stage.
        - `parallel_stage_ids` CommonUUID[], nullable, required — IDs of parallel stages within a consensus stage
        - `test_stage_id` string, uuid, required
        - `x` integer, nullable, required — Position in the UI. Horizontal offset from top left canvas corner in pixels.
        - `y` integer, nullable, required — Position in the UI. Vertical offset from top left canvas corner in pixels.
      - object — Has to be used for test stage
        - `champion_stage_id` string, uuid
        - `from_non_default_v1_template` boolean, nullable — Tracks information regarding v1 to v2 dataset migration internals.
        - `initial` boolean, nullable — Indicates if this is an initial stage of a workflow. Can be true only for a dataset stage.
        - `iou_thresholds` WorkflowsV2WorkflowConfigIoUThresholds, nullable, required — IoU thresholds that will determine whether the annotaions will pass or fail the test stage
          - `annotation_classes` object[] — IoU threshold configuration per annotation class
            - `annotation_class_id` integer — An id of an annotation class
            - `annotation_subtypes` WorkflowsV2WorkflowConfigAnnotationType[] — IDs of sub annotations to use for IoU computation
            - `threshold` number — Number between 0 and 1 used as a success threshold for IoU results
          - `annotation_types` object[] — IoU threshold configuration per annotation type
            - `annotation_type` string — An name of an annotation type
            - `threshold` number — Number between 0 and 1 used as a success threshold for IoU results
          - `general_threshold` number — Number between 0 and 1 used as a success threshold for IoU results
          - `item_properties` object[], nullable — Per-property threshold configuration for single-select item-level property consensus
            - `property_id` string, uuid, required — Property UUID
            - `threshold` number, required — Number between 0 and 1 used as a success threshold for IoU results
        - `x` integer, nullable, required — Position in the UI. Horizontal offset from top left canvas corner in pixels.
        - `y` integer, nullable, required — Position in the UI. Vertical offset from top left canvas corner in pixels.
      - object — Has to be used for sampling stage
        - `from_non_default_v1_template` boolean, nullable — Tracks information regarding v1 to v2 dataset migration internals.
        - `initial` boolean, nullable — Indicates if this is an initial stage of a workflow. Can be true only for a dataset stage.
        - `threshold` integer, nullable — Sampling threshold that determines the X% of items that will transition through the main edge. 100%-X% will transition through the other edge.
        - `x` integer, nullable — Position in the UI. Horizontal offset from top left canvas corner in pixels.
        - `y` integer, nullable — Position in the UI. Vertical offset from top left canvas corner in pixels.
      - object — Has to be used for parallel blind stage
        - `from_non_default_v1_template` boolean, nullable — Tracks information regarding v1 to v2 dataset migration internals.
        - `initial` boolean, nullable — Indicates if this is an initial stage of a workflow. Can be true only for a dataset stage.
        - `parallel_stages` WorkflowsV2WorkflowParallelStage[], required
          - `assignable_users` WorkflowsV2WorkflowStageAssignableUser[], required
            - `stage_id` string, uuid, required
            - `user_id` integer, required
          - `config` WorkflowsV2WorkflowAnnotateStageConfig, required — Has to be used for annotations stage
            - `allowed_class_ids` AnnotationsAnnotationAnnotationClassId[], nullable — Specifies a list of allowed annotation class IDs that can be used to create annotations in the AnnotateStage; if this field is not present or is set to `null`, then the classes are not filtered and any class valid for the context can be used
            - `allowed_property_ids` AnnotationsPropertyPropertyId[], nullable — Specifies a list of allowed item level properties that can be used to create in the annotate stage. If this field is not present or is set to `null`, then all properties can be used. It cannot be an empty list.
            - `annotation_group_id` string, uuid, nullable
            - `assignable_to` 'anyone' | 'manual', nullable — In assignable stage (annotate or review), determines users who can be autoassigned to the stage.
            - `from_non_default_v1_template` boolean, nullable — Tracks information regarding v1 to v2 dataset migration internals.
            - `initial` boolean, nullable — Indicates if this is an initial stage of a workflow. Can be true only for a dataset stage.
            - `skippable` boolean, nullable — In annotate, review stage indicates if the item in the stage can be marked as skipped.
            - `x` integer, nullable, required — Position in the UI. Horizontal offset from top left canvas corner in pixels.
            - `y` integer, nullable, required — Position in the UI. Vertical offset from top left canvas corner in pixels.
          - `id` string, uuid, required
          - `name` string, required
          - `type` 'annotate', required
        - `x` integer, nullable, required — Position in the UI. Horizontal offset from top left canvas corner in pixels.
        - `y` integer, nullable, required — Position in the UI. Vertical offset from top left canvas corner in pixels.
      - object — Has to be used for ai review stage
        - `from_non_default_v1_template` boolean, nullable — Tracks information regarding v1 to v2 dataset migration internals.
        - `initial` boolean, nullable — Indicates if this is an initial stage of a workflow. Can be true only for a dataset stage.
        - `instruction_ids` CommonUUID[], required
        - `x` integer, nullable, required — Position in the UI. Horizontal offset from top left canvas corner in pixels.
        - `y` integer, nullable, required — Position in the UI. Vertical offset from top left canvas corner in pixels.
    - `edges` WorkflowsV2WorkflowEdge[]
      - `id` string, uuid
      - `name` string, required
      - `source_stage_id` string, uuid, required
      - `target_stage_id` string, uuid, required
    - `id` string, uuid, required
    - `name` string, required
    - `type` 'annotate' | 'complete' | 'consensus_entrypoint' | 'consensus_test' | 'dataset' | 'discard' | 'model' | 'review' | 'webhook' | 'archive' | 'logic' | 'sampling' | 'parallel_blind' | 'ai_review', required

## Response `201`

WorkflowsV2.Workflow.Workflow

- WorkflowsV2WorkflowWorkflow
  - `dataset` object, nullable, required
    - `annotation_hotkeys` object, required
    - `annotators_can_instantiate_workflows` boolean
    - `id` integer, required
    - `instructions` string, required — html/markup like instructions to the annotator on how to label the images
    - `name` string, required
  - `id` string, uuid, nullable, required — A unique identifier for a workflow
  - `inserted_at` string, required
  - `name` string, required
  - `progress` object, required
    - `complete` integer, required
    - `idle` integer, required
    - `in_progress` integer, required
    - `total` integer, required
  - `stages` WorkflowsV2WorkflowStage[], required
    - `assignable_users` WorkflowsV2WorkflowStageAssignableUser[], required
      - `stage_id` string, uuid, required
      - `user_id` integer, required
    - `config` union, required
      - object — Has to be used for annotations stage
        - `allowed_class_ids` AnnotationsAnnotationAnnotationClassId[], nullable — Specifies a list of allowed annotation class IDs that can be used to create annotations in the AnnotateStage; if this field is not present or is set to `null`, then the classes are not filtered and any class valid for the context can be used
        - `allowed_property_ids` AnnotationsPropertyPropertyId[], nullable — Specifies a list of allowed item level properties that can be used to create in the annotate stage. If this field is not present or is set to `null`, then all properties can be used. It cannot be an empty list.
        - `annotation_group_id` string, uuid, nullable
        - `assignable_to` 'anyone' | 'manual', nullable — In assignable stage (annotate or review), determines users who can be autoassigned to the stage.
        - `from_non_default_v1_template` boolean, nullable — Tracks information regarding v1 to v2 dataset migration internals.
        - `initial` boolean, nullable — Indicates if this is an initial stage of a workflow. Can be true only for a dataset stage.
        - `skippable` boolean, nullable — In annotate, review stage indicates if the item in the stage can be marked as skipped.
        - `x` integer, nullable, required — Position in the UI. Horizontal offset from top left canvas corner in pixels.
        - `y` integer, nullable, required — Position in the UI. Vertical offset from top left canvas corner in pixels.
      - object — Has to be used for review stage
        - `assignable_to` 'anyone' | 'manual', nullable — In assignable stage (annotate or review), determines users who can be autoassigned to the stage.
        - `from_non_default_v1_template` boolean, nullable — Tracks information regarding v1 to v2 dataset migration internals.
        - `initial` boolean, nullable — Indicates if this is an initial stage of a workflow. Can be true only for a dataset stage.
        - `readonly` boolean, nullable, required — In review stage indicates if the reviewer can perform CRUD on annotations, or only approve/reject.
        - `skippable` boolean, nullable — In annotate, review stage indicates if the item in the stage can be marked as skipped.
        - `x` integer, nullable, required — Position in the UI. Horizontal offset from top left canvas corner in pixels.
        - `y` integer, nullable, required — Position in the UI. Vertical offset from top left canvas corner in pixels.
      - object — Has to be used for model stage
        - `annotation_group_id` string, uuid, nullable
        - `auto_instantiate` boolean, nullable — Tells whether model should be auto-started when inference request is sent.
        - `class_mapping` object[], nullable — Determines how model classes are mapped to darwin annotation classes
          - `annotation_class_id` integer, required
          - `model_class_label` string, required
        - `from_non_default_v1_template` boolean, nullable — Tracks information regarding v1 to v2 dataset migration internals.
        - `initial` boolean, nullable — Indicates if this is an initial stage of a workflow. Can be true only for a dataset stage.
        - `model_confidence_threshold` number, nullable — The model confidence score threshold this stage is configured to use
        - `model_id` string, uuid, nullable, required
        - `model_type` 'gust' | 'external', nullable — The type of model this stage is configured to use
        - `x` integer, nullable, required — Position in the UI. Horizontal offset from top left canvas corner in pixels.
        - `y` integer, nullable, required — Position in the UI. Vertical offset from top left canvas corner in pixels.
      - object — Has to be used for dataset stage
        - `class_mapping` object[], nullable — Determines how model classes are mapped to darwin annotation classes
          - `annotation_class_id` integer, required
          - `model_class_label` string, required
        - `dataset_id` integer, nullable
        - `from_non_default_v1_template` boolean, nullable — Tracks information regarding v1 to v2 dataset migration internals.
        - `initial` boolean, nullable — Indicates if this is an initial stage of a workflow. Can be true only for a dataset stage.
        - `x` integer, nullable, required — Position in the UI. Horizontal offset from top left canvas corner in pixels.
        - `y` integer, nullable, required — Position in the UI. Vertical offset from top left canvas corner in pixels.
      - object — Has to be used for complete stage
        - `from_non_default_v1_template` boolean, nullable — Tracks information regarding v1 to v2 dataset migration internals.
        - `initial` boolean, nullable — Indicates if this is an initial stage of a workflow. Can be true only for a dataset stage.
        - `x` integer, nullable — Position in the UI. Horizontal offset from top left canvas corner in pixels.
        - `y` integer, nullable — Position in the UI. Vertical offset from top left canvas corner in pixels.
      - object — Has to be used for discard stage
        - `from_non_default_v1_template` boolean, nullable — Tracks information regarding v1 to v2 dataset migration internals.
        - `initial` boolean, nullable — Indicates if this is an initial stage of a workflow. Can be true only for a dataset stage.
        - `x` integer, nullable — Position in the UI. Horizontal offset from top left canvas corner in pixels.
        - `y` integer, nullable — Position in the UI. Vertical offset from top left canvas corner in pixels.
      - object — Has to be used for model stage
        - `authorization_header` string, nullable — In webhook stage allows to use custom authorization header value
        - `authorization_header_name` string, nullable — In webhook stage allows to use custom authorization header name
        - `from_non_default_v1_template` boolean, nullable — Tracks information regarding v1 to v2 dataset migration internals.
        - `include_annotations` boolean, nullable, required — In webhook stage tells whether annotations should be included into the webhook payload
        - `initial` boolean, nullable — Indicates if this is an initial stage of a workflow. Can be true only for a dataset stage.
        - `readonly` boolean, nullable — In review stage indicates if the reviewer can perform CRUD on annotations, or only approve/reject.
        - `retry_if_fails` boolean, nullable — In webhook stage tells if we need to perform retry to retry a webhook call
        - `url` string, nullable, required — In webhook stage indicates the Webhook URL
        - `x` integer, nullable, required — Position in the UI. Horizontal offset from top left canvas corner in pixels.
        - `y` integer, nullable, required — Position in the UI. Vertical offset from top left canvas corner in pixels.
      - object — Has to be used for logic stage
        - `from_non_default_v1_template` boolean, nullable — Tracks information regarding v1 to v2 dataset migration internals.
        - `initial` boolean, nullable — Indicates if this is an initial stage of a workflow. Can be true only for a dataset stage.
        - `rules` WorkflowsV2WorkflowLogicRule[], required
          - `conditions` WorkflowsV2WorkflowRuleCondition[], required
            - `operand` 'eq' | 'neq' | 'gt' | 'lt' | 'match' | 'nomatch' | 'in' | 'not_in' | 'any_between' | 'all_between' | 'exists' | 'not_exists', required
            - `seq` integer
            - `subject` 'Annotation' | 'ItemProperty' | 'AIReviewCallout' | 'ClassProperty', required
            - `value` WorkflowsV2WorkflowConditionValue, required
              - …
          - `name` string, required
          - `seq` integer, required
        - `x` integer, nullable, required — Position in the UI. Horizontal offset from top left canvas corner in pixels.
        - `y` integer, nullable, required — Position in the UI. Vertical offset from top left canvas corner in pixels.
      - object — Has to be used for consensus entrypoint stage
        - `from_non_default_v1_template` boolean, nullable — Tracks information regarding v1 to v2 dataset migration internals.
        - `initial` boolean, nullable — Indicates if this is an initial stage of a workflow. Can be true only for a dataset stage.
        - `parallel_stage_ids` CommonUUID[], nullable, required — IDs of parallel stages within a consensus stage
        - `test_stage_id` string, uuid, required
        - `x` integer, nullable, required — Position in the UI. Horizontal offset from top left canvas corner in pixels.
        - `y` integer, nullable, required — Position in the UI. Vertical offset from top left canvas corner in pixels.
      - object — Has to be used for test stage
        - `champion_stage_id` string, uuid
        - `from_non_default_v1_template` boolean, nullable — Tracks information regarding v1 to v2 dataset migration internals.
        - `initial` boolean, nullable — Indicates if this is an initial stage of a workflow. Can be true only for a dataset stage.
        - `iou_thresholds` WorkflowsV2WorkflowConfigIoUThresholds, nullable, required — IoU thresholds that will determine whether the annotaions will pass or fail the test stage
          - `annotation_classes` object[] — IoU threshold configuration per annotation class
            - `annotation_class_id` integer — An id of an annotation class
            - `annotation_subtypes` WorkflowsV2WorkflowConfigAnnotationType[] — IDs of sub annotations to use for IoU computation
            - `threshold` number — Number between 0 and 1 used as a success threshold for IoU results
          - `annotation_types` object[] — IoU threshold configuration per annotation type
            - `annotation_type` string — An name of an annotation type
            - `threshold` number — Number between 0 and 1 used as a success threshold for IoU results
          - `general_threshold` number — Number between 0 and 1 used as a success threshold for IoU results
          - `item_properties` object[], nullable — Per-property threshold configuration for single-select item-level property consensus
            - `property_id` string, uuid, required — Property UUID
            - `threshold` number, required — Number between 0 and 1 used as a success threshold for IoU results
        - `x` integer, nullable, required — Position in the UI. Horizontal offset from top left canvas corner in pixels.
        - `y` integer, nullable, required — Position in the UI. Vertical offset from top left canvas corner in pixels.
      - object — Has to be used for sampling stage
        - `from_non_default_v1_template` boolean, nullable — Tracks information regarding v1 to v2 dataset migration internals.
        - `initial` boolean, nullable — Indicates if this is an initial stage of a workflow. Can be true only for a dataset stage.
        - `threshold` integer, nullable — Sampling threshold that determines the X% of items that will transition through the main edge. 100%-X% will transition through the other edge.
        - `x` integer, nullable — Position in the UI. Horizontal offset from top left canvas corner in pixels.
        - `y` integer, nullable — Position in the UI. Vertical offset from top left canvas corner in pixels.
      - object — Has to be used for parallel blind stage
        - `from_non_default_v1_template` boolean, nullable — Tracks information regarding v1 to v2 dataset migration internals.
        - `initial` boolean, nullable — Indicates if this is an initial stage of a workflow. Can be true only for a dataset stage.
        - `parallel_stages` WorkflowsV2WorkflowParallelStage[], required
          - `assignable_users` WorkflowsV2WorkflowStageAssignableUser[], required
            - `stage_id` string, uuid, required
            - `user_id` integer, required
          - `config` WorkflowsV2WorkflowAnnotateStageConfig, required — Has to be used for annotations stage
            - `allowed_class_ids` AnnotationsAnnotationAnnotationClassId[], nullable — Specifies a list of allowed annotation class IDs that can be used to create annotations in the AnnotateStage; if this field is not present or is set to `null`, then the classes are not filtered and any class valid for the context can be used
            - `allowed_property_ids` AnnotationsPropertyPropertyId[], nullable — Specifies a list of allowed item level properties that can be used to create in the annotate stage. If this field is not present or is set to `null`, then all properties can be used. It cannot be an empty list.
            - `annotation_group_id` string, uuid, nullable
            - `assignable_to` 'anyone' | 'manual', nullable — In assignable stage (annotate or review), determines users who can be autoassigned to the stage.
            - `from_non_default_v1_template` boolean, nullable — Tracks information regarding v1 to v2 dataset migration internals.
            - `initial` boolean, nullable — Indicates if this is an initial stage of a workflow. Can be true only for a dataset stage.
            - `skippable` boolean, nullable — In annotate, review stage indicates if the item in the stage can be marked as skipped.
            - `x` integer, nullable, required — Position in the UI. Horizontal offset from top left canvas corner in pixels.
            - `y` integer, nullable, required — Position in the UI. Vertical offset from top left canvas corner in pixels.
          - `id` string, uuid, required
          - `name` string, required
          - `type` 'annotate', required
        - `x` integer, nullable, required — Position in the UI. Horizontal offset from top left canvas corner in pixels.
        - `y` integer, nullable, required — Position in the UI. Vertical offset from top left canvas corner in pixels.
      - object — Has to be used for ai review stage
        - `from_non_default_v1_template` boolean, nullable — Tracks information regarding v1 to v2 dataset migration internals.
        - `initial` boolean, nullable — Indicates if this is an initial stage of a workflow. Can be true only for a dataset stage.
        - `instruction_ids` CommonUUID[], required
        - `x` integer, nullable, required — Position in the UI. Horizontal offset from top left canvas corner in pixels.
        - `y` integer, nullable, required — Position in the UI. Vertical offset from top left canvas corner in pixels.
    - `edges` WorkflowsV2WorkflowEdge[], required
      - `id` string, uuid
      - `name` string, required
      - `source_stage_id` string, uuid, required
      - `target_stage_id` string, uuid, required
    - `id` string, uuid, required
    - `name` string, required
    - `type` 'annotate' | 'complete' | 'consensus_entrypoint' | 'consensus_test' | 'dataset' | 'discard' | 'model' | 'review' | 'webhook' | 'archive' | 'logic' | 'sampling' | 'parallel_blind' | 'ai_review', required
  - `team_id` integer, required
  - `thumbnails` string[], required — List of thumbnails urls
  - `updated_at` string, required
  - `work_batch_requested` boolean, nullable — Whether there is a pending request for more work for the current user and this workflow. This field is experimental and may be removed without notice.

## Other responses

- `401` — Common.APIError
- `404` — Common.APIError
- `422` — Unprocessible Entity

---

[API](https://skmtc.net/v7labs/apis/darwin.md) · [All operations](https://skmtc.net/v7labs/apis/darwin/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/v7labs/darwin/revisions/526a5b6b4cdc/schema)
