> ## Documentation index
> Fetch the complete documentation index at: https://novu.docs7.io/llms.txt
> Ask it with GET https://novu.docs7.io/ask?q=<keywords or question>. Short keywords rank best.
> Use these to discover all available pages before exploring further.

# Retrieve workflow step

> Retrieves data for a specific step in a workflow

`GET /v2/workflows/{workflowId}/steps/{stepId}`

## OpenAPI

````yaml https://spec.speakeasy.com/novu/novu/json-development-with-code-samples get /v2/workflows/{workflowId}/steps/{stepId}
openapi: 3.0.0
info:
  title: Novu API
  description: Novu REST API. Please see https://docs.novu.co/api-reference for
    more details.
  version: 3.19.2
  contact:
    name: Novu Support
    url: https://discord.gg/novu
    email: support@novu.co
  termsOfService: https://novu.co/terms
  license:
    name: MIT
    url: https://opensource.org/license/mit
servers:
  - url: https://api.novu.co
  - url: https://eu.api.novu.co
security:
  - secretKey: []
tags:
  - name: Events
    description: Events represent a change in state of a subscriber. They are used
      to trigger workflows, and enable you to send notifications to subscribers
      based on their actions.
    externalDocs:
      url: https://docs.novu.co/workflows
  - name: Subscribers
    description: A subscriber in Novu represents someone who should receive a
      message. A subscriber's profile information contains important attributes
      about the subscriber that will be used in messages (name, email). The
      subscriber object can contain other key-value pairs that can be used to
      further personalize your messages.
    externalDocs:
      url: https://docs.novu.co/subscribers/subscribers
  - name: Topics
    description: Topics are a way to group subscribers together so that they can be
      notified of events at once. A topic is identified by a custom key. This
      can be helpful for things like sending out marketing emails or notifying
      users of new features. Topics can also be used to send notifications to
      the subscribers who have been grouped together based on their interests,
      location, activities and much more.
    externalDocs:
      url: https://docs.novu.co/subscribers/topics
  - name: Integrations
    description: With the help of the Integration Store, you can easily integrate
      your favorite delivery provider. During the runtime of the API, the
      Integrations Store is responsible for storing the configurations of all
      the providers.
    externalDocs:
      url: https://docs.novu.co/platform/integrations/overview
  - name: Workflows
    description: All notifications are sent via a workflow. Each workflow acts as a
      container for the logic and blueprint that are associated with a type of
      notification in your system.
    externalDocs:
      url: https://docs.novu.co/workflows
  - name: Messages
    description: A message in Novu represents a notification delivered to a
      recipient on a particular channel. Messages contain information about the
      request that triggered its delivery, a view of the data sent to the
      recipient, and a timeline of its lifecycle events. Learn more about
      messages.
    externalDocs:
      url: https://docs.novu.co/workflows/messages
  - name: Environments
    description: Environments allow you to manage different stages of your
      application development lifecycle. Each environment has its own set of API
      keys and configurations, enabling you to separate development, staging,
      and production workflows.
    externalDocs:
      url: https://docs.novu.co/platform/environments
  - name: Layouts
    description: Layouts are reusable wrappers for your email notifications.
    externalDocs:
      url: https://docs.novu.co/platform/workflow/layouts
  - name: Translations
    description: Used to localize your notifications to different languages.
    externalDocs:
      url: https://docs.novu.co/platform/workflow/advanced-features/translations
  - name: Domains
    description: Used to manage your inbound email domains.
    externalDocs:
      url: https://docs.novu.co/platform/domains
  - name: Agents
    description: Agents are conversational assistants that receive inbound messages
      from connected channels and respond through a custom code bridge or a
      managed runtime provider.
    externalDocs:
      url: https://docs.novu.co/agents
paths:
  /v2/workflows/{workflowId}/steps/{stepId}:
    get:
      description: Retrieves data for a specific step in a workflow
      operationId: WorkflowController_getWorkflowStepData
      parameters:
        - name: workflowId
          required: true
          in: path
          schema:
            type: string
        - name: stepId
          required: true
          in: path
          schema:
            type: string
        - name: idempotency-key
          in: header
          description: A header for idempotency purposes
          required: false
          schema:
            type: string
      responses:
        "200":
          description: OK
          headers:
            Content-Type:
              $ref: "#/components/headers/Content-Type"
            RateLimit-Limit:
              $ref: "#/components/headers/RateLimit-Limit"
            RateLimit-Remaining:
              $ref: "#/components/headers/RateLimit-Remaining"
            RateLimit-Reset:
              $ref: "#/components/headers/RateLimit-Reset"
            RateLimit-Policy:
              $ref: "#/components/headers/RateLimit-Policy"
            Idempotency-Key:
              $ref: "#/components/headers/Idempotency-Key"
            Idempotency-Replay:
              $ref: "#/components/headers/Idempotency-Replay"
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/StepResponseDto"
        "400":
          description: Bad Request
          headers:
            Content-Type:
              $ref: "#/components/headers/Content-Type"
            RateLimit-Limit:
              $ref: "#/components/headers/RateLimit-Limit"
            RateLimit-Remaining:
              $ref: "#/components/headers/RateLimit-Remaining"
            RateLimit-Reset:
              $ref: "#/components/headers/RateLimit-Reset"
            RateLimit-Policy:
              $ref: "#/components/headers/RateLimit-Policy"
            Idempotency-Key:
              $ref: "#/components/headers/Idempotency-Key"
            Idempotency-Replay:
              $ref: "#/components/headers/Idempotency-Replay"
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorDto"
        "401":
          description: Unauthorized
          headers:
            Content-Type:
              $ref: "#/components/headers/Content-Type"
            RateLimit-Limit:
              $ref: "#/components/headers/RateLimit-Limit"
            RateLimit-Remaining:
              $ref: "#/components/headers/RateLimit-Remaining"
            RateLimit-Reset:
              $ref: "#/components/headers/RateLimit-Reset"
            RateLimit-Policy:
              $ref: "#/components/headers/RateLimit-Policy"
            Idempotency-Key:
              $ref: "#/components/headers/Idempotency-Key"
            Idempotency-Replay:
              $ref: "#/components/headers/Idempotency-Replay"
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorDto"
        "403":
          description: Forbidden
          headers:
            Content-Type:
              $ref: "#/components/headers/Content-Type"
            RateLimit-Limit:
              $ref: "#/components/headers/RateLimit-Limit"
            RateLimit-Remaining:
              $ref: "#/components/headers/RateLimit-Remaining"
            RateLimit-Reset:
              $ref: "#/components/headers/RateLimit-Reset"
            RateLimit-Policy:
              $ref: "#/components/headers/RateLimit-Policy"
            Idempotency-Key:
              $ref: "#/components/headers/Idempotency-Key"
            Idempotency-Replay:
              $ref: "#/components/headers/Idempotency-Replay"
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorDto"
        "404":
          description: Not Found
          headers:
            Content-Type:
              $ref: "#/components/headers/Content-Type"
            RateLimit-Limit:
              $ref: "#/components/headers/RateLimit-Limit"
            RateLimit-Remaining:
              $ref: "#/components/headers/RateLimit-Remaining"
            RateLimit-Reset:
              $ref: "#/components/headers/RateLimit-Reset"
            RateLimit-Policy:
              $ref: "#/components/headers/RateLimit-Policy"
            Idempotency-Key:
              $ref: "#/components/headers/Idempotency-Key"
            Idempotency-Replay:
              $ref: "#/components/headers/Idempotency-Replay"
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorDto"
        "405":
          description: Method Not Allowed
          headers:
            Content-Type:
              $ref: "#/components/headers/Content-Type"
            RateLimit-Limit:
              $ref: "#/components/headers/RateLimit-Limit"
            RateLimit-Remaining:
              $ref: "#/components/headers/RateLimit-Remaining"
            RateLimit-Reset:
              $ref: "#/components/headers/RateLimit-Reset"
            RateLimit-Policy:
              $ref: "#/components/headers/RateLimit-Policy"
            Idempotency-Key:
              $ref: "#/components/headers/Idempotency-Key"
            Idempotency-Replay:
              $ref: "#/components/headers/Idempotency-Replay"
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorDto"
        "409":
          headers:
            Content-Type:
              $ref: "#/components/headers/Content-Type"
            RateLimit-Limit:
              $ref: "#/components/headers/RateLimit-Limit"
            RateLimit-Remaining:
              $ref: "#/components/headers/RateLimit-Remaining"
            RateLimit-Reset:
              $ref: "#/components/headers/RateLimit-Reset"
            RateLimit-Policy:
              $ref: "#/components/headers/RateLimit-Policy"
            Idempotency-Key:
              $ref: "#/components/headers/Idempotency-Key"
            Idempotency-Replay:
              $ref: "#/components/headers/Idempotency-Replay"
          description: Conflict
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorDto"
        "413":
          description: Payload Too Large
          headers:
            Content-Type:
              $ref: "#/components/headers/Content-Type"
            RateLimit-Limit:
              $ref: "#/components/headers/RateLimit-Limit"
            RateLimit-Remaining:
              $ref: "#/components/headers/RateLimit-Remaining"
            RateLimit-Reset:
              $ref: "#/components/headers/RateLimit-Reset"
            RateLimit-Policy:
              $ref: "#/components/headers/RateLimit-Policy"
            Idempotency-Key:
              $ref: "#/components/headers/Idempotency-Key"
            Idempotency-Replay:
              $ref: "#/components/headers/Idempotency-Replay"
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorDto"
        "414":
          description: URI Too Long
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorDto"
        "415":
          description: Unsupported Media Type
          headers:
            Content-Type:
              $ref: "#/components/headers/Content-Type"
            RateLimit-Limit:
              $ref: "#/components/headers/RateLimit-Limit"
            RateLimit-Remaining:
              $ref: "#/components/headers/RateLimit-Remaining"
            RateLimit-Reset:
              $ref: "#/components/headers/RateLimit-Reset"
            RateLimit-Policy:
              $ref: "#/components/headers/RateLimit-Policy"
            Idempotency-Key:
              $ref: "#/components/headers/Idempotency-Key"
            Idempotency-Replay:
              $ref: "#/components/headers/Idempotency-Replay"
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorDto"
        "422":
          description: Unprocessable Entity
          headers:
            Content-Type:
              $ref: "#/components/headers/Content-Type"
            RateLimit-Limit:
              $ref: "#/components/headers/RateLimit-Limit"
            RateLimit-Remaining:
              $ref: "#/components/headers/RateLimit-Remaining"
            RateLimit-Reset:
              $ref: "#/components/headers/RateLimit-Reset"
            RateLimit-Policy:
              $ref: "#/components/headers/RateLimit-Policy"
            Idempotency-Key:
              $ref: "#/components/headers/Idempotency-Key"
            Idempotency-Replay:
              $ref: "#/components/headers/Idempotency-Replay"
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ValidationErrorDto"
        "429":
          description: "The client has sent too many requests in a given amount of time. "
          headers:
            Content-Type:
              $ref: "#/components/headers/Content-Type"
            RateLimit-Limit:
              $ref: "#/components/headers/RateLimit-Limit"
            RateLimit-Remaining:
              $ref: "#/components/headers/RateLimit-Remaining"
            RateLimit-Reset:
              $ref: "#/components/headers/RateLimit-Reset"
            RateLimit-Policy:
              $ref: "#/components/headers/RateLimit-Policy"
            Idempotency-Key:
              $ref: "#/components/headers/Idempotency-Key"
            Idempotency-Replay:
              $ref: "#/components/headers/Idempotency-Replay"
            Retry-After:
              $ref: "#/components/headers/Retry-After"
          content:
            application/json:
              schema:
                type: string
                example: API rate limit exceeded
        "500":
          description: Internal Server Error
          headers:
            Content-Type:
              $ref: "#/components/headers/Content-Type"
            RateLimit-Limit:
              $ref: "#/components/headers/RateLimit-Limit"
            RateLimit-Remaining:
              $ref: "#/components/headers/RateLimit-Remaining"
            RateLimit-Reset:
              $ref: "#/components/headers/RateLimit-Reset"
            RateLimit-Policy:
              $ref: "#/components/headers/RateLimit-Policy"
            Idempotency-Key:
              $ref: "#/components/headers/Idempotency-Key"
            Idempotency-Replay:
              $ref: "#/components/headers/Idempotency-Replay"
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorDto"
        "503":
          description: The server is currently unable to handle the request due to a
            temporary overload or scheduled maintenance, which will likely be
            alleviated after some delay.
          headers:
            Content-Type:
              $ref: "#/components/headers/Content-Type"
            RateLimit-Limit:
              $ref: "#/components/headers/RateLimit-Limit"
            RateLimit-Remaining:
              $ref: "#/components/headers/RateLimit-Remaining"
            RateLimit-Reset:
              $ref: "#/components/headers/RateLimit-Reset"
            RateLimit-Policy:
              $ref: "#/components/headers/RateLimit-Policy"
            Idempotency-Key:
              $ref: "#/components/headers/Idempotency-Key"
            Idempotency-Replay:
              $ref: "#/components/headers/Idempotency-Replay"
            Retry-After:
              $ref: "#/components/headers/Retry-After"
          content:
            application/json:
              schema:
                type: string
                example: Please wait some time, then try again.
      security:
        - secretKey: []
      summary: Retrieve workflow step
      tags:
        - Workflows
      x-speakeasy-group: Workflows.Steps
      x-speakeasy-name-override: retrieve
      x-codeSamples:
        - lang: php
          label: PHP
          source: |-
            declare(strict_types=1);

            require 'vendor/autoload.php';

            use novu;

            $sdk = novu\Novu::builder()
                ->setSecurity(
                    'YOUR_SECRET_KEY_HERE'
                )
                ->build();



            $response = $sdk->workflows->steps->retrieve(
                workflowId: '<id>',
                stepId: '<id>'

            );

            if ($response->stepResponseDto !== null) {
                // handle response
            }
        - lang: python
          label: Python
          source: >-
            from novu_py import Novu



            with Novu(
                secret_key="YOUR_SECRET_KEY_HERE",
            ) as novu:

                res = novu.workflows.steps.retrieve(workflow_id="<id>", step_id="<id>")

                # Handle response
                print(res)
        - lang: go
          label: Go
          source: |-
            package main

            import(
            	"context"
            	"github.com/novuhq/novu-go/v3"
            	"log"
            )

            func main() {
                ctx := context.Background()

                s := v3.New(
                    v3.WithSecurity("YOUR_SECRET_KEY_HERE"),
                )

                res, err := s.Workflows.Steps.Retrieve(ctx, "<id>", "<id>", nil)
                if err != nil {
                    log.Fatal(err)
                }
                if res.StepResponseDto != nil {
                    // handle response
                }
            }
        - lang: typescript
          label: TypeScript
          source: >-
            import { Novu } from "@novu/api";


            const novu = new Novu({
              secretKey: "YOUR_SECRET_KEY_HERE",
            });


            async function run() {
              const result = await novu.workflows.steps.retrieve("<id>", "<id>");

              console.log(result);
            }


            run();
        - lang: csharp
          label: Csharp (SDK)
          source: |-
            using Novu;
            using Novu.Models.Components;

            var sdk = new NovuSDK(secretKey: "YOUR_SECRET_KEY_HERE");

            var res = await sdk.Workflows.Steps.RetrieveAsync(
                workflowId: "<id>",
                stepId: "<id>"
            );

            // handle response
components:
  securitySchemes:
    secretKey:
      type: apiKey
      name: Authorization
      in: header
      description: 'API key authentication. Allowed headers-- "Authorization: ApiKey
        <novu_secret_key>".'
      x-speakeasy-example: YOUR_SECRET_KEY_HERE
  schemas:
    ErrorDto:
      type: object
      properties:
        statusCode:
          type: number
          description: HTTP status code of the error response.
          example: 404
        timestamp:
          type: string
          description: Timestamp of when the error occurred.
          example: 2024-12-12T13:00:00Z
        path:
          type: string
          description: The path where the error occurred.
          example: /api/v1/resource
        message:
          description: Value that failed validation
          oneOf:
            - type: string
              nullable: true
            - type: number
            - type: boolean
            - type: object
              nullable: true
            - type: array
              items:
                anyOf:
                  - type: string
                    nullable: true
                  - type: number
                  - type: boolean
                  - type: object
                    additionalProperties: true
          example: "xx xx xx "
        ctx:
          type: object
          description: Optional context object for additional error details.
          additionalProperties: true
          example:
            workflowId: some_wf_id
            stepId: some_wf_id
        errorId:
          type: string
          description: >-
            Optional unique identifier for the error, useful for tracking using
            Sentry and 
                  New Relic, only available for 500.
          example: abc123
      required:
        - statusCode
        - timestamp
        - path
    ConstraintValidation:
      type: object
      properties:
        messages:
          type: array
          items:
            type: string
          description: List of validation error messages
          example:
            - Field is required
            - Invalid format
        value:
          description: Value that failed validation
          oneOf:
            - type: string
              nullable: true
            - type: number
            - type: boolean
            - type: object
            - type: array
              items:
                anyOf:
                  - type: string
                    nullable: true
                  - type: number
                  - type: boolean
                  - type: object
                    additionalProperties: true
          example: "xx xx xx "
      required:
        - messages
    ValidationErrorDto:
      type: object
      properties:
        statusCode:
          type: number
          description: HTTP status code of the error response.
          example: 404
        timestamp:
          type: string
          description: Timestamp of when the error occurred.
          example: 2024-12-12T13:00:00Z
        path:
          type: string
          description: The path where the error occurred.
          example: /api/v1/resource
        message:
          description: Value that failed validation
          oneOf:
            - type: string
              nullable: true
            - type: number
            - type: boolean
            - type: object
              nullable: true
            - type: array
              items:
                anyOf:
                  - type: string
                    nullable: true
                  - type: number
                  - type: boolean
                  - type: object
                    additionalProperties: true
          example: "xx xx xx "
        ctx:
          type: object
          description: Optional context object for additional error details.
          additionalProperties: true
          example:
            workflowId: some_wf_id
            stepId: some_wf_id
        errorId:
          type: string
          description: >-
            Optional unique identifier for the error, useful for tracking using
            Sentry and 
                  New Relic, only available for 500.
          example: abc123
        errors:
          type: object
          description: A record of validation errors keyed by field name
          additionalProperties:
            $ref: "#/components/schemas/ConstraintValidation"
          example:
            fieldName1:
              messages:
                - Field is required
                - Must be a valid email address
              value: invalidEmail
            fieldName2:
              messages:
                - Must be at least 18 years old
              value: 17
            fieldName3:
              messages:
                - Must be a boolean value
              value: true
            fieldName4:
              messages:
                - Must be a valid object
              value:
                key: value
            fieldName5:
              messages:
                - Field is missing
              value: null
            fieldName6:
              messages:
                - Undefined value
      required:
        - statusCode
        - timestamp
        - path
        - errors
    StepTypeEnum:
      type: string
      enum:
        - in_app
        - email
        - sms
        - chat
        - push
        - tool
        - digest
        - trigger
        - delay
        - throttle
        - custom
        - http_request
      description: Channels of the notification
    ResourceOriginEnum:
      type: string
      enum:
        - novu-cloud
        - novu-cloud-v1
        - external
      description: Origin of the workflow
    UiComponentEnum:
      type: string
      enum:
        - EMAIL_EDITOR_SELECT
        - CHAT_EDITOR_SELECT
        - LAYOUT_SELECT
        - BLOCK_EDITOR
        - EMAIL_BODY
        - TEXT_FULL_LINE
        - TEXT_INLINE_LABEL
        - IN_APP_BODY
        - IN_APP_AVATAR
        - IN_APP_PRIMARY_SUBJECT
        - IN_APP_BUTTON_DROPDOWN
        - IN_APP_DISABLE_SANITIZATION_SWITCH
        - DISABLE_SANITIZATION_SWITCH
        - URL_TEXT_BOX
        - DIGEST_AMOUNT
        - DIGEST_UNIT
        - DIGEST_TYPE
        - DIGEST_KEY
        - DIGEST_CRON
        - DELAY_AMOUNT
        - DELAY_UNIT
        - DELAY_TYPE
        - DELAY_CRON
        - DELAY_DYNAMIC_KEY
        - THROTTLE_TYPE
        - THROTTLE_WINDOW
        - THROTTLE_UNIT
        - THROTTLE_DYNAMIC_KEY
        - THROTTLE_THRESHOLD
        - THROTTLE_KEY
        - EXTEND_TO_SCHEDULE
        - SMS_BODY
        - CHAT_BODY
        - PUSH_BODY
        - TOOL_BODY
        - PUSH_SUBJECT
        - QUERY_EDITOR
        - DATA
        - LAYOUT_EMAIL
        - DESTINATION_METHOD
        - DESTINATION_URL
        - DESTINATION_HEADERS
        - DESTINATION_BODY
        - DESTINATION_RESPONSE_BODY_SCHEMA
        - DESTINATION_ENFORCE_SCHEMA_VALIDATION
        - DESTINATION_CONTINUE_ON_FAILURE
        - DESTINATION_TIMEOUT
      description: Component type for the UI Schema Property
      x-speakeasy-unknown-values: allow
    UiSchemaProperty:
      type: object
      properties:
        placeholder:
          description: Placeholder for the UI Schema Property
          anyOf:
            - type: string
            - type: number
            - type: boolean
            - type: object
              additionalProperties: true
            - type: array
              items:
                anyOf:
                  - type: string
                  - type: number
                  - type: boolean
                  - type: object
                    additionalProperties: true
          nullable: true
        component:
          description: Component type for the UI Schema Property
          $ref: "#/components/schemas/UiComponentEnum"
        properties:
          type: object
          description: Properties of the UI Schema
          additionalProperties:
            $ref: "#/components/schemas/UiSchemaProperty"
      required:
        - component
    UiSchemaGroupEnum:
      type: string
      enum:
        - IN_APP
        - EMAIL
        - DIGEST
        - DELAY
        - THROTTLE
        - SMS
        - CHAT
        - PUSH
        - TOOL
        - SKIP
        - LAYOUT
        - HTTP_REQUEST
      description: Group of the UI Schema
    UiSchema:
      type: object
      properties:
        group:
          description: Group of the UI Schema
          $ref: "#/components/schemas/UiSchemaGroupEnum"
        properties:
          type: object
          description: Properties of the UI Schema
          additionalProperties:
            $ref: "#/components/schemas/UiSchemaProperty"
    ControlsMetadataDto:
      type: object
      properties:
        dataSchema:
          type: object
          description: JSON Schema for data
          additionalProperties: true
        uiSchema:
          description: UI Schema for rendering
          allOf:
            - $ref: "#/components/schemas/UiSchema"
        values:
          type: object
          description: Resolved control values for the step
          additionalProperties: true
    ContentIssueEnum:
      type: string
      enum:
        - ILLEGAL_VARIABLE_IN_CONTROL_VALUE
        - INVALID_FILTER_ARG_IN_VARIABLE
        - INVALID_URL
        - MISSING_VALUE
        - TIER_LIMIT_EXCEEDED
        - UNSUPPORTED_PROPERTY
        - CHAT_CARD_LIMIT_EXCEEDED
        - CHAT_CARD_INVALID_BUTTON
      description: Type of step content issue
    StepIssueSeverityEnum:
      type: string
      enum:
        - error
        - warning
      description: Blocking severity of the issue. `error` (default when omitted)
        blocks save; `warning` is a non-blocking notice.
    StepContentIssueDto:
      type: object
      properties:
        issueType:
          description: Type of step content issue
          $ref: "#/components/schemas/ContentIssueEnum"
        variableName:
          type: string
          description: Name of the variable related to the issue
        message:
          type: string
          description: Detailed message describing the issue
        severity:
          description: Blocking severity of the issue. `error` (default when omitted)
            blocks save; `warning` is a non-blocking notice.
          $ref: "#/components/schemas/StepIssueSeverityEnum"
      required:
        - issueType
        - message
    IntegrationIssueEnum:
      type: string
      enum:
        - MISSING_INTEGRATION
        - INBOX_NOT_CONNECTED
      description: Type of integration issue
    StepIntegrationIssue:
      type: object
      properties:
        issueType:
          description: Type of integration issue
          $ref: "#/components/schemas/IntegrationIssueEnum"
        variableName:
          type: string
          description: Name of the variable related to the issue
        message:
          type: string
          description: Detailed message describing the issue
        severity:
          description: Blocking severity of the issue. `error` (default when omitted)
            blocks save; `warning` is a non-blocking notice.
          $ref: "#/components/schemas/StepIssueSeverityEnum"
      required:
        - issueType
        - message
    StepIssuesDto:
      type: object
      properties:
        controls:
          type: object
          description: Controls-related issues
          additionalProperties:
            type: array
            items:
              $ref: "#/components/schemas/StepContentIssueDto"
        integration:
          type: object
          description: Integration-related issues
          additionalProperties:
            type: array
            items:
              $ref: "#/components/schemas/StepIntegrationIssue"
    StepResponseDto:
      type: object
      properties:
        controls:
          description: Controls metadata for the step
          allOf:
            - $ref: "#/components/schemas/ControlsMetadataDto"
        controlValues:
          type: object
          description: Control values for the step (alias for controls.values)
          additionalProperties: true
        providerOverrides:
          type: object
          description: Per-provider content overrides keyed by providerId. Stored
            separately from controlValues and merged over the default body at
            send time. Keys are ChatProviderIdEnum / ToolProviderIdEnum values
            (e.g. `slack`, `whatsapp-business`, `pagerduty`).
          example:
            slack:
              text: "{{payload.title}}"
              blocks:
                - type: divider
            whatsapp-business:
              type: text
              text:
                body: "{{payload.title}}"
            pagerduty:
              severity: warning
              source: novu
              summary: "{{payload.title}}"
          additionalProperties:
            type: object
            additionalProperties: true
          nullable: true
        integrationOverrides:
          type: object
          description: Per-integration content overrides keyed by providerId, then by
            integration identifier. Each entry is merged over the matching
            providerOverrides entry, only for sends through that integration.
            Trigger-time overrides still take precedence. Entries whose
            integration does not exist in the environment are kept but not
            applied.
          example:
            tool-webhook:
              prod-alerts:
                alert_type: incident
              staging-alerts:
                alert_type: test
          additionalProperties:
            type: object
            additionalProperties:
              type: object
              additionalProperties: true
          nullable: true
        variables:
          type: object
          description: JSON Schema for variables, follows the JSON Schema standard
          additionalProperties: true
        stepId:
          type: string
          description: Unique identifier of the step
        _id:
          type: string
          description: Database identifier of the step
        name:
          type: string
          description: Name of the step
        slug:
          type: string
          description: Slug of the step
        type:
          description: Type of the step
          $ref: "#/components/schemas/StepTypeEnum"
        origin:
          description: Origin of the step
          $ref: "#/components/schemas/ResourceOriginEnum"
        workflowId:
          type: string
          description: Workflow identifier
        workflowDatabaseId:
          type: string
          description: Workflow database identifier
        issues:
          description: Issues associated with the step
          allOf:
            - $ref: "#/components/schemas/StepIssuesDto"
        stepResolverHash:
          type: string
          description: Hash identifying the deployed Cloudflare Worker for this step
      required:
        - controls
        - variables
        - stepId
        - _id
        - name
        - slug
        - type
        - origin
        - workflowId
        - workflowDatabaseId
  headers:
    Content-Type:
      required: true
      description: The MIME type of the response body.
      schema:
        type: string
      example: application/json
    RateLimit-Limit:
      required: false
      description: The number of requests that the client is permitted to make per
        second. The actual maximum may differ when burst is enabled.
      schema:
        type: string
      example: "100"
    RateLimit-Remaining:
      required: false
      description: The number of requests remaining until the next window.
      schema:
        type: string
      example: "93"
    RateLimit-Reset:
      required: false
      description: The remaining seconds until a request of the same cost will be refreshed.
      schema:
        type: string
      example: "8"
    RateLimit-Policy:
      required: false
      description: The rate limit policy that was used to evaluate the request.
      schema:
        type: string
      example: 100;w=1;burst=110;comment="token bucket";category="trigger";cost="single"
    Retry-After:
      required: false
      description: The number of seconds after which the client may retry the request
        that was previously rejected.
      schema:
        type: string
      example: "8"
    Idempotency-Key:
      required: false
      description: The idempotency key used to evaluate the request.
      schema:
        type: string
      example: "8"
    Idempotency-Replay:
      required: false
      description: Whether the request was a replay of a previous request.
      schema:
        type: string
      example: "true"
````
