List building block runs via API
S
Sergi Domingo Basora
As a platform engineer I want to list building block
runs
via the API. I have the following use cases in mind:- Batch update the status of several Building Blocks in one go (by listing the BBs and getting the list of runs that are pending)
- Make my automations be able to provide status just by having the BB ID instead of needing to pass it the run ID
- Detect if a Building Block run was the first run, or if it was re-run by an admin (by fetching the list of runs for that BB)
- Get statistics of Building Block runs, for example, list all runs that failed / were stuck in progress
J
Johannes Rudolph
Update: Retrieve Individual Building Block Runs via meshObject API
In meshStack v2025.54.0, we have added support for retrieving individual building block runs by their UUID via the meshObject API.
What's available now:
*
Get Run by ID:
Platform engineers can access detailed status information about a specific building block run, including inputs, outputs, and error details.*
API Permission:
Platform teams can add a new permission to their API keys to allow access to this endpoint.Ongoing work:
* We are still evaluating the requirements for a full list endpoint for building block runs to support batch updates and statistics. From what we gather the key criteria for this would be to allow filtering runs by state (pending, failed, succeeded) as well as filering them by BuildingBlock + BuildingBlockDefinition id
A
André Leibe
I've also missed to get these information via API.
Would help me a lot!
Fingers crossed that more people out there are dealing with this. :)
Best,
André
Jelle den Burger
For the moment we do not have this planned but let's see how many more people are dealing with these problems and we can consider! For the time being the meshStack-provided variables should give metadata about the run itself.