Prompt performance
get_prompt_performanceDetailed performance for one prompt (one question Refora asks the AI models on a schedule): visibility over time, per-model visibility and answers, and the URLs cited in its answers.
Use this tool when the user asks about a specific prompt -- phrases like 'how are we doing on the prompt about X', 'details on this prompt', or as drill-down after seeing prompts from get_competitor_visibility_gap.
Name the prompt by its text: the full text as another Refora tool returned it, or a distinctive part of it. Prompts with the same text are one question and are measured together. If several prompts match, the response lists them so the user can pick.
Example: 'How are we doing on the prompt about enterprise CRM?'
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"workspace_id": "<workspace_id>",
"prompt_text": "<prompt_text>"
},
"name": "get_prompt_performance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | How many days back to look, counted back from end_date (default today). Default 30, max 90. Ignored when start_date is given. Prompts are re-run on a schedule, so a window shorter than a week can be empty. | |
| end_date | No | Optional end of the window, as an ISO date (YYYY-MM-DD). Default today. Cannot be in the future. | |
| start_date | No | Optional explicit start of the window, as an ISO date (YYYY-MM-DD). A full ISO datetime is accepted and its date is used. Overrides days. | |
| prompt_text | Yes | The prompt's text, exactly as another Refora tool returned it, or a distinctive part of it. Matched case-insensitively. | |
| workspace_id | Yes | The workspace's numeric id, as returned by list_workspaces. |