Skip to main content
POST
Verify or unverify facts

Authorizations

x-api-key
string
header
required

Your unique Avido API key

x-application-id
string
header
required

Your unique Avido Application ID

Body

application/json

Request body for verifying or unverifying facts in bulk

isVerified
boolean
required

Whether to mark the facts as verified (true) or unverified (false)

Example:

true

factIds
string<uuid>[]

IDs of the facts to verify or unverify

Required array length: 1 - 1000 elements
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
topicIds
string<uuid>[]

IDs of the topics whose facts should be verified or unverified

Required array length: 1 - 1000 elements
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
quickstartId
string<uuid>

Optional quickstart ID to scope verification to a specific quickstart

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
scope
enum<string>

Scope of facts to verify. When set to APPLICATION, verifies all application-wide facts (no topicIds or factIds needed).

Available options:
TOPIC,
APPLICATION
Example:

"TOPIC"

Response

Successfully updated facts

Response for bulk fact verification

count
integer
required

Number of facts updated

Required range: 0 <= x <= 9007199254740991
Example:

5