Python
from meibelai import Meibelai import os with Meibelai( api_key_header=os.getenv("MEIBELAI_API_KEY_HEADER", ""), ) as m_client: res = m_client.blueprints.instances.get_all_blueprint_instances(include_children=False, include_activities=False, include_events=False, offset=0, limit=10, sort_by="<value>", sort_order="<value>") # Handle response print(res)
{ "data": [ { "id": "<string>", "blueprint_id": "<string>", "workflow_type": "<string>", "task_queue": "<string>", "workflow_run_id": "<string>", "status": "created", "start_time": "2023-11-07T05:31:56Z", "end_time": "2023-11-07T05:31:56Z", "instance_metadata": {}, "parent_id": "<string>", "children": [ "<unknown>" ], "activities": [ { "blueprint_instance_id": "<string>", "activity_type": "<string>", "id": "<string>", "status": "pending", "start_time": "2023-11-07T05:31:56Z", "end_time": "2023-11-07T05:31:56Z", "input_data": {}, "output_data": {}, "error": "<string>", "group_id": "<string>", "task_metadata": {} } ], "events": [ { "blueprint_instance_id": "<string>", "id": "<string>", "activity_id": "<string>", "event_type": "instance_started", "timestamp": "2023-11-07T05:31:56Z", "details": {}, "group_id": "<string>", "is_signal": false, "is_internal": false, "originating_signal_id": "<string>" } ] } ] }
Number of items to skip
x >= 0
Maximum number of items to return
1 <= x <= 100
Field to sort by
Sort order (asc or desc)
Successful Response
GetBlueprintInstancesResponse
Show child attributes
Was this page helpful?