Get entitlement in project
Gets what a project's organization gets of one of kosem's features.
Gets what a project's organization gets of one of kosem's features.
bearerAuthorizationBearer <token>An access token, or an API key.
project*stringThe project's ID.
^prj_[0-7][0-9a-hjkmnp-tv-z]{25}$entitlement*stringThe feature's ID, such as auditlog.auditLogs.
^[a-z][a-zA-Z0-9]*(\.[a-z][a-zA-Z0-9]*)+$OK
application/json- response
acrossPlans?booleanTrue when a staff override applies across every plan the organization moves to, rather than only its current plan.
adjustment*stringHow the organization gets more: UPGRADE, a higher self-serve plan gives more; REQUEST, a LIMIT on Team or Enterprise, which kosem raises when the organization asks; FIXED, no plan it moves to by itself gives more.
"FIXED""UPGRADE""REQUEST"displayName*stringName shown in user interfaces, such as Audit logs.
enabled*booleanWhether the organization has the feature: for a BOOLEAN, its value is 1; for a NUMBER or a LIMIT, above 0.
feature*stringThe feature's ID: the service, then what it is, such as auditlog.auditLogs or resourcemanager.projects.
name*stringResource name, organizations/{organization_id}/entitlements/{feature} or projects/{project_id}/entitlements/{feature}.
overridden*booleanWhether kosem set the organization's value, in place of its plan's. It applies while the organization stays on its plan, unless acrossPlans is set.
planValue*integerThe organization's plan's value, which value replaces when overridden; the same as value otherwise.
int64requiredPlan?stringThe lowest self-serve plan above the organization's that gives more of this feature (PRO or TEAM); omitted when none does.
"PRO""TEAM"type*stringBOOLEAN, a feature the organization has or doesn't; NUMBER, a setting in unit, such as 7 days; LIMIT, the most it may have or use, which its quota of the same ID counts and enforces.
"BOOLEAN""NUMBER""LIMIT"unit*stringWhat a NUMBER or a LIMIT counts, in the plural, such as days or projects; empty for a BOOLEAN.
unlimitedZero?booleanTrue for a NUMBER feature where 0 means unlimited (kept until deleted).
value*integerThe organization's value: its plan's, or one kosem set for it in its place (overridden). A BOOLEAN's is 1 or 0.
int64curl -X GET 'https://api.kosem.ai/v1/projects/string/entitlements/string'{
"acrossPlans": true,
"adjustment": "FIXED",
"displayName": "string",
"enabled": true,
"feature": "string",
"name": "string",
"overridden": true,
"planValue": 0,
"requiredPlan": "PRO",
"type": "BOOLEAN",
"unit": "string",
"unlimitedZero": true,
"value": 0
}