Start a brand analysis run
create_brand_analysis_runStarts a brand analysis run for the active project, identifying topics where competitors outperform your brand and scoring each gap.
Instructions
Starts a brand analysis run for the active project: PromptEye looks at what the tracked prompts most recently found, works out the topics where a competitor answers better than this brand, and scores how big each gap is.
Starting one is instant; the analysis itself takes a little while. The run comes back processing and turns ready once it finishes, or error / corrupted_response if it fails — read it with get_brand_analysis_run until it does.
A run cannot always be started: one already in progress blocks another, and a run that already used the project's current tracking results is not repeated until they change. Call get_brand_analysis_availability first to know whether — and why — one can run; this call is refused for exactly the same reasons. Running an analysis also counts against the workspace's monthly plan quota for brand analyses.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| gaps | Yes | The topics where a competitor answers better than this brand. Empty until ready. | |
| error | Yes | Why the run failed. null unless status is error or corrupted_response. | |
| status | Yes | processing the moment it is requested, then ready, or error / corrupted_response when it failed — see error. | |
| createdAt | Yes | When the run was requested, ISO 8601 in UTC. | |
| projectId | Yes | ||
| sentiment | Yes | How the assistants talk about the brand when they mention it. null until ready. | |
| totalCost | Yes | ||
| updatedAt | Yes | When the run last changed, ISO 8601 in UTC. | |
| maxContextGaps | Yes | How many gaps this run may report at most. | |
| usedResultCount | Yes | How many tracking results fed this run. | |
| activePromptCount | Yes | How many active tracked prompts fed this run. |