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

# getPreCallPrompts

> Calls a query at the path prompts/queries.js:getPreCallPrompts



## OpenAPI

````yaml api-reference/convex-openapi.yaml post /api/run/prompts/queries/getPreCallPrompts
openapi: 3.0.3
info:
  title: Connvo Convex API
  version: 1.0.0
  description: >-
    HTTP interface for Connvo's Convex backend, exposing vetted query, mutation,
    and action endpoints.
servers:
  - url: https://Connvo-dev.convex.cloud
    description: Dev Convex deployment
  - url: https://Connvo-staging.convex.cloud
    description: Staging Convex deployment
  - url: https://Connvo-prod.convex.cloud
    description: Prod Convex deployment
security:
  - bearerAuth: []
tags:
  - name: Users
    description: Identity, profile, and authentication operations for Connvo users.
  - name: Meetings
    description: Scheduling, managing, and retrieving meeting data.
  - name: Transcripts
    description: Endpoints for accessing call transcripts and transcription controls.
  - name: Insights
    description: AI-generated insights, summaries, and analytics derived from meetings.
  - name: Prompts
    description: Prompt management and AI conversation guidance.
  - name: Notes
    description: Collaborative meeting notes and follow-up documentation.
  - name: WebRTC
    description: Real-time communication, session signalling, and media utilities.
  - name: System
    description: General system endpoints such as health checks and diagnostics.
paths:
  /api/run/prompts/queries/getPreCallPrompts:
    post:
      tags:
        - Prompts
      summary: getPreCallPrompts
      description: Calls a query at the path prompts/queries.js:getPreCallPrompts
      operationId: postApiRunPromptsQueriesGetPreCallPrompts
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Request_prompts.queries.getPreCallPrompts'
            example:
              args:
                meetingId: me_82f8c0a8bce1a2d5f4e7b6c9
                limit: 10
        required: true
      responses:
        '200':
          description: Convex executed your request and returned a result
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/Response_prompts.queries.getPreCallPrompts
              example:
                status: success
                errorMessage: ''
                errorData: {}
                value:
                  - _id: prompts_ck9hx2g1v0001
                    content: >-
                      I noticed you both have experience with ai-ml. What drew
                      you to this field initially?
                    tags:
                      - shared-interests
                      - background
                    relevance: 0.9
                    createdAt: 1714066800000
                  - _id: prompts_ck9hx2g1v0002
                    content: >-
                      You come from different backgrounds (Technology, Product).
                      What perspectives do you think each industry brings to
                      problem-solving?
                    tags:
                      - cross-industry
                      - perspectives
                    relevance: 0.85
                    usedAt: 1714066850000
                    feedback: used
                    createdAt: 1714066800000
                  - _id: prompts_ck9hx2g1v0003
                    content: >-
                      Given your mutual interest in ai-ml, what trends are you
                      most excited about right now?
                    tags:
                      - shared-interests
                      - trends
                    relevance: 0.8
                    feedback: upvoted
                    createdAt: 1714066800000
        '400':
          description: Failed operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FailedResponse'
        '500':
          description: Convex Internal Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FailedResponse'
      security:
        - bearerAuth: []
components:
  schemas:
    Request_prompts.queries.getPreCallPrompts:
      type: object
      required:
        - args
      properties:
        args:
          type: object
          required:
            - meetingId
          properties:
            limit:
              type: number
            meetingId:
              type: string
              description: ID from table "meetings"
    Response_prompts.queries.getPreCallPrompts:
      type: object
      required:
        - status
      properties:
        status:
          type: string
          enum:
            - success
            - error
        errorMessage:
          type: string
        errorData:
          type: object
        value:
          type: array
          items:
            type: object
            required:
              - _id
              - content
              - createdAt
              - relevance
              - tags
            properties:
              _id:
                type: string
                description: ID from table "prompts"
              content:
                type: string
              createdAt:
                type: number
              feedback:
                oneOf:
                  - type: string
                    enum:
                      - used
                  - type: string
                    enum:
                      - dismissed
                  - type: string
                    enum:
                      - upvoted
              relevance:
                type: number
              tags:
                type: array
                items:
                  type: string
              usedAt:
                type: number
    FailedResponse:
      type: object
      properties: {}
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Standard user authentication token issued via WorkOS. Provide as
        `Authorization: Bearer <user-token>`.

````