Documentation Index
Fetch the complete documentation index at: https://budecosystem-b7b14df4.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Actions are the building blocks of pipelines in BudAI Foundry. This reference provides details on all available action types and their configuration options.Action Structure
Every action in a pipeline has the following structure:Available Action Types
Log Action
Log messages during pipeline execution. Type:log
Parameters:
message(string, required) - The message to loglevel(string, optional) - Log level:info,warning,error,debug. Default:info
Transform Action
Transform data between pipeline steps. Type:transform
Parameters:
operation(string, required) - Transform operation:map,filter,reduce,normalize,uppercase,lowercasefield(string, optional) - Field to transformfunction(string, optional) - Custom transformation function
API Call Action
Make HTTP requests to external APIs. Type:api_call
Parameters:
url(string, required) - API endpoint URLmethod(string, required) - HTTP method:GET,POST,PUT,DELETE,PATCHheaders(object, optional) - HTTP headersbody(object, optional) - Request body for POST/PUT/PATCHtimeout(integer, optional) - Request timeout in seconds. Default:30
Condition Action
Conditional branching based on expressions. Type:condition
Parameters:
condition(string, required) - Boolean expression to evaluateon_true(string, optional) - Step ID to execute if trueon_false(string, optional) - Step ID to execute if false
Loop Action
Iterate over collections of data. Type:loop
Parameters:
items(string, required) - Collection to iterate over (can reference previous step output)action(string, required) - Action to execute for each itemmax_iterations(integer, optional) - Maximum number of iterations. Default:100parallel(boolean, optional) - Execute iterations in parallel. Default:false
Model Add Action
Add a model to the model registry. Type:model_add
Parameters:
model_uri(string, required) - Model URI (e.g.,meta-llama/Llama-3.2-1B-Instruct)model_source(string, required) - Model source:hugging_face,custom,s3,gcsmodel_name(string, optional) - Custom model namemetadata(object, optional) - Additional model metadata
Deployment Create Action
Create a new model deployment. Type:deployment_create
Parameters:
model_id(string, required) - Model ID to deploycluster_id(string, required) - Target cluster IDdeployment_name(string, required) - Name for the deploymentreplicas(integer, optional) - Number of replicas. Default:1gpu_count(integer, optional) - GPUs per replica. Default:0memory_gb(integer, optional) - Memory in GBcpu_cores(integer, optional) - CPU cores
Cluster Health Action
Check cluster health status. Type:cluster_health
Parameters:
cluster_id(string, required) - Cluster ID to checktimeout(integer, optional) - Health check timeout in seconds. Default:30
Email Action
Send email notifications. Type:email
Parameters:
to(string or array, required) - Recipient email address(es)subject(string, required) - Email subjectbody(string, required) - Email body (supports templates)cc(string or array, optional) - CC recipientsattachments(array, optional) - File attachments
Notification Action
Send notifications to various channels. Type:notification
Parameters:
message(string, required) - Notification messagechannel(string, required) - Notification channel:slack,teams,webhookwebhook_url(string, optional) - Webhook URL for webhook channelseverity(string, optional) - Severity level:info,warning,error. Default:info
Database Action
Interact with databases. Type:database
Parameters:
connection(string, required) - Database connection stringoperation(string, required) - Operation:insert,update,delete,querytable(string, required) - Target table namedata(object, optional) - Data for insert/update operationsquery(string, optional) - SQL query for query operation
Wait Action
Pause execution for a specified duration. Type:wait
Parameters:
duration(integer, required) - Wait duration in secondsreason(string, optional) - Reason for waiting (for logging)
Listing Available Actions
Using SDK
Using CLI
Template Variables
Actions support template variables for dynamic values:Step Outputs
Pipeline Parameters
Secrets
Built-in Variables
{{now}}- Current timestamp{{pipeline_id}}- Current pipeline ID{{execution_id}}- Current execution ID
Retry Configuration
All actions support retry configuration:Conditional Execution
Execute actions conditionally:Next Steps
Pipelines & Executions
Learn how to use actions in pipelines
Pipeline DSL
Build pipelines with Python DSL