Mastra
mastraMastra provides Platform management and regional hosted observability APIs for AI agent projects, deployments, feedback, and metrics.
Acciones disponibles (35)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Add Server DomainMASTRA_ADD_SERVER_DOMAINAcciónAdd a custom domain to a hosted Mastra Server project and return its required DNS records.
MASTRA_ADD_SERVER_DOMAINAcciónAdd a custom domain to a hosted Mastra Server project and return its required DNS records.
Parámetros de entrada
domainstringObligatorioCustom domain to add to the Server project.
project_idstringObligatorioHosted Server project ID.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Analyze FeedbackMASTRA_ANALYZE_FEEDBACKAcciónCalculate an aggregate, grouped breakdown, time series, or percentile series over numeric Mastra feedback without creating data.
MASTRA_ANALYZE_FEEDBACKAcciónCalculate an aggregate, grouped breakdown, time series, or percentile series over numeric Mastra feedback without creating data.
Parámetros de entrada
filtersobjectAdditional documented feedback filters.
analysisstringObligatorioenumFeedback calculation to perform.
aggregatebreakdowntimeseriespercentilesgroup_bystring[]Grouping fields; required for breakdown and optional for timeseries.
intervalstringenumBucket interval for timeseries and percentiles.
1m5m15m1h1dproject_idstringLimit observability results to one Mastra project; omit for all accessible projects.
aggregationstringenumAggregation required for aggregate, breakdown, and timeseries.
sumavgminmaxcountcount_distinctlastpercentilesnumber[]Percentile fractions from 0 through 1, valid only for percentiles.
feedback_typestringObligatorioFeedback type to analyze.
compare_periodstringenumPeriod comparison, valid only for aggregate.
previous_periodprevious_dayprevious_weekfeedback_sourcestringOptional feedback source to analyze.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Analyze MetricsMASTRA_ANALYZE_METRICSAcciónCalculate an aggregate, grouped breakdown, time series, or percentile series over hosted Mastra metrics without creating data.
MASTRA_ANALYZE_METRICSAcciónCalculate an aggregate, grouped breakdown, time series, or percentile series over hosted Mastra metrics without creating data.
Parámetros de entrada
limitintegerMaximum grouped results; valid only for breakdown.
filtersobjectOptional documented filters applied to matching metric records.
analysisstringObligatorioenumMetric calculation to perform.
aggregatebreakdowntimeseriespercentilesgroup_bystring[]Dimensions or label keys to group by; required for breakdown and optional for timeseries.
intervalstringenumTime bucket; required for timeseries and percentiles.
1m5m15m1h1dproject_idstringLimit results to one Mastra project; omit to query all projects available to the token's organization.
aggregationstringenumAggregation to apply; required for aggregate, breakdown, and timeseries.
sumavgminmaxcountcount_distinctlastpercentilesnumber[]Percentile fractions from 0 through 1; required only for percentiles.
metric_namesstring[]ObligatorioMetric names to analyze. Percentiles requires exactly one; other analyses accept one or more.
compare_periodstringenumCompare an aggregate with the previous filter-sized period, day, or week. Previous period requires filter start and end timestamps.
previous_periodprevious_dayprevious_weekdistinct_columnstringenumDocumented metric column to count; required only with count_distinct.
entityTypeentityNameparentEntityTypeparentEntityNamerootEntityTyperootEntityNamenameprovidermodelenvironmentexecutionSourceserviceName+2order_directionstringenumSort grouped values; valid only for breakdown.
ASCDESC
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Cancel Server DeploymentMASTRA_CANCEL_SERVER_DEPLOYAcciónCancel a queued or in-progress Mastra hosted Server deployment.
MASTRA_CANCEL_SERVER_DEPLOYAcciónCancel a queued or in-progress Mastra hosted Server deployment.
Parámetros de entrada
deploy_idstringObligatorioServer deployment ID to cancel.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Confirm Deploy UploadMASTRA_CONFIRM_DEPLOY_UPLOADAcciónConfirm 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.
MASTRA_CONFIRM_DEPLOY_UPLOADAcciónConfirm 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.
Parámetros de entrada
deploy_idstringObligatorioDeployment ID returned by Create Deployment Upload.
deploy_typestringObligatorioenumWhether the deployment belongs to the Studio or hosted Server surface.
studioserver
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create API TokenMASTRA_CREATE_API_TOKENAcciónCreate 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.
MASTRA_CREATE_API_TOKENAcciónCreate 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.
Parámetros de entrada
namestringObligatorioHuman-readable name for the new API token.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Deployment UploadMASTRA_CREATE_DEPLOY_UPLOADAcciónCreate 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.
MASTRA_CREATE_DEPLOY_UPLOADAcciónCreate 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.
Parámetros de entrada
env_varsobjectOptional environment variables to merge over values stored on the project. Values may be secrets; do not log, persist, share, or expose them.
git_branchstringOptional Git branch metadata for Studio deploys; unsupported for Server deploys.
project_idstringTarget project ID. Required for Server deploys and optional for Studio deploys.
deploy_typestringObligatorioenumWhether to create a legacy Studio or hosted Server deployment.
studioserverproject_namestringOptional target project name.
artifact_bytesintegerOptional non-negative integer size of the ZIP artifact in bytes.
mastra_versionstringOptional Mastra version metadata for Studio deploys; unsupported for Server deploys.
factory_enabledbooleanOptional Server-only flag that enables Mastra Factory deployment behavior.
disable_platform_observabilitybooleanWhether to disable Mastra Platform observability for this deployment.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Server ProjectMASTRA_CREATE_SERVER_PROJECTAcciónCreate a hosted Mastra Server project. This provisions hosted infrastructure and may trigger usage-metered compute charges.
MASTRA_CREATE_SERVER_PROJECTAcciónCreate a hosted Mastra Server project. This provisions hosted infrastructure and may trigger usage-metered compute charges.
Parámetros de entrada
namestringObligatorioName for the new hosted Mastra Server project.
regionstringenumDeployment region. Omit to use Mastra's platform default.
euusfactory_enabledbooleanWhether to provision Mastra Factory backing.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Studio ProjectMASTRA_CREATE_STUDIO_PROJECTAcciónCreate a Mastra Studio project.
MASTRA_CREATE_STUDIO_PROJECTAcciónCreate a Mastra Studio project.
Parámetros de entrada
namestringObligatorioName for the new Mastra project.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete ProjectMASTRA_DELETE_PROJECTAcciónPermanently delete a Mastra Studio project and all its deployments, or a hosted Server project and its provisioned resources.
MASTRA_DELETE_PROJECTAcciónPermanently delete a Mastra Studio project and all its deployments, or a hosted Server project and its provisioned resources.
Parámetros de entrada
project_idstringObligatorioMastra project ID to delete.
project_typestringObligatorioenumProject surface to delete: Studio or hosted Server.
studioserver
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Discover MetricsMASTRA_DISCOVER_METRICSAcciónDiscover metric names, labels, and shared observability dimensions without creating data.
MASTRA_DISCOVER_METRICSAcciónDiscover metric names, labels, and shared observability dimensions without creating data.
Parámetros de entrada
limitintegerPositive result limit for metric names or label values.
prefixstringPrefix for metric names or label values.
discoverystringObligatorioenumMetric or shared observability metadata to discover.
nameslabel_keyslabel_valuesentity_typesentity_namesservice_namesenvironmentstagslabel_keystringLabel key for value discovery.
project_idstringLimit discovery to one Mastra project.
entity_typestringenumOptional entity type for entity-name or tag discovery.
agentscorerrag_ingestiontrajectoryinput_processorinput_step_processoroutput_processoroutput_step_processortool_result_processorworkflow_steptoolmcp_server+3metric_namestringMetric name for label discovery.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Authentication ContextMASTRA_GET_AUTH_CONTEXTAcciónReturn the user, organization, role, and authentication type associated with the connected Mastra API key.
MASTRA_GET_AUTH_CONTEXTAcciónReturn the user, organization, role, and authentication type associated with the connected Mastra API key.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get DeploymentMASTRA_GET_DEPLOYAcciónGet the status and details of one Mastra Studio or hosted Server deployment.
MASTRA_GET_DEPLOYAcciónGet the status and details of one Mastra Studio or hosted Server deployment.
Parámetros de entrada
deploy_idstringObligatorioMastra deployment ID returned in project details.
deploy_typestringObligatorioenumWhether the deployment belongs to the Studio or hosted Server surface.
studioserver
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Deployment LogsMASTRA_GET_DEPLOY_LOGSAcciónGet logs for one Mastra Studio or hosted Server deployment; Studio calls may limit the number of recent lines.
MASTRA_GET_DEPLOY_LOGSAcciónGet logs for one Mastra Studio or hosted Server deployment; Studio calls may limit the number of recent lines.
Parámetros de entrada
deploy_idstringObligatorioMastra deployment ID whose logs to retrieve.
tail_linesintegerNumber of recent Studio log lines to return; omit to use the provider default. Server deployment logs do not support this selector.
deploy_typestringObligatorioenumWhether the deployment belongs to the Studio or hosted Server surface.
studioserver
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get ProjectMASTRA_GET_PROJECTAcciónGet one Mastra Studio or hosted Server project and its deployment history.
MASTRA_GET_PROJECTAcciónGet one Mastra Studio or hosted Server project and its deployment history.
Parámetros de entrada
project_idstringObligatorioMastra project ID returned by List Projects.
project_typestringObligatorioenumWhether the project belongs to the Studio or hosted Server surface.
studioserver
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Server Environment VariablesMASTRA_GET_SERVER_ENVIRONMENT_VARIABLESAcciónSENSITIVE: Get environment variables for a hosted Mastra Server project. This returns plaintext secret values; never log, persist, or expose the response.
MASTRA_GET_SERVER_ENVIRONMENT_VARIABLESAcciónSENSITIVE: Get environment variables for a hosted Mastra Server project. This returns plaintext secret values; never log, persist, or expose the response.
Parámetros de entrada
project_idstringObligatorioHosted Server project ID returned by List Projects.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Server Runtime LogsMASTRA_GET_SERVER_RUNTIME_LOGSAcciónGet current runtime log records for a hosted Mastra Server project.
MASTRA_GET_SERVER_RUNTIME_LOGSAcciónGet current runtime log records for a hosted Mastra Server project.
Parámetros de entrada
project_idstringObligatorioHosted Server project ID returned by List Projects.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Invite Organization MemberMASTRA_INVITE_MEMBERAcciónSend an invitation to join the connected Mastra organization with a member or admin role. The connected account must have an admin role.
MASTRA_INVITE_MEMBERAcciónSend an invitation to join the connected Mastra organization with a member or admin role. The connected account must have an admin role.
Parámetros de entrada
rolestringObligatorioenumOrganization role to grant when the invitation is accepted.
memberadminemailstringObligatorioemailEmail address to invite to the organization.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List API TokensMASTRA_LIST_API_TOKENSAcciónList metadata for Mastra organization API tokens. Returned token values are obfuscated identification previews, not usable secrets.
MASTRA_LIST_API_TOKENSAcciónList metadata for Mastra organization API tokens. Returned token values are obfuscated identification previews, not usable secrets.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List FeedbackMASTRA_LIST_FEEDBACKAcciónList hosted Mastra feedback records with page or durable delta continuation.
MASTRA_LIST_FEEDBACKAcciónList hosted Mastra feedback records with page or durable delta continuation.
Parámetros de entrada
pageintegerZero-based page for the first page-mode call.
tagsstring[]Require all of these tags.
cursorstringOpaque continuation returned by the previous call.
run_idstringMatch run ID.
span_idstringMatch one span ID.
user_idstringMatch human end-user ID.
trace_idstringMatch one trace ID.
page_sizeintegerRecords or updates to return (1-100).
thread_idstringMatch thread ID.
timestampobjectFeedback time range.
project_idstringLimit results to one Mastra project.
request_idstringMatch request ID.
session_idstringMatch session ID.
entity_namestringMatch entity name.
entity_typestringenumMatch entity type.
agentscorerrag_ingestiontrajectoryinput_processorinput_step_processoroutput_processoroutput_step_processortool_result_processorworkflow_steptoolmcp_server+3environmentstringMatch environment.
resource_idstringMatch resource ID.
service_namestringMatch service name.
experiment_idstringMatch experiment or eval run ID.
feedback_typeanyMatch one or more feedback types.
review_statusstringenumMatch review status.
needs-reviewreviewedsort_directionstringenumPage-mode timestamp sort direction.
ASCDESCfeedback_sourcestringMatch one feedback source.
organization_idstringMatch organization ID.
pagination_modestringenumUse page browsing or delta polling.
pagedeltaexecution_sourcestringMatch execution source.
feedback_user_idstringMatch the feedback author.
root_entity_namestringMatch root entity name.
root_entity_typestringenumMatch root entity type.
agentscorerrag_ingestiontrajectoryinput_processorinput_step_processoroutput_processoroutput_step_processortool_result_processorworkflow_steptoolmcp_server+3entity_version_idstringMatch entity version ID.
parent_entity_namestringMatch parent entity name.
parent_entity_typestringenumMatch parent entity type.
agentscorerrag_ingestiontrajectoryinput_processorinput_step_processoroutput_processoroutput_step_processortool_result_processorworkflow_steptoolmcp_server+3root_entity_version_idstringMatch root entity version ID.
parent_entity_version_idstringMatch parent entity version ID.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Organization InvitationsMASTRA_LIST_INVITATIONSAcciónList all pending invitations for the connected Mastra organization.
MASTRA_LIST_INVITATIONSAcciónList all pending invitations for the connected Mastra organization.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Organization MembersMASTRA_LIST_MEMBERSAcciónList members of the connected Mastra organization, including their roles and membership status.
MASTRA_LIST_MEMBERSAcciónList members of the connected Mastra organization, including their roles and membership status.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List MetricsMASTRA_LIST_METRICSAcciónList raw hosted Mastra metric records with page or durable delta continuation.
MASTRA_LIST_METRICSAcciónList raw hosted Mastra metric records with page or durable delta continuation.
Parámetros de entrada
pageintegerZero-based page for the first page-mode call.
cursorstringOpaque continuation returned by a previous call. Pass it back unchanged.
filtersobjectComplete documented metric filters.
page_sizeintegerPage-mode perPage value (1-100).
project_idstringLimit results to one Mastra project.
delta_limitintegerDelta-mode limit (1-100).
sort_directionstringenumTimestamp sort direction in page mode. Mastra defaults to DESC.
ASCDESCpagination_modestringenumUse page for browsing or delta for incremental polling.
pagedelta
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List OrganizationsMASTRA_LIST_ORGANIZATIONSAcciónList Mastra organizations available to the connected API-key bearer credential.
MASTRA_LIST_ORGANIZATIONSAcciónList Mastra organizations available to the connected API-key bearer credential.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List ProjectsMASTRA_LIST_PROJECTSAcciónList Mastra Studio or hosted Server projects in the connected organization.
MASTRA_LIST_PROJECTSAcciónList Mastra Studio or hosted Server projects in the connected organization.
Parámetros de entrada
project_typestringObligatorioenumProject surface to list: Studio projects or hosted Server projects.
studioserver
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Server DomainsMASTRA_LIST_SERVER_DOMAINSAcciónList custom domains configured for a hosted Mastra Server project.
MASTRA_LIST_SERVER_DOMAINSAcciónList custom domains configured for a hosted Mastra Server project.
Parámetros de entrada
project_idstringObligatorioHosted Server project ID returned by List Projects.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Redeploy Server ProjectMASTRA_REDEPLOY_SERVER_PROJECTAcciónTrigger a new deployment for a hosted Mastra Server project. Redeployment starts deployment work and may trigger usage-metered compute charges.
MASTRA_REDEPLOY_SERVER_PROJECTAcciónTrigger a new deployment for a hosted Mastra Server project. Redeployment starts deployment work and may trigger usage-metered compute charges.
Parámetros de entrada
project_idstringObligatorioHosted Server project ID to redeploy.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Remove Organization MemberMASTRA_REMOVE_MEMBERAcciónRemove a member from the connected Mastra organization. This destructive operation requires an organization admin role.
MASTRA_REMOVE_MEMBERAcciónRemove a member from the connected Mastra organization. This destructive operation requires an organization admin role.
Parámetros de entrada
member_idstringObligatorioOrganization membership ID to remove.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Revoke API TokenMASTRA_REVOKE_API_TOKENAcciónRevoke a Mastra organization API token so it can no longer authenticate. This destructive operation cannot reveal or restore the revoked secret.
MASTRA_REVOKE_API_TOKENAcciónRevoke a Mastra organization API token so it can no longer authenticate. This destructive operation cannot reveal or restore the revoked secret.
Parámetros de entrada
token_idstringObligatorioID of the Mastra API token to revoke.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Revoke Organization InvitationMASTRA_REVOKE_INVITATIONAcciónRevoke a pending invitation to the connected Mastra organization. The connected account must have an admin role.
MASTRA_REVOKE_INVITATIONAcciónRevoke a pending invitation to the connected Mastra organization. The connected account must have an admin role.
Parámetros de entrada
invitation_idstringObligatorioID of the pending organization invitation to revoke.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Set Server Environment VariablesMASTRA_SET_SERVER_ENVIRONMENT_VARIABLESAcciónSENSITIVE 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.
MASTRA_SET_SERVER_ENVIRONMENT_VARIABLESAcciónSENSITIVE 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.
Parámetros de entrada
env_varsobjectObligatorioComplete map of environment variable names to secret values to store. Do not log, persist, or expose these values.
project_idstringObligatorioHosted Server project ID returned by List Projects.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Set Server Environment Variables and RestartMASTRA_SET_SERVER_ENVIRONMENT_VARIABLES_AND_RESTARTAcciónSENSITIVE, 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.
MASTRA_SET_SERVER_ENVIRONMENT_VARIABLES_AND_RESTARTAcciónSENSITIVE, 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.
Parámetros de entrada
env_varsobjectObligatorioComplete map of environment variable names to secret values to store before restarting the service. Do not log, persist, or expose them.
project_idstringObligatorioHosted Server project ID returned by List Projects.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Stop Server DeploymentMASTRA_STOP_SERVER_DEPLOYAcciónStop a Mastra hosted Server deployment.
MASTRA_STOP_SERVER_DEPLOYAcciónStop a Mastra hosted Server deployment.
Parámetros de entrada
deploy_idstringObligatorioServer deployment ID to stop.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update Organization Member RoleMASTRA_UPDATE_MEMBER_ROLEAcciónChange an existing member's role in the connected Mastra organization. The connected account must have an admin role.
MASTRA_UPDATE_MEMBER_ROLEAcciónChange an existing member's role in the connected Mastra organization. The connected account must have an admin role.
Parámetros de entrada
rolestringObligatorioenumNew organization role for the member.
memberadminmember_idstringObligatorioOrganization membership ID whose role to update.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Verify Project Ingest AccessMASTRA_VERIFY_PROJECT_INGEST_ACCESSAcciónVerify that the connected Mastra organization API key can ingest telemetry for one project without changing provider state.
MASTRA_VERIFY_PROJECT_INGEST_ACCESSAcciónVerify that the connected Mastra organization API key can ingest telemetry for one project without changing provider state.
Parámetros de entrada
project_idstringObligatorioMastra project ID whose telemetry-ingest access to verify.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not