PATCH
/
spaces
/
{owner}
/
{space}
/
verifications
/
authenticity
/
{verification}
curl --request PATCH \
  --url https://api.loccus.ai/v1/spaces/{owner}/{space}/verifications/authenticity/{verification} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "alias": "Verification A"
}'
{
  "id": "00000000-0000-0000-0000-000000000000",
  "handle": "verification-a",
  "alias": "Verification A",
  "state": "performed",
  "model": "default/v1",
  "audio": {
    "handle": "audio-a",
    "alias": "Audio A",
    "state": "available"
  },
  "score": 0.85,
  "subscores": {
    "synthesis": 0.85,
    "replay": 0.85
  },
  "chunks": 10,
  "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 authenticity verification.

Body

application/json
alias
string | null

The new alias of the authenticity verification.

Response

200 - application/json
id
string
required

The UUID of the authenticity verification. Is unique.

handle
string
required

The handle of the authenticity verification. Is unique.

alias
string | null
required

The alias of the authenticity verification.

state
enum<string>
required

The state of the authenticity verification.

Available options:
performing,
performed,
error
model
string
required

The model of the authenticity verification.

audio
object | null
required

The audio of the authenticity verification.

score
string | null
required

The score of the authenticity verification.

subscores
object
required

The subscores of the authenticity verification.

chunks
integer
required

The number of chunks of the authenticity verification.

createdAt
string
required

The date and time when the authenticity verification was created.

performedAt
string
required

The date and time when the authenticity verification was performed.