Skip to content

Fetch a site's favicon

GET
/api/sites/{path}/favicon

Streams the site’s cached favicon bytes with its detected MIME type and Cache-Control: public, max-age=3600. The favicon is detected from the published index.html at publish time (see the has_favicon field on the Site schema). Available to any authenticated user; hidden sites are visible only to admins. Returns 404 when the site has no favicon.

path
required
string

Full site path — group segments (0–2) plus the slug, e.g. claude/app or demo.

The favicon image bytes.

string format: binary

Missing or invalid credentials.

object
error
required
string

No such site, key, or connection.

object
error
required
string