Authorization

Use a separate key for the Admin API. Your inference key cannot read it, and a key with only Read account data cannot spend.

  1. Open API keys in the console and select Create API key.
  2. Tick Read account data (Admin API). Only owners and admins can tick it.
  3. Send the key in Authorization: Bearer or X-API-Key.
curl https://api.munito.ai/admin/v1/organization \
  -H "Authorization: Bearer $MUNITO_ADMIN_KEY"

See Administration for the endpoints and the errors.