---
title: "Get competitor reasons"
method: GET
path: "/api/v1/discovery/competitor-reasons/{id}"
tags: ["discovery"]
deprecated: true
---

# Get competitor reasons

`GET /api/v1/discovery/competitor-reasons/{id}`

## Request

- Base URL: `https://point11.ai`
- URL: `https://point11.ai/api/v1/discovery/competitor-reasons/{id}`
- Auth: one of:
  - HTTP bearer
  - OAuth 2 (authorization code, authorization URL `https://auth.point11.ai/oauth2/authorize`, token URL `https://auth.point11.ai/oauth2/token`)

> **Deprecated.**

Deprecated: use discovery.competitor-reasons.get.v2 (discovery_competitor_reasons_get_v2), which reads the results window the caller names and answers each reason's trend as one point per day; this version refuses unless that window's newest measuring run is the `dispatchId` named, and labels a trend's days with a value. Read why the campaign's brand wins and loses against one competitor, with each reason's frequency and trend. An empty answer means the run records no reasons for that competitor.

## Path parameters

- `id` string, uuid, required: Discovery campaign id.

## Query parameters

- `dispatchId` string, uuid, required: The dispatch the caller read; a newer one refuses.
- `dateRange` string, required: The window the caller resolved: `all` or `yyyy-MM-dd..yyyy-MM-dd`.
- `segments` string[]: Narrows the read to these segments, ANDed: one `axis:id` per axis (any number of distinct `customer:` entries), in canonical axis order. Empty reads the whole dispatch.
- `brandName` string, nullable: The brand whose reasons are read, as the brand map names it; null (the default) reads the campaign's own brand.
- `competitorKey` string, required: The rival's normalized brand key (trimmed, single-spaced, lowercase name).

## Headers

- `Point11-Organization` string, uuid

## Response `200`

Success.

- DiscoveryCompetitorReasonsGetResponse
  - `data` object, nullable, required: Null when the Competitors read holds no entry for that brand.
    - `option` DiscoveryOption, required
      - `id` string, required
      - `name` string, required
      - `label` string
      - `color` string, required
      - `dataCount` number
      - `leadingIcon` object
        - `src` string, nullable, required
        - `lightSrc` unknown
        - `darkSrc` unknown
        - `fallbackLabel` string, required
        - `fallbackSeed` string, nullable
        - `tone` 'dark' | 'light' | 'mixed' | 'unknown', nullable
        - `transparent` boolean, nullable
        - `needsLightBackplate` boolean, nullable
        - `needsDarkBackplate` boolean, nullable
        - `brandColor` string, nullable: The brand's assigned color when the row is a campaign brand.
        - `status` string, nullable
      - `depth` number
    - `winDrivers` DiscoveryWinDriversItem[], required: Why the campaign's brand wins against it.
      - `id` string, required
      - `segmentId` string, required
      - `kind` 'win' | 'loss', required
      - `label` string, required
      - `count` number, required
      - `series` object[]: Its count in each day's window, the days with a value, labelled by day.
        - `month` string, required
        - `value` number, required
      - `precision` object: Never sent: results carry no precision reading. Kept for published callers.
        - `sampleSize` number, required: Distinct eligible customers behind the value.
        - `estimatePct` number
        - `marginOfErrorPct` number, nullable, required: Delivered margin of error in percent; null: no claim (empty sample).
        - `confidenceLevel` number, required
        - `generationFocus` union, required
          - object
            - `kind` 'profile_mix', required
          - object
            - `kind` 'base_bucket', required
            - `dimensionId` 'audience_mix' | 'channel_mix' | 'revenue_mix', required
            - `bucketId` string, required
            - `label` string, required
          - object
            - `kind` 'scaled_profile_mix', required
            - `incidence` number, required
            - `label` string, required
          - object
            - `kind` 'unsupported', required
        - `revenue` object
          - `influencedUsd` number, required
          - `onePointUsd` number, required
    - `lossDrivers` DiscoveryWinDriversItem[], required: Why the campaign's brand loses to it.
      - `id` string, required
      - `segmentId` string, required
      - `kind` 'win' | 'loss', required
      - `label` string, required
      - `count` number, required
      - `series` object[]: Its count in each day's window, the days with a value, labelled by day.
        - `month` string, required
        - `value` number, required
      - `precision` object: Never sent: results carry no precision reading. Kept for published callers.
        - `sampleSize` number, required: Distinct eligible customers behind the value.
        - `estimatePct` number
        - `marginOfErrorPct` number, nullable, required: Delivered margin of error in percent; null: no claim (empty sample).
        - `confidenceLevel` number, required
        - `generationFocus` union, required
          - object
            - `kind` 'profile_mix', required
          - object
            - `kind` 'base_bucket', required
            - `dimensionId` 'audience_mix' | 'channel_mix' | 'revenue_mix', required
            - `bucketId` string, required
            - `label` string, required
          - object
            - `kind` 'scaled_profile_mix', required
            - `incidence` number, required
            - `label` string, required
          - object
            - `kind` 'unsupported', required
        - `revenue` object
          - `influencedUsd` number, required
          - `onePointUsd` number, required
    - `lineage` object, required: Always null: an on-demand read carries no lineage.
      - `win` object, nullable, required
        - `metricId` string, required
        - `tables` string[], required
        - `pipelineStage` number, nullable, required
        - `campaignId` string, required
        - `dispatchId` string, required
      - `loss` object, nullable, required
        - `metricId` string, required
        - `tables` string[], required
        - `pipelineStage` number, nullable, required
        - `campaignId` string, required
        - `dispatchId` string, required
    - `conversationCount` integer, required: The as-of window's conversations these reasons are counted from: those naming both brands where one of the two is the brand the conversation recommended. For the campaign's own brand, the conversations discovery.conversations.list.v2 lists with `rival` set to `option.id`.

## Other responses

- `400`: The input, query, or Idempotency-Key is invalid.
- `401`: The bearer is missing, expired, or not accepted.
- `403`: The credential lacks the operation's scope or role, or the operation needs a different door.
- `404`: The resource or organization does not exist for this caller.
- `405`: This path takes another HTTP method, named in `Allow`.
- `409`: The request conflicts with current state or with prior use of its Idempotency-Key.
- `413`: The request, or the answer it asks for, is too large; narrow it.
- `429`: The credential's rate budget is spent; retry after `Retry-After` seconds.
- `500`: An unexpected server failure; retry later. Only `request_id` identifies it.
- `503`: A dependency is temporarily unavailable; retry after `Retry-After` seconds.
- `default`: Another status a product answers for its own refusal (for example `415` for an unsupported attachment); branch on `code`.

---

[API](https://skmtc.dev/point11/apis/point11-api.md) · [All operations](https://skmtc.dev/point11/apis/point11-api/llms.txt) · [OpenAPI document](https://skmtc.dev/point11/apis/point11-api/revisions/5241805fe425?raw)
