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

# Get persona authoring choices

> Use this response to choose supported models, a recommended voice, and a valid speech rate before creating or updating a persona.



## OpenAPI

````yaml openapi.json GET /v1/persona-form
openapi: 3.1.0
info:
  title: Egma Platform API
  version: 1.0.0
  description: >-
    The customer-facing HTTP interface used by Egma's web app, CLI, and outside
    clients.
servers:
  - url: https://app.egma.ai
security: []
paths:
  /v1/persona-form:
    get:
      tags:
        - Personas
      summary: Get persona authoring choices
      description: >-
        Use this response to choose supported models, a recommended voice, and a
        valid speech rate before creating or updating a persona.
      operationId: getPersonaForm
      parameters:
        - name: projectId
          in: query
          required: false
          schema:
            type: string
            minLength: 1
      responses:
        '200':
          description: The supported persona model choices.
          content:
            application/json:
              schema:
                type: object
                properties:
                  modelCatalog:
                    type: array
                    items:
                      type: object
                      properties:
                        provider:
                          type: string
                        job:
                          type: string
                          enum:
                            - llm
                            - stt
                            - tts
                        model:
                          type: string
                        label:
                          type: string
                        modelLabel:
                          type: string
                        recommendedVoiceId:
                          type: string
                      required:
                        - provider
                        - job
                        - model
                        - label
                      additionalProperties: false
                  recommendedModels:
                    type: object
                    description: >-
                      The complete language, speech recognition, and speech
                      synthesis selections. Read /v1/persona-form for available
                      choices and recommendations.
                    properties:
                      llm:
                        type: object
                        properties:
                          provider:
                            type: string
                          model:
                            type: string
                        required:
                          - provider
                          - model
                        additionalProperties: false
                      stt:
                        type: object
                        properties:
                          provider:
                            type: string
                          model:
                            type: string
                        required:
                          - provider
                          - model
                        additionalProperties: false
                      tts:
                        type: object
                        properties:
                          provider:
                            type: string
                          model:
                            type: string
                          voiceId:
                            type: string
                            description: >-
                              A voice identifier supported by the selected
                              text-to-speech provider.
                          speed:
                            type: number
                            description: >-
                              Speech rate from 0.6 through 1.5. Use 1 for the
                              normal rate.
                        required:
                          - provider
                          - model
                          - voiceId
                          - speed
                        additionalProperties: false
                    required:
                      - llm
                      - stt
                      - tts
                    additionalProperties: false
                  speedRange:
                    type: object
                    properties:
                      slowest:
                        type: number
                      fastest:
                        type: number
                    required:
                      - slowest
                      - fastest
                    additionalProperties: false
                required:
                  - modelCatalog
                  - recommendedModels
                  - speedRange
                additionalProperties: false
        '400':
          description: The request was refused.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Refusal'
        '401':
          description: The request was refused.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Refusal'
        '403':
          description: The request was refused.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Refusal'
        '404':
          description: The request was refused.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Refusal'
        '422':
          description: The request was refused.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Refusal'
        '429':
          description: The request rate limit was reached.
          headers:
            Retry-After:
              description: Seconds to wait before trying again.
              schema:
                type: integer
                minimum: 1
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Refusal'
      security:
        - bearerAuth: []
        - sessionCookie: []
components:
  schemas:
    Refusal:
      type: object
      properties:
        error:
          type: string
        message:
          type: string
        details:
          type: object
          additionalProperties: true
      required:
        - error
        - message
      additionalProperties: false
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: An Egma API key.
    sessionCookie:
      type: apiKey
      in: cookie
      name: egma.session_token
      description: >-
        The browser session cookie issued by Egma. HTTPS deployments add the
        standard __Secure- prefix.

````