POST
/
spaces
/
{owner}
/
{space}
/
voiceprints
/
{identity}
/
{voiceprint}
/
audios
/
{audio}
curl --request POST \
  --url https://api.loccus.ai/v1/spaces/{owner}/{space}/voiceprints/{identity}/{voiceprint}/audios/{audio} \
  --header 'Authorization: Bearer <token>'
{
  "id": "00000000-0000-0000-0000-000000000000",
  "handle": "voiceprint-a",
  "alias": "Voiceprint A",
  "state": "notComputable",
  "model": {
    "handle": "model-a",
    "version": "v1"
  },
  "identity": {
    "handle": "identity-a",
    "alias": "Identity A"
  },
  "totalDuration": "PT7.500S",
  "totalVoiceDuration": "PT10.500S",
  "minAudios": 3,
  "audios": 2,
  "verifications": 10,
  "createdAt": "2023-01-01T00:00:00.000000Z",
  "computedAt": "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.

audio
string
required

The handle of the audio.

Response

200 - application/json
id
string
required

The UUID of the voiceprint. Is unique.

handle
string
required

The handle of the voiceprint. Is unique.

alias
string | null
required

The alias of the voiceprint.

state
enum<string>
required

The state of the voiceprint

Available options:
notComputable,
computable,
computed
model
object
required

The model of the voiceprint.

identity
object
required

The identity of the voiceprint.

totalDuration
string
required

The total duration of the audios added to the voiceprint.

totalVoiceDuration
string
required

The total voice duration of the audios added to the voiceprint.

minAudios
integer
required

The minimum number of audios required to compute the voiceprint.

audios
integer
required

The number of audios added to the voiceprint.

verifications
integer
required

The number of verifications of the voiceprint.

createdAt
string
required

The date and time when the voiceprint was created.

computedAt
string
required

The date and time when the voiceprint was computed.