from meibelai import Meibelai
import os
with Meibelai(
api_key_header=os.getenv("MEIBELAI_API_KEY_HEADER", ""),
) as m_client:
res = m_client.blueprints.get_blueprints()
# Handle response
print(res){
"data": [
{
"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": {}
}
]
}from meibelai import Meibelai
import os
with Meibelai(
api_key_header=os.getenv("MEIBELAI_API_KEY_HEADER", ""),
) as m_client:
res = m_client.blueprints.get_blueprints()
# Handle response
print(res){
"data": [
{
"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": {}
}
]
}Was this page helpful?