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

# Get visibility setup

> Brand settings, tracked competitors, prompt categories and the AI platforms your plan collects from.
Use it to look up competitor and category IDs. Requires `visibility:read`.




## OpenAPI

````yaml /openapi.yaml get /visibility/setup
openapi: 3.1.0
info:
  title: AeoNut API
  version: '1.0'
  description: >
    Read your workspace's AI visibility, content map and content data. Every
    response is wrapped in

    `{code, messages, data}`. Rates are fractions between 0 and 1 unless a field
    says otherwise.
servers:
  - url: https://services.deepsmith.ai/core/api/external/v1
security:
  - bearerAuth: []
  - apiKeyHeader: []
tags:
  - name: Me
  - name: Workspace
  - name: AI visibility
  - name: Content map
  - name: Content
  - name: IQ
paths:
  /visibility/setup:
    get:
      tags:
        - AI visibility
      summary: Get visibility setup
      description: >
        Brand settings, tracked competitors, prompt categories and the AI
        platforms your plan collects from.

        Use it to look up competitor and category IDs. Requires
        `visibility:read`.
      responses:
        '200':
          description: Workspace setup
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/Envelope'
                  - properties:
                      data:
                        type: object
                        properties:
                          brand:
                            type: object
                            properties:
                              brand_name:
                                type:
                                  - string
                                  - 'null'
                              brand_domain:
                                type:
                                  - string
                                  - 'null'
                              brand_variants:
                                type: array
                                items:
                                  type: string
                              schedule:
                                type:
                                  - object
                                  - 'null'
                                description: >-
                                  Collection schedule. `days` are weekday
                                  numbers 0–6, `hour` is UTC.
                                properties:
                                  days:
                                    type: array
                                    items:
                                      type: integer
                                  hour:
                                    type: integer
                              is_configured:
                                type: boolean
                              next_collection_at:
                                type:
                                  - string
                                  - 'null'
                                format: date-time
                          competitors:
                            type: array
                            items:
                              $ref: '#/components/schemas/Competitor'
                          categories:
                            type: array
                            items:
                              type: object
                              properties:
                                id:
                                  type: string
                                  format: uuid
                                name:
                                  type: string
                                color:
                                  type: string
                                order:
                                  type: integer
                                prompt_count:
                                  type: integer
                                created_at:
                                  type: string
                                  format: date-time
                                updated_at:
                                  type: string
                                  format: date-time
                          platforms:
                            type: array
                            items:
                              $ref: '#/components/schemas/Platform'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
components:
  schemas:
    Envelope:
      type: object
      properties:
        code:
          type: integer
          description: AeoNut status code
        messages:
          type: string
        data: {}
    Competitor:
      type: object
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
        domain:
          type: string
        icon:
          type:
            - string
            - 'null'
        created_at:
          type: string
          format: date-time
    Platform:
      type: string
      enum:
        - chatgpt
        - google_ai_overview
        - perplexity
        - gemini
        - grok
        - claude
    Scope:
      type: string
      enum:
        - workspace:read
        - visibility:read
        - contentmap:read
        - content:read
        - iq:read
  responses:
    Unauthorized:
      description: Missing (`code` 4021), invalid, revoked or expired (`code` 4022) API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Envelope'
          example:
            code: 4022
            messages: Invalid, revoked or expired API key.
            data: null
    Forbidden:
      description: The key lacks a required scope
      content:
        application/json:
          schema:
            allOf:
              - $ref: '#/components/schemas/Envelope'
              - properties:
                  data:
                    type: object
                    properties:
                      required:
                        type: array
                        items:
                          $ref: '#/components/schemas/Scope'
                      missing:
                        type: array
                        items:
                          $ref: '#/components/schemas/Scope'
          example:
            code: 4023
            messages: This API key does not have the scope required for this request.
            data:
              required:
                - visibility:read
              missing:
                - visibility:read
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Your API key: `Authorization: Bearer API Key Value`'
    apiKeyHeader:
      type: apiKey
      in: header
      name: X-API-KEY

````

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