Typescript (SDK)
Sites
List a site's secrets
Returns the encrypted runtime secrets injected into this site’s worker as environment variables, newest first. The decrypted value is never included here — each entry exposes only its last four characters (last4). Use the reveal endpoint to read a value.
GET
Typescript (SDK)
Authorizations
API key in the format: Bearer {api_token}
Path Parameters
The resource ID (e.g., "prod_abc123") or slug (e.g., "my-product")
Query Parameters
Cursor for pagination — the ID of the last item in the previous page
Items per page
Required range:
1 <= x <= 100
