GET
/
auth
/
key
Check API Key status
curl --request GET \
  --url https://api.neosantara.xyz/v1/auth/key \
  --header 'Authorization: Bearer <token>'
{
  "object": "authorization",
  "organization": "org-neosantara-ai",
  "permissions": [
    "chat.completions",
    "embeddings",
    "moderations"
  ],
  "authorized": true,
  "created": 1717950000,
  "expires": null,
  "id": "auth-xyz123abc456",
  "tier": "Free",
  "usage_info": {
    "daily": {
      "used": 1500,
      "limit": 10000,
      "remaining": 8500,
      "reset_at": "2025-06-21T00:00:00Z"
    },
    "monthly": {
      "used": 5000,
      "limit": 30000,
      "remaining": 25000,
      "reset_at": "2025-07-01T00:00:00Z"
    }
  }
}

Authorizations

Authorization
string
header
required

Your NeosantaraAI API Key.

Response

200
application/json

API Key status and usage info

The response is of type object.