## Get License Info

`AdminGetLicenseInfoResponse admin().getLicenseInfo(AdminGetLicenseInfoParamsparams = AdminGetLicenseInfoParams.none(), RequestOptionsrequestOptions = RequestOptions.none())`

**get** `/api/v1/admin/license/info`

Get License Info

### Parameters

- `AdminGetLicenseInfoParams params`

  - `Optional<Boolean> includeScopes`

    Whether to include scopes in the response

### Returns

- `class AdminGetLicenseInfoResponse:`

  - `LocalDateTime expiresAt`

    License expiration date

  - `String status`

    License validation status

  - `Optional<String> message`

    License message

  - `Optional<List<String>> scopes`

    License scopes

### Example

```java
package ai.llamaindex.llamacloudadmin.example;

import ai.llamaindex.llamacloudadmin.client.LlamaCloudAdminClient;
import ai.llamaindex.llamacloudadmin.client.okhttp.LlamaCloudAdminOkHttpClient;
import ai.llamaindex.llamacloudadmin.models.admin.AdminGetLicenseInfoParams;
import ai.llamaindex.llamacloudadmin.models.admin.AdminGetLicenseInfoResponse;

public final class Main {
    private Main() {}

    public static void main(String[] args) {
        LlamaCloudAdminClient client = LlamaCloudAdminOkHttpClient.fromEnv();

        AdminGetLicenseInfoResponse response = client.admin().getLicenseInfo();
    }
}
```

#### Response

```json
{
  "expires_at": "2019-12-27T18:11:19.117Z",
  "status": "status",
  "message": "message",
  "scopes": [
    "string"
  ]
}
```
