Skip to main content
POST
/
{blueprint_instance_id}
/
start-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.blueprints.executions.start_blueprint_instance(blueprint_instance_id="<id>", workflow_args=None, workflow_kwargs={
        "key": "<value>",
        "key1": "<value>",
        "key2": "<value>",
    }, enable_streaming=True)

    # Handle response
    print(res)
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Meibel-API-Key
string
header
required

Path Parameters

blueprint_instance_id
string
required

Unique identifier for the workflow instance

Body

application/json

StartBlueprintInstanceRequest

workflow_args
any[] | null
workflow_kwargs
Workflow Kwargs · object
enable_streaming
boolean | null
default:true

Enable streaming responses to Redis for chat workflows. When True, chat responses are streamed to Redis streams that can be consumed via the /chat/stream endpoint.

Response

Successful Response