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

# Search voices

> Search and list available voices with pagination support



## OpenAPI

````yaml POST /voice/search
openapi: 3.1.0
info:
  title: Wondercraft Public API
  version: 0.0.1
servers:
  - url: https://api.wondercraft.ai/v1
    description: Base Wondercraft API
security: []
paths:
  /voice/search:
    post:
      tags:
        - Voice
      summary: List voices
      description: Search and list available voices with pagination support
      operationId: list_voices_voice_search_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ListVoicesRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListVoicesResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
components:
  schemas:
    ListVoicesRequest:
      properties:
        query:
          anyOf:
            - type: string
            - type: 'null'
          title: Query
          description: Text search query for voice names and metadata
        filters:
          additionalProperties:
            items:
              type: string
            type: array
          propertyNames:
            $ref: '#/components/schemas/WondercraftAPIVoiceFilterKey'
          type: object
          title: Filters
          description: >-
            Dictionary of voice filters, where the key is the filter key and the
            value is a list of filter values.
        limit:
          type: integer
          maximum: 100
          minimum: 1
          title: Limit
          description: Number of results to return (1-100)
          default: 10
        offset:
          type: integer
          minimum: 0
          title: Offset
          description: Number of results to skip for pagination
          default: 0
      type: object
      title: ListVoicesRequest
      description: Request model for listing voices via API
    ListVoicesResponse:
      properties:
        voices:
          items:
            $ref: '#/components/schemas/WondercraftVoice'
          type: array
          title: Voices
          description: Array of voice objects
        has_more_results:
          type: boolean
          title: Has More Results
          description: Whether there are more results available for pagination
      type: object
      required:
        - voices
        - has_more_results
      title: ListVoicesResponse
      description: Response model for listing voices via API
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    WondercraftVoice:
      properties:
        id:
          type: string
          title: Id
          description: Unique voice identifier
        name:
          anyOf:
            - type: string
            - type: 'null'
          title: Name
          description: Voice name
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
          description: Voice description
        language:
          anyOf:
            - type: string
            - type: 'null'
          title: Language
          description: Voice language code (e.g., 'en', 'es')
        accents:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Accents
          description: Voice accent
        gender:
          anyOf:
            - type: string
            - type: 'null'
          title: Gender
          description: Voice gender
        age:
          anyOf:
            - type: string
            - type: 'null'
          title: Age
          description: Voice age range
        characteristics:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Characteristics
          description: Voice characteristics (e.g., 'warm', 'authoritative')
        use_cases:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Use Cases
          description: Recommended use cases for this voice
        audio_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Audio Url
          description: URL to sample audio of the voice
        image_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Image Url
          description: URL to the voice's profile image/thumbnail
      type: object
      required:
        - id
        - name
        - description
        - language
        - accents
        - gender
        - age
        - characteristics
        - use_cases
        - audio_url
        - image_url
      title: WondercraftVoice
      description: Simplified voice model for API responses
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-API-KEY

````

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