Prompt answers
curl --request GET \
--url https://www.qwairy.co/api/v1/brands/{brandId}/prompts/{promptId}/answers \
--header 'Authorization: <authorization>'import requests
url = "https://www.qwairy.co/api/v1/brands/{brandId}/prompts/{promptId}/answers"
headers = {"Authorization": "<authorization>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<authorization>'}};
fetch('https://www.qwairy.co/api/v1/brands/{brandId}/prompts/{promptId}/answers', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Prompts
Prompt answers
Retrieve all AI-generated responses for a specific prompt.
GET
https://www.qwairy.co
/
api
/
v1
/
brands
/
{brandId}
/
prompts
/
{promptId}
/
answers
Prompt answers
curl --request GET \
--url https://www.qwairy.co/api/v1/brands/{brandId}/prompts/{promptId}/answers \
--header 'Authorization: <authorization>'import requests
url = "https://www.qwairy.co/api/v1/brands/{brandId}/prompts/{promptId}/answers"
headers = {"Authorization": "<authorization>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<authorization>'}};
fetch('https://www.qwairy.co/api/v1/brands/{brandId}/prompts/{promptId}/answers', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Returns all stored answers for one prompt, optionally filtered by provider. This endpoint is not paginated.
See Rate limits for retry behavior.
string
required
Bearer token. Example:
Bearer qw-api-xxxPath parameters
string
required
The unique identifier of the brand
string
required
The unique identifier of the prompt
Query parameters
string
Filter by AI provider. Supports comma-separated multi-select (e.g.,
chatgpt,claude).Synthetic request
curl "https://www.qwairy.co/api/v1/brands/YOUR_BRAND_ID/prompts/PROMPT_ID/answers" \
-H "Authorization: Bearer $QWAIRY_API_TOKEN"
Synthetic response
{
"success": true,
"prompt": {
"id": "prompt_01",
"text": "Which analytics platforms support warehouse exports?"
},
"total": 2,
"answers": [
{
"id": "answer_01",
"provider": "ChatGPT",
"model": "GPT-5.4",
"text": "Acme Analytics and Rival Labs document warehouse export integrations.",
"hasSelfMention": true,
"selfMentionPosition": 3,
"hasSelfSource": false,
"competitorsMentioned": ["Acme Analytics", "Rival Labs"],
"sourcesCited": ["publisher.example", "reviews.example"],
"sentiment": 82,
"createdAt": "2026-07-19T10:00:00.000Z"
},
{
"id": "answer_02",
"provider": "Perplexity",
"model": "Perplexity Sonar",
"text": "The cited documentation lists supported export destinations.",
"hasSelfMention": true,
"selfMentionPosition": 2,
"hasSelfSource": true,
"competitorsMentioned": ["Acme Analytics", "Northstar Data"],
"sourcesCited": ["acme.example", "docs.example"],
"sentiment": 78,
"createdAt": "2026-07-19T10:05:00.000Z"
}
]
}
sentiment is the SELF mention sentiment on a 0 to 100 scale, or null.
Errors
| Status | Meaning |
|---|---|
401 | Missing or invalid API token |
404 | Brand or prompt not found |
429 | Rate limit exceeded; honor Retry-After |

