Skip to main content
POST
/
get-queries
cURL
curl --request POST \
  --url https://api.mindshare.so/customer/v1/get-queries \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "customerID": 123,
  "queryGroupID": 123,
  "startDate": "2023-12-25",
  "endDate": "2023-12-25",
  "executionID": 123
}'
{
  "data": [
    {
      "resources_data_path": "<string>",
      "date": "2023-11-07T05:31:56Z",
      "is_product_in_results": 123,
      "competitors_data_path": "<string>",
      "query": "<string>",
      "query_id": 123,
      "execution_id": 123,
      "query_results_path": "<string>"
    }
  ],
  "version": "<string>",
  "env": "<string>"
}

Authorizations

X-API-Key
string
header
required

Body

application/json

Get queries parameters

customerID
number
required

The ID of the customer

queryGroupID
number

The ID of the query group

startDate
string<date>

Start date in yyyy-mm-dd format

endDate
string<date>

End date in yyyy-mm-dd format

executionID
number

The ID of the execution

Response

200 - application/json

List of queries

data
object[]
required

List of queries

version
string
required

API version

env
string
required

Environment name