> ## 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 prompt answers

> The answers AI platforms gave for a prompt, newest first, up to 200. Compact by default; `full=1` adds the answer
text, citations, brand mention excerpts and detected competitors. Requires `visibility:read`.




## OpenAPI

````yaml /openapi.yaml get /visibility/prompts/{prompt}/answers
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/prompts/{prompt}/answers:
    get:
      tags:
        - AI visibility
      summary: Get prompt answers
      description: >
        The answers AI platforms gave for a prompt, newest first, up to 200.
        Compact by default; `full=1` adds the answer

        text, citations, brand mention excerpts and detected competitors.
        Requires `visibility:read`.
      parameters:
        - $ref: '#/components/parameters/PromptId'
        - $ref: '#/components/parameters/Range'
        - name: platform
          in: query
          schema:
            $ref: '#/components/schemas/Platform'
        - name: date
          in: query
          description: A single day, `YYYY-MM-DD`.
          schema:
            type: string
            format: date
        - name: full
          in: query
          schema:
            type: boolean
            default: false
      responses:
        '200':
          description: Answers
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/Envelope'
                  - properties:
                      data:
                        type: object
                        properties:
                          range:
                            $ref: '#/components/schemas/RangeValue'
                          prompt:
                            type: object
                            properties:
                              id:
                                type: string
                                format: uuid
                              text:
                                type: string
                              status:
                                type: string
                          answers:
                            type: array
                            items:
                              oneOf:
                                - $ref: '#/components/schemas/AnswerSummary'
                                - $ref: '#/components/schemas/AnswerDetail'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  parameters:
    PromptId:
      name: prompt
      in: path
      required: true
      description: A prompt ID from `GET /visibility/prompts`.
      schema:
        type: string
        format: uuid
    Range:
      name: range
      in: query
      description: >-
        The period to report on. The previous period of the same length is
        returned for comparison.
      schema:
        $ref: '#/components/schemas/RangeValue'
  schemas:
    Platform:
      type: string
      enum:
        - chatgpt
        - google_ai_overview
        - perplexity
        - gemini
        - grok
        - claude
    Envelope:
      type: object
      properties:
        code:
          type: integer
          description: AeoNut status code
        messages:
          type: string
        data: {}
    RangeValue:
      type: string
      enum:
        - 7d
        - 30d
        - 90d
      default: 30d
    AnswerSummary:
      title: Compact
      type: object
      properties:
        id:
          type: string
          format: uuid
        platform:
          $ref: '#/components/schemas/Platform'
        status:
          type: string
          enum:
            - COLLECTED
            - FAILED
        collected_at:
          type:
            - string
            - 'null'
          format: date-time
        preview:
          type:
            - string
            - 'null'
          description: The first 80 characters of the answer
        brand_mentioned:
          type:
            - boolean
            - 'null'
        brand_cited:
          type:
            - boolean
            - 'null'
        competitor_found:
          type: boolean
        error_message:
          type:
            - string
            - 'null'
    AnswerDetail:
      title: Full (full=1)
      type: object
      properties:
        id:
          type: string
          format: uuid
        prompt_id:
          type: string
          format: uuid
        platform:
          $ref: '#/components/schemas/Platform'
        status:
          type: string
          enum:
            - COLLECTED
            - FAILED
        collected_at:
          type:
            - string
            - 'null'
          format: date-time
        response_text:
          type:
            - string
            - 'null'
        citations:
          type: array
          items:
            type: object
            properties:
              url:
                type: string
              domain:
                type:
                  - string
                  - 'null'
              is_brand:
                type: boolean
              is_competitor:
                type: boolean
              competitor_name:
                type:
                  - string
                  - 'null'
        brand_mentioned:
          type:
            - boolean
            - 'null'
        brand_cited:
          type:
            - boolean
            - 'null'
        brand_mention_excerpts:
          type: array
          items:
            type: string
        competitors_detected:
          type: array
          items:
            type: object
            properties:
              competitor_name:
                type: string
              mentioned:
                type: boolean
              cited:
                type: boolean
        error_message:
          type:
            - string
            - 'null'
    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
    NotFound:
      description: The resource doesn't exist in this workspace
  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.