Verification API v1
Create applications, trigger verification runs and poll verdicts from your CI pipeline or tooling - without touching the dashboard.
Authentication
All endpoints are under /api/v1 and require a Bearer
API key - create one in your dashboard under
Settings → API keys (wk_live_...).
Keys are tenant-scoped: you only ever see your own applications.
curl https://www.weurkico.com/api/v1/me \
-H "Authorization: Bearer wk_live_..."
Errors share one shape:
{"error": {"code": "...", "message": "..."}}.
Endpoints
GET /api/v1/me
Account sanity check: plan, remaining credits, key metadata.
GET /api/v1/projects
List your applications (id, name, status, connected source).
POST /api/v1/projects
Create an application connected to a GitHub repository - the one-shot call a pipeline needs before triggering a verification.
{
"name": "backend-api", // required
"repo_url": "https://github.com/org/repo", // required
"branch": "main", // optional
"repo_token": "ghp_...", // optional, private repos -
// stored encrypted, reusable
"repo_username": "ci-bot", // optional, with repo_token
"repo_credential_id": 12 // optional, saved credential
}
→ 201 {"id": "APP-...", "name": "...", "source": "..."}
· 400 invalid source
POST /api/v1/verifications
Trigger a verification run - same credit accounting as the dashboard.
{
"project_id": "APP-...", // required
"scope": "production" // core | production | ai_data | quality
}
→ 202 {"id": "WK-...", "status": "queued",
"status_url": "/api/v1/verifications/WK-..."}
· 400 no source / bad scope ·
402 no credits · 404 unknown app ·
409 run already active · 429 fair-use cap
GET /api/v1/verifications
Your 50 most recent runs.
GET /api/v1/verifications/<run_id>
Full run detail: status, verdict, step progress, plus
verify_url (public report link), badge_url
and diff_vs_previous (new / resolved / persistent
findings vs the previous completed run).
{
"id": "WK-4-E8B17DFD", "status": "completed",
"verdict": "ready_with_conditions",
"verify_url": "/verify/WK-4-E8B17DFD",
"badge_url": "/badge/APP-XXXX.svg",
"diff_vs_previous": { "new_findings": 2, "resolved_findings": 5,
"persistent_findings": 3 }
}
Verdicts: pending | ready_to_ship | ready_with_conditions |
not_ready.
GET /api/v1/verifications/<run_id>/findings
Sanitized finding list (fingerprint, control, severity, location, status) - feeds SARIF conversion and external scanners. Evidence snippets and tool output never leave through the API.
CI/CD integrations
For GitHub Actions, skip the plumbing: the Weurkico/weurkico-action composite action triggers a run, waits for the verdict, gates the build on a configurable policy and exports findings as SARIF for GitHub Code Scanning. GitLab users get the same gate from the GitLab CI template in the same repository.
Guarantees
Cross-tenant access always answers 403/404 -
never a leak. No secrets, internal paths or stack traces in
responses. Triggering a second verification while a run is active
returns 409, never a double charge.