Palbase Flags · API
/flags/templates/activeRead the active version
The version in force, with every definition.
Called by your server, with the project's secret key.
curl -X GET "https://<your-ref>.palbase.studio/flags/templates/active" \
-H "apikey: $PALBASE_SECRET_KEY"Responses
200The active version
401No key, or not a key of this project, or a token that is not valid (the edge's answer)
403Not the project's secret key
409The project's state refuses it: publishing is on, users' values stand in the way, a managed flag's rule, a draft already exists, an experiment runs on the flag
429The project's request rate, or its flag reads for the period under its quota, are used up; Retry-After says when to try again
503The platform could not answer now; retrying is safe (Retry-After)
defaultAn error: the envelope names it (`error`) and explains it (`error_description`).
Operation GetActiveTemplate of flags's contract.