## Get License Info

`client.Admin.GetLicenseInfo(ctx, query) (*AdminGetLicenseInfoResponse, error)`

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

Get License Info

### Parameters

- `query AdminGetLicenseInfoParams`

  - `IncludeScopes param.Field[bool]`

    Whether to include scopes in the response

### Returns

- `type AdminGetLicenseInfoResponse struct{…}`

  - `ExpiresAt Time`

    License expiration date

  - `Status string`

    License validation status

  - `Message string`

    License message

  - `Scopes []string`

    License scopes

### Example

```go
package main

import (
  "context"
  "fmt"

  "github.com/run-llama/llamacloud-admin-go"
  "github.com/run-llama/llamacloud-admin-go/option"
)

func main() {
  client := llamacloudadmin.NewClient(
    option.WithAPIKey("My API Key"),
  )
  response, err := client.Admin.GetLicenseInfo(context.TODO(), llamacloudadmin.AdminGetLicenseInfoParams{

  })
  if err != nil {
    panic(err.Error())
  }
  fmt.Printf("%+v\n", response.ExpiresAt)
}
```

#### Response

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