Ovyero
Documentation

Use Ovyero from any CI

GitHub Actions has a ready-made workflow (GitHub). Any other CI system can call the HTTP API directly: send a file, read the verdict, fail the build on GATE.

Steps

  1. Store your Ovyero API key as a secret in your CI system (the examples call it OVYERO_API_KEY).
  2. For each changed file, POST its name and content to /api/v1/govern/file:
    jq -n --arg f "$FILE" --rawfile c "$FILE" '{filename:$f, content:$c}' \
      | curl -fsS -X POST https://ovyero.visnryentertainment.com/api/v1/govern/file \
          -H "Authorization: Bearer $OVYERO_API_KEY" \
          -H "Content-Type: application/json" --data-binary @-
  3. Read verdict in the JSON response: PASS, WARN or GATE. Fail the build when it is GATE (passed is false).

Several files in one request

POST /api/v1/govern/files-bulk with {"files":[{"filename":"…","content":"…"}, …]}, up to 100 files per request. The response is {"verdicts":[…],"count":N}, one verdict object per file in the same shape as the single-file call.

Reading the response

Limits

Full endpoint list: API. Problems: Troubleshooting.

TroubleshootingContactTrust