API reference

The reference below is rendered in your browser from this host's own /openapi.json, so it always matches what the server accepts. Every request is validated against that document before it runs; a request that does not fit is refused with 400 invalid_request naming the first offending field.

Key Header Operations
server key sk_… Authorization: Bearer sk_… /v1/links, /v1/metrics, GET /v1/events
client key pk_… X-Go-Key: pk_… POST /v1/events, GET /v1/links/by-token/{token}

Keys are minted in the console (Settings for sk_, Setup for pk_). The console's own operations under /console/api are not part of the public contract and are not listed here.