404, while a missing, invalid, or revoked key returns 401.
OpenAI bring-your-own-key
Visual Style Guide requests may use an ephemeral OpenAI key:Authorization still carries the Scrinly key. The provider key is accepted only on screenshot requests with styleGuide enabled, is synchronous-only, and is never stored, echoed, logged, or added to a queue. BYOK is intended for server-to-server calls.
Page credentials
For pages you are authorized to access, pass request headers through the JSONheaders object and structured cookies through cookies. These values influence capture identity when screenshot caching is enabled, but cache keys contain only an opaque keyed fingerprint.