Kestrelstream API v1

Base URL https://api.kestrelstream.net/v1

Getting started

Create a zone, point a CNAME at it and request any file to warm the cache.

Limits

Default limits are generous; write to us if a launch needs more.

ResourceDefault
Requests per second500
Max file size5 GB
Purge requests per minute300

Purging

Purge by exact path, by prefix or by tag. Requests are idempotent and safe to retry.

curl -X POST https://api.kestrelstream.net/v1/zones/$ZONE/purge \
  -H 'Authorization: Bearer $TOKEN' \
  -d '{"prefix": "/img/"}'

Uploading

Send files with a PUT request; the response returns the public path and its checksum.

curl -X PUT https://api.kestrelstream.net/v1/zones/$ZONE/files/img/hero.webp \
  -H 'Authorization: Bearer $TOKEN' \
  --data-binary @hero.webp

Caching rules

Cache-Control from your origin wins unless a rule overrides it for a path prefix.