Get License Info
client.admin.getLicenseInfo(AdminGetLicenseInfoParams { include_scopes } query?, RequestOptionsoptions?): AdminGetLicenseInfoResponse { expires_at, status, message, scopes }
GET/api/v1/admin/license/info
Get License Info
import LlamaCloudAdmin from '@llamaindex/llama-cloud-admin';
const client = new LlamaCloudAdmin({
apiKey: process.env['LLAMA_CLOUD_API_KEY'], // This is the default and can be omitted
});
const response = await client.admin.getLicenseInfo();
console.log(response.expires_at);{
"expires_at": "2019-12-27T18:11:19.117Z",
"status": "status",
"message": "message",
"scopes": [
"string"
]
}Returns Examples
{
"expires_at": "2019-12-27T18:11:19.117Z",
"status": "status",
"message": "message",
"scopes": [
"string"
]
}