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

# getMeeting

> Provides aggregated session metrics and the caller's presence/role snapshot.



## OpenAPI

````yaml api-reference/convex-openapi.yaml post /api/run/meetings/queries/getMeeting
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/meetings/queries/getMeeting:
    post:
      tags:
        - Meetings
      summary: getMeeting
      description: >-
        Provides aggregated session metrics and the caller's presence/role
        snapshot.
      operationId: postApiRunMeetingsQueriesGetMeeting
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Request_meetings.queries.getMeeting'
            example:
              args:
                meetingId: meeting_123example
        required: true
      responses:
        '200':
          description: Convex executed your request and returned a result
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Response_meetings.queries.getMeeting'
              example:
                status: success
                errorMessage: ''
                errorData: {}
                value:
                  _id: meeting_123example
                  _creationTime: 1704063600000
                  organizerId: user_123example
                  title: Quarterly Planning Meeting
                  description: Planning the roadmap for next quarter objectives.
                  scheduledAt: 1704067200000
                  duration: 3600
                  state: scheduled
                  participantCount: 3
                  averageRating: 4.6
                  streamRoomId: stream_room_456
                  webrtcEnabled: true
                  activeWebRTCSessions: 2
                  userRole: host
                  userPresence: invited
                  createdAt: 1704063600000
                  updatedAt: 1704063600000
        '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_meetings.queries.getMeeting:
      type: object
      required:
        - args
      properties:
        args:
          type: object
          required:
            - meetingId
          properties:
            meetingId:
              type: string
              description: ID from table "meetings"
    Response_meetings.queries.getMeeting:
      type: object
      required:
        - status
      properties:
        status:
          type: string
          enum:
            - success
            - error
        errorMessage:
          type: string
        errorData:
          type: object
        value:
          type: object
          required:
            - _creationTime
            - _id
            - activeWebRTCSessions
            - createdAt
            - organizerId
            - state
            - title
            - updatedAt
            - userPresence
            - userRole
          properties:
            _creationTime:
              type: number
            _id:
              type: string
              description: ID from table "meetings"
            activeWebRTCSessions:
              type: number
            averageRating:
              type: number
            createdAt:
              type: number
            description:
              type: string
            duration:
              type: number
            organizerId:
              type: string
              description: ID from table "users"
            participantCount:
              type: number
            scheduledAt:
              type: number
            state:
              oneOf:
                - type: string
                  enum:
                    - scheduled
                - type: string
                  enum:
                    - active
                - type: string
                  enum:
                    - concluded
                - type: string
                  enum:
                    - cancelled
            streamRoomId:
              type: string
            title:
              type: string
            updatedAt:
              type: number
            userPresence:
              oneOf:
                - type: string
                  enum:
                    - invited
                - type: string
                  enum:
                    - joined
                - type: string
                  enum:
                    - left
            userRole:
              oneOf:
                - type: string
                  enum:
                    - host
                - type: string
                  enum:
                    - participant
                - type: string
                  enum:
                    - observer
            webrtcEnabled:
              type: boolean
          nullable: true
    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>`.

````