Get the installation license
GET
/v1/licenseLicensee, expiry and entitlements of the signed installation license, or why there is none. Informational: no status disables a feature. On a deployment whose tenantVisibleLicense capability is false (SaaS) the license is the platform operator's and this answers 404 LICENSE_NOT_APPLICABLE.
curl -X GET 'https://api.embodiflow.io/v1/license' \
-H "Authorization: Bearer $EMBODIFLOW_PAT"认证
每个请求都需要携带个人访问令牌(PAT)。
- Authorization: Bearer PAT
响应
Success
- dataobject必填
- statusstring必填
valid / expired: the signature verified. invalid: a supplied license did not verify. missing: none supplied. Informational: no status disables a feature.
可选值validexpiredinvalidmissing - invalidReasonstring | null必填可选值SIGNATURE_INVALIDKID_UNKNOWNALG_REJECTEDPAYLOAD_INVALIDNOT_YET_VALIDCLASS_MISMATCHUNREADABLE
- licenseestring | null必填
- licenseIdstring | null必填
- planCodestring | null必填
- issuedAtstring (date-time) | null必填
- expiresAtstring (date-time) | null必填
- featuresarray<string>必填
- entitlementsobject | null必填
- checkedAtstring (date-time)必填
- metaobject必填
响应示例
{
"data": {
"status": "valid",
"invalidReason": "SIGNATURE_INVALID",
"licensee": "string",
"licenseId": "string",
"planCode": "string",
"issuedAt": "2026-01-01T00:00:00Z",
"expiresAt": "2026-01-01T00:00:00Z",
"features": [
"string"
],
"entitlements": {
"maxTenants": 0,
"maxActiveSeats": 0,
"storageBytes": "string",
"gpuSecondsPerMonth": "string",
"maxConcurrentWorkflowRuns": 0
},
"checkedAt": "2026-01-01T00:00:00Z"
},
"meta": {}
}服务器https://api.embodiflow.io/v1