Skip to main content
POST
/
blueprint-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.add_blueprint_instance(blueprint_id="<id>", workflow_type="<value>", task_queue="<value>", instance_metadata={
        "key": "<value>",
        "key1": "<value>",
    }, parent_id="<id>")

    # Handle response
    print(res)
{
  "id": "<string>"
}

Authorizations

Meibel-API-Key
string
header
required

Body

application/json

AddBlueprintInstanceRequest

blueprint_id
string | null
workflow_type
string | null
task_queue
string | null
instance_metadata
object | null
parent_id
string | null

Response

Successful Response

AddBlueprintInstanceResponse

id
string
required
I