Skip to main content
POST
/
blueprint
Python (SDK)
import meibelai
from meibelai import Meibelai
import os


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

    res = m_client.blueprints.create_blueprint(name="<value>", dsl_definition=meibelai.DslDefinition.SERVERLESS_WORKFLOW_V1_0_0, execution_mode="<value>", version="<value>", description="petal pricey lustrous parallel for", yaml_spec_content="<value>", json_spec_content={
        "key": "<value>",
        "key1": "<value>",
    }, workflow_type="<value>", workflow_task_queue="<value>", init_input=None)

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

Authorizations

Meibel-API-Key
string
header
required

Body

application/json

AddBlueprintRequest

name
string
required
dsl_definition
enum<string>
required

DslDefinition

Available options:
serverless-workflow_v1.0.0
execution_mode
string | null
default:WORKFLOW
version
string | null
description
string | null
yaml_spec_content
string | null
json_spec_content
Json Spec Content · object
workflow_type
string | null
default:BlueprintRunnerWorkflow
workflow_task_queue
string | null
default:blueprint-runner-task-queue
init_input
Init Input · object

Response

Successful Response

AddBlueprintResponse

id
string
required