Skip to content

Latest commit

 

History

History
52 lines (34 loc) · 3.22 KB

File metadata and controls

52 lines (34 loc) · 3.22 KB

Workflows.Steps

Overview

Available Operations

retrieve

Retrieves data for a specific step in a workflow

Example Usage

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)

Parameters

Parameter Type Required Description
workflow_id str ✔️ N/A
step_id str ✔️ N/A
idempotency_key Optional[str] A header for idempotency purposes
retries Optional[utils.RetryConfig] Configuration to override the default retry behavior of the client.

Response

models.WorkflowControllerGetWorkflowStepDataResponse

Errors

Error Type Status Code Content Type
models.ErrorDto 414 application/json
models.ErrorDto 400, 401, 403, 404, 405, 409, 413, 415 application/json
models.ValidationErrorDto 422 application/json
models.ErrorDto 500 application/json
models.APIError 4XX, 5XX */*