Gecko’s
v1 API lets you trigger scans, read scan, repository, and
vulnerability data, triage findings, manage scan schedules, and receive
webhook events, all scoped to the team attached
to your API key.Authentication
Create a key under Settings > API Keys (details). Keys start withgk_ and are shown in full only once, at creation.
Send the key either way; both are equivalent:
Authorization: Bearer gk_…X-API-Key: gk_…
scans.read to list scans, scans.run to trigger one).
Send your first request
Response envelope
Every response has one of three shapes. Single resources carry anobject
type discriminator:
X-Request-Id header; include it when reporting
issues.
Pagination
Every list endpoint is cursor-based:?limit=, page size, default25, max250?cursor=, opaque cursor from the previous page’snext_cursor?sort=and?order=, sorting
next_cursor until has_more is false.
Rate limits
Limits are per key and depend on your plan:
Responses include
X-RateLimit-* headers; Gecko returns
429 Too Many Requests when a key reaches its limit. MCP traffic from
connected AI tools shares the same budget.
Idempotency
Send anIdempotency-Key header on any POST or PATCH to make retries
safe. Replays return the originally stored response with an
Idempotent-Replayed: true header.
Generate a client
There’s no hand-written SDK to install; generate types or a full client from the live spec:What you can do
Scans
List and trigger scans, fetch a scan’s vulnerabilities, discovered API
endpoints, and generated wiki.
Repositories
List repositories, update repository settings, and read per-repository
scans and vulnerabilities.
Vulnerabilities
Read findings with full evidence and triage them (confirm, dismiss,
accept risk, reopen).
Schedules
Create and manage recurring scan schedules.
Webhooks
Subscribe to scan and vulnerability events with signed deliveries.
Releases
For hybrid deployments: fetch digest-pinned scanner image releases per
channel.
Need request and response details? Open any endpoint page in the sidebar;
they’re generated from the same spec the API serves.