{
  "opencollection": "1.0.0",
  "info": {
    "name": "KugelAudio TTS 11labs Voices API",
    "version": "2.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Voices",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Voices",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v1/voices",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Voices visible to the caller: public catalog page + own voices."
        },
        {
          "info": {
            "name": "Create Voice",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v1/voices"
          },
          "docs": "Create a new voice, optionally with reference audio files.\n\nAccepts either:\n\n- ``application/json`` with a :class:`CreateVoiceRequest` body, or\n- ``multipart/form-data`` with a ``metadata`` JSON part and optional\n  ``files`` parts (audio files). This is the format sent by the\n  Python and JS SDKs when ``reference_files`` are provided."
        },
        {
          "info": {
            "name": "Get Voice By Id",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v1/voices/:voice_id",
            "params": [
              {
                "name": "voice_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "One voice by handle or legacy numeric id.\n\nThe caller's org rides along so private/unverified own voices —\nwhich the listing endpoint shows — resolve individually too."
        },
        {
          "info": {
            "name": "Update Voice",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{{baseUrl}}/v1/voices/:voice_id",
            "params": [
              {
                "name": "voice_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update a voice you own."
        },
        {
          "info": {
            "name": "Delete Voice",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/v1/voices/:voice_id",
            "params": [
              {
                "name": "voice_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Archive (soft-delete) a voice you own."
        },
        {
          "info": {
            "name": "List Voice References",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v1/voices/:voice_id/references",
            "params": [
              {
                "name": "voice_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "List all reference audio files for a voice you own."
        },
        {
          "info": {
            "name": "Upload Voice Reference",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v1/voices/:voice_id/references",
            "params": [
              {
                "name": "voice_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "multipart-form",
              "data": []
            }
          },
          "docs": "Upload a reference audio file for a voice you own.\n\nAccepts multipart/form-data with a ``file`` field (audio).\nOptionally include ``reference_text`` for the transcript."
        },
        {
          "info": {
            "name": "Delete Voice Reference",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/v1/voices/:voice_id/references/:ref_id",
            "params": [
              {
                "name": "voice_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "ref_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete a reference audio file from a voice you own."
        },
        {
          "info": {
            "name": "Publish Voice",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v1/voices/:voice_id/publish",
            "params": [
              {
                "name": "voice_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Publish a voice (sets is_public=True, pending_verification=True).\n\nVerification is admin-controlled and cannot be bypassed via the API."
        },
        {
          "info": {
            "name": "Generate Voice Sample",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v1/voices/:voice_id/generate-sample",
            "params": [
              {
                "name": "voice_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Generate a sample WAV for a voice you own.\n\nRequires at least one reference audio to be uploaded first. The\nsample is generated through the TTS engine without billing (no\nusage lease — parity with v1) and stored via the admin seam."
        }
      ]
    }
  ],
  "bundled": true
}