> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cognizo.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# List pending suggestions (last week, ranked by visibility)



## OpenAPI

````yaml /api-reference/openapi.json get /api/v2/brands/{brand_id}/competitor_suggestions
openapi: 3.0.1
info:
  title: Cognizo Public API
  version: v1
  description: >-
    Public REST API for Cognizo. Authenticate with an API key via the
    `X-API-KEY` header.
servers:
  - url: https://core.cognizo.ai
security:
  - apiKey: []
paths:
  /api/v2/brands/{brand_id}/competitor_suggestions:
    parameters:
      - name: brand_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
    get:
      tags:
        - Competitor Suggestions
      summary: List pending suggestions (last week, ranked by visibility)
      operationId: list_brand_competitor_suggestions
      parameters:
        - name: page
          in: query
          required: false
          schema:
            type: integer
        - name: page_size
          in: query
          required: false
          schema:
            type: integer
      responses:
        '200':
          description: >-
            pending suggestions only — all of them when no pagination params are
            sent
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        suggestion_id:
                          type: string
                          format: uuid
                        found_brand_id:
                          type: string
                          format: uuid
                        competitor_name:
                          type: string
                        visibility_percentage:
                          type: number
                        weekly_appearances:
                          type: integer
                        first_seen_at:
                          type: string
                          nullable: true
                        last_seen_at:
                          type: string
                          nullable: true
                        last_analyzed_date:
                          type: string
                          nullable: true
                        competitor_canonical_id:
                          type: string
                          format: uuid
                          nullable: true
                      required:
                        - suggestion_id
                        - found_brand_id
                        - competitor_name
                        - visibility_percentage
                        - weekly_appearances
                required:
                  - data
        '403':
          description: >-
            organization access revoked (ORGANIZATION_ACCESS_REVOKED): the
            access token's organization is no longer one of the user's
            memberships (they left, were removed, or the organization was
            deleted). The session itself is still valid: drop the organization's
            client state and refresh the session, which moves it to another
            organization.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error'
        '404':
          description: >-
            brand not found (NOT_FOUND): no such brand, or it belongs to another
            organization (the two are indistinguishable by design).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error'
components:
  schemas:
    error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              description: Stable machine-readable reason; see `error_code`.
            message:
              type: string
            details:
              type: array
              items:
                $ref: '#/components/schemas/error_detail'
          required:
            - code
            - message
      required:
        - error
    error_detail:
      type: object
      properties:
        field:
          type: string
          nullable: true
        code:
          type: string
        message:
          type: string
      required:
        - code
        - message
        - field
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: X-API-KEY

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.