semrush cli
Commands

My Reports

Commands and options for my reports.

reporting-overview

Read reporting access, templates and a filtered page of saved reports.

semrush reporting-overview --help

MCP tool: reporting_overview.

OptionTypeDefaultDescription
--offsetinteger0Native report offset. Advance by 30 to read the next page.
--ownershipstring"all"Values: "all", "own", "shared", "team".
--brandingstring"all"Values: "all", "branded", "standard".
--schedulestring"all"Values: "all", "daily", "weekly", "monthly".
--searchstring""Native report-name Contains search, combined with other filters.

reporting-create

Create a saved report from a system template. Does not generate a PDF or start a trial.

semrush reporting-create --help

MCP tool: reporting_create.

Use --confirm to send the change or --dry-run to preview it.

OptionTypeDefaultDescription
--templatestringRequired. System template type from reporting-overview.
--parametersobjectRequired. Template parameters, such as domain and database for Organic Search Positions.
--confirmbooleanfalseConfirm this account mutation.
--dry-runbooleanfalsePrint the request without sending it.

reporting-get

Read the complete saved report document for inspection or editing.

semrush reporting-get --help

MCP tool: reporting_get.

OptionTypeDefaultDescription
--report-idintegerRequired.

reporting-save

Save a complete existing report document and accept the reporting Privacy Policy. Does not generate a PDF.

semrush reporting-save --help

MCP tool: reporting_save.

Use --confirm to send the change or --dry-run to preview it.

OptionTypeDefaultDescription
--document-filefile or stdinRequired. Complete document object from reporting-get. CLI accepts a JSON file.
--timezonenumber0UTC offset in hours used by the reporting service.
--confirmbooleanfalseConfirm this account mutation.
--dry-runbooleanfalsePrint the request without sending it.

reporting-clone

Clone an existing report under a new name. Does not generate a PDF.

semrush reporting-clone --help

MCP tool: reporting_clone.

Use --confirm to send the change or --dry-run to preview it.

OptionTypeDefaultDescription
--report-idintegerRequired.
--namestringRequired.
--confirmbooleanfalseConfirm this account mutation.
--dry-runbooleanfalsePrint the request without sending it.

reporting-tasks

List the most recent 30 generation tasks for one saved report.

semrush reporting-tasks --help

MCP tool: reporting_tasks.

OptionTypeDefaultDescription
--report-idintegerRequired.

reporting-generate

Save and generate a PDF with the reporting Privacy Policy accepted. Uses saved report settings, including configured delivery.

semrush reporting-generate --help

MCP tool: reporting_generate.

Use --confirm to send the change or --dry-run to preview it.

OptionTypeDefaultDescription
--report-idintegerRequired.
--timezonenumber0UTC offset in hours used when saving before generation.
--confirmbooleanfalseConfirm this account mutation.
--dry-runbooleanfalsePrint the request without sending it.

reporting-download

Download an existing ready report task as a native PDF. Does not generate another report.

semrush reporting-download --help

MCP tool: reporting_download.

Pass --output <path> to save the file. Existing files are not overwritten. MCP returns an artifact resource.

OptionTypeDefaultDescription
--report-idintegerRequired.
--task-idstringRequired. Exact task ID from reporting-tasks or reporting-generate.

reporting-delete

Delete the explicitly selected saved reports. Recovery is possible only while Semrush still retains them.

semrush reporting-delete --help

MCP tool: reporting_delete.

Use --confirm to send the change or --dry-run to preview it.

OptionTypeDefaultDescription
--report-idsarrayRequired. Exact saved report IDs from reporting-overview.
--confirmbooleanfalseConfirm this account mutation.
--dry-runbooleanfalsePrint the request without sending it.

reporting-shares

Read a report's shared access, including exact share IDs and roles.

semrush reporting-shares --help

MCP tool: reporting_shares.

OptionTypeDefaultDescription
--report-idintegerRequired.

reporting-share

Grant report access and send sharing notifications to the specified email addresses.

semrush reporting-share --help

MCP tool: reporting_share.

Use --confirm to send the change or --dry-run to preview it.

OptionTypeDefaultDescription
--report-idintegerRequired.
--emailsarrayRequired. Recipients who will receive access and sharing notifications.
--rolestringRequired. Explicit permission for every selected share. Values: "viewer", "editor".
--confirmbooleanfalseConfirm this account mutation.
--dry-runbooleanfalsePrint the request without sending it.

reporting-share-set-role

Change viewer/editor permissions for existing report shares.

semrush reporting-share-set-role --help

MCP tool: reporting_share_set_role.

Use --confirm to send the change or --dry-run to preview it.

OptionTypeDefaultDescription
--share-idsarrayRequired. Exact share_id strings from reporting-shares, not report IDs.
--rolestringRequired. Explicit permission for every selected share. Values: "viewer", "editor".
--confirmbooleanfalseConfirm this account mutation.
--dry-runbooleanfalsePrint the request without sending it.

reporting-share-revoke

Revoke existing report shares and remove the recipients' access.

semrush reporting-share-revoke --help

MCP tool: reporting_share_revoke.

Use --confirm to send the change or --dry-run to preview it.

OptionTypeDefaultDescription
--share-idsarrayRequired. Exact share_id strings from reporting-shares, not report IDs.
--confirmbooleanfalseConfirm this account mutation.
--dry-runbooleanfalsePrint the request without sending it.

reporting-templates

List custom report templates, shared access and native pagination. Does not create reports or mark templates as seen.

semrush reporting-templates --help

MCP tool: reporting_templates.

OptionTypeDefaultDescription
--pageinteger1
--searchstring""
--timezonenumber0

reporting-template-create

Save a custom template from an existing report. Does not generate a PDF.

semrush reporting-template-create --help

MCP tool: reporting_template_create.

Use --confirm to send the change or --dry-run to preview it.

OptionTypeDefaultDescription
--report-idintegerRequired. Saved report ID to use as the template source.
--namestringRequired.
--confirmbooleanfalseConfirm this account mutation.
--dry-runbooleanfalsePrint the request without sending it.

reporting-template-report

Create a saved report from a custom template. Configure template placeholders before generating a PDF.

semrush reporting-template-report --help

MCP tool: reporting_template_report.

Use --confirm to send the change or --dry-run to preview it.

OptionTypeDefaultDescription
--template-idintegerRequired. Custom template ID from reporting-templates.
--namestringRequired.
--confirmbooleanfalseConfirm this account mutation.
--dry-runbooleanfalsePrint the request without sending it.

reporting-template-delete

Delete a custom template without deleting reports created from it.

semrush reporting-template-delete --help

MCP tool: reporting_template_delete.

Use --confirm to send the change or --dry-run to preview it.

OptionTypeDefaultDescription
--template-idintegerRequired. Exact custom template ID, not a saved report ID.
--confirmbooleanfalseConfirm this account mutation.
--dry-runbooleanfalsePrint the request without sending it.

reporting-template-restore

Restore a previously deleted custom template using its exact template ID.

semrush reporting-template-restore --help

MCP tool: reporting_template_restore.

Use --confirm to send the change or --dry-run to preview it.

OptionTypeDefaultDescription
--template-idintegerRequired. Exact custom template ID, not a saved report ID.
--confirmbooleanfalseConfirm this account mutation.
--dry-runbooleanfalsePrint the request without sending it.

reporting-template-share

Share a custom report template and send access notifications to the specified email addresses.

semrush reporting-template-share --help

MCP tool: reporting_template_share.

Use --confirm to send the change or --dry-run to preview it.

OptionTypeDefaultDescription
--template-idintegerRequired. Custom template ID from reporting-templates.
--emailsarrayRequired. Recipients who will receive access and sharing notifications.
--confirmbooleanfalseConfirm this account mutation.
--dry-runbooleanfalsePrint the request without sending it.

reporting-template-share-revoke

Revoke custom template access for the specified email addresses.

semrush reporting-template-share-revoke --help

MCP tool: reporting_template_share_revoke.

Use --confirm to send the change or --dry-run to preview it.

OptionTypeDefaultDescription
--template-idintegerRequired. Custom template ID from reporting-templates.
--emailsarrayRequired. Recipients whose custom template access will be revoked.
--confirmbooleanfalseConfirm this account mutation.
--dry-runbooleanfalsePrint the request without sending it.

reporting-task-delete

Delete one generated PDF from a saved report, preserving the report, other generations and local downloads.

semrush reporting-task-delete --help

MCP tool: reporting_task_delete.

Use --confirm to send the change or --dry-run to preview it.

OptionTypeDefaultDescription
--report-idintegerRequired.
--task-idstringRequired. Exact task ID from reporting-tasks. Deletes only this PDF generation.
--confirmbooleanfalseConfirm this account mutation.
--dry-runbooleanfalsePrint the request without sending it.

reporting-restore

Restore a deleted saved report while Semrush still retains it, preserving its saved settings and remaining PDF generations.

semrush reporting-restore --help

MCP tool: reporting_restore.

Use --confirm to send the change or --dry-run to preview it.

OptionTypeDefaultDescription
--report-idintegerRequired.
--confirmbooleanfalseConfirm restoring the report and its saved delivery settings.
--dry-runbooleanfalsePrint the request without sending it.

On this page