Skip to main content

API keys & quota

These endpoints apply to your tenant using API key authentication.

API keys

Prefix: /keys
MethodPathDescription
POST/keysCreate a key (raw secret returned once)
GET/keysList keys (prefixes and metadata only)
DELETE/keys/{key_id}Revoke a key
curl -X POST https://api.trygroundai.com/keys \
  -H "Authorization: Bearer gnd_owner_key" \
  -H "Content-Type: application/json" \
  -d '{"name":"CI"}'
Store new secrets immediately; they cannot be retrieved again.

Quota

GET /quota
Returns limit configuration for your tenant (rate limits / caps as configured for your plan).
GET /quota/usage
Returns current usage against those limits (rolling windows).
curl https://api.trygroundai.com/quota/usage \
  -H "Authorization: Bearer gnd_your_api_key"
Quota values are part of your subscription or account setup. If you need a commercial change to limits, contact ali@trygroundai.com.