Add Server Domain
Add a custom domain to a hosted Mastra Server project and return its required DNS records.
Mastra provides Platform management and regional hosted observability APIs for AI agent projects, deployments, feedback, and metrics.
Add a custom domain to a hosted Mastra Server project and return its required DNS records.
Calculate an aggregate, grouped breakdown, time series, or percentile series over numeric Mastra feedback without creating data.
Calculate an aggregate, grouped breakdown, time series, or percentile series over hosted Mastra metrics without creating data.
Cancel a queued or in-progress Mastra hosted Server deployment.
Confirm that a deployment ZIP has already been uploaded to the signed URL returned by Create Deployment Upload. This action does not upload the ZIP. It triggers the Studio or Server build-and-deploy pipeline, so call it only after the separate signed-URL PUT succeeds.
Create a Mastra organization API token. The response exposes the usable secret exactly once because that is the purpose of this operation. Store it securely immediately; do not log, share, or commit it.
Create a legacy Mastra Studio or hosted Server deployment upload reservation. This action does not upload the artifact or start the deploy pipeline. When upload_url is returned, upload the ZIP bytes directly to it with PUT and Content-Type application/zip, then call Confirm Deploy Upload with the returned deployment ID. env_vars may contain secrets, and upload_url is a sensitive, short-lived signed URL granting temporary upload access; do not log, persist, share, or expose either value.
Create a hosted Mastra Server project. This provisions hosted infrastructure and may trigger usage-metered compute charges.
Create a Mastra Studio project.
Permanently delete a Mastra Studio project and all its deployments, or a hosted Server project and its provisioned resources.
Discover metric names, labels, and shared observability dimensions without creating data.
Return the user, organization, role, and authentication type associated with the connected Mastra API key.
Get the status and details of one Mastra Studio or hosted Server deployment.
Get logs for one Mastra Studio or hosted Server deployment; Studio calls may limit the number of recent lines.
Get one Mastra Studio or hosted Server project and its deployment history.
SENSITIVE: Get environment variables for a hosted Mastra Server project. This returns plaintext secret values; never log, persist, or expose the response.
Get current runtime log records for a hosted Mastra Server project.
Send an invitation to join the connected Mastra organization with a member or admin role. The connected account must have an admin role.
List metadata for Mastra organization API tokens. Returned token values are obfuscated identification previews, not usable secrets.
List hosted Mastra feedback records with page or durable delta continuation.
List raw hosted Mastra metric records with page or durable delta continuation.
List all pending invitations for the connected Mastra organization.
List members of the connected Mastra organization, including their roles and membership status.
List Mastra organizations available to the connected API-key bearer credential.
List Mastra Studio or hosted Server projects in the connected organization.
List custom domains configured for a hosted Mastra Server project.
Trigger a new deployment for a hosted Mastra Server project. Redeployment starts deployment work and may trigger usage-metered compute charges.
Remove a member from the connected Mastra organization. This destructive operation requires an organization admin role.
Revoke a Mastra organization API token so it can no longer authenticate. This destructive operation cannot reveal or restore the revoked secret.
Revoke a pending invitation to the connected Mastra organization. The connected account must have an admin role.
SENSITIVE SECRET MUTATION: Replace environment variables for a hosted Mastra Server project. Values are secrets; never log, persist, or expose them. This route does not restart the running service.
SENSITIVE, IRREVERSIBLE RUNTIME OPERATION: Replace secret environment variables for a hosted Mastra Server project and immediately restart its running service. Never log, persist, or expose the secret values.
Stop a Mastra hosted Server deployment.
Change an existing member's role in the connected Mastra organization. The connected account must have an admin role.
Verify that the connected Mastra organization API key can ingest telemetry for one project without changing provider state.
The Mastra integration connects Dench directly to Mastra, so agents can read and act on your Mastra data as part of everyday work — answering questions in chat, keeping your CRM in sync, and running automations without anyone copying data between tools.
35 actions are available for agents to invoke on your behalf. Every call runs through Mastra's own authorization, scoped to the account you connect.
Sign in to your Dench workspace and open Integrations.
Find Mastra and click Connect — you'll authorize access through Mastra's own sign-in flow. No API keys or code required.
Ask an agent to use Mastra in chat, or call it from an automation.
Manage or disconnect the connection any time from workspace settings.
The Dench Mastra integration connects your AI CRM to Mastra, so AI agents can work with your Mastra data as part of chats, automations, and CRM workflows. You connect your account once, and every agent in your workspace can use it — governed by your workspace permissions.
The Mastra integration currently exposes 35 actions, including Add Server Domain, Analyze Feedback, Analyze Metrics, Cancel Server Deployment, Confirm Deploy Upload, and Create API Token. Agents invoke them on your behalf from chat or from automations.
No. You connect Mastra from your Dench workspace using Mastra's own sign-in and authorization flow — no API keys to copy, no glue code to maintain.
Connections are authorized through Mastra's own authentication flow, and Dench stores only the authorization needed to act on your behalf. You can review and disconnect the Mastra connection from your workspace settings at any time.