Codemagic

Triggers mobile builds, manages environment variables, and synchronizes team access across your app repositories to automate your release pipeline.

Try Codemagic in Ceven

Ask Ceven anything
Standard

Why use Ceven?

  1. AI native Codemagic integration

    • Describe the outcome and Ceven picks the right Codemagic calls, fills the parameters, and checks the result.
    • Structured, agent friendly tool schemas so each call runs reliably instead of by guesswork.
    • Rich coverage for reading, writing, and querying your Codemagic data, across all 22 of its actions.
  2. Managed auth

    • Built in OAuth with automatic token refresh and rotation.
    • One place to manage, scope, and revoke Codemagic access.
    • Per user and per environment credentials instead of shared keys.
  3. Agent optimized design

    • Actions are tuned from real success and error rates so reliability climbs over time.
    • Full execution logs so you always know what ran in Codemagic, when, and on whose behalf.
    • The agent pauses and asks when Codemagic is unclear instead of plowing ahead.
  4. Enterprise grade security

    • Fine grained access so you control which agents and people can reach Codemagic.
    • Least privilege by default, read scopes first and only the writes a workflow needs.
    • A full audit trail of every Codemagic action to support review and sign off.

Supported tools

Every action Ceven's agents can run on Codemagic, and when to use it.

Start new build
Use this to trigger a build for a specific application, workflow, and branch or tag.
Add new application
Add a Git repository to the Codemagic applications list using a repository URL.
Add private application
Create an application from a private repository using SSH key authentication.
Retrieve all applications
Pull a complete list of all applications currently added to the Codemagic account.
Get application details
Retrieve a single application by ID to check branches and workflow configuration.
Update variable in group
Modify the name, value, or secure status of an existing variable within a group.
List variables for group
Pull a paginated list of all environment variables within a specific variable group.
Update variable group
Change the name or security settings of an existing variable group by its ID.
Get all builds
List build history with optional filters for app ID, workflow ID, or branch.
Invite team member
Grant team access to a new user. Requires team admin privileges for owner or developer roles.
Remove team member
Revoke team access for a specific collaborator from the Codemagic team.
Delete all application caches
Clear all cached data for a specific app to ensure a completely fresh build environment.
Retrieve application caches
View cached data and check cache sizes for a specific application.
Get meta information
Pull metadata including public IP addresses in CIDR notation for whitelisting build machines.
Add Application from Private Repository
Tool to create an application from a private repository using SSH key authentication. Use when you need to add a new private repository to Codemagic with SSH credentials.
Get Variable Group Information
Tool to retrieve information about a specific variable group including its name and configuration settings. Use when you need to get details for a variable group by its ID.
Delete Specific Cache
Tool to delete a specific cache from an application. Use when a cached build artifact needs to be removed. The deletion is performed asynchronously and returns immediately with a 202 Accepted status.
Get Account Info for Over the Air Updates
Tool to retrieve account information for over the air updates. Use when you need to check the account status (enabled/disabled/pending) and associated team identifier.
Get API Key
Tool to retrieve the API key for the authenticated user. Use when you need to fetch the API key associated with the current authentication token.
Get Authenticated User
Tool to retrieve information about the currently authenticated user. Use when you need to get user ID, avatar URL, or check user permissions.
List Variable Groups for App
Tool to retrieve paginated list of variable groups for an application. Use when you need to list or browse variable groups associated with a specific app.
List Team Apps
Tool to list all apps for a specific team in Codemagic. Use when you need to browse or retrieve team application information. Supports pagination via page and page_size parameters.
Receive Webhook
Tool to receive webhook payloads from Git providers to trigger builds automatically. Use when repository events (commits, pull requests, tags) need to trigger Codemagic builds programmatically.
Retrieve an Application
Tool to retrieve a single application by its unique identifier. Use when you need to get application details including name, branches, and workflow configuration.
Retrieve Caches for Application
Tool to retrieve a list of caches for a specific application. Use when you need to view cached data, check cache sizes, or manage application storage.
Stop Preview
Tool to stop an app preview. Use when you need to stop a running app preview by its identifier.

26 actions · scroll to see them all

Frequently asked questions

Ceven interacts with Codemagic through its API to programmatically start builds. You can set up a workflow where an external event, such as a merged pull request in GitHub or a status change in a project management tool, tells Ceven to call the start new build action. The agent specifies the exact workflow and branch required for that specific environment. This removes the need for developers to manually click build in the Codemagic UI. Once the build starts, Ceven can continue to poll the build status or wait for a webhook to notify it of the final result so it can update your team.
Yes, Ceven can update and manage variables within your variable groups. Use this to rotate API keys or update environment specific endpoints without manually editing the Codemagic dashboard. When the agent updates a variable, it can maintain the secure status of that variable to ensure sensitive data remains encrypted. This is particularly useful for teams that use a central secret manager and want to sync those values to Codemagic automatically. The agent simply identifies the correct variable group ID and pushes the new value to the platform through a secure API call.
To invite a team member, the account connected to Ceven must have team admin privileges. The agent calls the invite team member action, providing the user email and the desired role, such as owner or developer. This is often used in onboarding workflows where adding a user to a company directory automatically grants them access to the mobile CI CD pipeline. This eliminates the manual step of an admin having to remember to add every new hire to the Codemagic team, ensuring that developers have the access they need to start shipping code on day one.
When you tell Ceven to clear caches, it sends a request to Codemagic to wipe the stored build artifacts for that app. It is important to note that this process is asynchronous. The API will return a success response immediately, but the actual deletion of the files happens in the background on the Codemagic servers. If you trigger a build immediately after a cache deletion request, there is a small chance the old cache might still be present for a few seconds. Ceven can be configured to wait a short duration before starting the subsequent build to ensure a clean state.
Yes, Ceven can retrieve the current public IP addresses used by Codemagic build machines via the get meta information action. These IPs are provided in CIDR notation. You can build a workflow where Ceven pulls these IPs and then automatically updates the firewall rules or whitelist settings in your database or cloud provider. This ensures that your internal resources remain secure while still allowing Codemagic build agents to connect and run tests or deploy artifacts without manual IP updates every time the platform scales its infrastructure.
One specific quirk of the Codemagic API is the way it handles asynchronous operations for team management and cache deletion. As mentioned, these actions return a 202 Accepted status, meaning the request is queued but not yet finished. Additionally, users should be aware of the permission model where only team admins can invite or remove members. If the connected account lacks these privileges, the API will return a 403 Forbidden error. Ceven handles these errors by notifying the user that the connected account has insufficient permissions to perform the requested team management action.
Many Codemagic endpoints, such as listing builds or variable groups, use pagination to manage large datasets. Ceven is designed to handle this automatically. When you ask the agent to find a specific build from last month, it will identify the skip or page parameters in the API response and continue to make sequential calls until it finds the matching record or reaches the end of the list. This means you do not have to worry about the technical details of pagination; you can simply ask for a list of all builds and the agent will aggregate them for you.
Ceven can retrieve your account information for over the air updates to verify if the feature is enabled and to find your team identifier. While the agent cannot design the update package itself, it can check the status of your OTA account to ensure that your automated deployment workflows will not fail due to a pending or disabled account state. This is a critical check for teams using fast lane or other automation tools that rely on the Codemagic OTA infrastructure to push hotfixes to users without a full app store review.

Alternatives to Codemagic

Other tools that solve a similar problem. Ceven supports these too, so you can switch or run more than one at once.

Try Ceven on your stack

Plug Ceven on top of the tools you already run. Connect Codemagic and the rest of your stack, describe the outcome, and its agents handle the work end to end, days of it in minutes.

Get started for free