Documentación para desarrolladores

Ver un problema

GET/sites/{siteId}/issues/{issueId}
Permiso
issues:read
Herramienta MCP
issue_detail

Get an issue with pages, evidence and suggestions For a writable field other than alt, suggestions gives the rule-based value per affected page, 100 per call: page with suggestions_offset. A recheck reads every listed page fresh, so affected, evidence and suggestions show what the pages say now.

Las descripciones vienen del documento OpenAPI y están en inglés.

Parámetros

NombreDóndeDetalles
siteIdObligatoriorutastringWebsite id, from GET /sites.
issueIdObligatoriorutastringIssue id, from GET /sites/{siteId}/issues or /actions.
suggestions_offsetqueryintegerdefault 0, min 0, max 1000000Suggestions to skip (suggestionsNextOffset of the previous page).
suggestions_limitqueryintegerdefault 100, min 1, max 100Most suggestions to return, 1 to 100.
suggestionsOffsetqueryintegerdefault 0, min 0, max 1000000Same as suggestions_offset; the snake_case name wins when both are sent.
suggestionsLimitqueryintegerdefault 100, min 1, max 100Same as suggestions_limit.

Respuesta

200 · application/json

CampoDetalles
idstring · required; Issue id
ruleIdstring · required; Rule that found it, for example SEO-ONP-011
titlestring · required; Issue title
categorystring · required; Rule category, for example Technical, On-page, Internal linking, Performance, Structured data, AEO readiness or Google Ads (the Ads waste checks, ADS-* rules: about the Ads account, so they list no pages and carry their rows in example.rows)
severitycritical | serious | warning | low · required; How much it hurts
confidencehigh | medium | low · required; How sure the rule is
statusopen | in_progress | recheck_queued | resolved | ignored | reopened · required; Where the issue stands
affectedPagesinteger · required; Pages the issue lists
templatestring · required; The group of pages: Template: /blog/*, Site-level, or a count of URLs
summarystring · required; One line on what was found
firstSeenstring · required; First found
lastSeenstring · required; Last found
lastRecheckrequired; What the last recheck found; null before any recheck
linkstring · required; The issue in the app
whystring or null · required; Why it matters
affectedlist of object · required; Affected pages (first 50)
affected[].urlstring · required; Page address
affected[].evidencerequired; What the rule saw on the page
affectedTotalinteger · required; All affected pages
explanationobject or null · required; The AI explanation when drafted; null otherwise
explanation.summarystring · required; What is wrong
explanation.summaryRefslist of string · required; Evidence the summary is based on
explanation.whystring · required; Why it matters
explanation.stepslist of object · required
explanation.steps[].textstring · required; Fix step
explanation.steps[].refslist of string · required; Evidence for the step
explanation.doNotTouchlist of string · required; What to leave alone
explanation.verifystring · required; How to check the fix
explanation.draftedstring · required; Always "AI-drafted from evidence"
writableFieldseo_title | seo_description | canonical | noindex | alt | redirect | · required; The field MonoRanks can write for this issue; null when none
suggestionslist of object · Writable fields other than alt: the suggested value per affected page, the same as the app shows before Apply
suggestions[].urlstring · required; Page address
suggestions[].pageIdstring · required; Page id
suggestions[].currentstring · required; What the page shows now
suggestions[].suggestedstring or null · required; The rule-based value MonoRanks suggests; null when there is none
suggestions[].adviceobject or null · Meta descriptions only: advice for pages that may not need one
suggestions[].advice.pageKindlegal | archive | empty_archive | empty_page | account · required; legal page, archive, empty archive, near-empty page, or a logged-in, cart or checkout page
suggestions[].advice.legalKindprivacy | cookie | terms | imprint | legal · Kind of legal page
suggestions[].advice.recommendedleave_or_noindex | add_posts_or_noindex | add_content_or_noindex | noindex · required; What to do besides or instead of a description
suggestions[].advice.messagestring · required; The advice in words
suggestions[].writabletrue or false · required; Whether apply can write this page
suggestions[].notWritableReasonstring · Why apply cannot write this page
suggestionsNotestring or null · Titles only: the site changes the letter case of every title (for example Rank Math's Capitalize Titles)
suggestionsTotalinteger · Suggestions over all pages
suggestionsOffsetinteger · Suggestions skipped
suggestionsLimitinteger · Most suggestions in this answer
suggestionsNextOffsetinteger or null · Send as suggestions_offset for the next page; null after the last
suggestionsTruncatedtrue or false · More suggestions after this page
titleTemplateobject or null · Too-long titles (SEO-ONP-005) only: one template ending that makes most titles too long
titleTemplate.suffixstring · required; The shared ending
titleTemplate.countinteger · required; Titles carrying it
titleTemplate.notestring · required; Where to shorten it once
lastChangeobject or null · required; The last approved change batch; null when none
lastChange.batchIdstring · required; Batch id
lastChange.approvedBystring · required; Who approved it
lastChange.approvedAtstring · required; When it was approved
lastChange.changeslist of object · required; First 50 changes
lastChange.changes[].urlstring · required; Page address
lastChange.changes[].fieldstring · required; Field written, for example seo_description
lastChange.changes[].valuestring · required; The approved value
lastChange.changes[].statusapproved | applying | applied | not_live | failed | refused | stale | reverting | reverted | revert_failed · required; applied: written and seen on the live page; not_live: written, but the page still shows another value; refused: the plugin cannot write this field here; stale: the field changed in WordPress after the review, so it is back in review
lastChange.changes[].appliedAtstring or null · required; When it was written
lastChange.changes[].livetrue or false or null · required; Whether the recheck saw the value on the live page
lastChange.changes[].liveValuestring or null · required; What the live page showed
lastChange.changes[].notLiveReasonstring or null · required; not_live only: why, including whether the page cache was cleared
lastChange.changes[].liveNotestring or null · required; applied only: for example the page shows the value in another letter case
lastChange.changes[].errorstring or null · required; Why it failed or was refused

Notas

Para un problema que MonoRanks puede corregir (título SEO, meta descripción, canónica o redirección), GET /sites/{siteId}/issues/{issueId} también devuelve suggestions: para cada página afectada, el valor actual y el valor que sugiere MonoRanks. Son los mismos valores que la app muestra antes de que pulses Apply.

"suggestions": [
  { "url": "https://example.com/pricing/", "pageId": "…", "current": "Pricing", "suggested": "Pricing | Example", "writable": true }
],
"suggestionsTotal": 240,
"suggestionsOffset": 0,
"suggestionsLimit": 100,
"suggestionsNextOffset": 100,
"suggestionsTruncated": true
Qué Detalles
Paginación Cada llamada devuelve hasta 100. Para las siguientes, vuelve a llamar con ?suggestions_offset= igual a suggestionsNextOffset; es null después de la última página. suggestions_limit (de 1 a 100) fija el tamaño de página. También funcionan las formas suggestionsOffset y suggestionsLimit.
suggested es null cuando MonoRanks no tiene un buen valor nuevo para esa página. Un título demasiado largo se acorta con reglas fijas que conservan el tema de la página y nunca cortan una frase por la mitad; cuando ningún título más corto funciona, suggested es null y puedes redactar uno en la app.
suggestionsNote (solo títulos) aparece cuando el sitio web cambia las mayúsculas y minúsculas de los títulos en la página, por ejemplo con el ajuste Capitalize Titles de Rank Math.
writable es false, con notWritableReason, cuando apply no puede escribir esa página, por ejemplo un archivo de categoría que no es una entrada ni una página de WordPress. No las envíes a apply.
advice (solo meta descripciones) indica cuándo una página quizá no necesita descripción: una página legal o un archivo (déjala vacía o pon noindex), un archivo vacío (añade entradas o pon noindex), o una página de inicio de sesión, cuenta, carrito o pago (pon noindex; no se sugiere descripción).
titleTemplate (títulos demasiado largos) aparece cuando un mismo final de la plantilla de títulos del plugin de SEO hace que la mayoría de los títulos sean demasiado largos, así que un solo cambio en la plantilla los corrige todos.
lastRecheck indica lo que encontró la última revisión. Una revisión vuelve a leer cada página de la lista, sin copias guardadas, así que las páginas que ya corregiste salen de la lista. Una página que no respondió sigue en la lista y se cuenta en lastRecheck.notRechecked.
lastChange es el último lote aprobado, con el estado de cada cambio. not_live significa que se escribió pero la página todavía muestra otro valor; notLiveReason explica por qué, e indica también si se vació la caché de páginas del sitio después de escribir. Una revisión vuelve a mirar esos cambios. Los títulos y las descripciones cuentan como publicados cuando solo cambian las mayúsculas, los espacios, las comillas o los guiones; liveNote explica entonces qué los cambió.

Envía los valores que apruebes a POST /sites/{siteId}/actions/{issueId}/apply como { "changes": [ { "url": "…", "value": "…" } ] } (como máximo 500). Mediante la API, apply escribe títulos SEO, meta descripciones, canónicas y noindex; el texto alternativo de las imágenes y las redirecciones se aplican en la app.

Las direcciones de correo personales en el texto de las páginas que guarda MonoRanks se ocultan, por ejemplo j•••@gmail.com.

Errores

EstadoSignificado
400Bad request. Codes: bad_paging.
401Missing, unknown or revoked key. Codes: missing_key, invalid_key.
403The key lacks the scope, covers another website, or its owner lost access. Codes: missing_scope, other_site, owner_left, no_owner, forbidden.
404Not found. Codes: not_found.
429Too many requests this hour for this key. Codes: rate_limited.

Petición de ejemplo

curl \
  -H "Authorization: Bearer mr_ws_…" \
  "https://app.monoranks.com/api/v1/sites/SITE_ID/issues/ISSUE_ID"

Respuesta de ejemplo

{
  "id": "b2e4c6a8-1d3f-4a5b-9c7d-0e2f4a6b8c1d",
  "ruleId": "SEO-ONP-011",
  "title": "Meta description missing on 3 pages (/products/*)",
  "category": "On-page",
  "severity": "warning",
  "confidence": "high",
  "status": "open",
  "affectedPages": 3,
  "template": "Template: /products/*",
  "summary": "3 pages have no meta description. Google shows a snippet cut from the page instead.",
  "firstSeen": "2026-09-20T02:40:03.000Z",
  "lastSeen": "2026-10-04T02:41:12.000Z",
  "lastRecheck": {
    "at": "2026-10-02T09:12:44.000Z",
    "present": 3,
    "checked": 3,
    "crawlId": "e5a7c9e1-3f5b-4d7f-9b1d-5f7b9d1f3b5c",
    "passed": false
  },
  "link": "https://app.monoranks.com/sites/3f6c2a1e-8b4d-4c7a-9e21-5d0b7a6f4c13/issues/b2e4c6a8-1d3f-4a5b-9c7d-0e2f4a6b8c1d",
  "why": "A written description raises click-through from results; it is the one line of ad copy you control.",
  "affected": [
    {
      "url": "https://acmebikes.com/products/trail-pro-29",
      "evidence": {
        "title": "Trail Pro 29 Mountain Bike | Acme Bikes"
      }
    },
    {
      "url": "https://acmebikes.com/products/city-glide-7",
      "evidence": {
        "title": "City Glide 7 | Acme Bikes"
      }
    }
  ],
  "affectedTotal": 3,
  "explanation": null,
  "writableField": "seo_description",
  "suggestions": [
    {
      "url": "https://acmebikes.com/products/trail-pro-29",
      "pageId": "c7a9e1b3-5d7f-4b9c-8e1a-3c5e7a9b1d2f",
      "current": "",
      "suggested": "Trail Pro 29: a light aluminium trail bike with 140 mm travel and a 12-speed drivetrain. Free delivery and 30-day returns.",
      "advice": null,
      "writable": true
    }
  ],
  "suggestionsNote": null,
  "suggestionsTotal": 3,
  "suggestionsOffset": 0,
  "suggestionsLimit": 1,
  "suggestionsNextOffset": 1,
  "suggestionsTruncated": true,
  "lastChange": {
    "batchId": "f6b8d0f2-4a6c-4e8a-ac2e-6a8cae2a4c6d",
    "approvedBy": "sam@acmebikes.com",
    "approvedAt": "2026-10-01T14:03:00.000Z",
    "changes": [
      {
        "url": "https://acmebikes.com/products/city-glide-7",
        "field": "seo_description",
        "value": "City Glide 7: a comfortable seven-speed city bike with mudguards and a rack.",
        "status": "applied",
        "appliedAt": "2026-10-01T14:03:41.000Z",
        "live": true,
        "liveValue": "City Glide 7: a comfortable seven-speed city bike with mudguards and a rack.",
        "notLiveReason": null,
        "liveNote": null,
        "error": null
      }
    ]
  }
}

El servidor MCP hace lo mismo con la herramienta issue_detail.