palbaseDocs

Palbase ai · API

GET/ai/agents/{name}/versions

An agent's versions

The versions an agent the project keeps was published as, newest first.

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.

Query

limitinteger · optionalAt most this many (1–100, default 20).
cursorstring · optionalThe next_cursor of the previous page.
curl
curl -X GET "https://<your-ref>.palbase.studio/ai/agents/<name>/versions" \
  -H "apikey: $PALBASE_SECRET_KEY"

Responses

200The versions

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 ListAgentVersions of ai's contract.