AI
Get AI entitlement state
GET
/
v1
/
ai
/
entitlement
Get AI entitlement state
curl --request GET \
--url https://api.wazapin.com/v1/ai/entitlementconst options = {method: 'GET'};
fetch('https://api.wazapin.com/v1/ai/entitlement', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.wazapin.com/v1/ai/entitlement"
response = requests.get(url)
print(response.text){
"allowed": true,
"limits": [
{
"key": "<string>",
"limit": 123,
"remaining": 123,
"used": 123
}
],
"plan": "<string>",
"reason": "<string>",
"trial_active": true,
"upgrade_required": true
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}⌘I
Get AI entitlement state
curl --request GET \
--url https://api.wazapin.com/v1/ai/entitlementconst options = {method: 'GET'};
fetch('https://api.wazapin.com/v1/ai/entitlement', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.wazapin.com/v1/ai/entitlement"
response = requests.get(url)
print(response.text){
"allowed": true,
"limits": [
{
"key": "<string>",
"limit": 123,
"remaining": 123,
"used": 123
}
],
"plan": "<string>",
"reason": "<string>",
"trial_active": true,
"upgrade_required": true
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}