This endpoint is used to mark a Blueprint Instance as failed. It will update the status of the Blueprint Instance to ‘FAILED’ and log the failure event.
PUT
/
blueprint-instance
/
{blueprint_instance_id}
/
fail-instance
Python (SDK)
Copy
Ask AI
from meibelai import Meibelaiimport oswith Meibelai( api_key_header=os.getenv("MEIBELAI_API_KEY_HEADER", ""),) as m_client: res = m_client.blueprints.instances.fail_blueprint_instance(blueprint_instance_id="<id>", error="<value>", error_details={ "key": "<value>", }) # Handle response print(res)