PUT
/
blueprint-instance
/
{blueprint_instance_id}
/
fail-instance
Python (SDK)
from meibelai import Meibelai
import os


with Meibelai(
    api_key_header=os.getenv("MEIBELAI_API_KEY_HEADER", ""),
) as m_client:

    res = m_client.blueprint_instances.fail_blueprint_instance(blueprint_instance_id="<id>", error="<value>", error_details={
        "key": "<value>",
        "key1": "<value>",
        "key2": "<value>",
    })

    # Handle response
    print(res)
"<any>"

Authorizations

Meibel-API-Key
string
header
required

Path Parameters

blueprint_instance_id
string
required

Unique identifier for the workflow instance

Body

application/json

FailBlueprintInstanceRequest

Response

202
application/json

Successful Response

The response is of type any.