Palbase ai · API
GET
/ai/envThe project's variables
Their names, whether each is a secret, the hosts a secret may go to, where it may be put, whether it is open, and when each was set: never a value.
Called by your server, with the project's secret key.
curl
curl -X GET "https://<your-ref>.palbase.studio/ai/env" \
-H "apikey: $PALBASE_SECRET_KEY"Responses
200The variables
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 ListEnv of ai's contract.