recomentionDocs
API reference

Get a report

The full report as JSON: scores, competitors, sources, the fix list and every answer. Only the owner's key can read it.

GET
/v1/reports/{slug}

Authorization

apiKey
headerAuthorizationBearer <token>

An API key (rmk_…).

Path Parameters

slug*string

Response Body

The report.

application/json
  1. response
report*
Example Request
curl -X GET 'https://api.recomention.com/v1/reports/string'
Example Response
{  "report": {    "slug": "string",    "url": "string",    "status": "PENDING",    "simulated": true,    "plan": "string",    "funding": "BYOK",    "overallScore": 0,    "createdAt": "2019-08-24T14:15:22Z",    "completedAt": "2019-08-24T14:15:22Z",    "brand": "string",    "domain": "string",    "category": "string",    "progress": {      "answersStored": -9007199254740991,      "answersPlanned": -9007199254740991    },    "error": "string",    "description": "string",    "preparedBy": "string",    "paid": true,    "summary": "string",    "engines": [      {        "engine": "OPENAI",        "label": "string",        "mentionRate": 0,        "runsMentioned": -9007199254740991,        "runsTotal": -9007199254740991,        "runsNoAnswer": -9007199254740991,        "promptsMentioned": -9007199254740991,        "promptsTotal": -9007199254740991,        "avgRank": 0,        "badgeEarned": true      }    ],    "enginesSkipped": [      {        "engine": "OPENAI",        "label": "string",        "reason": "string"      }    ],    "competitors": [      {        "brand": "string",        "domain": "string",        "shareOfVoice": 0,        "mentions": -9007199254740991,        "avgRank": 0      }    ],    "sources": [      {        "domain": "string",        "citations": -9007199254740991,        "engines": [          "OPENAI"        ],        "exampleUrl": "string",        "own": true      }    ],    "actionPlan": [      {        "title": "string",        "why": "string",        "how": "string",        "effort": "low"      }    ],    "questions": [      {        "order": -9007199254740991,        "text": "string",        "intent": "string",        "stage": "string",        "searches": [          {            "engine": "OPENAI",            "label": "string",            "exposed": false          }        ],        "answers": [          {            "engine": "OPENAI",            "run": -9007199254740991,            "failed": true,            "failure": "string",            "noAnswer": "string",            "mentioned": true,            "rank": 0,            "brands": [              {                "name": "string",                "domain": "string"              }            ],            "citations": [              {                "url": "string",                "domain": "string",                "title": "string"              }            ],            "answer": "string",            "searchQueries": [              "string"            ],            "searchQueriesIncomplete": [              "unreported"            ]          }        ]      }    ]  }}