add_application
Add Application
Add a new application to Codemagic from a Git repository URL. Supports both public and private repositories. For private repos, provide an SSH key for authentication.
add_application
Add a new application to Codemagic from a Git repository URL. Supports both public and private repositories. For private repos, provide an SSH key for authentication.
add_variables
Add environment variables to an existing variable group. Variables can be marked as secret for encrypted storage. This is for apps configured using codemagic.yaml.
start_build
Trigger a new build for a Codemagic application. Specify the application, workflow, and branch or tag to build. Optionally override environment variables, software versions (Xcode, Flutter), and machine type.
cancel_build
Cancel a running build. If the build has already finished, the API will indicate it was already completed.
get_application
Retrieve detailed information about a specific Codemagic application including branches, workflows, and repository details.
get_build
Retrieve detailed status and information about a specific build, including its current status, commit details, artifacts, and build actions.
list_applications
List all applications connected to your Codemagic account. Returns application IDs, names, workflows, and repository information. Use this to discover available apps before triggering builds.
create_artifact_url
Generate a public download URL for a build artifact. The URL can be shared and has a configurable expiration time. Use the artifact URL from a build's artifacts list.
manage_caches
List, delete all, or delete a specific build cache for an application. Caches are associated with workflows and include metadata like size and last usage time.
list_builds
List builds across all applications or filtered to a specific application. Returns build IDs, statuses, branches, and timestamps.
Manage CI/CD pipelines for mobile applications. Add and list applications, trigger and cancel builds, retrieve build status, and download build artifacts. Manage build caches, environment variables, and secrets. Supports Flutter, React Native, native iOS/Android, Unity, and other mobile frameworks. Configure builds with custom environment variables, software version overrides, labels, and machine types.
Common questions about connecting Codemagic to AI agents with Metorial.