Palbase ai · API
GET
/ai/environmentsList runtime environments
Lists the project's configured runtime environments ordered by name.
Called by your server, with the project's secret key.
curl
curl -X GET "https://<your-ref>.palbase.studio/ai/environments" \
-H "apikey: $PALBASE_SECRET_KEY"Responses
200The project's environments
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 ListEnvironments of ai's contract.