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

# List workspace prompts



## OpenAPI

````yaml /openapi.json get /api/v1/workspaces/{workspace}/prompts
openapi: 3.0.3
info:
  title: ai-cmo.dev Services API
  version: 1.0.0
servers: []
security: []
tags:
  - name: Meta
    description: Health and the generated API description.
  - name: Auth
    description: Signup, login, sessions and email verification.
  - name: Device authorization
    description: Browser-approved API key provisioning for agents and the MCP server.
  - name: Setup tokens
    description: Single-use tokens that bootstrap a connector or agent.
  - name: MCP
    description: The canonical MCP install prompt.
  - name: Workspaces
    description: Workspace creation, settings, profile and competitors.
  - name: API keys
    description: 'Key lifecycle: create, deliver, acknowledge, rotate, revoke.'
  - name: Connections
    description: Connector status, tests, configuration and credentials.
  - name: Runs
    description: Measurement runs and their jobs.
  - name: Research
    description: The five-stage research pipeline.
  - name: Prompts
    description: The measurement prompt set.
  - name: Recommendations
    description: Recommendation board and guarded lifecycle transitions.
  - name: Reports
    description: Stable report identities and the report catalog.
  - name: Scores & metrics
    description: GEO score, scoreboard, metrics, timeseries and SEO.
  - name: Credits & billing
    description: Micro-USD credits, top-ups and Stripe checkout.
  - name: Team
    description: Members, roles and invitations.
  - name: Chat
    description: The workspace assistant (SSE) and its threads.
  - name: Webhooks
    description: Inbound webhooks.
paths:
  /api/v1/workspaces/{workspace}/prompts:
    get:
      tags:
        - Prompts
      summary: List workspace prompts
      operationId: listPrompts
      parameters:
        - name: workspace
          in: path
          required: true
          schema:
            type: string
            pattern: ^[a-z0-9-]+$
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PromptList'
      security:
        - cookieAuth: []
        - bearerAuth:
            - prompts:read
components:
  schemas:
    PromptList:
      type: array
      items:
        type: object
        properties:
          id:
            type: string
          text:
            type: string
          intent:
            type: string
            nullable: true
          topic:
            type: string
            nullable: true
          lang:
            type: string
          importance:
            type: number
            nullable: true
          scores:
            type: object
            required:
              - R1
              - R2
              - R3
              - R4
              - R5
              - R6
              - R7
            properties:
              R1:
                type: number
                minimum: 0
                maximum: 2
                nullable: true
              R2: e48f2257-e994-4d7d-a67f-c651752ca54f
              R3: 821b8eb3-1858-4cf3-a280-d78aeaa4f81a
              R4: 7980154d-d632-4333-88e1-1c65a64942f9
              R5: 391c0944-89f8-4dfe-9144-84a4315d3d8f
              R6: 5d403b05-2158-488c-9151-49ee4c9eff48
              R7: 39cbced2-119f-428b-b269-70911316741f
            additionalProperties: false
          active:
            type: boolean
          retiredAt:
            type: string
            nullable: true
          userProvenance:
            type: boolean
        required:
          - id
          - text
          - intent
          - topic
          - lang
          - importance
          - scores
          - active
          - retiredAt
        additionalProperties: false
  securitySchemes:
    cookieAuth:
      type: apiKey
      in: cookie
      name: geo.session
      description: Signed HttpOnly browser session cookie
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: gp_live_<43 base64url characters>
      description: Workspace-bound machine API key

````