Mintlify
mintlifyMintlify is a documentation platform. This toolkit exposes the Admin API for managing docs programmatically — trigger deployments and previews, run automations, drive the docs-editing agent, and export analytics (feedback, searches, views, visitors and assistant conversations).
Acciones disponibles (14)
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.
Create Agent JobMINTLIFY_CREATE_AGENT_JOBAcciónStart a background documentation agent job from a natural-language prompt. The agent edits the connected docs repo and OPENS A PULL REQUEST if it changes files (DESTRUCTIVE; consumes credits). Returns an AgentJob; poll its id with MINTLIFY_GET_AGENT_JOB for progress. Rate limit: 100 jobs per project per hour.
MINTLIFY_CREATE_AGENT_JOBAcciónStart a background documentation agent job from a natural-language prompt. The agent edits the connected docs repo and OPENS A PULL REQUEST if it changes files (DESTRUCTIVE; consumes credits). Returns an AgentJob; poll its id with MINTLIFY_GET_AGENT_JOB for progress. Rate limit: 100 jobs per project per hour.
Parámetros de entrada
promptstringObligatorioInstruction for the docs agent (must be non-empty). The agent edits the connected docs repo and OPENS A PULL REQUEST if it changes files. This is DESTRUCTIVE and consumes credits.
project_idstringObligatorioMintlify project ID (from the API keys page).
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 Agent JobMINTLIFY_GET_AGENT_JOBAcciónRetrieve the status and details (status, PR link, model, source repo/ref) of a docs agent job. Poll this until status is completed, archived or failed. No pagination.
MINTLIFY_GET_AGENT_JOBAcciónRetrieve the status and details (status, PR link, model, source repo/ref) of a docs agent job. Poll this until status is completed, archived or failed. No pagination.
Parámetros de entrada
job_idstringObligatorioAgent job ID returned by create_agent_job. An unknown id returns 404 (the API calls these 'sessions' internally, so the message reads 'Session not found').
project_idstringObligatorioMintlify project ID (from the API keys page).
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 Assistant Caller StatsMINTLIFY_GET_ASSISTANT_CALLER_STATSAcciónGet assistant query counts broken down by caller type (web, api, other, total) for a date range. Returns a single aggregate object; no pagination.
MINTLIFY_GET_ASSISTANT_CALLER_STATSAcciónGet assistant query counts broken down by caller type (web, api, other, total) for a date range. Returns a single aggregate object; no pagination.
Parámetros de entrada
date_tostringExclusive upper bound for the date range, ISO 8601 or YYYY-MM-DD.
date_fromstringInclusive lower bound for the date range, ISO 8601 or YYYY-MM-DD.
project_idstringObligatorioMintlify project ID (from the API keys page). Must be an ObjectId-shaped id or the API returns 400 'Invalid 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
Get Assistant ConversationsMINTLIFY_GET_ASSISTANT_CONVERSATIONSAcciónExport the AI assistant conversation history (question, answer, cited sources, resolution status) for a Mintlify project, optionally filtered by date. Returns one page of conversations plus a cursor to fetch the next page.
MINTLIFY_GET_ASSISTANT_CONVERSATIONSAcciónExport the AI assistant conversation history (question, answer, cited sources, resolution status) for a Mintlify project, optionally filtered by date. Returns one page of conversations plus a cursor to fetch the next page.
Parámetros de entrada
limitintegerItems per page, 1-1000 (default 100). Values above 1000 are rejected client-side; the API 400s on an over-max limit.
cursorstringPagination cursor (ULID). Pass the `next_cursor` from a previous page verbatim; omit for the first page. Do not synthesize cursors.
date_tostringExclusive upper bound for the conversation timestamp, ISO 8601 or YYYY-MM-DD.
date_fromstringInclusive lower bound for the conversation timestamp, ISO 8601 or YYYY-MM-DD (e.g. 2026-01-01).
project_idstringObligatorioMintlify project ID (from the API keys page). Routed into the {projectId} path segment.
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 FeedbackMINTLIFY_GET_FEEDBACKAcciónExport a project's user feedback (thumbs / contextual comments / agent feedback), optionally filtered by date, source and status. Returns one page plus a cursor to fetch the next.
MINTLIFY_GET_FEEDBACKAcciónExport a project's user feedback (thumbs / contextual comments / agent feedback), optionally filtered by date, source and status. Returns one page plus a cursor to fetch the next.
Parámetros de entrada
limitintegerItems per page, 1-100 (default 50). Values above 100 are clamped to 100 client-side (the API 400s on an over-max value).
cursorstringPagination cursor: pass the next_cursor from a previous page. Must be a valid Mongo ObjectId string (echo it back verbatim; do not synthesize).
sourcestringenumFilter by feedback source: code_snippet | contextual | agent | thumbs_only.
code_snippetcontextualagentthumbs_onlystatusstringComma-separated statuses to include: pending,in_progress,resolved,dismissed.
date_tostringExclusive upper bound, ISO 8601 or YYYY-MM-DD.
date_fromstringInclusive lower bound, ISO 8601 or YYYY-MM-DD.
project_idstringObligatorioMintlify project ID (from the API keys page). Must be an ObjectId-shaped id or the API returns 400 'Invalid 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
Get Feedback By PageMINTLIFY_GET_FEEDBACK_BY_PAGEAcciónGet feedback counts (thumbs up/down, code, total) aggregated per documentation page path for a date range. Single page of results — this endpoint exposes no pagination cursor, so only the first page is available.
MINTLIFY_GET_FEEDBACK_BY_PAGEAcciónGet feedback counts (thumbs up/down, code, total) aggregated per documentation page path for a date range. Single page of results — this endpoint exposes no pagination cursor, so only the first page is available.
Parámetros de entrada
limitintegerNumber of page rows to return, 1-100 (default 10). Values above 100 are clamped to 100 client-side (the API returns 400 on an over-max limit).
sourcestringenumFilter by feedback source: code_snippet | contextual | agent | thumbs_only.
code_snippetcontextualagentthumbs_onlystatusstringComma-separated statuses to include: pending,in_progress,resolved,dismissed.
date_tostringExclusive upper bound for the date range, ISO 8601 or YYYY-MM-DD.
date_fromstringInclusive lower bound for the date range, ISO 8601 or YYYY-MM-DD.
project_idstringObligatorioMintlify project ID (from the API keys page).
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 Page ViewsMINTLIFY_GET_PAGE_VIEWSAcciónExport per-path and site-wide content view counts split by human vs AI traffic. Offset-paginated: returns one page of rows plus site-wide totals, the hasMore flag as has_more, and a next_offset to fetch the following page.
MINTLIFY_GET_PAGE_VIEWSAcciónExport per-path and site-wide content view counts split by human vs AI traffic. Offset-paginated: returns one page of rows plus site-wide totals, the hasMore flag as has_more, and a next_offset to fetch the following page.
Parámetros de entrada
limitintegerRows per page, 1-250 (default 50). Values above 250 are clamped to 250 client-side (the API 400s on an over-max value).
offsetintegerZero-based row offset (>=0, default 0). To page, pass back the next_offset returned by the previous call while has_more is true.
date_tostringExclusive upper bound, ISO 8601 or YYYY-MM-DD.
date_fromstringInclusive lower bound, ISO 8601 or YYYY-MM-DD.
project_idstringObligatorioMintlify project ID (from the API keys page). An id of the wrong shape returns 400 'Invalid 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
Get Search QueriesMINTLIFY_GET_SEARCH_QUERIESAcciónExport documentation search terms ordered by hit count (with CTR and top clicked page). Returns one page plus a cursor to fetch the next; there is no more-flag, so stop paging once next_cursor is null.
MINTLIFY_GET_SEARCH_QUERIESAcciónExport documentation search terms ordered by hit count (with CTR and top clicked page). Returns one page plus a cursor to fetch the next; there is no more-flag, so stop paging once next_cursor is null.
Parámetros de entrada
limitintegerItems per page, 1-100 (default 50). Values above 100 are clamped to 100 client-side (the API 400s on an over-max value).
cursorstringOpaque pagination cursor: pass the next_cursor from a previous page verbatim to fetch the next page. Omit for the first page.
date_tostringExclusive upper bound, ISO 8601 or YYYY-MM-DD.
date_fromstringInclusive lower bound, ISO 8601 or YYYY-MM-DD.
project_idstringObligatorioMintlify project ID (from the API keys page). An id of the wrong shape returns 400 'Invalid 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
Get Unique VisitorsMINTLIFY_GET_UNIQUE_VISITORSAcciónExport per-path and site-wide approximate distinct visitor counts split by human vs AI traffic. Offset-paginated: returns one page plus a `has_more` flag and the effective `next_offset` to fetch the following page.
MINTLIFY_GET_UNIQUE_VISITORSAcciónExport per-path and site-wide approximate distinct visitor counts split by human vs AI traffic. Offset-paginated: returns one page plus a `has_more` flag and the effective `next_offset` to fetch the following page.
Parámetros de entrada
limitintegerRows per page, 1-250 (default 50). Values above 250 are clamped to 250 client-side (the API 400s on an over-max value).
offsetintegerZero-based row offset (>=0, default 0). Pass the prior response's `next_offset` to fetch the next page.
date_tostringExclusive upper bound, ISO 8601 or YYYY-MM-DD.
date_fromstringInclusive lower bound, ISO 8601 or YYYY-MM-DD.
project_idstringObligatorioMintlify project ID (from the API keys page). An id of the wrong shape returns 400 'Invalid 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
Get Update StatusMINTLIFY_GET_UPDATE_STATUSAcciónGet the status and details (queued / in_progress / success / failure, logs, commit, screenshot) of a triggered deployment update by its statusId. Poll this with the statusId returned by MINTLIFY_TRIGGER_UPDATE.
MINTLIFY_GET_UPDATE_STATUSAcciónGet the status and details (queued / in_progress / success / failure, logs, commit, screenshot) of a triggered deployment update by its statusId. Poll this with the statusId returned by MINTLIFY_TRIGGER_UPDATE.
Parámetros de entrada
status_idstringObligatorioStatus ID returned by MINTLIFY_TRIGGER_UPDATE. Identifies the deployment update to inspect. Note: this endpoint keys on the statusId, not the 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
Send Agent MessageMINTLIFY_SEND_AGENT_MESSAGEAcciónSend a follow-up instruction to an existing, in-progress docs agent job (asynchronous). Use to refine or continue work on a job created by create_agent_job. Returns the updated AgentJob; poll get_agent_job for progress. No pagination.
MINTLIFY_SEND_AGENT_MESSAGEAcciónSend a follow-up instruction to an existing, in-progress docs agent job (asynchronous). Use to refine or continue work on a job created by create_agent_job. Returns the updated AgentJob; poll get_agent_job for progress. No pagination.
Parámetros de entrada
job_idstringObligatorioAgent job ID returned by create_agent_job. An unknown id returns 404 (the API calls these 'sessions' internally, so the message often reads 'Session not found').
promptstringObligatorioFollow-up instruction for the running agent job (non-empty). Refines or continues the work started by create_agent_job.
project_idstringObligatorioMintlify project ID (from the API keys page).
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
Trigger AutomationMINTLIFY_TRIGGER_AUTOMATIONAcciónTrigger a custom-schedule automation (workflow) to run immediately. Returns the schemaId, instanceId and jobId of the launched run. Only custom-schedule automations are triggerable (others return 400). Requires a Mintlify plan that includes automations (otherwise the API returns 401 'Please upgrade to access this route.').
MINTLIFY_TRIGGER_AUTOMATIONAcciónTrigger a custom-schedule automation (workflow) to run immediately. Returns the schemaId, instanceId and jobId of the launched run. Only custom-schedule automations are triggerable (others return 400). Requires a Mintlify plan that includes automations (otherwise the API returns 401 'Please upgrade to access this route.').
Parámetros de entrada
project_idstringObligatorioMintlify project ID (from the API keys page). Must be an ObjectId-shaped id or the API returns 400 'Invalid project id'.
workflow_schema_idstringObligatorioAutomation/workflow ID from the Automations settings panel. Only custom-schedule automations are triggerable; other automation types return 400.
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
Trigger PreviewMINTLIFY_TRIGGER_PREVIEWAcciónCreate or update a preview deployment of the docs project for a Git branch (redeploys if a preview already exists for that branch). Returns a statusId to poll with MINTLIFY_GET_UPDATE_STATUS and a previewUrl. Requires a Mintlify plan that includes preview deployments (plan gating may return 401 or 403).
MINTLIFY_TRIGGER_PREVIEWAcciónCreate or update a preview deployment of the docs project for a Git branch (redeploys if a preview already exists for that branch). Returns a statusId to poll with MINTLIFY_GET_UPDATE_STATUS and a previewUrl. Requires a Mintlify plan that includes preview deployments (plan gating may return 401 or 403).
Parámetros de entrada
branchstringObligatorioGit branch to build a preview deployment for (non-empty).
project_idstringObligatorioMintlify project ID (from the API keys page). Must be an ObjectId-shaped id or the API returns 400 'Invalid 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
Trigger UpdateMINTLIFY_TRIGGER_UPDATEAcciónQueue a production deployment of the docs project from its configured branch. Returns a statusId to poll with MINTLIFY_GET_UPDATE_STATUS. Requires a Mintlify plan that includes deployments (otherwise the API returns 401 'Please upgrade to access this route.').
MINTLIFY_TRIGGER_UPDATEAcciónQueue a production deployment of the docs project from its configured branch. Returns a statusId to poll with MINTLIFY_GET_UPDATE_STATUS. Requires a Mintlify plan that includes deployments (otherwise the API returns 401 'Please upgrade to access this route.').
Parámetros de entrada
project_idstringObligatorioMintlify project ID (from the API keys page). Must be an ObjectId-shaped id or the API returns 400 'Invalid 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