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

# Track a new prompt

> Add a tracked prompt to the workspace's active GEO project. Requires a paid plan.



## OpenAPI

````yaml https://api.spreadjam.com/openapi.json post /v1/prompts
openapi: 3.0.0
info:
  title: SpreadJam API
  version: 1.0.0
servers: []
security: []
tags:
  - name: Meta
    description: Identity and metadata about the authenticated key.
  - name: Keywords
    description: Keyword and topic visibility rankings.
  - name: API keys
    description: Manage the workspace's API keys.
  - name: Analytics
    description: AI-visibility analytics for the workspace.
  - name: Brand
    description: The workspace's brand profile and competitors.
  - name: Prompts
    description: Tracked GEO prompts and their cap state.
paths:
  /v1/prompts:
    post:
      tags:
        - Prompts
      summary: Track a new prompt
      description: >-
        Add a tracked prompt to the workspace's active GEO project. Requires a
        paid plan.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AddPrompt'
      responses:
        '201':
          description: The tracked prompt.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AddPromptResult'
      security:
        - bearerAuth: []
components:
  schemas:
    AddPrompt:
      type: object
      properties:
        text:
          type: string
          minLength: 3
          maxLength: 500
          description: Prompt wording (3 to 500 characters).
        persona:
          type: string
          enum:
            - discoverer
            - buyer
            - evaluator
            - competitor
            - branded
            - control
          description: Buyer-journey persona; defaults to discoverer.
        topic:
          type: string
          nullable: true
          description: Optional topic/theme label.
        intent:
          type: string
          nullable: true
          description: Optional buyer intent.
      required:
        - text
    AddPromptResult:
      type: object
      properties:
        promptId:
          type: string
        activeCount:
          type: integer
          example: 13
        cap:
          type: integer
          description: The effective prompt cap; -1 means unlimited.
          example: 50
      required:
        - promptId
        - activeCount
        - cap
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        A workspace API key issued in Settings → Developer, sent as `Bearer
        sk_…`.

````

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