Documentation Index
Fetch the complete documentation index at: https://docs.qwairy.co/llms.txt
Use this file to discover all available pages before exploring further.
Track how a prompt’s metrics change over time. Returns daily time-series data for mentions, sources, and sentiment.
Path Parameters
The unique identifier of the brand
The unique identifier of the prompt
Query Parameters
Number of days to include. If not specified, returns all data.
Start date (ISO 8601 format)
End date (ISO 8601 format)
Filter by AI provider. Supports comma-separated multi-select (e.g., chatgpt,claude).
Filter by tag ID. Supports comma-separated multi-select (e.g., id1,id2).
Example Request
curl -X GET "https://www.qwairy.co/api/v1/brands/cm1234567890abcdef/prompts/q1/evolution?period=7" \
-H "Authorization: Bearer qw-api-your-token-here"
Example Response
{
"success": true,
"prompt": {
"id": "q1",
"text": "What are the best products in this category?"
},
"evolution": [
{
"date": "2024-12-01",
"answers": 5,
"mentionRate": 80.0,
"sourceRate": 60.0,
"avgSentiment": 78.5
},
{
"date": "2024-12-02",
"answers": 8,
"mentionRate": 75.0,
"sourceRate": 62.5,
"avgSentiment": 80.1
}
]
}
Error Responses
| Status | Code | Description |
|---|
| 400 | INVALID_PARAMETER | Invalid query parameter |
| 401 | INVALID_TOKEN | Authentication failed |
| 404 | BRAND_NOT_FOUND | Brand doesn’t exist or not accessible |
| 404 | PROMPT_NOT_FOUND | Prompt doesn’t exist |