Skip to main content
GET
/
api
/
queries
/
{id}
/
raw-initial-results
Get raw initial results for a query
curl --request GET \
  --url https://api.mentionlab.io/api/queries/{id}/raw-initial-results \
  --header 'x-organisation-id: <x-organisation-id>' \
  --header 'x-project-id: <x-project-id>'
[
  {
    "id": 1,
    "jobExecution": {
      "id": 1,
      "cachedJob": {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "project": "123e4567-e89b-12d3-a456-426614174000",
        "query_id": "123e4567-e89b-12d3-a456-426614174000",
        "query": "Best phone for 2025"
      },
      "status": "completed",
      "createdAt": "2021-01-01T00:00:00.000Z",
      "resultAnalysisId": "123e4567-e89b-12d3-a456-426614174000"
    },
    "result": {
      "key": "value"
    }
  }
]

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

Path Parameters

id
string<uuid>
required

Query Parameters

limit
number
Example:

50

page
number
Example:

0

Response

default - application/json
id
number
required

Unique identifier for the raw initial result

Example:

1

jobExecution
object
required

The job execution

result
object
required

The raw result data

Example:
{ "key": "value" }