Palbase ai · API
/ai/endpointsThe project's tool endpoints
Its HTTPS tools and MCP servers, by name (their secrets are not said again). To an environment's token each url is shown only where it is — its scheme, its host and its path's first segment — and the rest of its path, its query and its fragment each as ***: an MCP server's or a tool's key may be anywhere after the host, and an agent is not shown again a secret it did not just set (the answer to its own PUT shows it so too). A person and the project's key see each url whole.
Called by your server, with the project's secret key.
curl -X GET "https://<your-ref>.palbase.studio/ai/endpoints" \
-H "apikey: $PALBASE_SECRET_KEY"Responses
200The endpoints
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 ListEndpoints of ai's contract.