> ## 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.

# List prompts, newest first



## OpenAPI

````yaml https://api.seomator.com/openapi.json get /v1/projects/{id}/prompts
openapi: 3.1.0
info:
  title: SEOmator API
  version: 0.1.0
servers:
  - url: https://api.seomator.com
security: []
paths:
  /v1/projects/{id}/prompts:
    get:
      tags:
        - ai visibility
      summary: List prompts, newest first
      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
        - schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 25
          required: false
          name: limit
          in: query
        - schema:
            type: string
          required: false
          name: cursor
          in: query
        - schema:
            type: string
            enum:
              - active
              - archived
          required: false
          name: status
          in: query
        - schema:
            type: string
          required: false
          name: topicId
          in: query
      responses:
        '200':
          description: A page of prompts
          content:
            application/json:
              schema:
                type: object
                properties:
                  prompts:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        projectId:
                          type: string
                        topicId:
                          type:
                            - string
                            - 'null'
                        text:
                          type: string
                        intent:
                          type: string
                          enum:
                            - informational
                            - commercial
                            - transactional
                        branded:
                          type: boolean
                        source:
                          type: string
                          enum:
                            - suggested
                            - ai_search_data
                            - gsc
                            - user
                            - quick_look
                        status:
                          type: string
                          enum:
                            - active
                            - archived
                        replacesPromptId:
                          type:
                            - string
                            - 'null'
                        createdAt:
                          type: string
                        archivedAt:
                          type:
                            - string
                            - 'null'
                      required:
                        - id
                        - projectId
                        - topicId
                        - text
                        - intent
                        - branded
                        - source
                        - status
                        - replacesPromptId
                        - createdAt
                        - archivedAt
                      additionalProperties: {}
                  nextCursor:
                    type:
                      - string
                      - 'null'
                required:
                  - prompts
                  - nextCursor
        '404':
          description: Not found
          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

- [List collected answers, newest first](https://docs.seomator.com/api-reference/ai-visibility/list-collected-answers-newest-first.md)
- [List projects, newest first](https://docs.seomator.com/api-reference/projects/list-projects-newest-first.md)
- [Prompts: the questions SEOmator asks AI](https://docs.seomator.com/setup/prompts.md)


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