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

# Prompts report

> Counts of answers by prompt, topic or persona. A report grouped or
filtered by prompt counts the answers to the wording in use only.



## OpenAPI

````yaml /rest-api/openapi.json get /v1/projects/{project_id}/reports/prompts
openapi: 3.1.0
info:
  title: FullReach AI API
  summary: Read what a FullReach AI project measures.
  description: >-
    Preview: the contract can still change, with a notice in the changelog. Send
    an API key as `Authorization: Bearer fr_...`. A client must ignore a field
    or a value that it does not know. Every endpoint takes `GET` alone, and
    refuses a parameter that it does not know. A domain is lower case, and a
    non-Latin name is in its IDNA form (`xn--`).
  version: 1.0.0-preview
servers:
  - url: https://api.fullreach.ai
security:
  - apiKey: []
paths:
  /v1/projects/{project_id}/reports/prompts:
    get:
      tags:
        - Reports
      summary: Prompts report
      description: |-
        Counts of answers by prompt, topic or persona. A report grouped or
        filtered by prompt counts the answers to the wording in use only.
      operationId: prompts_report
      parameters:
        - name: project_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Project Id
        - name: start
          in: query
          required: true
          schema:
            type: string
            format: date
            description: The first UTC day, such as `2026-10-01`.
            title: Start
          description: The first UTC day, such as `2026-10-01`.
        - name: end
          in: query
          required: true
          schema:
            type: string
            format: date
            description: >-
              The last UTC day, at most 92 days after `start`. Never a future
              day.
            title: End
          description: The last UTC day, at most 92 days after `start`. Never a future day.
        - name: dimensions
          in: query
          required: false
          schema:
            anyOf:
              - type: array
                items:
                  type: string
                maxItems: 20
              - type: 'null'
            description: >-
              What to group by, in order: date, platform, market, language,
              prompt, topic, persona, branded. Repeat the parameter. With none,
              the report is one row of totals, or no row when the range holds no
              answer.
            title: Dimensions
          description: >-
            What to group by, in order: date, platform, market, language,
            prompt, topic, persona, branded. Repeat the parameter. With none,
            the report is one row of totals, or no row when the range holds no
            answer.
        - name: platform
          in: query
          required: false
          schema:
            anyOf:
              - type: array
                items:
                  enum:
                    - chatgpt
                    - gemini
                    - perplexity
                    - google_ai_mode
                    - google_aio
                  type: string
                maxItems: 50
              - type: 'null'
            description: >-
              Count only these platforms, by id. Repeat the parameter for
              several.
            title: Platform
          description: Count only these platforms, by id. Repeat the parameter for several.
        - name: market
          in: query
          required: false
          schema:
            anyOf:
              - type: array
                items:
                  type: string
                  pattern: ^[A-Za-z]{2}$
                maxItems: 50
              - type: 'null'
            description: >-
              Count only these markets, by country code. Repeat the parameter
              for several.
            title: Market
          description: >-
            Count only these markets, by country code. Repeat the parameter for
            several.
        - name: language
          in: query
          required: false
          schema:
            anyOf:
              - type: array
                items:
                  type: string
                  pattern: ^[^\x00]*$
                maxItems: 50
              - type: 'null'
            description: >-
              Count only prompts in these languages. Repeat the parameter for
              several.
            title: Language
          description: >-
            Count only prompts in these languages. Repeat the parameter for
            several.
        - name: prompt_id
          in: query
          required: false
          schema:
            anyOf:
              - type: array
                items:
                  type: string
                  format: uuid
                maxItems: 50
              - type: 'null'
            description: >-
              Count only these prompts, branded or not. Repeat the parameter for
              several.
            title: Prompt Id
          description: >-
            Count only these prompts, branded or not. Repeat the parameter for
            several.
        - name: topic_id
          in: query
          required: false
          schema:
            anyOf:
              - type: array
                items:
                  type: string
                  format: uuid
                maxItems: 50
              - type: 'null'
            description: >-
              Count only prompts of these topics. Repeat the parameter for
              several.
            title: Topic Id
          description: >-
            Count only prompts of these topics. Repeat the parameter for
            several.
        - name: persona_id
          in: query
          required: false
          schema:
            anyOf:
              - type: array
                items:
                  type: string
                  format: uuid
                maxItems: 50
              - type: 'null'
            description: >-
              Count only prompts of these personas. Repeat the parameter for
              several.
            title: Persona Id
          description: >-
            Count only prompts of these personas. Repeat the parameter for
            several.
        - name: branded
          in: query
          required: false
          schema:
            enum:
              - non_branded
              - branded
              - all
            type: string
            description: >-
              Which prompts count. `non_branded` excludes a prompt that names
              the tracked brand, as the dashboard does.
            default: non_branded
            title: Branded
          description: >-
            Which prompts count. `non_branded` excludes a prompt that names the
            tracked brand, as the dashboard does.
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 1000
            minimum: 1
            description: Rows on a page.
            default: 1000
            title: Limit
          description: Rows on a page.
        - name: cursor
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                maxLength: 400
              - type: 'null'
            description: '`next_cursor` of the page before. Leave it out for the first page.'
            title: Cursor
          description: '`next_cursor` of the page before. Leave it out for the first page.'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Page_PromptsRow_'
        '400':
          content:
            application/problem+json: {}
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemBody'
          description: Bad Request
        '401':
          content:
            application/problem+json: {}
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemBody'
          description: Unauthorized
        '403':
          content:
            application/problem+json: {}
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemBody'
          description: Forbidden
        '404':
          content:
            application/problem+json: {}
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemBody'
          description: Not Found
        '413':
          content:
            application/problem+json: {}
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemBody'
          description: Content Too Large
        '422':
          content:
            application/problem+json: {}
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemBody'
          description: Unprocessable Content
        '429':
          content:
            application/problem+json: {}
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemBody'
          description: Too Many Requests
        '503':
          content:
            application/problem+json: {}
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemBody'
          description: Service Unavailable
components:
  schemas:
    Page_PromptsRow_:
      properties:
        data:
          items:
            $ref: '#/components/schemas/PromptsRow'
          type: array
          title: Data
        next_cursor:
          anyOf:
            - type: string
            - type: 'null'
          title: Next Cursor
          description: Pass it as `cursor` for the next page. Null on the last page.
      type: object
      required:
        - data
        - next_cursor
      title: Page[PromptsRow]
    ProblemBody:
      properties:
        type:
          type: string
          title: Type
        title:
          type: string
          title: Title
        status:
          type: integer
          title: Status
        code:
          type: string
          title: Code
          description: Stable. Branch on this, never on `detail`.
        detail:
          type: string
          title: Detail
        request_id:
          type: string
          title: Request Id
        field:
          anyOf:
            - type: string
            - type: 'null'
          title: Field
          description: The parameter that the refusal is about.
      type: object
      required:
        - type
        - title
        - status
        - code
        - detail
        - request_id
      title: ProblemBody
    PromptsRow:
      properties:
        date:
          anyOf:
            - type: string
              format: date
            - type: 'null'
          title: Date
        platform:
          anyOf:
            - $ref: '#/components/schemas/Platform'
            - type: 'null'
        market:
          anyOf:
            - type: string
            - type: 'null'
          title: Market
        branded:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Branded
        language:
          anyOf:
            - type: string
            - type: 'null'
          title: Language
        prompt:
          anyOf:
            - $ref: '#/components/schemas/Named'
            - type: 'null'
        topic:
          anyOf:
            - $ref: '#/components/schemas/Named'
            - type: 'null'
        persona:
          anyOf:
            - $ref: '#/components/schemas/Named'
            - type: 'null'
        answers:
          type: integer
          title: Answers
        named:
          type: integer
          title: Named
          description: Answers that name the tracked brand.
        named_any:
          type: integer
          title: Named Any
          description: Answers that name at least one monitored brand.
        visibility:
          anyOf:
            - type: number
            - type: 'null'
          title: Visibility
          description: '`named / answers`.'
      type: object
      required:
        - answers
        - named
        - named_any
        - visibility
      title: PromptsRow
    Platform:
      properties:
        id:
          type: string
          title: Id
          description: A stable id, such as `chatgpt`. Store this.
          examples:
            - chatgpt
        name:
          type: string
          title: Name
          description: The product name, which can change.
          examples:
            - ChatGPT
      type: object
      required:
        - id
        - name
      title: Platform
    Named:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        name:
          type: string
          title: Name
      type: object
      required:
        - id
        - name
      title: Named
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      bearerFormat: fr_...

````

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