Palbase ai · API
GET
/ai/environments/{name}Get a runtime environment
Returns a single runtime environment by name.
Called by your server, with the project's secret key.
Path
namestring · requiredThe environment's name.curl
curl -X GET "https://<your-ref>.palbase.studio/ai/environments/<name>" \
-H "apikey: $PALBASE_SECRET_KEY"Responses
200The environment
401No valid credential
403A publishable key or a user's session: everything here is the project's server's, called with the secret key
404No such response, job or provider in this project
defaultAn error: the envelope names it (`error`) and explains it (`error_description`).
Operation GetEnvironment of ai's contract.