Skip to main content
PUT
/
blueprint
/
{blueprint_id}
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.update_blueprint(blueprint_id="<id>", name="<value>", execution_mode=None, version="<value>", description="worth up round ew ultimate sociable yuck submissive", dsl_definition=None, yaml_spec_content="<value>", json_spec_content={
        "key": "<value>",
    }, init_input={
        "key": "<value>",
        "key1": "<value>",
        "key2": "<value>",
    })

    # Handle response
    print(res)
{
  "name": "<string>",
  "dsl_definition": "serverless-workflow_v1.0.0",
  "customer_id": "<string>",
  "project_id": "<string>",
  "id": "<string>",
  "execution_mode": "CHAT",
  "chat_signal": "<string>",
  "version": "<string>",
  "description": "<string>",
  "yaml_spec_content": "<string>",
  "json_spec_content": {},
  "created_by": "<string>",
  "updated_by": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "workflow_type": "BlueprintRunnerWorkflow",
  "workflow_task_queue": "blueprint-runner-task-queue",
  "init_input": {}
}

Authorizations

Meibel-API-Key
string
header
required

Path Parameters

blueprint_id
string
required

Body

application/json

UpdateBlueprintRequest

name
string | null
execution_mode
string | null
version
string | null
description
string | null
dsl_definition
enum<string> | null

DslDefinition

Available options:
serverless-workflow_v1.0.0
yaml_spec_content
string | null
json_spec_content
Json Spec Content · object
init_input
Init Input · object

Response

Successful Response

Blueprint

name
string
required
dsl_definition
enum<string>
required

DslDefinition

Available options:
serverless-workflow_v1.0.0
customer_id
string
required
project_id
string
required
id
string | null
execution_mode
enum<string> | null

BlueprintExecutionMode

Available options:
CHAT,
WORKFLOW
chat_signal
string | null
version
string | null
description
string | null
yaml_spec_content
string | null
json_spec_content
Json Spec Content · object
created_by
string | null
updated_by
string | null
created_at
string<date-time> | null
updated_at
string<date-time> | null
workflow_type
string | null
default:BlueprintRunnerWorkflow
workflow_task_queue
string | null
default:blueprint-runner-task-queue
init_input
Init Input · object