Infrakinetic Developers

Delivery API reference

Base address: https://api.infrakinetic.in/api/delivery/v1. Server calls send Authorization: Bearer iksr_… and must not send an Origin header.

Server endpoints

CallReturns
GET /page?url=<full address>The page answer (below). Accept: text/html returns the HTML alone with the head in Link and X-IK-Head headers.
GET /sitemap.xmlYour delivered addresses, for your sitemap.
GET /llms.txtA fragment for your llms.txt.
GET /mount-mapWhere each page lives on your site.
PUT /mount-mapRegister addresses (key scope mounts.write).
GET /changes?since=<cursor>Purge signals in order, and the next cursor. For hosts that cannot receive webhooks.

The page answer

{
  "status": 200,
  "area": "careers",
  "head": { "title": "…", "meta": [ … ], "links": [ { "rel": "canonical", "href": "https://www.northwind-foods.in/careers" }, … ], "jsonld": [ … ] },
  "head_html": "<title>…</title><meta …><link rel=\"canonical\" …>…",
  "html": "<div class=\"ikp\" data-ik-root …>…</div>",
  "hydrate": { "src": "https://api.infrakinetic.in/api/delivery/v1/hydrate.v1.<hash>.js", "integrity": "sha384-…" },
  "cache": { "etag": "\"…\"", "max_age": 60, "s_maxage": 86400, "tags": [ … ] }
}

Errors

StatusMeaningWhat to do
404 not_mounted, not_published, area_offlineNot ours to serveShow your own page or 404
401 INVALID_RENDER_KEYWrong or revoked keyMake a new server key
403 RENDER_KEY_IN_BROWSERThe server key was sent with an Origin headerRotate the key; call from your server only
429Over the per-minute limitWait Retry-After seconds; cache copies
503Try again shortlyServe your last good copy

Change feed

GET /changes?since=<cursor> lists what changed, oldest first, with the next cursor. Start without since, keep next, and ask again every few minutes:

{ "changes": [ { "id": "…", "at": "2026-11-15T10:00:00.000Z", "reason": "release_published",
                 "urls": ["https://www.northwind-foods.in/careers"], "tags": ["ik-page-…"] } ],
  "next": "…" }

Drop those addresses from your cache. A tag starting ik-area- or ik-website- means a whole area changed: drop every copy.

Signed calls

Infrakinetic's webhooks, and the connectors' purge endpoints, use one signature:

x-infrakinetic-signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of "<t>.<raw body>">

Check it against the raw body before parsing, refuse a t more than five minutes away, and compare in constant time. During a secret rotation two v1 values come; one matching is enough.

Content Security Policy

If your site sends a CSP, add these. Nothing needs unsafe-inline or unsafe-eval.

script-src  https://api.infrakinetic.in https://challenges.cloudflare.com
style-src   https://api.infrakinetic.in
connect-src https://api.infrakinetic.in
frame-src   https://challenges.cloudflare.com
img-src     https://api.infrakinetic.in