Vulnix
API

Getting Started

Create a token and make your first call — the shortest path from nothing to a working integration.

1. Create a token

Go to API → Tokens in the console, select New token, and tick runs:read. Copy it — it's shown once. Full detail on scopes and roles is in Authentication.

2. Make a call

curl https://api.vulnix.dev/runs \
  -H "Authorization: Bearer vnx_your_token_here"
{
  "runs": [
    {
      "id": "01M2NMSFVBHZTYR842YNP45TF3",
      "scope_id": "01M2NMSFVBHZTYR842YNP45TF4",
      "status": "finished",
      "started_at": "2026-09-16T17:20:04.708773+00:00",
      "completed_at": "2026-09-16T18:04:11.229104+00:00"
    }
  ]
}

That is every request: a token in the Authorization header, a plain JSON response, no envelope and no version segment in the path. Conventions covers what holds true for every endpoint — read it once rather than per-resource.

3. Find the endpoint you need

4. Prefer events to polling

GET /runs/{run_id} works, but a webhook is one setup step in the console and then Vulnix calls you — no loop, no wasted requests while a run is still executing.

Machine-readable spec

The full public surface — every endpoint above and the ones not linked here — is published as an OpenAPI 3.1 document: openapi.json. Import it into Postman or Insomnia, or generate a typed client for your own language. It is generated from the same allowlist that decides what a token can reach at runtime, so it can't drift ahead of or behind the real API.

On this page