Palbase ai · API
GET
/ai/agentsThe project's agents
The agents the project keeps and its backend's — each one the build its machine serves defines (its contract's x-palbase-agents) — by name. A name the project keeps is that agent's, whatever a build declares.
Called by your server, with the project's secret key.
curl
curl -X GET "https://<your-ref>.palbase.studio/ai/agents" \
-H "apikey: $PALBASE_SECRET_KEY"Responses
200The agents
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 ListAgents of ai's contract.