Developer Tools · Data & Analytics

Mastra

Mastra provides Platform management and regional hosted observability APIs for AI agent projects, deployments, feedback, and metrics.

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • Add Server Domain

    Add a custom domain to a hosted Mastra Server project and return its required DNS records.

  • Analyze Feedback

    Calculate an aggregate, grouped breakdown, time series, or percentile series over numeric Mastra feedback without creating data.

  • Analyze Metrics

    Calculate an aggregate, grouped breakdown, time series, or percentile series over hosted Mastra metrics without creating data.

  • Cancel Server Deployment

    Cancel a queued or in-progress Mastra hosted Server deployment.

  • Confirm Deploy Upload

    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 API Token

    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 Deployment Upload

    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 Server Project

    Create a hosted Mastra Server project. This provisions hosted infrastructure and may trigger usage-metered compute charges.

  • Create Studio Project

    Create a Mastra Studio project.

  • Delete Project

    Permanently delete a Mastra Studio project and all its deployments, or a hosted Server project and its provisioned resources.

  • Discover Metrics

    Discover metric names, labels, and shared observability dimensions without creating data.

  • Get Authentication Context

    Return the user, organization, role, and authentication type associated with the connected Mastra API key.

  • Get Deployment

    Get the status and details of one Mastra Studio or hosted Server deployment.

  • Get Deployment Logs

    Get logs for one Mastra Studio or hosted Server deployment; Studio calls may limit the number of recent lines.

  • Get Project

    Get one Mastra Studio or hosted Server project and its deployment history.

  • Get Server Environment Variables

    SENSITIVE: Get environment variables for a hosted Mastra Server project. This returns plaintext secret values; never log, persist, or expose the response.

  • Get Server Runtime Logs

    Get current runtime log records for a hosted Mastra Server project.

  • Invite Organization Member

    Send an invitation to join the connected Mastra organization with a member or admin role. The connected account must have an admin role.

  • List API Tokens

    List metadata for Mastra organization API tokens. Returned token values are obfuscated identification previews, not usable secrets.

  • List Feedback

    List hosted Mastra feedback records with page or durable delta continuation.

Page 1 / 2Next