Pesquisar prompts para um monitor
Enfileire uma tarefa de Prompt Research para escolher os prompts de um monitor.
curl --request POST \
--url https://api.querying.ai/v1/monitors/research \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"seed": "sunscreen",
"country": "US",
"monitorSize": 10,
"monitorEngines": [
"CHATGPT",
"GEMINI"
]
}
'import requests
url = "https://api.querying.ai/v1/monitors/research"
payload = {
"seed": "sunscreen",
"country": "US",
"monitorSize": 10,
"monitorEngines": ["CHATGPT", "GEMINI"]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
seed: 'sunscreen',
country: 'US',
monitorSize: 10,
monitorEngines: ['CHATGPT', 'GEMINI']
})
};
fetch('https://api.querying.ai/v1/monitors/research', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.querying.ai/v1/monitors/research",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'seed' => 'sunscreen',
'country' => 'US',
'monitorSize' => 10,
'monitorEngines' => [
'CHATGPT',
'GEMINI'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.querying.ai/v1/monitors/research"
payload := strings.NewReader("{\n \"seed\": \"sunscreen\",\n \"country\": \"US\",\n \"monitorSize\": 10,\n \"monitorEngines\": [\n \"CHATGPT\",\n \"GEMINI\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.querying.ai/v1/monitors/research")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"seed\": \"sunscreen\",\n \"country\": \"US\",\n \"monitorSize\": 10,\n \"monitorEngines\": [\n \"CHATGPT\",\n \"GEMINI\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.querying.ai/v1/monitors/research")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"seed\": \"sunscreen\",\n \"country\": \"US\",\n \"monitorSize\": 10,\n \"monitorEngines\": [\n \"CHATGPT\",\n \"GEMINI\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"task": {
"id": "4299622a-1321-43a9-b780-809a0116f1b5",
"taskType": "PROMPT_RESEARCH",
"status": "QUEUED",
"priority": 1,
"createdAt": "2026-09-30T04:03:26.092Z"
},
"credits": {
"creditsToCharge": 11,
"creditsCharged": 0
},
"replayed": false
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"field": "<string>",
"message": "<string>"
}
],
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"success": false,
"error": {
"code": "MISSING_API_KEY",
"message": "Missing or invalid API key",
"timestamp": "2026-07-09T04:12:00.000Z"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"field": "<string>",
"message": "<string>"
}
],
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"field": "<string>",
"message": "<string>"
}
],
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"field": "<string>",
"message": "<string>"
}
],
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"field": "<string>",
"message": "<string>"
}
],
"timestamp": "2023-11-07T05:31:56Z"
}
}Autorizações
Your API key, sent as Authorization: Bearer <key>.
Corpo
The topic: letters, digits and single spaces, such as sunscreen. A short product or category term works best; a sentence finds nothing.
1 - 30Market: KR (South Korea) or US (United States). Any other value is a 422 REGION_UNSUPPORTED.
KR, US Prompts to return.
1 <= x <= 50Terms to leave out, such as a subtopic you do not want. A prompt containing one is left out. Put your own brand in brand.
201 - 30Prompts in monitorSet.
1 <= x <= 50The engines your monitor will run. A monitor runs at most 200 prompt × engine tasks at a time, so monitorSize × the number of engines above 200 is a 422 VALIDATION_ERROR on monitorSize. It does not change the result.
1 - 12 elementsAn engine a monitor can schedule: the prompt surfaces sold to customers plus the deprecated NAVER alias. GOOGLE_AIO and GOOGLE_AIMODE are accepted as input aliases and echoed as GOOGLE and AIMODE. CITATION_ANALYSIS is an analysis task, not a prompt surface, and cannot be scheduled on a monitor.
CHATGPT, GEMINI, PERPLEXITY, GOOGLE, AIMODE, NAVER_AI_BRIEF, NAVER_AI_TAB, NAVER Your brand, with at least two letters or digits; punctuation is allowed. Prompts containing it are left out, as with exclude.
1 - 80Other names or spellings of your brand, left out the same way. Requires brand.
101 - 80What your brand sells and to whom. Requires brand. Adds fit to every prompt, which monitorSet weighs.
500Optional. Deduplicates submissions; a duplicate is a 409.
Optional. Echoed in task metadata; values outside 1-10 are clamped. It does not guarantee execution order.
1 <= x <= 10Optional. Omit to collect the result by polling instead.
Show child attributes
Show child attributes
curl --request POST \
--url https://api.querying.ai/v1/monitors/research \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"seed": "sunscreen",
"country": "US",
"monitorSize": 10,
"monitorEngines": [
"CHATGPT",
"GEMINI"
]
}
'import requests
url = "https://api.querying.ai/v1/monitors/research"
payload = {
"seed": "sunscreen",
"country": "US",
"monitorSize": 10,
"monitorEngines": ["CHATGPT", "GEMINI"]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
seed: 'sunscreen',
country: 'US',
monitorSize: 10,
monitorEngines: ['CHATGPT', 'GEMINI']
})
};
fetch('https://api.querying.ai/v1/monitors/research', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.querying.ai/v1/monitors/research",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'seed' => 'sunscreen',
'country' => 'US',
'monitorSize' => 10,
'monitorEngines' => [
'CHATGPT',
'GEMINI'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.querying.ai/v1/monitors/research"
payload := strings.NewReader("{\n \"seed\": \"sunscreen\",\n \"country\": \"US\",\n \"monitorSize\": 10,\n \"monitorEngines\": [\n \"CHATGPT\",\n \"GEMINI\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.querying.ai/v1/monitors/research")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"seed\": \"sunscreen\",\n \"country\": \"US\",\n \"monitorSize\": 10,\n \"monitorEngines\": [\n \"CHATGPT\",\n \"GEMINI\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.querying.ai/v1/monitors/research")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"seed\": \"sunscreen\",\n \"country\": \"US\",\n \"monitorSize\": 10,\n \"monitorEngines\": [\n \"CHATGPT\",\n \"GEMINI\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"task": {
"id": "4299622a-1321-43a9-b780-809a0116f1b5",
"taskType": "PROMPT_RESEARCH",
"status": "QUEUED",
"priority": 1,
"createdAt": "2026-09-30T04:03:26.092Z"
},
"credits": {
"creditsToCharge": 11,
"creditsCharged": 0
},
"replayed": false
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"field": "<string>",
"message": "<string>"
}
],
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"success": false,
"error": {
"code": "MISSING_API_KEY",
"message": "Missing or invalid API key",
"timestamp": "2026-07-09T04:12:00.000Z"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"field": "<string>",
"message": "<string>"
}
],
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"field": "<string>",
"message": "<string>"
}
],
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"field": "<string>",
"message": "<string>"
}
],
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"field": "<string>",
"message": "<string>"
}
],
"timestamp": "2023-11-07T05:31:56Z"
}
}