Palbase ai · API
GET
/ai/agents/{name}An agent
One the project keeps: its draft, the version published and its revision. One its backend defines: its machine, and what its last turn was defined as.
Called by your server, with the project's secret key.
Path
namestring · requiredThe name: lowercase letters, digits, _ and -, starting with a letter, at most 64.curl
curl -X GET "https://<your-ref>.palbase.studio/ai/agents/<name>" \
-H "apikey: $PALBASE_SECRET_KEY"Responses
200The agent
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 GetAgent of ai's contract.