Mastra

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

35 actionsAPI key

Connect Mastra

What your agent can do in Mastra

Looks up

  • Analyze FeedbackCalculate an aggregate, grouped breakdown, time series, or percentile series over numeric Mastra feedback without creating data.
  • Analyze MetricsCalculate an aggregate, grouped breakdown, time series, or percentile series over hosted Mastra metrics without creating data.
  • Discover MetricsDiscover metric names, labels, and shared observability dimensions without creating data.
  • Get Authentication ContextReturn the user, organization, role, and authentication type associated with the connected Mastra API key.
  • Get DeploymentGet the status and details of one Mastra Studio or hosted Server deployment.
  • Get Deployment LogsGet logs for one Mastra Studio or hosted Server deployment.
  • Get ProjectGet one Mastra Studio or hosted Server project and its deployment history.
  • Get Server Environment VariablesSENSITIVE.
  • Get Server Runtime LogsGet current runtime log records for a hosted Mastra Server project.
  • List API TokensList metadata for Mastra organization API tokens.
Show 8 more
  • List FeedbackList hosted Mastra feedback records with page or durable delta continuation.
  • List MetricsList raw hosted Mastra metric records with page or durable delta continuation.
  • List Organization InvitationsList all pending invitations for the connected Mastra organization.
  • List Organization MembersList members of the connected Mastra organization, including their roles and membership status.
  • List OrganizationsList Mastra organizations available to the connected API-key bearer credential.
  • List ProjectsList Mastra Studio or hosted Server projects in the connected organization.
  • List Server DomainsList custom domains configured for a hosted Mastra Server project.
  • Verify Project Ingest AccessVerify that the connected Mastra organization API key can ingest telemetry for one project without changing provider state.

Takes action

  • Add Server DomainAdd a custom domain to a hosted Mastra Server project and return its required DNS records.
  • Cancel Server DeploymentCancel a queued or in-progress Mastra hosted Server deployment.
  • Confirm Deploy UploadConfirm that a deployment ZIP has already been uploaded to the signed URL returned by Create Deployment Upload.
  • Create API TokenCreate a Mastra organization API token.
  • Create Deployment UploadCreate a legacy Mastra Studio or hosted Server deployment upload reservation.
  • Create Server ProjectCreate a hosted Mastra Server project.
  • Create Studio ProjectCreate a Mastra Studio project.
  • Delete ProjectPermanently delete a Mastra Studio project and all its deployments, or a hosted Server project and its provisioned resources.
  • Invite Organization MemberSend an invitation to join the connected Mastra organization with a member or admin role.
  • Redeploy Server ProjectTrigger a new deployment for a hosted Mastra Server project.
Show 7 more
  • Remove Organization MemberRemove a member from the connected Mastra organization.
  • Revoke API TokenRevoke a Mastra organization API token so it can no longer authenticate.
  • Revoke Organization InvitationRevoke a pending invitation to the connected Mastra organization.
  • Set Server Environment VariablesSENSITIVE SECRET MUTATION.
  • Set Server Environment Variables and RestartSENSITIVE, IRREVERSIBLE RUNTIME OPERATION.
  • Stop Server DeploymentStop a Mastra hosted Server deployment.
  • Update Organization Member RoleChange an existing member's role in the connected Mastra organization.

More developer apps