Skip to main content

Documentation Index

Fetch the complete documentation index at: https://smartac-mintlify-bdd272a9.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Global flags

These flags are available on all commands.
FlagDescription
--telemetry, -tEnable or disable anonymous usage telemetry.
--help, -hDisplay help for the command.
--version, -vDisplay the CLI version. Alias for mint version.

mint dev

Start a local preview of your documentation.
mint dev [flags]
FlagDescription
--portPort to run the local preview on. Defaults to 3000.
--no-openDo not open the browser automatically.
--groupsComma-separated list of user groups to mock for preview.
--disable-openapiSkip OpenAPI file processing to improve performance.
--local-schemaAllow locally hosted OpenAPI files served over HTTP.

mint login

Authenticate with your Mintlify account.
mint login
Opens a browser window to complete authentication. If the browser does not open, the CLI displays a URL to open manually and a prompt to paste the authorization code. Credentials save in ~/.config/mintlify/config.json. If you have more than one deployment, the CLI prompts you to select a default after you log in. You can change the default project later with mint config set subdomain <subdomain>.

mint logout

Remove stored credentials.
mint logout

mint status

Display your current session details including CLI version, account email, organization, and configured subdomain.
mint status

mint analytics

View analytics data for your documentation. Requires authentication with mint login.
mint analytics <subcommand> [flags]
All subcommands accept these shared flags:
FlagDescription
--subdomainDocumentation subdomain. Defaults to the value set with mint config set subdomain, or the first project on your account.
--fromStart date in YYYY-MM-DD format. Defaults to 7 days ago, or the value set with mint config set dateFrom.
--toEnd date in YYYY-MM-DD format. Defaults to today, or the value set with mint config set dateTo.
--formatOutput format: plain (default), table, json, or graph.

mint analytics stats

Display a summary of views, visitors, searches, feedback, and assistant usage.
mint analytics stats [flags]
FlagDescription
--pageFilter to a specific page path.
Display search queries with hit counts and click-through rates.
mint analytics search [flags]
FlagDescription
--queryFilter by search query substring.
--pageFilter by top clicked page.

mint analytics feedback

Display feedback submitted by users.
mint analytics feedback [flags]
FlagDescription
--typeFeedback type: page (aggregate by page) or code (code snippet feedback).
--pageFilter to a specific page path.

mint analytics conversation

View assistant conversation data.
mint analytics conversation <subcommand> [flags]

mint analytics conversation list

List assistant conversations. Each entry includes a conversation ID.
mint analytics conversation list [flags]
FlagDescription
--pageFilter conversations that reference a specific page in sources.

mint analytics conversation view <conversation-id>

View a single conversation by ID. Use mint analytics conversation list to get IDs.
mint analytics conversation view <conversation-id>

mint analytics conversation buckets list

List grouped conversation categories. Each entry includes a bucket ID.
mint analytics conversation buckets list

mint analytics conversation buckets view <bucket-id>

View conversations in a category bucket. Use mint analytics conversation buckets list to get IDs.
mint analytics conversation buckets view <bucket-id>

mint workflow

Create, list, and delete workflows from the terminal. Requires authentication with mint login.
mint workflow <subcommand> [flags]
All subcommands accept these shared flags:
FlagDescription
--subdomainDocumentation subdomain. Defaults to the value set with mint config set subdomain, or the first project on your account.
--formatOutput format: table (default, pretty) or json (raw, machine-readable).
When --format json is set, errors print to stderr as Error: <message> and the command exits with a non-zero status, so you can pipe successful output into other tools.

mint workflow create

Create a new workflow. You can pass the workflow definition inline with flags, or point at a JSON or YAML file with --file.
mint workflow create [flags]
FlagDescription
--nameWorkflow name. Required unless --file is provided.
--promptInstructions appended to the workflow’s base prompt on every run.
--typeWorkflow type. One of changelog, source-code-agent, translations, writing-style, typo-check, broken-link-detection, seo-metadata-audit, assistant-docs-updates, or contextual-feedback-docs-updates. Omit for a custom workflow.
--cronCron expression for a scheduled trigger. Mutually exclusive with --push-repo.
--push-repoRepository (owner/repo) for a push trigger. Repeatable to listen to multiple repositories. Mutually exclusive with --cron.
--context-repoAdditional context repository (owner/repo) the agent reads when the workflow runs. Repeatable, up to 10 total.
--automergeAutomatically merge pull requests opened by this workflow. See Configure automerge for setup requirements.
--filePath to a JSON or YAML file containing the full workflow body. Overrides the inline flags.
Exactly one trigger is required: pass --cron for a scheduled workflow or one or more --push-repo flags for a push-triggered workflow.

Examples

# Scheduled translations workflow
mint workflow create \
  --name "Translate content" \
  --type translations \
  --cron "0 6 * * *"

# Push-triggered workflow with extra context
mint workflow create \
  --name "Sync API reference" \
  --type source-code-agent \
  --push-repo my-org/api \
  --context-repo my-org/shared-types \
  --automerge

# Create from a file
mint workflow create --file workflow.yaml
A workflow file uses the same shape as the inline flags. The on field holds the trigger:
name: Translate content
type: translations
on:
  cron: "0 6 * * *"
prompt: Prefer formal tone in French translations.
automerge: false
context:
  - repo: my-org/shared-content

mint workflow list

List workflows for the current deployment.
mint workflow list [flags]
The default table output shows each workflow’s ID, name, type, trigger, and status. Use --format json to get the full workflow objects.

mint workflow delete

Delete a workflow by ID. Use mint workflow list to get the ID.
mint workflow delete <id> [flags]
ArgumentDescription
idWorkflow schema ID to delete.

mint config

Manage persistent default values for CLI commands. The configuration saves in ~/.config/mintlify/config.json.
mint config <subcommand> <key> [value]
SubcommandDescription
set <key> <value>Set a configuration value.
get <key>Display a configuration value.
clear <key>Remove a configuration value.

Configuration keys

KeyDescriptionUsed by
subdomainDefault documentation subdomain.mint analytics, mint workflow
dateFromDefault start date for analytics queries (YYYY-MM-DD).mint analytics
dateToDefault end date for analytics queries (YYYY-MM-DD).mint analytics

Check for broken internal links in your documentation.
mint broken-links [flags]
The command excludes files matching .mintignore patterns. Links that point to ignored files report as broken.
FlagDescription
--check-anchorsAlso validate anchor links (for example, /page#section) against heading slugs.
--check-externalAlso check external URLs for broken links.
--check-redirectsAlso check that redirect destinations in docs.json resolve to valid paths.
--check-snippetsAlso check links inside <Snippet> components.

mint a11y

Check for accessibility issues in your documentation.
mint a11y [flags]
Checks color contrast ratios and missing alt text on images and videos.
FlagDescription
--skip-contrastSkip color contrast checks.
--skip-alt-textSkip missing alt text checks.

mint validate

Validate your documentation build in strict mode. Exits with an error if there are any warnings or errors. Includes automatic validation of OpenAPI specifications referenced in your docs.json.
mint validate [flags]
FlagDescription
--groupsComma-separated list of user groups to mock for validation.
--disable-openapiSkip OpenAPI file processing and validation.
--local-schemaAllow validation of locally hosted OpenAPI files served over HTTP. Only supports HTTPS in production.
The standalone mint openapi-check command is deprecated. Use mint validate instead.

mint export

Export your documentation as a self-contained zip archive for offline viewing and distribution.
mint export [flags]
FlagDescription
--outputOutput filename. Defaults to export.zip.
--groupsComma-separated list of user groups to include restricted pages for.
--disable-openapiSkip OpenAPI processing.
See Offline export for details.

mint score

Run agent readiness checks against a public documentation site. Requires authentication with mint login.
mint score [url] [flags]
ArgumentDescription
urlOptional. URL of the docs site to check. If omitted, the command scores your configured subdomain (from mint config or the subdomain associated with your logged-in account).
FlagDescription
--formatOutput format: table (default, colored), plain (pipeable TSV), or json.
The command displays an overall readiness score and a breakdown of individual checks with pass/fail indicators.

Examples

# Score your default subdomain
mint score

# Score a specific site
mint score docs.example.com

Checks

The score evaluates the following areas:
CheckWhat it verifies
llmsTxtExistsAgents can reach an llms.txt file at the site root.
llmsTxtValidThe llms.txt file follows the expected format with headings, blockquote summary, and Markdown links.
llmsTxtSizeThe llms.txt file is within the size threshold so agents can consume it without truncation.
llmsTxtLinksResolveLinks inside llms.txt resolve to live pages.
llmsTxtLinksMarkdownLinks inside llms.txt use Markdown syntax.
llmsTxtDirectiveThe llms.txt file contains usage directives.
llmsTxtFullExistsAn llms-full.txt file is available for agents that need the complete content. Runs independently of llmsTxtExists.
llmsTxtFullSizeThe llms-full.txt file is within a reasonable size for agents to process.
llmsTxtFullValidThe llms-full.txt file contains valid content with headings.
llmsTxtFullLinksResolveLinks inside llms-full.txt resolve to live pages.
skillMdAgents can reach a skill.md file for agent tool use.
contentNegotiationMarkdownThe site returns Markdown when agents request it through content negotiation.
contentNegotiationPlaintextThe site returns plain text when agents request it through content negotiation.
mcpServerDiscoverableAgents can discover an MCP server for tool-based agents.
mcpToolCountThe MCP server exposes at least one tool.
openApiSpecThere is an available OpenAPI or Swagger specification at a standard path.
robotsTxtAllowsAIThe robots.txt file does not block AI crawlers.
sitemapExistsThere is a sitemap available for page discovery.
structuredDataThe homepage contains JSON-LD structured data (<script type="application/ld+json">). Reports the number of JSON-LD blocks and the schema types found.
responseLatencyThe site responds within an acceptable time for agents.
Some checks only run if a check they depend on passes. If a check fails, none of the checks that depend on it run. They automatically fail. For example, llmsTxtValid only passes if llmsTxtExists passes first. The overall score uses weighted scoring, so higher-impact checks contribute more to your score.

mint new

Create a new documentation project by picking a theme or cloning a pre-defined template from the mintlify/templates repository.
mint new [directory] [flags]
FlagDescription
--nameProject name. The CLI prompts for this if not provided in interactive mode.
--themeProject theme. The CLI prompts for this if not provided in interactive mode.
--templatePre-defined template. The CLI prompts for this if not provided in interactive mode.
--forceOverwrite the directory without prompting.

mint update

Update the CLI to the latest version.
mint update

mint version

Display the current CLI and client versions.
mint version

Coming soon

These commands are available to run but are not yet functional. Running them records your interest through CLI telemetry and helps prioritize what ships next.
CommandDescription
mint aiAI-powered documentation tools.
mint testDocumentation testing.
mint signupAccount sign-up from the CLI.
mint mcpMCP server for documentation.

Telemetry

The CLI collects anonymous usage telemetry to help improve Mintlify. Telemetry data includes the command name, CLI version, operating system, and architecture. Mintlify does not collect personally identifiable information, project content, or file paths. By default, the CLI collects telemetry data. You can opt out at any time using the --telemetry flag:
# Disable telemetry
mint --telemetry false

# Re-enable telemetry
mint --telemetry true
You can also disable telemetry by setting one of these environment variables:
VariableValueDescription
MINTLIFY_TELEMETRY_DISABLED1Disable Mintlify CLI telemetry.
DO_NOT_TRACK1Disable telemetry using the Console Do Not Track standard.
Your preference saves in ~/.config/mintlify/config.json and persists across CLI sessions.