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

# Check Voice availability

> Check a resource owned by your account.

> Operations are enabled individually by server configuration. Disabled operations return 503 without a task. Music credit deduction is currently disabled.

## Resource and availability

Replace voice\_id in the path with an APIstable Voice or Persona ID owned by your account. This synchronous check does not create a task. available:false means the provider reported the resource unavailable; it is not returned for network errors. A missing/foreign resource returns 404, a provider-account mismatch 409, an expired resource 410, an invalid provider reply 502, and provider failure 503.

## Output

```json theme={null}
{
  "code": 200,
  "msg": "success",
  "data": {
    "voice_id": "APIstable voice ID",
    "available": true,
    "reason": null
  }
}
```


## OpenAPI

````yaml openapi.json GET /api/v1/voices/{voice_id}
openapi: 3.1.0
info:
  title: APIstable API
  version: 1.0.0-preview
  description: >-
    Public /api/v1 protocol. Valid API keys have the same account-scoped access.
    No client submission idempotency or max_credits. Enabled Suno operations use
    PayAPI and durable task processing. Media uses R2: uploads 24 hours,
    generated files 14 days, task logs 30 days. Music credit deduction is
    disabled. Unconfigured operations and LLM return 503.
servers:
  - url: https://apistable.com
    description: APIstable API
security: []
paths:
  /api/v1/voices/{voice_id}:
    get:
      summary: Check Voice availability
      operationId: voiceAvailability
      parameters:
        - name: voice_id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                required:
                  - code
                  - msg
                  - data
                properties:
                  code:
                    const: 200
                  msg:
                    type: string
                  data:
                    type: object
                    properties:
                      voice_id:
                        type: string
                      available:
                        type: boolean
                      reason:
                        type:
                          - string
                          - 'null'
        '400':
          description: '40002: Invalid input.'
        '401':
          description: '40101: Invalid API key.'
        '404':
          description: '40401: Resource not found in this account.'
        '409':
          description: '40901: Resource provider-account mismatch.'
        '410':
          description: '41001: Resource expired.'
        '502':
          description: '50201: Malformed provider response.'
        '503':
          description: Operation or provider unavailable
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Every valid key can submit and query its own account. Revoked keys are
        rejected.

````

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