Skip to main content
POST
/
api
/
result-analysis
/
list
Get paginated result analysis for a project
curl --request POST \
  --url https://api.mentionlab.io/api/result-analysis/list \
  --header 'Content-Type: application/json' \
  --header 'x-organisation-id: <x-organisation-id>' \
  --header 'x-project-id: <x-project-id>' \
  --data '
{
  "cachedJobId": "<string>",
  "timeFrom": "2023-11-07T05:31:56Z",
  "timeTo": "2023-11-07T05:31:56Z",
  "updatedAtFrom": "2023-11-07T05:31:56Z",
  "updatedAtTo": "2023-11-07T05:31:56Z",
  "tagNames": [
    "<string>"
  ],
  "tagIds": [
    "<string>"
  ],
  "sort": [
    "<string>"
  ]
}
'
{
  "page": {
    "totalRecords": 123,
    "limit": 123,
    "currentPage": 123,
    "totalPages": 123,
    "nextPage": 123,
    "prevPage": 123
  },
  "results": [
    {
      "id": "a1b2c3d4-e5f6-g7h8-i9j0-k1l2m3n4o5p6",
      "cachedJob": "a1b2c3d4-e5f6-g7h8-i9j0-k1l2m3n4o5p6",
      "time": "2023-08-22T10:00:00.000Z",
      "analysisResult": {
        "model": "gpt-5-mini",
        "object": {
          "brands": [
            {
              "name": "ACME Corp",
              "mentioned": true,
              "mention_count": 1,
              "sentiment_score": 70,
              "ranking_position": 1
            },
            {
              "name": "Globex Inc",
              "mentioned": true,
              "mention_count": 2,
              "sentiment_score": 50,
              "ranking_position": 2
            }
          ]
        },
        "executionKey": "gpt-5-mini:0",
        "executionNumber": 0
      },
      "sourcesAnalysisResult": {
        "https://example.com/amazing_article": {
          "found": false,
          "matches": [],
          "subDomain": null,
          "rootDomain": "example.com"
        },
        "https://www.another.be/best_in_class": {
          "found": true,
          "matches": [
            {
              "text": "Another",
              "context": "ance : ★★★★  \nThe contract Another got the**Lab",
              "position": 10280
            }
          ],
          "subDomain": null,
          "rootDomain": "another.be"
        }
      },
      "updatedAt": "2023-08-22T10:00:00.000Z"
    }
  ]
}

Headers

x-organisation-id
string
required

Organisation ID to specify the organisation context

x-project-id
string
required

Project ID to specify the project context

Query Parameters

limit
number
Example:

50

page
number
Example:

0

Body

application/json
cachedJobId
string
timeFrom
string<date-time>
timeTo
string<date-time>
updatedAtFrom
string<date-time>
updatedAtTo
string<date-time>
tagNames
string[]
tagIds
string[]
sort
string[]

Response

200 - application/json
page
object
required
results
object[]