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

# Suggest prompts

> Writes new prompt texts for one topic, intent and branding with AI, without saving them. Branding is checked against the own brand, and texts that repeat a prompt of the project are left out, so fewer than `count` can come back. Costs no credits.



## OpenAPI

````yaml https://api.seomator.com/openapi.json post /v1/projects/{id}/prompts/suggestions
openapi: 3.1.0
info:
  title: SEOmator API
  version: 0.1.0
servers:
  - url: https://api.seomator.com
security: []
paths:
  /v1/projects/{id}/prompts/suggestions:
    post:
      tags:
        - ai visibility
      summary: Suggest prompts
      description: >-
        Writes new prompt texts for one topic, intent and branding with AI,
        without saving them. Branding is checked against the own brand, and
        texts that repeat a prompt of the project are left out, so fewer than
        `count` can come back. Costs no credits.
      parameters:
        - schema:
            type: string
            description: Project id (proj_…) or slug (the domain with dots as dashes).
          required: true
          description: Project id (proj_…) or slug (the domain with dots as dashes).
          name: id
          in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                intent:
                  type: string
                  enum:
                    - informational
                    - commercial
                    - transactional
                branded:
                  type: boolean
                  default: false
                  description: Whether every suggestion names the own brand
                topicId:
                  type:
                    - string
                    - 'null'
                  description: Topic to write for; omitted means the project as a whole
                count:
                  type: integer
                  minimum: 1
                  maximum: 10
                  default: 5
              required:
                - intent
      responses:
        '200':
          description: Suggestions
          content:
            application/json:
              schema:
                type: object
                properties:
                  suggestions:
                    type: array
                    items:
                      type: string
                    description: New prompt texts, not yet saved; none repeats a prompt
                required:
                  - suggestions
                additionalProperties: {}
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Too many requests
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: Try again later
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - apiKey: []
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              enum:
                - bad_request
                - unauthorized
                - insufficient_credits
                - plan_limit
                - forbidden
                - not_found
                - conflict
                - rate_limit_exceeded
                - internal_server_error
                - service_unavailable
            message:
              type: string
            requestId:
              type: string
          required:
            - code
            - message
      required:
        - error
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key

````

## Related topics

- [Prompts: the questions SEOmator asks AI](https://docs.seomator.com/setup/prompts.md)
- [Change a prompt](https://docs.seomator.com/api-reference/ai-visibility/change-a-prompt.md)
- [Add an active prompt](https://docs.seomator.com/api-reference/ai-visibility/add-an-active-prompt.md)


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