Volver al catálogo

Mintlify

mintlify

Mintlify 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
14
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

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ón

Start 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

  • promptstringObligatorio

    Instruction 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_idstringObligatorio

    Mintlify project ID (from the API keys page).

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Agent JobMINTLIFY_GET_AGENT_JOBAcción

Retrieve 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_idstringObligatorio

    Agent 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_idstringObligatorio

    Mintlify project ID (from the API keys page).

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Assistant Caller StatsMINTLIFY_GET_ASSISTANT_CALLER_STATSAcción

Get 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_tostring

    Exclusive upper bound for the date range, ISO 8601 or YYYY-MM-DD.

  • date_fromstring

    Inclusive lower bound for the date range, ISO 8601 or YYYY-MM-DD.

  • project_idstringObligatorio

    Mintlify 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

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Assistant ConversationsMINTLIFY_GET_ASSISTANT_CONVERSATIONSAcción

Export 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

  • limitinteger

    Items per page, 1-1000 (default 100). Values above 1000 are rejected client-side; the API 400s on an over-max limit.

  • cursorstring

    Pagination cursor (ULID). Pass the `next_cursor` from a previous page verbatim; omit for the first page. Do not synthesize cursors.

  • date_tostring

    Exclusive upper bound for the conversation timestamp, ISO 8601 or YYYY-MM-DD.

  • date_fromstring

    Inclusive lower bound for the conversation timestamp, ISO 8601 or YYYY-MM-DD (e.g. 2026-01-01).

  • project_idstringObligatorio

    Mintlify project ID (from the API keys page). Routed into the {projectId} path segment.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get FeedbackMINTLIFY_GET_FEEDBACKAcción

Export 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

  • limitinteger

    Items per page, 1-100 (default 50). Values above 100 are clamped to 100 client-side (the API 400s on an over-max value).

  • cursorstring

    Pagination cursor: pass the next_cursor from a previous page. Must be a valid Mongo ObjectId string (echo it back verbatim; do not synthesize).

  • sourcestringenum

    Filter by feedback source: code_snippet | contextual | agent | thumbs_only.

    code_snippetcontextualagentthumbs_only
  • statusstring

    Comma-separated statuses to include: pending,in_progress,resolved,dismissed.

  • date_tostring

    Exclusive upper bound, ISO 8601 or YYYY-MM-DD.

  • date_fromstring

    Inclusive lower bound, ISO 8601 or YYYY-MM-DD.

  • project_idstringObligatorio

    Mintlify 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

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Feedback By PageMINTLIFY_GET_FEEDBACK_BY_PAGEAcción

Get 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

  • limitinteger

    Number 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).

  • sourcestringenum

    Filter by feedback source: code_snippet | contextual | agent | thumbs_only.

    code_snippetcontextualagentthumbs_only
  • statusstring

    Comma-separated statuses to include: pending,in_progress,resolved,dismissed.

  • date_tostring

    Exclusive upper bound for the date range, ISO 8601 or YYYY-MM-DD.

  • date_fromstring

    Inclusive lower bound for the date range, ISO 8601 or YYYY-MM-DD.

  • project_idstringObligatorio

    Mintlify project ID (from the API keys page).

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Page ViewsMINTLIFY_GET_PAGE_VIEWSAcción

Export 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

  • limitinteger

    Rows per page, 1-250 (default 50). Values above 250 are clamped to 250 client-side (the API 400s on an over-max value).

  • offsetinteger

    Zero-based row offset (>=0, default 0). To page, pass back the next_offset returned by the previous call while has_more is true.

  • date_tostring

    Exclusive upper bound, ISO 8601 or YYYY-MM-DD.

  • date_fromstring

    Inclusive lower bound, ISO 8601 or YYYY-MM-DD.

  • project_idstringObligatorio

    Mintlify project ID (from the API keys page). An id of the wrong shape returns 400 'Invalid project id'.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Search QueriesMINTLIFY_GET_SEARCH_QUERIESAcción

Export 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

  • limitinteger

    Items per page, 1-100 (default 50). Values above 100 are clamped to 100 client-side (the API 400s on an over-max value).

  • cursorstring

    Opaque pagination cursor: pass the next_cursor from a previous page verbatim to fetch the next page. Omit for the first page.

  • date_tostring

    Exclusive upper bound, ISO 8601 or YYYY-MM-DD.

  • date_fromstring

    Inclusive lower bound, ISO 8601 or YYYY-MM-DD.

  • project_idstringObligatorio

    Mintlify project ID (from the API keys page). An id of the wrong shape returns 400 'Invalid project id'.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Unique VisitorsMINTLIFY_GET_UNIQUE_VISITORSAcción

Export 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

  • limitinteger

    Rows per page, 1-250 (default 50). Values above 250 are clamped to 250 client-side (the API 400s on an over-max value).

  • offsetinteger

    Zero-based row offset (>=0, default 0). Pass the prior response's `next_offset` to fetch the next page.

  • date_tostring

    Exclusive upper bound, ISO 8601 or YYYY-MM-DD.

  • date_fromstring

    Inclusive lower bound, ISO 8601 or YYYY-MM-DD.

  • project_idstringObligatorio

    Mintlify project ID (from the API keys page). An id of the wrong shape returns 400 'Invalid project id'.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Update StatusMINTLIFY_GET_UPDATE_STATUSAcción

Get 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_idstringObligatorio

    Status 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

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Send Agent MessageMINTLIFY_SEND_AGENT_MESSAGEAcción

Send 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_idstringObligatorio

    Agent 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').

  • promptstringObligatorio

    Follow-up instruction for the running agent job (non-empty). Refines or continues the work started by create_agent_job.

  • project_idstringObligatorio

    Mintlify project ID (from the API keys page).

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Trigger AutomationMINTLIFY_TRIGGER_AUTOMATIONAcción

Trigger 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_idstringObligatorio

    Mintlify project ID (from the API keys page). Must be an ObjectId-shaped id or the API returns 400 'Invalid project id'.

  • workflow_schema_idstringObligatorio

    Automation/workflow ID from the Automations settings panel. Only custom-schedule automations are triggerable; other automation types return 400.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Trigger PreviewMINTLIFY_TRIGGER_PREVIEWAcción

Create 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

  • branchstringObligatorio

    Git branch to build a preview deployment for (non-empty).

  • project_idstringObligatorio

    Mintlify 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

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Trigger UpdateMINTLIFY_TRIGGER_UPDATEAcción

Queue 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_idstringObligatorio

    Mintlify 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

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not