palbaseDocs

Palbase ai · API

GET/ai/users/{user_id}/quota

Get a user's direct AI quota override

Get a user's direct AI quota override.

Called by your server, with the project's secret key.

Path

user_idstring · requiredEnd-user identifier.
curl
curl -X GET "https://<your-ref>.palbase.studio/ai/users/<user_id>/quota" \
  -H "apikey: $PALBASE_SECRET_KEY"

Responses

200User quota

400HTTP 400 error

401HTTP 401 error

403HTTP 403 error

defaultAn error: the envelope names it (`error`) and explains it (`error_description`).

Operation GetUserQuota of ai's contract.