Latest Audit

Get the latest completed audit for a skill by its GitHub slug.

GET https://audit-engine.oathe.ai/api/skill/{user}/{repo}/latest

Get the latest completed audit for a skill by its slug. Returns the full report including all findings and dimension scores.

Example

curl https://audit-engine.oathe.ai/api/skill/user/repo/latest

Response 200

{
  "audit_id": "a1b2c3d4-...",
  "skill_url": "https://github.com/user/repo",
  "status": "complete",
  "report": {
    "audit_id": "a1b2c3d4-...",
    "skill_url": "https://github.com/user/repo",
    "skill_slug": "user/repo",
    "timestamp": "2026-01-15T10:30:00.000Z",
    "trust_score": 85,
    "verdict": "SAFE",
    "summary": "No significant security concerns detected.",
    "recommendation": "INSTALL",
    "category_scores": { ... },
    "findings": [...]
  }
}
See Findings for the full finding schema and Scoring Dimensions for what each category_scores entry evaluates.

Not Found 404

{ "statusCode": 404, "name": "skill_not_found", "message": "No audit found for this skill" }
If the skill hasn't been audited, submit it for audit first.
When Oathe updates its scoring methodology, audits from the previous version are marked as stale. This endpoint returns only the latest non-stale audit. If all audits are stale, it returns 404 — re-submit the skill to get a fresh audit.