# Mastra

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

Category: Developer. Connect from any SulusAssist agent at https://assist.sulus.ai/integrations/mastra/.

## Actions

- **Add Server Domain**: Add a custom domain to a hosted Mastra Server project and return its required DNS records.
- **Analyze Feedback** (read-only): Calculate an aggregate, grouped breakdown, time series, or percentile series over numeric Mastra feedback without creating data.
- **Analyze Metrics** (read-only): 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.
- **Create API Token**: Create a Mastra organization API token.
- **Create Deployment Upload**: Create a legacy Mastra Studio or hosted Server deployment upload reservation.
- **Create Server Project**: Create a hosted Mastra Server project.
- **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** (read-only): Discover metric names, labels, and shared observability dimensions without creating data.
- **Get Authentication Context** (read-only): Return the user, organization, role, and authentication type associated with the connected Mastra API key.
- **Get Deployment** (read-only): Get the status and details of one Mastra Studio or hosted Server deployment.
- **Get Deployment Logs** (read-only): Get logs for one Mastra Studio or hosted Server deployment.
- **Get Project** (read-only): Get one Mastra Studio or hosted Server project and its deployment history.
- **Get Server Environment Variables** (read-only): SENSITIVE.
- **Get Server Runtime Logs** (read-only): 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.
- **List API Tokens** (read-only): List metadata for Mastra organization API tokens.
- **List Feedback** (read-only): List hosted Mastra feedback records with page or durable delta continuation.
- **List Metrics** (read-only): List raw hosted Mastra metric records with page or durable delta continuation.
- **List Organization Invitations** (read-only): List all pending invitations for the connected Mastra organization.
- **List Organization Members** (read-only): List members of the connected Mastra organization, including their roles and membership status.
- **List Organizations** (read-only): List Mastra organizations available to the connected API-key bearer credential.
- **List Projects** (read-only): List Mastra Studio or hosted Server projects in the connected organization.
- **List Server Domains** (read-only): List custom domains configured for a hosted Mastra Server project.
- **Redeploy Server Project**: Trigger a new deployment for a hosted Mastra Server project.
- **Remove Organization Member**: Remove a member from the connected Mastra organization.
- **Revoke API Token**: Revoke a Mastra organization API token so it can no longer authenticate.
- **Revoke Organization Invitation**: Revoke a pending invitation to the connected Mastra organization.
- **Set Server Environment Variables**: SENSITIVE SECRET MUTATION.
- **Set Server Environment Variables and Restart**: SENSITIVE, IRREVERSIBLE RUNTIME OPERATION.
- **Stop Server Deployment**: Stop a Mastra hosted Server deployment.
- **Update Organization Member Role**: Change an existing member's role in the connected Mastra organization.
- **Verify Project Ingest Access** (read-only): Verify that the connected Mastra organization API key can ingest telemetry for one project without changing provider state.
