PATCH
/
spaces
/
{owner}
/
{space}
/
verifications
/
identity
/
{verification}
curl --request PATCH \
  --url https://api.loccus.ai/v1/spaces/{owner}/{space}/verifications/identity/{verification} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "handle": "verification-a",
  "alias": "Verification A"
}'
{
  "id": "00000000-0000-0000-0000-000000000000",
  "handle": "verification-a",
  "alias": "Verification A",
  "state": "performed",
  "model": {
    "handle": "model-a",
    "version": "v1"
  },
  "audio": {
    "handle": "audio-a",
    "alias": "Audio A",
    "state": "available"
  },
  "voiceprint": {
    "handle": "voiceprint-a",
    "alias": "Voiceprint A",
    "state": "notComputable",
    "identity": {
      "handle": "identity-a",
      "alias": "Identity A"
    }
  },
  "score": 0.85,
  "createdAt": "2023-01-01T00:00:00.000000Z",
  "performedAt": "2023-01-01T00:00:00.000000Z"
}

Score: Confidence in a positive result is represented by the score.

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.

verification
string
required

The handle of the identity verification.

Body

application/json
handle
string

The new handle of the identity verification. Must be unique.

alias
string | null

The new alias of the identity verification.

Response

200 - application/json
id
string
required

The UUID of the identity verification. Is unique.

handle
string
required

The handle of the identity verification. Is unique.

alias
string | null
required

The alias of the identity verification.

state
enum<string>
required

The state of the identity verification.

Available options:
performing,
performed,
error
model
object
required

The model of the identity verification.

audio
object
required

The audio of the identity verification.

voiceprint
object
required

The voiceprint of the identity verification.

score
number
required

The score of the identity verification.

createdAt
string
required

The date and time when the identity verification was created.

performedAt
string
required

The date and time when the identity verification was performed.