Skip to main content
POST
/
v1
/
compliance
/
video
Check video compliance
curl --request POST \
  --url https://api.vidjutsu.ai/v1/compliance/video \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "videoUrl": "<string>",
  "platform": "youtube",
  "format": "shortform",
  "context": {
    "caption": "<string>",
    "hashtags": [
      "<string>"
    ],
    "monetized": true
  }
}
'
{
  "riskScore": 123,
  "verdict": "safe",
  "violations": [
    {
      "ruleId": "<string>",
      "category": "<string>",
      "severity": "low",
      "explanation": "<string>",
      "citation": {
        "text": "<string>",
        "sourceUrl": "<string>",
        "policyVersion": "<string>"
      },
      "evidence": {
        "timestamp": 123,
        "transcriptExcerpt": "<string>",
        "visualDescription": "<string>"
      }
    }
  ],
  "platform": "youtube",
  "policySnapshotDate": "<string>",
  "disclaimer": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
videoUrl
string
required

Public URL of the video to scan.

platform
enum<string>
required
Available options:
youtube,
tiktok,
instagram,
facebook-ads
format
enum<string>

Optional content format hint. Inferred from duration when omitted.

Available options:
shortform,
longform
context
object

Optional publication metadata that affects risk (caption, hashtags, monetization intent).

Response

200 - application/json

The request has succeeded.

riskScore
integer<int32>
required

Composite risk score 0-100 computed deterministically from violation severities.

verdict
enum<string>
required
Available options:
safe,
caution,
high-risk,
likely-violation
violations
object[]
required
platform
enum<string>
required
Available options:
youtube,
tiktok,
instagram,
facebook-ads
policySnapshotDate
string
required

ISO date of the newest active policy snapshot this scan was evaluated against.

disclaimer
string
required

Informational disclaimer. This response is not legal advice.