Skip to main content
Send your API key as a bearer token on every request:
A missing or wrong key returns 401:

Which endpoints require it

The service also exposes /internal/* routes used by its own Pub/Sub push subscription and Cloud Scheduler jobs. They authenticate with a separate internal token, are not part of the client contract, and are not documented here.

Key management

There is a single static token shared by all clients. It lives in Google Secret Manager under pplx-server-api-key and is compared verbatim by the server. To rotate, add a new secret version and redeploy so the service picks it up:
Rotation is not zero-downtime. The server accepts exactly one key at a time, so clients must cut over as the new revision rolls out. If you need overlapping validity, the server must first be changed to accept a comma-separated key list.
Reading the secret requires roles/secretmanager.secretAccessor scoped to pplx-server-api-key.