palbaseDocs

Palbase ai · API

GET/ai/env/allowances

The agents' secrets' allowances

The hosts the project's agents' own secrets are allowed beside their definitions': each an owner's Allow of an ask, newest first (500 at most), with whose agent (origin) and the host's registrable domain. A new value keeps them. One goes with its key: an agent the project keeps, once neither its draft nor its version published has the key (deleted, every one); a chat's own definition, with the last chat whose definition has it; a backend's agent, after 30 days with no turn.

Called by your server, with the project's secret key.

curl
curl -X GET "https://<your-ref>.palbase.studio/ai/env/allowances" \
  -H "apikey: $PALBASE_SECRET_KEY"

Responses

200The allowances

401No valid credential

403A publishable key or a user's session: everything here is the project's server's, called with the secret key

defaultAn error: the envelope names it (`error`) and explains it (`error_description`).

Operation ListEnvAllowances of ai's contract.