GET
/
spaces
/
{owner}
/
{space}
/
voiceprints
/
{identity}
/
{voiceprint}
/
audios
curl --request GET \
  --url https://api.loccus.ai/v1/spaces/{owner}/{space}/voiceprints/{identity}/{voiceprint}/audios \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "00000000-0000-0000-0000-000000000000",
    "handle": "audio-a",
    "alias": "Audio A",
    "state": "available",
    "duration": "PT3.500S",
    "voiceDuration": "PT3.500S",
    "frequency": 8000,
    "identity": {
      "handle": "identity-a",
      "alias": "Identity A"
    },
    "voiceprints": 10,
    "verifications": 10,
    "createdAt": "2023-01-01T00:00:00.000000Z",
    "uploadedAt": "2023-01-01T00:00:00.000000Z"
  }
]

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

owner
string
required

The handle of the owner.

space
string
required

The handle of the space.

identity
string
required

The handle of the identity.

voiceprint
string
required

The handle of the voiceprint.

Query Parameters

page
integer
default: 1

The index of the page.

page-size
integer
default: 20

The maximum size of the pages.

sort
enum<string>
default: createdAt

The criteria used to sort the audios.

Available options:
handle,
createdAt,
uploadedAt
search
string

The term used to search the audios by handle or alias.

after

The term used to search audios after or equal to the specified date.

before

The term used to search audios before or equal to the specified date.

Response

200 - application/json
id
string
required

The UUID of the audio. Is unique.

handle
string
required

The handle of the audio. Is unique.

alias
string | null
required

The alias of the audio.

state
enum<string>
required

The state of the audio.

Available options:
avaitingFile,
available,
notAvailable
duration
string
required

The duration of the audio.

voiceDuration
string
required

The voice duration of the audio.

frequency
integer
required

The sampling frequency of the audio.

identity
object | null
required

The identity linked to the audio.

voiceprints
integer
required

The number of voiceprints of the audio.

verifications
integer
required

The number of verifications of the audio.

createdAt
string
required

The date and time when the audio was created.

uploadedAt
string
required

The date and time when the binary file was uploaded.